In the search for new positive-electrode materials for lithium-ion batteries, recent research has focused on nanostructured lithium transition-metal phosphates that exhibit desirable properties such as high energy storage capacity combined with electrochemical stability. Only one member of this class--the olivine LiFePO(4) (ref. 3)--has risen to prominence so far, owing to its other characteristics, which include low cost, low environmental impact and safety. These are critical for large-capacity systems such as plug-in hybrid electric vehicles. Nonetheless, olivine has some inherent shortcomings, including one-dimensional lithium-ion transport and a two-phase redox reaction that together limit the mobility of the phase boundary. Thus, nanocrystallites are key to enable fast rate behaviour. It has also been suggested that the long-term economic viability of large-scale Li-ion energy storage systems could be ultimately limited by global lithium reserves, although this remains speculative at present. (Current proven world reserves should be sufficient for the hybrid electric vehicle market, although plug-in hybrid electric vehicle and electric vehicle expansion would put considerable strain on resources and hence cost effectiveness.) Here, we report on a sodium/lithium iron phosphate, A(2)FePO(4)F (A=Na, Li), that could serve as a cathode in either Li-ion or Na-ion cells. Furthermore, it possesses facile two-dimensional pathways for Li+ transport, and the structural changes on reduction-oxidation are minimal. This results in a volume change of only 3.7% that--unlike the olivine--contributes to the absence of distinct two-phase behaviour during redox, and a reversible capacity that is 85% of theoretical.