ZnIn2S4 (ZIS) is an efficient photocatalyst for solar hydrogen (H2) generation from water splitting owing to its suitable band gap, excellent photocatalytic behaviour and high stability. Nevertheless, modifications are still necessary to further enhance the photocatalytic performance of ZIS for practical applications. This has led to our interest in exploring phosphorus doping on ZIS for photocatalytic water splitting, which has not been studied till date. Herein, phosphorus-doped ZnIn2S4 (P-ZIS) was modelled via Density Functional Theory to investigate the effects of doping phosphorus on the structural and electronics properties of ZIS as well as its performance toward photocatalytic water splitting. This work revealed that the replacement of S3 atom by substitutional phosphorus gave rise to the most stable P-ZIS structure. In addition, P-ZIS was observed to experience a reduction in band gap energy, an upshift of valence band maximum (VBM), an increase in electron density near VBM and a reduction of H* adsorption–desorption barrier, all of which are essential for the enhancement of the hydrogen evolution reaction. In overall, detailed theoretical analysis carried out in this work could provide critical insights towards the development of P-ZIS-based photocatalysts for efficient H2 generation via solar water splitting. [ABSTRACT FROM AUTHOR]