# Why does H2O electrolysis produce O2 on the anode instead of H2O2

If the oxidation of $$\ce{H2O}$$ produces $$\ce{OH-}$$ ions and the anode separates electrons from them leaving neutral $$\ce{OH}$$ molecules, why don't they bind to each other covalently?

• To an extent, they do. – Ivan Neretin May 30 '19 at 19:44
• Look at the redox potentials for oxidation of HOOH and H2O. The HOOH oxidizes much more easily, so any HOOH that is formed gets quickly converted to O2. – Andrew May 31 '19 at 10:56