What Is Electrolysis? Definition, Rules and Half-Equations

What Is Electrolysis? Definition, Rules and Half-Equations
📑 Contentstap to open

Electrolysis is the process of using a direct electric current to break down an ionic compound that is molten or dissolved in water. Positive ions move to the negative electrode and negative ions to the positive electrode, where they are turned into elements.

This guide covers the chemistry meaning of the word, the one you need for GCSE and IGCSE courses. (Beauty salons use “electrolysis” for a hair-removal treatment, which is a different topic.) By the end you will be able to define electrolysis, name the electrodes, predict the products for molten and dissolved compounds, and write the half-equations that examiners love to ask for.

Electrolysis of water: bubbles of hydrogen and oxygen collecting in two syringes over electrodes, powered by a 9 V battery
Electrolysis in action: a 9 V battery drives a current through the electrolyte, and the gas bubbles off at the electrodes. Photo: Rhetos / Wikimedia Commons (CC0)

What is electrolysis? The definition in plain words

The word comes from “electro-” (electricity) and “-lysis”, which means “a loosening”. The name was coined in 1834 by William Whewell for Michael Faraday, who went on to work out the laws of the process. So the electrolysis definition in chemistry is simple: electricity is used to loosen a compound into its elements.

Electrolysis is a chemical change, not a physical one. New substances form at the electrodes, and you cannot get the original compound back just by cooling or drying it. Compare that with melting ice, which is physical because the water is still water. If you need a refresher on what counts as a chemical reaction, start there.

Two more ideas complete the definition. First, the supply must be direct current (d.c.), so that one electrode is always negative and the other always positive. Second, electrolysis drives a reaction that would not happen by itself. Electrical energy goes in and is stored as chemical energy in the products. A battery does the reverse: it turns chemical energy into electrical energy.

In physics lessons you may hear that electrolysis is “current passing through a liquid”. That is true, but the chemistry is what makes it special. The current is not just flowing through the liquid. It is changing the liquid’s ions into new substances.

Electrolytes: why the ions must be free to move

An electrolyte is an ionic compound that is molten or dissolved in water, so that its ions are free to move. That freedom is the whole secret. In a solid ionic compound such as sodium chloride, the ions sit in fixed positions in a giant lattice. They vibrate but cannot travel, so no charge can flow and the solid does not conduct.

Melt the solid, or dissolve it in water, and the lattice breaks up. The ions can now drift through the liquid and carry charge. This is why electrolysis only works on molten or dissolved ionic compounds. You can read more about why ionic solids and liquids behave so differently in our guide to the properties of ionic and covalent compounds.

SubstanceConducts electricity?Why
Solid sodium chlorideNoIons are held in a lattice and are not free to move
Molten sodium chlorideYesNa⁺ and Cl⁻ ions are free to move
Sodium chloride solutionYesDissolved ions are free to move
Sugar solutionNoSugar is made of molecules, so there are no ions to carry charge

Pure water also barely conducts, because only a tiny fraction of its molecules split into ions. That is why a little acid or salt is added when water is electrolysed. The extra ions let the current flow, and, as you will see later, only the water is used up.

Anode and cathode: the electrodes in electrolysis

The electrodes are the two conducting rods or plates that dip into the electrolyte and connect to the power supply. They are usually made of graphite (carbon) or platinum, which conduct well but do not react. These are called inert electrodes. Some electrodes, such as copper in copper sulfate solution, can take part in the reaction. Those are active electrodes, and we meet them later.

TermMeaningWhat happens there
ElectrolyteMolten or dissolved ionic compoundCarries current by moving ions
ElectrodeConducting rod or plate that dips into the electrolyteWhere ions become elements
CathodeThe negative electrodePositive ions (cations) arrive and gain electrons: reduction
AnodeThe positive electrodeNegative ions (anions) arrive and lose electrons: oxidation
Inert electrodeGraphite or platinumConducts but does not react

Two memory tricks help. PANIC stands for Positive Anode, Negative Is Cathode. OIL RIG stands for Oxidation Is Loss, Reduction Is Gain (of electrons). Put them together and you can rebuild the whole table: the anode is positive, so negative ions go there and lose electrons, which is oxidation.

