Graphene nanosheets (GNS)/MoS2 composites were obtained by liquid phase exfoliation, and then SnS2 nanoflakes anchored GNS/MoS2 composites by the single mode microwave-assisted hydrothermal technique. The architecture that MoS2 nanosheets are parallel to and inserted into GNS layers, 20nm SnS2 nanoflakes uniformly attaching on the MoS2/GNS nanocomposites have been obtained. GNS@MoS2@SnS2 exhibits superior lithium ion batteries (LIBs) and sodium ion batteries (SIBs) performance in terms of specific capacity, cycling stability. At a current density of 80mAg−1, GNS@MoS2@SnS2 exhibits a discharge capacity of 743mA h g−1 after 100 cycles for LIBs, and 100mA h g−1 for SIBs. The excellent electrochemical performance of GNS@MoS2@SnS2 electrodes with the mass ratio of 1/6/7 is attributed to synergistic effects from the optimized architecture and proportion for GNS, MoS2, and SnS2 anode materials.