The pristine Li2FeP2O7 and Li2FeP2O7/C nanocomposites with different content of carbon have been successfully synthesized via a simple solid-state reaction, using cheap glucose as carbon source. XRD and EDS patterns demonstrate the high purity of the products. SEM images exhibit that the size of the particles is about 50–500nm. Electrochemical measurements reveal that carbon coating and reducing particle size significantly enhance the electrochemical performances of Li2FeP2O7. Particularly, the Li2FeP2O7/C sample with a carbon content of 4.88wt.% displays the best performance with a specific discharge capacity of 103.1mAhg−1 at 0.1C, which is 93.7% of its one-electron theoretical capacity, meaning 110mAhg−1. Meanwhile, it shows favorable cycling stability and excellent rate performance, indicating its potential applicability in Li-ion batteries in the long term.