How electrolysis works, step by step

Here is the whole process of electrolysis in five steps. Follow it on the diagram of molten sodium chloride below.

  1. The d.c. supply pushes electrons towards the negative electrode, the cathode, and pulls them away from the positive electrode, the anode.
  2. In the electrolyte, positive ions (cations) are attracted to the cathode and negative ions (anions) are attracted to the anode.
  3. At the cathode, positive ions gain electrons. This is reduction at the cathode, and the ions are discharged as atoms or molecules of an element.
  4. At the anode, negative ions lose electrons. This is oxidation at the anode, and again an element is produced.
  5. The electrons released at the anode travel round the external wire, through the supply, and back to the cathode, so the circuit is complete.
Diagram of electrolysis of molten sodium chloride with carbon electrodes: Na+ ions move to the negative cathode and Cl− ions to the positive anode
Molten (fused) sodium chloride: Na⁺ heads for the cathode (−), Cl⁻ for the anode (+). Electrons flow round the wire from anode to cathode. (Science A Plus diagram)
electrons flow this way

Notice that two different carriers move charge in the circuit. In the wires and electrodes, the carriers are electrons. In the electrolyte, the carriers are ions. Electrons never travel through the liquid. They enter at the cathode, where they are picked up by positive ions, and leave from the anode, where negative ions drop them off.

The diagram shows electrons flowing from the anode round to the cathode. Older diagrams sometimes draw the current the other way, because the convention for “conventional current” was set before electrons were discovered. Our article on the direction of current explains the difference, and it is worth a read before your physics exam as well as your chemistry one.

So what is electrolysis in chemistry, in one line? It is ions free to move, a d.c. supply, and a redox reaction at each electrode that turns the ions into elements. Everything else in this article is a way of predicting which elements you get.

Electrolysis of molten ionic compounds: one simple rule

When an ionic compound is melted, the only ions present are the ones from the compound itself. That makes prediction easy. For a binary compound (one made of two elements), the rule is metal at the cathode, non-metal at the anode.

Molten lead(II) bromide

Lead(II) bromide melts at about 370 °C. When the current passes, grey, silvery molten lead collects at the cathode, and red-brown bromine vapour bubbles off at the anode. Bromine vapour is toxic, so this is a demonstration done in a fume cupboard. Some courses use anhydrous zinc chloride as a safer alternative.

Cathode: Pb²⁺ + 2e⁻ → Pb

Anode: 2Br⁻ → Br₂ + 2e⁻

Overall: PbBr₂ → Pb + Br₂

The cathode equation is reduction, because the lead ion gains two electrons. The anode equation is oxidation, because two bromide ions lose one electron each. Notice that bromine forms as Br₂ molecules, so you always need two bromide ions on the left.

Molten sodium chloride

Sodium chloride melts at 801 °C. The products are liquid sodium at the cathode and chlorine gas at the anode.

Cathode: Na⁺ + e⁻ → Na

Anode: 2Cl⁻ → Cl₂ + 2e⁻

Overall: 2NaCl → 2Na + Cl₂

Industry uses this reaction in a Downs cell, which makes sodium metal. The molten sodium chloride gives liquid sodium at the cathode and chlorine at the anode. An iron screen keeps the two products apart so that they are collected separately.

Labelled diagram of a Downs cell for electrolysis of molten sodium chloride, showing the cathode, anode, iron screen, chlorine outlet and liquid sodium outlet
Industry scales it up: in a Downs cell, molten sodium chloride gives liquid sodium at the cathode (−) and chlorine at the anode (+). Diagram: OpenStax / Wikimedia Commons (CC BY 4.0)

Other molten binary compounds follow the same pattern. Here are a few you might meet in exams.

Molten compoundCathode (−)Anode (+)
Lead(II) bromide, PbBr₂LeadBromine
Sodium chloride, NaClSodiumChlorine
Zinc chloride, ZnCl₂ZincChlorine
Magnesium chloride, MgCl₂MagnesiumChlorine

Electrolysis of aqueous solutions: the two rules

