The 147Sm and 149Sm nuclear magnetic resonance spin-echo spectra of Sm 2Fe 17N x as well as the 57Fe Mössbauer spectra of Sm 2Fe 17N x and Y 2Fe 17N x series are presented. From the quadrupolar splittings at the samarium site in Sm 2Fe 17 the value of the lattice electric field gradient equal to 102 × 10 20 V m −2 was obtained. A threefold increase in this value for the three-nitrogen nearest-neighbour configuration in Sm 2Fe 17N 2.5is observed and the relation to the second-order crystal electric field parameter A 2 o is discussed. The observed increase in the average iron hyperfine fields with nitrogenation amounting to 4–5 T is explained by the magnetovolume effect. The larger increase observed in the samarium-containing series is due to the reorientation of the easy magnetization direction from basal plane to c axis upon nitrogenation.