Metal oxides are promising candidates for cheap and stable photoelectrodes for solar water splitting, producing hydrogen with sunlight. Unfortunately, metal oxides are not highly efficient in this job. A known remedy is a treatment with heat and hydrogen. Scientists have now discovered why this treatment works so well, paving the way to more efficient and cheap devices for solar hydrogen production.