A solvent-free strategy was developed to synthesize MoS 2 / Mo 2 C embedded, N, S co-doped carbon via a green and environmentally friendly process. The precursors were blended and carbonized under the inert atmosphere. Water and other solvents were not involved in the whole synthesis process. According to the characterization results, the as-received samples consisted of Mo 2 C, MoS 2 , and carbon with mesoporous structures. Moreover, the obtained sample possessed a high BET surface area (373.3 m 2 g À 1 ), as well as high electrochemical active surface area (145.4 mF cm À 2 ). When utilized as the electrocatalyst towards hydrogen evolution reaction (HER), the optimal sample of T2.0G4.0Mo1.0 revealed superior electrochemical activity in alkaline media, which could show a low overpotential and an excellent stability.