The interaction between lithium polysulfides and doped heteroatoms could prevent the loss of soluble polysulfides in the cathode and mitigate the shuttle effect in lithium-sulfur batteries. Herein, a facile synthesis of mesoporous graphene platelets (NSGs) with in situ nitrogen and sulfur doping by the pyrolysis of a self-assembled L-cysteine precursor on sodium chloride crystal surface for structuredirecting is presented. The mesoporous lamellar structure of the NSG possesses a uniform distribution of pyrrolic N, pyridinic N, and thiosulphate structured heteroatoms originating from in situ doping, which promotes the confinement of intermediate polysulfides. Combining the strong interactions with soluble polysulfide, flexible mesoporous architecture, and high conductivity of graphene, the prepared NSG material exhibited a high initial capacity of 1433 mA h g À1 at a 2C rate as well as a reversible capacity of 684 mA h g À1 after 200 cycles. This demonstrates that the in situ nitrogen and sulfur doped thin lamellar structure of graphene would be a promising cathode material for high performance lithium-sulfur batteries.