A facile and scalable method is realized for the in situ synthesis of N/S co-doped 3 D porous carbon nanosheet networks (NSPCNNs) as anode materials for sodium-ion batteries. During the synthesis, NaCl is used as a template to prepare porous carbon nanosheet networks. In the resultant architecture, the unique 3 D porous architecture ensures a large specific surface area and fast diffusion paths of both electrons and ions. In addition, the import of N/S produces abundant defects, increased interlayer spacings, more active sites, and high electronic conductivity. The obtained products deliver a high specific capacity and excellent long-term cycling performance, specifically, a capacity of 336.2 mA h g at 0.05 A g , remaining as large as 214.9 mA h g after 2000 charge/discharge cycles at 0.5 A g . This material has great prospects for future applications of scalable, low-cost, and environmentally friendly sodium-ion batteries.