A solution is trickier, because water is there too. Water molecules break down a little, producing H⁺ and OH⁻ ions. So in a solution of sodium chloride there are four ions: Na⁺ and Cl⁻ from the salt, and H⁺ and OH⁻ from the water. At each electrode, two ions compete to be discharged. The ion that wins depends on its reactivity.

ElectrodeIons that arriveRuleProduct
Cathode (−)Metal ion and H⁺Hydrogen forms if the metal is more reactive than hydrogen. Otherwise the metal forms.Hydrogen or the metal
Anode (+)Negative ion and OH⁻Oxygen forms unless the solution contains halide ions. If it does, the halogen forms.Oxygen or a halogen

To apply the cathode rule you need the reactivity series. From most to least reactive: potassium, sodium, calcium, magnesium, aluminium, (carbon), zinc, iron, (hydrogen), copper, silver, gold. Metals above hydrogen stay in solution as ions while hydrogen gas is made. Copper and silver sit below hydrogen, so they are deposited as metals. Our guide to the reactivity of metals has the full series and the reasoning behind it.

Brine: concentrated sodium chloride solution

Brine contains Na⁺, Cl⁻, H⁺ and OH⁻. At the cathode, sodium is more reactive than hydrogen, so hydrogen forms. At the anode, chloride is a halide, so chlorine forms.

Diagram of electrolysis of aqueous sodium chloride (brine): chlorine bubbles at the positive anode and hydrogen at the negative cathode
Brine has four ions — Na⁺, H⁺, Cl⁻, OH⁻ — but only H⁺ and Cl⁻ are discharged, giving hydrogen and chlorine. (Science A Plus diagram)

Cathode: 2H⁺ + 2e⁻ → H₂

Anode: 2Cl⁻ → Cl₂ + 2e⁻

Overall: 2NaCl + 2H₂O → 2NaOH + H₂ + Cl₂

There is a third product. The Na⁺ and OH⁻ ions are left behind in the solution, which is sodium hydroxide. This is why electrolysis of brine is such a useful industrial reaction: it makes three valuable chemicals at once.

You can identify the gases with simple tests. Hydrogen burns with a squeaky pop when a lighted splint is held to it. Chlorine bleaches damp litmus paper, turning it white. Oxygen relights a glowing splint.

Copper(II) sulfate solution with inert electrodes

The ions are Cu²⁺, SO₄²⁻, H⁺ and OH⁻. Copper is less reactive than hydrogen, so copper is deposited at the cathode. There is no halide ion, so oxygen forms at the anode. The sulfate ion is not discharged.

Cathode: Cu²⁺ + 2e⁻ → Cu

Anode: 4OH⁻ → O₂ + 2H₂O + 4e⁻

Overall: 2CuSO₄ + 2H₂O → 2Cu + O₂ + 2H₂SO₄

The blue colour fades as Cu²⁺ ions are used up, and sulfuric acid builds up in the solution. Be careful here: some people expect chlorine because they remember “anode gives chlorine” from brine. There is no chloride in copper sulfate, so oxygen is the answer.

Dilute sulfuric acid: splitting water

In dilute sulfuric acid the only positive ion is H⁺, and sulfate is not a halide, so hydrogen forms at the cathode and oxygen at the anode. The acid simply supplies ions so that the water can conduct. Only water is used up.

Diagram of electrolysis of acidified water with carbon rods under two test tubes; more gas collects above the cathode
Acidified water: hydrogen collects above the cathode (−) and oxygen above the anode (+), with about twice as much hydrogen. (Science A Plus diagram)

Cathode: 2H⁺ + 2e⁻ → H₂

Anode: 4OH⁻ → O₂ + 2H₂O + 4e⁻

Overall: 2H₂O → 2H₂ + O₂

The gases appear in a 2 : 1 ratio, and the electrons explain why. Four electrons make two molecules of hydrogen, but the same four electrons are released when one molecule of oxygen forms. So twice as much hydrogen as oxygen collects by volume.

Product predictor at a glance

