N-, Se-, and S-doped NiCoP nanosheet arrays with the same doping content were prepared on nickel foam (NF) as efficient electrocatalysts for the hydrogen evolution reaction (HER). Experimental results and theoretical calculations mutually verified that N, Se, and S doping modulated the electronic structure of NiCoP and thus accelerated the intrinsic charge transport, which eventually enhanced the HER activity. N-NiCoP/ NF, Se-NiCoP/NF, and S-NiCoP/NF catalysts show overpotential of 149, 153, and 137 mV at a current density of 100 mA cm −2 , respectively, lower than 154 mV of 20%