We report on the design and Li-ion battery anode application of N-doped graphene/porous g-C3N4 nanosheets supporting layered-MoS2 hybrid. Few-layer MoS2 nanosheets are highly dispersed on the N-doped graphene/porous g-C3N4 nanosheet matrix, forming a two-dimensional multilayered nanostructure. Benefiting from the unique structure, the hybrid nanosheets exhibit superior electrochemical performance, including excellent cycling stability (maintaining 91% capacity after 100 cycles), a high rate capability (retaining 83% capacity from 50mAg−1 to 500mAg−1), and a considerably large capacity (achieving more than 800mAhg−1 at 100mAg−1).