The dynamics of lattice oxygen in oxyhydroxide catalysts is crucial for water oxidation but are not fully understood. Here, the authors report that carbonate ions in the electrolyte can substantially alter the dynamics, leading to robust long-term stability with sustained lattice oxygen reactivity.