Microbial photoelectrosynthesis links electroactive bacteria with a solar-powered semiconductor to produce hydrogen. By using electrons from organic matter instead of relying on water oxidation, the approach reduces energy requirements and could connect fuel production with wastewater treatment.