Core–shell ZnO/ZnFe2O4@C nanospheres were rationally fabricated and exhibited exceptional electrochemical Li-storage performance for next-generation Li-ion batteries.