ElectrolyteCathode (−)Anode (+)Left behind
Molten PbBr₂LeadBromineNothing
Molten NaClSodiumChlorineNothing
NaCl(aq)HydrogenChlorineSodium hydroxide solution
CuSO₄(aq)CopperOxygenSulfuric acid
H₂SO₄(aq)HydrogenOxygenMore concentrated acid
KBr(aq)HydrogenBrominePotassium hydroxide solution
CuCl₂(aq)CopperChlorineWeaker copper(II) chloride solution
AgNO₃(aq)SilverOxygenNitric acid

Use the table as a quick check, but always work through the ions and the reactivity series yourself in an exam.

Now test your reasoning. Tap each question to reveal a model answer.

Predict the products when concentrated potassium iodide solution is electrolysed. (2 marks)

Hydrogen at the cathode, because potassium is more reactive than hydrogen. Iodine at the anode, because iodide is a halide ion.

Why does copper, not hydrogen, form at the cathode in copper(II) sulfate solution? (1 mark)

Copper is less reactive than hydrogen, so the Cu²⁺ ions are discharged instead of the H⁺ ions.

How to write half-equations for electrolysis (5 steps)

A half-equation shows what happens at one electrode. Examiners at Higher tier expect you to write them without help, and the method is the same every time.

  1. List the ions that reach the electrode (for example Mg²⁺ and Cl⁻ in molten magnesium chloride).
  2. Send positive ions to the cathode and negative ions to the anode.
  3. At the cathode, add electrons on the left, as many as the ion’s positive charge, to make the neutral atom.
  4. At the anode, show electrons on the right, as many as the ion’s negative charge. Gases such as Cl₂, Br₂ and O₂ are diatomic, so you need enough ions to make a molecule.
  5. Check that the charges balance on both sides of the arrow. To add two half-equations together, multiply them so that both contain the same number of electrons, then cancel.

Take molten magnesium chloride as a worked example.

Cathode: Mg²⁺ + 2e⁻ → Mg

Anode: 2Cl⁻ → Cl₂ + 2e⁻

Both equations involve two electrons, so they cancel neatly when added together. The charge check works on each line: at the cathode, 2+ plus 2− equals zero, which matches the neutral atom. At the anode, 2− on the left equals 2− from the two electrons on the right.

Now a harder one: molten aluminium oxide. Aluminium ions have a 3+ charge and oxide ions have a 2− charge.

Cathode: Al³⁺ + 3e⁻ → Al

Anode: 2O²⁻ → O₂ + 4e⁻

The electrons do not match, so find the lowest common multiple of 3 and 4, which is 12. Multiply the cathode equation by 4 and the anode equation by 3, and each side has 12 electrons. That gives 4Al + 3O₂, and so the overall equation is below.

2Al₂O₃ → 4Al + 3O₂

Inert vs active electrodes: purifying copper

So far the electrodes have been inert. They simply carry electrons in and out. What happens if the electrode takes part in the reaction? Copper electrodes in copper(II) sulfate solution are the classic example, and the industry uses this to purify copper.

At the anode, the copper itself dissolves: Cu → Cu²⁺ + 2e⁻. The anode loses mass. At the cathode, copper ions are deposited: Cu²⁺ + 2e⁻ → Cu. The cathode gains mass. The colour and concentration of the solution stay roughly constant, because copper ions are produced at one electrode as fast as they are used at the other. Copper from the anode dissolves instead of oxygen forming.

The impure copper is used as the anode. As it dissolves, unwanted impurities fall to the bottom as anode sludge (also called anode slime), which contains valuable metals such as silver and gold. Meanwhile, the cathodes build up pure copper, above 99.99% copper in refineries. For the full practical method, apparatus and how electroplating works, see our guide to the practical method and electroplating.

Black-and-white photo of a 1951 high-school science class watching a teacher demonstrate an electrolysis apparatus
A 1951 science class in Brisbane watches an electrolysis demonstration. Photo: Queensland State Archives / Wikimedia Commons (public domain)
Stack of pure copper cathode sheets produced by electrolytic refining
Pure copper cathodes, straight out of a refinery’s electrolysis cells. Photo: Xstrata Technology / Wikimedia Commons (CC BY-SA 3.0)
Same idea, 70 years and a whole industry apart.

