Efficient hydrogen production from water splitting remains a critical challenge for sustainable energy solutions. Here, the authors develop a ZnS-decorated ZnIn2S4 photocatalyst co-loaded with dual Ni(OH)2 and NixP cocatalysts via photochemical deposition, achieving a high photocatalytic hydrogen production rate and good stability.