CaFe 2 O 4 /MgFe 2 O 4 nanowires with heterostructure had been successfully synthesized by electrospinning method. The obtained samples were systematically characterized by scanning electron microscopy (SEM), X-Ray diffraction (XRD), UV-Vis diffuse reflectance spectra (UV-Vis DR) and Environment scanning electron microscopy (ESEM). The novel CaFe 2 O 4 /MgFe 2 O 4 nanowires exhibit an enhanced photocatalytic activity for degrading of tetracycline (TC) under visible light. Compared with bare CaFe 2 O 4 or MgFe 2 O 4 samples, the prepared CaFe 2 O 4 /MgFe 2 O 4 (Ca:Mg:Fe = 3:2:10) composited nanowires show the best photocatalytic performance with a degradation efficiency of 40% after 150 min reaction time. This enhancement is attributed to the heterostructure of CaFe 2 O 4 /MgFe 2 O 4 nanowires, which effectively repress the recombination of photo-generated electrons and holes. Based on heterostructure and energy band positions, the enhancement of mechanism under visible-light enhances the photocatalytic activity.