We examine the structural and magnetic properties of Mg shallow-doped LiMg x Fe 1−x PO 4 ( ${x} =0.01$ , 0.05, and 0.1) samples synthesized by the conventional solid-state reaction route. Rietveld refinement of the X-ray diffraction patterns shows the crystal structure and bond lengths of LiO 6 and Fe(Mg)O 6 . The Néel temperature ( ${T} _{\text {N}}$ ), spin reorientation temperature ( ${T} _{\text {S}}$ ), Curie–Weiss temperature, and effective moment decreased owing to the decrease in superexchange interactions with increasing Mg 2+ ions. The Mössbauer spectra of samples below ${T} _{\text {N}}$ were fitted with asymmetrical eight absorption lines, whereas above ${T} _{\text {N}}$ were fitted with symmetrical doublet. The change in the value of electric quadrupole splitting and its slop of magnetic susceptibility at ${T} _{\text {S}}$ suggests that spin reorientation related to the orbital angular moment contributes to the magnetic properties by spin–orbit coupling. The value of isomer shift of samples at all temperatures was Fe 2+ ion states and it decreased with increasing Mg 2+ ion owing to decrease in charge density at the Fe nucleus due to the presence of Mg 2+ ions on the FeO 6 site.