The aim of this paper is to study the effect of Mg 2+ doping in place of Ni in LiNiPO 4 compounds synthesized by solid state reaction method. As Mg is a relatively light and cheap, and is expected to stabilize the structure, it has been considered as a substituent for Ni. The structural and conductivity studies of the substituted phases are discussed in comparison with LiNiPO 4 . In this study, we have proposed cation-substituted compounds, LiNi 1 − x Mg x PO 4 (x = 0, 0.05, 0.1 and 0.15) where a part of the divalent state of Ni 2+ is replaced with the corresponding amount of Mg 2+ and where the charge compensation is maintained by lithium deficiency. It is possible to obtain the mentioned compounds because the pristine LiNiPO 4 compound is stable in ambient atmosphere, which differs considerably from the LiCoPO 4 compound.