The NiFe 2 O 4 /nitrogen doped carbon composite was synthesized via calcination of NiFe-MOF in a N 2 atmosphere. Nitrogen-doped carbon not only improves the conductivity of the carbon-based material, but also provides pathway, allowing Li + diffusion rapidly during the charge and discharge processes. The electrochemical data reveal that NiFe 2 O 4 /nitrogen-doped carbon nanocomposite delivers a capacity as high as 760 mAh•g −1 at 0.2 C after 50 cycles, and show good rate performance by remaining a capacity of 600 mAh•g −1 even at 1 C. The excellent electrochemical characteristics might be contributed to the NiFe 2 O 4 ordered nanorod structure, well-marked porosity, and as well as the composition of nitrogen-doped carbon.