The review addresses the work on supervalent doping of LiFePO4 withNd, Gd, Sm, Eu and Yb ions carried out in our group. The dopant choice, the preparation of LiFexM1-x PO4, and the effect of supervalent doping with special rare earth ions on electrochemical performance are emphasized.