What is electrolysis used for?

Electrolysis is a big industrial technology. These are the uses you need to know.

Extracting aluminium

Aluminium is too reactive to be extracted by reduction with carbon, so it is made by electrolysis of molten aluminium oxide. Charles Martin Hall and Paul Héroult discovered the method independently in 1886, and most commercial aluminium is still made this way.

Aluminium oxide melts at over 2,000 °C, which is very hard to reach. So it is dissolved in molten cryolite (Na₃AlF₆), which lets the cells run below 1,000 °C, at around 950 °C. The cathode reaction is Al³⁺ + 3e⁻ → Al, and the anode reaction is 2O²⁻ → O₂ + 4e⁻.

The anodes are made of carbon. The oxygen reacts with the hot carbon, C + O₂ → CO₂, so the anodes burn away and must be replaced regularly. The process needs a lot of electricity, which makes it expensive. Read more about the metal itself in our aluminium facts article.

Recycling is the smart alternative. Recycling aluminium saves about 95% of the energy needed to make it from the ore, which is why recycling aluminium cans makes sense. For more on that, see why recycling metal matters.

Chlorine, hydrogen and sodium hydroxide from brine

According to the Royal Society of Chemistry, about 40 million tonnes of chlorine are made each year by the electrolysis of brine, which also yields sodium hydroxide. Chlorine treats drinking water and swimming-pool water, and, according to the RSC, about 20% of the chlorine made goes into PVC. You can learn more in our article on chlorine.

Modern chlor-alkali plants mostly use membrane cells. An ion-exchange membrane lets sodium ions (and a little water) through but keeps the chlorine apart from the hydrogen and hydroxide. Of the three cell types, it uses the least electrical energy.

Copper refining and electroplating

Copper refining is the active-electrode example above: impure anode, pure cathode. Electroplating is the same idea used to coat objects with a thin layer of metal. The object to be plated is the cathode, the plating metal is the anode, and the electrolyte contains ions of the plating metal.

Hydrogen from water

Splitting water gives hydrogen and oxygen, and if the electricity comes from clean sources the hydrogen is low in emissions. Today, though, only around 1% of the world’s hydrogen comes from low-emission routes such as electrolysis powered by clean electricity. Most is still made from fossil fuels. Global production was almost 100 million tonnes in 2024, so there is a very long way to go.

Electrolysis vs a chemical cell (battery)

Students often mix up an electrolytic cell with a chemical cell, because both have two electrodes and an electrolyte. They work in opposite directions. A chemical cell uses a spontaneous reaction to push out electricity. Electrolysis uses electricity to force a reaction that would not happen by itself. You can build the other kind yourself with our simple cell experiment.

FeatureElectrolytic cell (electrolysis)Chemical cell (battery)
Energy changeElectrical energy to chemical energyChemical energy to electrical energy
ReactionForced by an external d.c. supplyHappens by itself
Sign of the anodePositive (+)Negative (−)
Oxidation happens atThe anodeThe anode

The last row is the one to remember. The sign of the anode changes between the two types of cell, but oxidation always happens at the anode.

Common mistakes in electrolysis answers

These are the points that mark schemes reward, and the slips that lose marks.

  • Say the ions are “free to move”, not that they “move faster” or “can move more easily”.
  • Use the words “discharged” or “deposited” for ions turning into atoms, not “attracted” or “changed”.
  • When a solution is electrolysed, name the ion that is not discharged and say why (for example, sodium is more reactive than hydrogen).
  • Write hydrogen, chlorine, bromine, iodine and oxygen as diatomic molecules: H₂, Cl₂, Br₂, I₂ and O₂.
  • Remember the third product of brine: sodium hydroxide solution is left behind.
  • For aluminium, say the anodes must be replaced because oxygen reacts with the hot carbon to make carbon dioxide.
  • Do not mix up the directions. Cations (positive) go to the cathode, and anions (negative) go to the anode.

Revision checklist: can you do these?

