The activity of cobalt phosphide nanoparticles in the electrochemical hydrogen evolution reaction is improved by hydrogenation, due to the reduced hydrogen adsorption resistance and the enhanced electrochemically active surface area, likely from the formation of crystalline/disordered structures.