Using a powerful combination of microanalytic techniques that simultaneously image photoelectric current and chemical reaction rates across a surface on a micrometer scale, researchers have shed new light on what may become a cost-effective way to generate hydrogen gas directly from water and sunlight.