Amorphous molybdenum sulfide ( MoSx) has been regarded as a promising hydrogen evolution reaction (HER) catalyst due to its mild preparation conditions and low-cost precursor materials. In this work, we report a simple strategy combining the growth of amorphous MoSx on the surface of metal organic frameworks (ZIF-67) and annealing treatment to prepare Co-doped MoSx nanopolyhedrons (denoted as CoMoSx NPs). The CoMoSx NPs exhibit excellent HER activity in acid condition with an overpotential of 188 mV at a current density of 10 mA cm− 2 (η10), and a relatively stable overpotential after 2000 cyclic voltammetry (CV) cycles testing. The excellent HER performance of the CoMoSx NPs can be attributed to the doping of Co element adjust the electronic structure and increase the conductivity of catalyst, and the nanopolyhedrons structure which can expose more active sites for HER electrocatalytic. This study offers a low-cost and simple strategy to prepare high-activity HER catalyst, which holds great promises in developing advanced electrocatalysts for energy storage.