Magnetic force microscopy (MFM) and magnetometry, scanning electron microscopy (SEM) and atomic force microscopy (AFM) are used to study the magnetic and structural properties of the (Nd,Pr)-Fe–B and (Nd,Ho)-(Fe,Co)-B alloys. The alloys are synthesized using an arc or induction furnaces. The nanocrystalline state of the (Nd,Ho)-(Fe,Co)-B alloys is reached by two techniques, namely, melt spinning (MS) and severe plastic deformation (SPD). Hydrogenation and multistage treatment of (Nd,Ho)-(Fe,Co)-B alloys, which includes severe plastic deformation of melt-quenched ribbons and subsequent heat treatment, is also used. The surface morphology and domain structure of samples are studied. These pictures are used to interpret the observed magnetic hysteresis loops of the samples. It was found that multistage treatment allows one to obtain samples with higher values of coercivity due to the formation of a special microstructure with oval grain (the aspect ratio equal to ∼ 3).