Tick each item when you are confident. Your ticks are saved in your browser.

  • Define electrolysis in one sentence
  • Explain why solid ionic compounds do not conduct but molten ones do
  • State PANIC and OIL RIG and use them to name the electrodes
  • Predict the products of electrolysis of a molten binary compound
  • Apply both aqueous rules (cathode and anode) to a solution
  • Write and balance half-equations for both electrodes
  • Explain why aluminium oxide is dissolved in cryolite and why the anodes are replaced

Flip cards: name the product

Look at the front, say your answer out loud, then tap to check.

🔥Molten lead(II) bromide: what forms at the cathode?
Lead. Pb²⁺ + 2e⁻ → Pb.
🧂Brine: what forms at the anode?
Chlorine, because chloride is a halide ion.
🔵Copper(II) sulfate with inert electrodes: what forms at the anode?
Oxygen, because there is no halide ion.
💧Dilute sulfuric acid: what forms at the cathode?
Hydrogen, with twice the volume of the oxygen.
🥫Aluminium oxide in cryolite: what forms at the anode?
Oxygen, which burns the carbon anode away to carbon dioxide.
🥈Silver nitrate solution: what forms at the cathode?
Silver, because silver is less reactive than hydrogen.
Tap a card to flip it.

Quiz: test yourself on electrolysis

Frequently asked questions about electrolysis

What is electrolysis in simple terms?

Electrolysis is using electricity to split a compound into its elements. The compound must be an ionic one that is melted or dissolved in water, so that its ions can move. Positive ions are pulled to the negative electrode and negative ions to the positive electrode, where they turn into elements.

What is the definition of electrolysis in chemistry?

In chemistry, electrolysis is the breakdown of an ionic compound, when molten or in solution, by passing a direct electric current through it. The ions are discharged at the electrodes and produce elements. It is a chemical change that turns electrical energy into chemical energy.

What is an electrolyte in electrolysis?

The electrolyte is the molten or dissolved ionic compound that conducts electricity during electrolysis. It conducts because its ions are free to move. Examples include molten sodium chloride, sodium chloride solution, copper(II) sulfate solution and dilute acids. Solid ionic compounds are not electrolytes, because their ions are fixed in place.

What is the positive electrode called in electrolysis?

The positive electrode is called the anode. Negative ions are attracted to it, and they lose electrons there, which is oxidation. The negative electrode is the cathode, where positive ions gain electrons. A handy memory aid is PANIC: Positive Anode, Negative Is Cathode.

Why must an ionic compound be molten or dissolved for electrolysis?

In a solid, the ions are held in fixed positions in a giant lattice, so they cannot move to the electrodes and no current can flow through the compound. Melting or dissolving the compound frees the ions. Once they are free to move, they can carry charge and be discharged at the electrodes.

How do you work out the products of electrolysis of a solution?

Use two rules. At the cathode, hydrogen forms if the metal is more reactive than hydrogen, otherwise the metal forms. At the anode, oxygen forms unless the solution contains halide ions, in which case the halogen forms. Water supplies extra H⁺ and OH⁻ ions that compete with those from the compound.

What is electrolysis used for?

Electrolysis is used to extract reactive metals such as aluminium, to make chlorine, hydrogen and sodium hydroxide from brine, to purify copper, and to electroplate objects with a thin layer of metal. It is also used to split water into hydrogen and oxygen, though most hydrogen still comes from fossil fuels.

Is electrolysis a chemical or physical change?

Electrolysis is a chemical change. New substances are made at the electrodes, such as metals, hydrogen, oxygen or halogens, and these differ from the original compound. A physical change, such as melting, does not form new substances. The melting step in molten electrolysis only frees the ions.

Is electrolysis a redox reaction?

Yes. Reduction happens at the cathode, where positive ions gain electrons, and oxidation happens at the anode, where negative ions lose electrons. Both occur at once and the electrons lost at the anode are the ones gained at the cathode. Remember OIL RIG: Oxidation Is Loss, Reduction Is Gain.

What is the difference between electrolysis and electroplating?

Electroplating is one use of electrolysis. The object to be plated is the cathode, the plating metal is the anode, and the electrolyte contains ions of the plating metal. Metal ions gain electrons at the object and form a thin coating. Electrolysis is the broader process of breaking down compounds using electricity.