Due to demand for lightweight, high energy density batteries, improvements in the energy storage of battery materials is needed. This coating is an amorphous or microcrystalline glass of Li-P-O-N-Fe. The coating can be applied in-situ or ex-situ and at a 44C rate the material has over 120 mAh/g capacity. At 60C the material retains 100 mAh/g capacity, the best performance observed for a LiFePO4 electrode. The material increases cyclability, rate capability, and capacity retention through increasing the electronic conductivity.