Atomic-level simulations and electrochemical experiments reveal how charge centers called polarons form on semiconductor surfaces to activate green hydrogen production.