Designing and manufacturing a novel structural the composite electrode materials can effectively improve the electrochemical performance of lithium ion battery. Hence, in this work, hierarchical nanoflower SnS2 anchored on g-C3N4 nanosheets (the SnS2/CN composite) electrode was creatively synthesized by a facile microwave hydrothermal method. The SnS2/CN composite exhibits excellent cyclic stability, high-rate capacity and structural integrity at higher current density for lithium ion battery. It delivers high discharge capacity of 444.7 mAh·g−1 at a current density of 100 mA g−1 after 100 cycles with the coulombic efficiency of over 99.9%, high specific capacity retention rate at higher current density (383.8 mAh·g−1 and 350.8 mAh·g−1 at the current density of 800 mA g−1 and 1000 mA g−1, respectively). The remarkable electrochemical performances of the SnS2/CN composite electrode are attributed to its large surface area which provides more active sites and accelerates the migration of electrons and lithium ions during charge/discharge cycles. Moreover, the synergistic effect of the g-C3N4 nanosheets and nanoflowers SnS2 electrode shows low charge-transfer resistance, which contributes to the alloying reaction between metallic Sn and lithium ions (Li+) during charge/discharge cycles. Importantly, g-C3N4 nanosheets acting as a spacer can efficiently buffer the volume change and alleviate the collapse or aggregation of SnS2 electrode after repeated cycles.