Sb-based materials are considered as promising anode materials for sodium-ion batteries (SIBs) due to their excellent sodium storage capacities and suitable potentials. However, the Sb-based anodes usually suffer from intense volume expansion and severe pulverization during the alloying-dealloying process, resulting in poor cycling performance. Herein, a composite anode with Sb/Sb2O3 nanoparticles embedded in N-doped porous carbon is prepared by the gas–solid dual template method. The volume change of the anode material is mitigated by the carbon layer enwrapping and the confinement of the porous structure. Nitrogen doping provides abundant sodium storage sites, thus enhancing the storage capacity of sodium ion. Furthermore, to gain the accurate kinetic interpretation of the electrochemical process, an ex-situ transmission electron microscope (TEM) characterization combined with distribution of relaxation times (DRT) is conducted. The Sb/Sb2O3@NPC-1.0 demonstrates excellent electrochemical performance, achieving 340.3 mAh g−1 at 1A g−1, and maintains a capacity of 86.7 % after 1000 cycles. This work paves the way for the practical application of SIBs with high-performance and long-life Sb-based anodes.