The ZnFe2O4/C nanofibers were synthesized by electrospinning method combined with heat treatment. The crystal structure, elemental valence, and morphology of expected compounds were characterized by X-ray diffraction (XRD), X-ray photoelectron spectroscopy (XPS), Raman spectroscopy, and scanning electron microscopy (SEM) techniques, respectively. The electrochemical performances of ZnFe2O4/C were tested by battery comprehensive testing system. The test results showed that ZnFe2O4/C owned high specific capacities under different current densities. At current density of 0.2 A g−1, the specific capacity was 624.5 mAh g−1 after 100 cycles. And when current density was increased to 0.5 A g−1, its capacity could maintain at 479.3 mAh g−1 after 500 cycles. The ZnFe2O4/C exhibited excellent cycle stability, too. So the ZnFe2O4/C composite is a potential anode material for lithium ion battery application.