The fiber-shaped Ni–Fe battery takes advantage of high capacity of hierarchical CoP@Ni(OH)2 NWAs/CNTF core–shell heterostructure and spindle-like α-Fe2O3/CNTF electrodes to yield outstanding electrochemical performance, demonstrating great potential for next-generation portable wearable energy storage devices.