A laboratory study has improved the production of green hydrogen using solar energy, thanks to photocatalysts that incorporate metals subjected to various treatments designed to enhance dispersion and photocatalytic activity.