Forcing a reaction that would not happen on its own
A battery lets a spontaneous chemical reaction push electrons through a wire. Electrolysis runs the idea backward: an external power supply forces electrons through a circuit against the reaction's natural direction, driving a non-spontaneous chemical change. Split water into hydrogen and oxygen, plate copper onto a spoon, refine aluminium from molten oxide — all of it is the same principle, current forced through an electrolyte between two electrodes.
At the cathode (connected to the negative terminal) electrons are pushed into solution and something gets reduced; at the anode electrons are pulled out and something gets oxidised. For water electrolysis in acidic solution the two half-reactions are:
cathode (reduction): 2H⁺ + 2e⁻ → H₂ anode (oxidation): H₂O → ½O₂ + 2H⁺ + 2e⁻ overall: H₂O → H₂ + ½O₂
Faraday's laws: counting atoms by counting charge
Michael Faraday worked out in the 1830s, decades before anyone knew electrons existed, that the amount of substance transformed at an electrode is directly proportional to the charge that passes through it. That single insight — Faraday's first law — is what lets you predict a product yield purely from an ammeter and a clock.
Q = I·t charge passed (coulombs) = current × time n = Q / (z·F) moles of substance = charge / (electrons per ion × Faraday constant) F = 96,485 C/mol Faraday constant (charge of one mole of electrons) z = electrons transferred per ion (z=2 for H₂ from H⁺, z=2 for O₂ from H₂O)
Faraday's second law extends this to comparing different electrolytic cells: for a fixed charge, the moles of product at each electrode are inversely proportional to how many electrons that particular reaction needs per ion or molecule — a two-electron process (like producing H₂) yields half as many moles per coulomb as a one-electron process would.
Why it always takes more than the textbook voltage
The thermodynamic minimum voltage to split water is 1.23 V, set by the Gibbs free energy of the reaction. Real electrolysers need noticeably more — typically 1.8 to 2.2 V for practical current densities — and the gap is exactly the overpotential at each electrode plus resistive (ohmic) losses in the electrolyte and wiring. Oxygen evolution at the anode is by far the worst offender: it needs four electrons and several bonded intermediate steps per O₂ molecule, so its kinetics are sluggish and its overpotential dominates the total energy lost to heat rather than product — which is exactly why so much materials-science effort goes into finding better oxygen-evolution catalysts.
Reading the electrode reactions off the reactivity series
When the electrolyte contains more than one possible ion to reduce or oxidise, which reaction actually happens is set by relative ease, roughly tracked by the standard electrode potential and, at the anode, by concentration. Electrolysing brine (concentrated NaCl solution) rather than pure water is the classic teaching example: at the cathode, water is easier to reduce than the tightly-bound Na⁺ ion, so hydrogen gas comes off instead of sodium metal; at the anode, the high concentration of Cl⁻ lets chlorine gas out-compete oxygen evolution despite chlorine's higher standard potential, which is the industrial chlor-alkali process that supplies most of the world's chlorine and sodium hydroxide.
Where the electrons actually go
Industrially this is not a curiosity — electrolysis is how the world produces aluminium (the Hall-Héroult process, molten cryolite-alumina at ~950°C), refines and electroplates copper and other metals, manufactures chlorine and caustic soda, and, increasingly, makes green hydrogen by running an electrolyser on renewable electricity. In every case Faraday's laws are still the accounting system: the product yield is fixed by charge passed, and the energy bill is fixed by how far the applied voltage must sit above the thermodynamic minimum to overcome kinetic and resistive losses.
Frequently asked questions
How much hydrogen does a given current actually produce?
Use Faraday's laws: moles of H2 = (current × time) / (2 × Faraday constant), because splitting water into hydrogen at the cathode needs two electrons per H2 molecule. Multiply by the molar volume to convert to a gas volume at a given temperature and pressure.
Why does electrolysis need more than the theoretical 1.23 V?
The 1.23 V figure is the thermodynamic minimum from the Gibbs free energy of the reaction. Real cells need extra voltage to overcome the overpotential at each electrode (especially the sluggish oxygen evolution reaction at the anode) and resistive losses in the electrolyte, typically pushing the practical voltage to 1.8-2.2 V or more.
Why does electrolysing salt water make chlorine gas instead of oxygen?
At the anode, the high concentration of chloride ions lets chlorine evolution out-compete oxygen evolution kinetically, even though oxygen evolution is thermodynamically favoured at standard conditions. This is exploited industrially in the chlor-alkali process.
Try it live
Everything above runs in your browser — open Electrolysis and change the parameters while it is running. Nothing is installed, nothing is uploaded, the whole model lives in one tab.
▶ Open Electrolysis simulation