Three materials based on sodium iron phosphate with a Maricite structure were synthesized by hydrothermal method and solid-state synthesis. The materials have been characterized by X-ray diffraction, thermal analysis, and surface analysis. The materials were used for the fabrication of electrodes and their electrochemical performance were evaluated in lithium batteries. The material with the highest reversible capacity was then characterized in sodium batteries. Both the capacity exhibited at low discharge rate as well as the capacity as a function of the discharge rate and cycle number were evaluated. The obtained values were used for the determination of the specific energy as a function of the specific discharge power. At the lower discharge rate (C/20), the material was able to deliver 52.0mAhg −1 with an average charge voltage of 2.5V corresponding to a specific energy of 130Whkg −1 . The specific capacity recorded at the lowest discharge rate gradually increased with the number of cycles and reached a value of 63mAhg −1 at the 150th cycle.