📘 CodingMarble Learn

Electrolysis: Splitting Compounds with Electricity

Electrolysis uses a direct current to break down an ionic compound that is melted or dissolved (the electrolyte). Positive ions move to the cathode (−) and gain electrons (reduction). Negative ions move to the anode (+) and lose electrons (oxidation). Molten compounds give the metal and the non-metal. In solutions, water also gives H⁺ and OH⁻: hydrogen forms at the cathode unless the metal is less reactive than hydrogen, and oxygen forms at the anode unless a halide is present. Reactive metals like aluminium are extracted by electrolysis.

🎬 Step-by-step story

  1. A solid ionic compound sits between two rods. Its ions are locked in place, so no current flows and the bulb stays off.
  2. When it melts, the ions are free to move. Positive ions travel to the negative rod (cathode). Negative ions travel to the positive rod (anode).
  3. At the cathode, positive ions take electrons and become metal. At the anode, negative ions give away electrons and become gas. These are half equations.
  4. In a solution, water adds H⁺ and OH⁻ ions. The less reactive choice wins: salt water gives hydrogen, not sodium, at the cathode.
  5. Aluminium is too reactive to get with carbon, so we use electrolysis of molten aluminium oxide. The oxygen made burns the carbon anodes away.
  6. Your turn: pick an electrolyte, predict the products, then check them in the 3D cell.

Tip: drag the 3D scene to turn it. Use two fingers to zoom.

🤔 Common doubts, cleared

Why must the compound be melted or dissolved?

In a solid the ions are fixed in the lattice. Melting or dissolving frees them so they can carry charge through the liquid.

Why do positive ions go to the negative electrode?

Opposite charges attract. The cathode is negative, so it pulls the positive ions towards it.

Where do the electrons actually go?

At the cathode, ions take electrons from the electrode. At the anode, ions hand electrons to the electrode, and they flow back round the wire to the power supply.

Why don't we get sodium from salt water?

Water gives H⁺ ions too. Hydrogen is less reactive than sodium, so it is discharged first.

Why does the carbon anode get smaller?

The oxygen made at the anode is very hot and reacts with carbon to form carbon dioxide gas.

What is electrolysis?

Electrolysis means "splitting with electricity". We pass a direct current (DC) through a liquid that contains ions. This liquid is the electrolyte.

In the wires, electrons carry the current. In the electrolyte, moving ions carry it.

Electrolysis of molten ionic compounds

A molten ionic compound has only two kinds of ion, so the products are easy to predict:

Example: molten lead(II) bromide, PbBr₂, gives grey lead at the cathode and brown bromine vapour at the anode. Molten sodium chloride gives sodium and chlorine.

You must heat the solid until it melts first. A solid gives no current, because its ions are fixed in the lattice.

Half equations at the electrodes

A half equation shows what happens at one electrode, with electrons written as e⁻.

More examples: Cu²⁺ + 2e⁻ → Cu  ·  2H⁺ + 2e⁻ → H₂  ·  2Cl⁻ → Cl₂ + 2e⁻  ·  4OH⁻ → O₂ + 2H₂O + 4e⁻  ·  Al³⁺ + 3e⁻ → Al  ·  2O²⁻ → O₂ + 4e⁻

Check: atoms balance and charges balance on both sides. Electrons can be shown taken away on the left instead (2Br⁻ − 2e⁻ → Br₂); both are accepted.

Electrolysis of aqueous solutions

Water splits a tiny bit into H⁺ and OH⁻ ions. So a solution has two cations and two anions competing.

At the cathode: hydrogen is made, unless the metal is less reactive than hydrogen (copper, silver, gold). Then the metal forms.

At the anode: oxygen is made, unless the solution has a halide ion (Cl⁻, Br⁻, I⁻). Then the halogen forms.

SolutionCathodeAnode
Sodium chloride (brine)hydrogenchlorine
Copper(II) sulfatecopperoxygen
Dilute sulfuric acidhydrogenoxygen
Copper(II) chloridecopperchlorine

In brine, Na⁺ and OH⁻ stay behind, so the solution becomes sodium hydroxide, a useful alkali.

Using electrolysis to extract metals

Metals more reactive than carbon (like aluminium, sodium, magnesium) cannot be got by heating their oxide with carbon. We use electrolysis, which needs a lot of electricity, so it is expensive.

Try it: a home electrolysis check (with an adult)

Put two pencil leads (graphite) in a cup of salty water and connect them to a 9 V battery using clip wires. Watch for bubbles on both leads. More bubbles form at the negative lead (hydrogen). Do it near an open window, for only a minute, and never use mains electricity. Then predict: what would you see with sugar water? (Nothing: sugar has no ions.)

Key formulas and definitions

Worked examples

1. Predict the products when molten zinc chloride, ZnCl₂, is electrolysed.

Molten → only Zn²⁺ and Cl⁻. Cathode: zinc (Zn²⁺ + 2e⁻ → Zn). Anode: chlorine (2Cl⁻ → Cl₂ + 2e⁻).

2. Predict the products for aqueous potassium bromide, KBr(aq).

Cathode: potassium is more reactive than hydrogen, so hydrogen forms (2H⁺ + 2e⁻ → H₂). Anode: bromide is a halide, so bromine forms (2Br⁻ → Br₂ + 2e⁻). Potassium hydroxide is left in solution.

3. Predict the products for aqueous silver nitrate, AgNO₃(aq).

Cathode: silver is less reactive than hydrogen, so silver forms (Ag⁺ + e⁻ → Ag). Anode: nitrate is not a halide, so oxygen forms (4OH⁻ → O₂ + 2H₂O + 4e⁻).

4. Why must the carbon anodes in aluminium extraction be replaced, and why is cryolite used?

Oxygen made at the anode reacts with the hot carbon: C + O₂ → CO₂, so the anode wears away. Cryolite lowers the melting temperature from over 2000 °C to about 950 °C, saving energy and money.

Common mistakes

Practice quiz

1. Which electrode attracts positive ions?
2. Why does solid sodium chloride not conduct electricity?
3. Products of electrolysis of copper(II) sulfate solution with inert electrodes:
4. Which half equation shows reduction?
5. Why is aluminium oxide dissolved in cryolite?

Practice: answer these yourself

Type or choose your answer, then press Check. Use a hint if you are stuck; the full solution appears after you answer.

Frequently asked questions

What is electrolysis in simple words?

It is using electricity to break a compound into simpler substances. The compound must be melted or dissolved so its ions can move to the electrodes.

What forms at the cathode and anode?

Metals or hydrogen form at the cathode (−). Non-metals such as oxygen, chlorine, bromine or iodine form at the anode (+).

Which metals are extracted by electrolysis?

Metals more reactive than carbon, such as aluminium, sodium, potassium, calcium and magnesium.

Where this is taught

England (GCSE, A level)Year 104.4 Chemical changes
England (GCSE, A level)Year 105.4 Chemical changes

Learn first

Learn next

Related lessons

All Chemistry lessons