A stable hydrogen photogeneration system containing fluorescein as a photosensitizer with nickel(II) chloride as a catalyst precursor in basic solution was found to undergo in situ photoreduction of nickel(II) to zero-valent Ni nanoparticles to catalyze highly efficient hydrogen evolution under visible light irradiation.