Owing to its fascinating properties (such as high theoretical specific capacity and considerable conductivity), nickel sulfide (NiS) was investigated comprehensively as an anode material in sodium-ion batteries. However, they still suffered from volume expansion and sluggish kinetics, resulting in serious cycle capabilities. Herein, through controlling the kind of molten salts (Na 2 SO 4 , NaCl, and Na 2 CO 3 ) in salt melt synthesis (SMS), a series of NiS with an N, S-codoped carbon layer was successfully prepared, accompanied with different morphologies and structures (earthworm-like belts and triangular and spherical particles). Tailored by the ionic strength and viscosity of molten salts, the as-prepared samples displayed different crystallization behaviors, bringing about a difference in electrochemical performance. As earthworm-like NiS@C was explored as an anode material for SIBs, an initial capacity of 712.5 mAh g −1 at 0.5 A g −1 could be obtained, and it still kept 527.4 mAh g −1 after 100 cycles. Even at 2.0 A g −1 , a capacity of 508.6 mAh g −1 could be achieved. Meanwhile, with the assistance of detailed kinetic analysis, the rapid diffusion behaviors of Na + and redox reaction mechanisms of as-fabricated samples were proven for the enhanced electrochemical properties. Given this, this work is expected to provide a method for designing the morphology and structure of metal sulfides, while shedding light on the orientation of fabricating advanced electrode materials for SIBs.