Designing efficient and stable hydrogen evolution catalysts made from earth-abundant elements is essential to the development of solar-driven water-splitting devices. In this communication, we develop a two-step strategy for constructing NiP2 nanosheet arrays on carbon cloth (NiP2 NS/CC). As a novel 3D hydrogen evolution cathode, the NiP2 NS/CC electrode is highly active in acidic solutions and needs an overpotential of 75 and 204 mV to achieve current densities of 10 and 100 mA cm(-2), respectively, and it preserves its catalytic activity for at least 57 h. Moreover, it also operates efficiently under alkaline conditions.