In this study we have investigated the electrochemical properties of hollow silicon nanospheres encapsulated with a thin carbon shell, HSi@C, as a potential candidate for lithium-ion battery anodes. Hollow Si nanospheres are formed using a templating method which is followed by carbon coating via carbonization of a pyrrole precursor to form HSi@C. The synthesis conditions and the resulting structure of HSi@C have been studied in detail to obtain the target design of hollow Si nanospheres encapsulated with a carbon shell. The HSi@C obtained exhibits much better electrochemical cycle stability than both micro- and nano-size silicon anodes and deliver a stable specific capacity of 700mAhg−1 after 100 cycles at a current density of 2Ag−1 and 800mAhg−1 after 120 cycles at a current density of 1Ag−1. The superior performance of HSi@C is attributed to the synergistic combination of the nanostructured material, the enhanced conductivity, and the presence of the central void space for Si expansion with little or no change in the volume of the entire HSi@C particle. This study is the first detailed investigation of the synthesis conditions to attain the desired structure of a hollow Si core with a conductive carbon shell. This study also offers guidelines to further enhance the specific capacity of HSi@C anodes in the future.