We give a review of theoretical and experimental results concerning the magnetic susceptibility of the Weyl, Dirac, and nodal-line semimetals. In particular, dependences of the susceptibility on the chemical potential, temperature, and magnitude of the magnetic field are discussed. The presented results show that the specific features of the magnetic susceptibility can serve as a hallmark of the topological semimetals, and hence magnetic measurements can be useful in investigating these materials.