ChemistryChemical reactions
Electrolysis: Definition, How It Works and Examples

Electrolysis is a chemical change driven by electricity: a direct current forces an ionic compound to break apart into its elements. Passing current through molten sodium chloride (table salt) produces sodium metal and chlorine gas. Most of the world’s primary aluminum is made this way.
Contents
What is Electrolysis?
In everyday words, electrolysis is “using electricity to make chemicals split.” An ordinary reaction happens because it releases energy, but electrolysis does the reverse: it stores electrical energy in new substances. The process needs three things: an electrolyte, which is a molten or dissolved ionic compound that can carry charge through its ions; two electrodes, which are conductors dipped into the electrolyte; and a direct current (DC) power supply that keeps the electrodes at different electrical potentials.
The formal definition from IUPAC is a chemical reaction in which electrical energy drives a non-spontaneous redox reaction at electrodes. The electric charge is measured in coulombs (C), where one coulomb is one ampere flowing for one second. The amount of reaction depends on how much charge passes, so electrolysis is a quantitative process as well as a qualitative one. Electrolysis is a process rather than a physical quantity, so it is described by charge, mass and voltage.
Pure water and dry salt conduct electricity poorly, so the electrolyte must contain free ions. Dissolving the compound or melting it releases those ions so they can move through the liquid.
How electrolysis works, step by step
Consider molten sodium chloride, NaCl. Inside the melt, the compound exists as separate sodium ions (Na⁺) and chloride ions (Cl⁻). When the power supply is switched on, the electrodes become charged, and the ions begin to move. Positive ions move toward the negative electrode, and negative ions move toward the positive electrode.
At the cathode, the negative electrode, each sodium ion gains one electron and becomes a sodium atom. This gain of electrons is called reduction. At the anode, the positive electrode, each pair of chloride ions gives up electrons and forms a chlorine molecule. This loss of electrons is called oxidation. The electrons flow through the external wire from the anode back to the cathode, which is why the process needs a power supply.
The two half-reactions for molten sodium chloride are:
- cathode: Na⁺ + e⁻ → Na
- anode: 2Cl⁻ → Cl2 + 2e⁻
The electrons that leave the anode are exactly the electrons that arrive at the cathode, so charge is conserved. Oxidation and reduction always happen together, which is why these reactions are called redox reactions. In the industrial Downs cell, calcium chloride is added to lower the melting point of the salt mixture, and the sodium that forms at the cathode is lighter than the melt and rises to be collected.
The formula for electrolysis mass
The amount of substance produced at an electrode is set by Faraday’s first law. The mass produced is proportional to the charge passed. The relationship can be written as:
m = Q × M / (z × F)
Here m is the mass of product in grams, Q is the total charge in coulombs, M is the molar mass of the element in grams per mole, z is the number of electrons transferred per ion (1 for Na⁺, 2 for Cu²⁺), and F is the Faraday constant, 96,485 C/mol. The Faraday constant is the charge of one mole of electrons, and its value follows from the elementary charge (1.602176634 × 10⁻¹⁹ C) and the Avogadro constant (6.02214076 × 10²³ mol⁻¹).
Worked example: a current of 2.00 A flows through molten sodium chloride for one hour (3,600 s). The charge is Q = 2.00 × 3,600 = 7,200 C. The number of moles of electrons is 7,200 ÷ 96,485 ≈ 0.0746 mol. Sodium has M = 22.99 g/mol and z = 1, so the mass of sodium is about 0.0746 × 22.99 ≈ 1.72 g. Faraday’s second law adds that the same charge deposits different masses of different elements, in proportion to their molar masses divided by their charge numbers.
Everyday examples
Electrolysis is hidden in many common products. Aluminum drink cans, window frames and foil are made from metal that was first separated from its oxide by electrolysis. Chlorine, which is used to make bleach, disinfect swimming pools and produce PVC plastic, is made mainly by electrolyzing brine, a concentrated salt solution. The sodium hydroxide made in the same process is used in soap and paper making.
Electroplating is another example. A metal object is connected as the cathode in a solution containing ions of a metal such as chromium or silver, so a thin layer of metal deposits on its surface. Car bumpers, cutlery and jewelry are often finished this way. Copper for electrical wiring is purified by electrolysis, which removes impurities and keeps the copper very pure for conducting current.
Electrolysis is also studied as a way to make hydrogen from water, which is important for green fuels. These uses all rely on the same basic idea: electricity forces ions to change their charge at electrodes.
Electrolysis or a voltaic cell?
A common confusion is between electrolysis and a voltaic (galvanic) cell, such as the cell in a battery. Both use two electrodes, an electrolyte and redox reactions, and both have a cathode and an anode. The difference is energy direction. In a voltaic cell, a spontaneous reaction releases energy and electrons flow from the anode to the cathode through the external circuit. In electrolysis, an external power supply forces electrons to flow the other way and drives a reaction that would not happen on its own.
Students sometimes mix up the signs of the electrodes. In a battery, the anode is negative because it releases electrons. In electrolysis, the anode is positive because the power supply pulls electrons away from it. The electrode names are fixed by the reaction type (oxidation at the anode, reduction at the cathode), not by the sign of the battery. The same two rules hold for both devices. For a closer comparison, see the question about the anode in batteries and electrolysis.
Who discovered it
Electrolysis developed after Alessandro Volta invented the voltaic pile in 1800, which gave scientists a steady source of current for the first time. In 1800, William Nicholson and Anthony Carlisle used the pile to split water into hydrogen and oxygen. Humphry Davy used electrolysis in 1807 and 1808 to isolate sodium, potassium, calcium and other metals for the first time.
Michael Faraday then made electrolysis a quantitative science. Between 1833 and 1834 he published his laws of electrolysis, which connected the mass of product to the amount of charge passed. He also introduced the words electrode, anode, cathode, electrolyte and ion. Later, the Hall–Héroult process (1886) turned electrolysis into an industrial method for aluminum. Charles Martin Hall and Paul Héroult developed it independently in the same year.
Common mistakes and exam tips
The most common mistake is to say that electrons move through the electrolyte. In electrolysis, electrons move only through the external wire. Inside the liquid, charge is carried by ions. Another mistake is to forget that oxidation and reduction always happen together, so the number of electrons gained equals the number lost.
Students also often write the wrong product at each electrode. Metals form at the cathode, and non-metal gases such as chlorine or oxygen form at the anode in most simple melts. In aqueous solutions, water can also react at the electrodes, so the product depends on which ion is discharged more easily. Read the question carefully and check the reactivity and concentration of each ion.
In GCSE and AP tests, write balanced half-equations with the electrons shown, and label the cathode as negative and the anode as positive. Use the Faraday equation when a question gives current and time.
More about Electrolysis
- 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
- QuestionWhat Happens During the Electrolysis of Water?
Frequently asked questions
What is electrolysis in simple words?
Electrolysis is using electricity to force a chemical reaction that would not happen by itself. A direct current pulls an ionic compound apart into its elements. Making aluminum metal from its ore is a major example.
What happens at the cathode and anode in electrolysis?
The cathode is the negative electrode, where positive ions gain electrons and are reduced. The anode is the positive electrode, where negative ions lose electrons and are oxidized. Both electrodes must be connected to a battery or power supply.
Why is electrolysis used to make aluminum?
Aluminum is too reactive to be separated from its oxide by heating with carbon. In the Hall–Héroult process, alumina is dissolved in molten cryolite at about 950 °C and electrolyzed. Aluminum metal collects at the cathode.
What is the difference between electrolysis and a battery?
A battery releases energy from a spontaneous chemical reaction. Electrolysis uses electrical energy to make a non-spontaneous reaction happen. Both use electrodes and ions, but the energy flows in opposite directions.
Who discovered the laws of electrolysis?
Michael Faraday published his laws of electrolysis in 1833 and 1834. The first law states that the mass of a substance produced is proportional to the charge passed. The second law links equal charges to amounts of different elements.
Sources and further reading
- IUPAC, "Compendium of Chemical Terminology" (Gold Book), entry "electrolysis"
- OpenStax, "Chemistry 2e", chapter on electrochemistry
- N. N. Greenwood and A. Earnshaw, "Chemistry of the Elements" (2nd ed., 1997)
- W. M. Haynes (ed.), "CRC Handbook of Chemistry and Physics"
Cite this page
“Electrolysis: Definition, How It Works and Examples.” Atoms & Forces, https://science.bigworldlist.com/chemistry/electrolysis/.