QuestionChemical reactions
What Happens During the Electrolysis of Water?

Electrolysis of water splits H2O into hydrogen gas and oxygen gas when an electric current passes through it. Hydrogen forms at the negative electrode (cathode) and oxygen at the positive electrode (anode), with two volumes of hydrogen for every one volume of oxygen. The overall reaction is 2H2O → 2H2 + O2.
Contents
The full answer
Pure water conducts electricity very poorly, so the water is usually made slightly conductive by adding a small amount of acid, a base or a dissolved salt. The added ions carry the current and are not used up in the net reaction. When a direct current flows, the two electrodes drive different half-reactions. The total balanced equation is the same whichever electrolyte is used.
At the cathode, water molecules gain electrons to make hydrogen. In acid the half-reaction is 2H⁺ + 2e⁻ → H2. At the anode, water molecules lose electrons to make oxygen, with 2H2O → O2 + 4H⁺ + 4e⁻ in acid. Four electrons are transferred for each oxygen molecule, but only two for each hydrogen molecule. This is why the hydrogen volume is twice the oxygen volume at the same temperature and pressure.
By mass the ratio is different. Two grams of hydrogen (2.016 g/mol for H2) combine with 16 grams of oxygen (31.998 g/mol for O2), so about 1 gram of hydrogen is made for every 8 grams of oxygen. The energy needed is set by the standard Gibbs energy change, about 237 kJ per mole of water split, which gives the theoretical minimum voltage of 1.23 V. Real cells need more voltage because of electrical resistance and the energy lost at each electrode.
The science behind it
Water is a stable molecule. Each O–H bond holds about 463 kJ/mol, and breaking the bonds requires energy from the power supply. The electric field pushes electrons into the cathode and pulls them out of the anode. This makes the electrode reactions possible even though they would not happen spontaneously.
Ions carry charge through the liquid. Positive hydrogen ions (H⁺) move toward the cathode, and hydroxide ions (OH⁻) move toward the anode in alkaline solutions. The electrons travel only through the external wire. This flow keeps the circuit complete and makes the total charge balance at each electrode.
The gases form as bubbles at the electrode surfaces and rise to the top of the cell. Because there are two hydrogen molecules for each oxygen molecule, the gas collected at the cathode has twice the volume of the gas collected at the anode. Ideal-gas volumes at the same temperature and pressure follow the same ratio, which is why the 2:1 rule works for measurements. The rate of gas production follows Faraday’s laws: doubling the current doubles the gas formed in the same time, as long as the electrodes and electrolyte stay the same.
An everyday example
Electrolyzers that split water are already in use. Some hydrogen fuel-cell buses and trucks use hydrogen that is produced at refueling stations by electrolysis. Other electrolyzers are installed in factories that need pure oxygen or hydrogen for processes such as metal treatment and semiconductor manufacturing.
Submarines and spacecraft also use this process. The International Space Station makes oxygen for its crew by electrolyzing water, and its hydrogen is vented or used to recover more water. On a submarine, electrolysis can supply breathing oxygen, with carbon dioxide removed by separate chemical scrubbers. These uses depend on controlled equipment, and the gases must be handled with care because a hydrogen and oxygen mixture is highly flammable.
A related question: is hydrogen from electrolysis clean?
Readers often ask whether hydrogen from electrolysis is clean. The answer depends on the electricity used. Electrolysis produces no carbon dioxide at the electrodes, but a grid powered by coal or gas gives carbon dioxide indirectly. When the electricity comes from wind, solar or hydro, the hydrogen is called green hydrogen.
Most hydrogen made today comes from natural gas through steam reforming, which releases carbon dioxide. Electrolysis is more expensive per kilogram, but it can be run when renewable power is cheap. Its efficiency is typically 60 to 80 percent for modern electrolyzers, measured against the energy content of the hydrogen made. For a closer look at the element, see hydrogen and the water page.
Common misconceptions
One misconception is that electrolysis makes hydrogen and oxygen from the electrolyte. The electrolyte is only a conductor, and the hydrogen and oxygen come from the water molecules themselves.
Another is that the gases form at the same electrode. Hydrogen forms at the cathode and oxygen at the anode. The electrodes are not interchangeable, and the labels are set by the direction of the reactions, not by the sign of a battery.
A third misconception is that electrolysis is a simple home experiment. The reaction is safe to describe, but producing a mix of hydrogen and oxygen is hazardous, and it should only be done with proper equipment in a controlled setting.
Frequently asked questions
What gases does electrolysis of water produce?
Electrolysis of water produces hydrogen gas at the negative electrode (cathode) and oxygen gas at the positive electrode (anode). The gas volumes are in a 2:1 ratio, so two volumes of hydrogen form for every one volume of oxygen.
Why does water need an electrolyte for electrolysis?
Pure water contains very few ions, so it conducts electricity poorly. A small amount of acid, base or dissolved salt adds ions that carry the current. The electrolyte itself is not used up in the overall reaction.
What is the voltage needed to split water?
The theoretical minimum is 1.23 V at standard conditions, from the standard cell potential of the reaction. In practice, electrolyzers need about 1.8 to 2.0 V or more, because extra voltage is needed to overcome resistance and slow electrode reactions.
Is the electrolysis of water an exothermic reaction?
No. Splitting water is endothermic, so energy must be supplied. Splitting 2 mol of liquid water needs about 572 kJ of energy input, which is the reverse of the energy released when hydrogen burns.
What is green hydrogen?
Green hydrogen is hydrogen made by electrolysis of water using electricity from renewable sources such as wind and solar. It produces no carbon dioxide during production, unlike hydrogen made from natural gas.
Sources and further reading
- IUPAC, "Compendium of Chemical Terminology" (Gold Book), entry "electrolysis"
- NIST, "CODATA Fundamental Physical Constants"
- OpenStax, "Chemistry 2e", chapter on electrochemistry
Cite this page
“What Happens During the Electrolysis of Water?.” Atoms & Forces, https://science.bigworldlist.com/questions/what-happens-during-the-electrolysis-of-water/.
More about Electrolysis
- ChemistryElectrolysis: Definition, How It Works and Examples
- QuestionDoes Salt Water Conduct Electricity? Ions in Solution
- ComparisonGalvanic vs Electrolytic Cell: Key Differences Explained
- QuestionHow Are Metals Extracted From Their Ores? Reactivity Explained
- QuestionHow Many Elements Did Humphry Davy Discover? Full List
- QuestionIs the Anode Positive or Negative? Batteries vs Electrolysis