Corrosion: The Chemistry of Rust and How to Stop It

Learn the redox chemistry behind rust, why it spreads, and how barrier coatings, galvanizing, and sacrificial anodes protect metals from corrosion.

Quick answer

Corrosion is the gradual breakdown of a metal by chemical reaction with its environment — most familiarly, iron rusting in the presence of oxygen and water. It is a redox process: iron is oxidized at anodic spots while oxygen is reduced at cathodic spots, forming hydrated iron(III) oxide.

Example: A steel nail left in damp air develops flaky orange-brown rust because iron, oxygen, and water are all present; the same nail kept dry, or coated in paint, stays bright.

What you will learn

  • Describe corrosion as a redox process
  • Write and explain the overall equation for rust formation
  • Explain why rust, unlike aluminum oxide, does not protect the metal
  • Describe barrier, galvanized, and sacrificial-anode protection
  • Predict which metal corrodes first in a galvanic couple

What corrosion is

Corrosion is the deterioration of a metal through chemical reaction with its surroundings. The most familiar example is iron rusting, but silver tarnishing, copper developing a green patina, and steel weakening in seawater are all corrosion. At its heart, corrosion is a redox reaction: the metal is oxidized (loses electrons) while something in the environment — usually oxygen — is reduced (gains electrons).

Corrosion matters enormously because it silently weakens bridges, ships, pipelines, and cars. Understanding its chemistry is the first step to stopping it.

The chemistry of rust

Rusting needs three ingredients: iron, oxygen, and water. Leave out any one and rusting essentially stops. The process sets up tiny galvanic cells on the metal surface:

  • At anodic spots, iron is oxidized: Fe⟶Fe2++2e−\text{Fe} \longrightarrow \text{Fe}^{2+} + 2e^-
  • At cathodic spots, dissolved oxygen is reduced in the water film: O2+2H2O+4e−⟶4OH−\text{O}_2 + 2\text{H}_2\text{O} + 4e^- \longrightarrow 4\text{OH}^-

The Fe2+ ions are further oxidized by oxygen to Fe3+, which precipitates with water as hydrated iron(III) oxide — rust. The overall change is summarized as:

4Fe+3O2+2H2O⟶2Fe2O3⋅xH2O4\text{Fe} + 3\text{O}_2 + 2\text{H}_2\text{O} \longrightarrow 2\text{Fe}_2\text{O}_3\cdot x\text{H}_2\text{O}

The xH2Ox\text{H}_2\text{O} indicates variable amounts of trapped water, which is why rust's exact composition varies.

All three are required

A classic school experiment puts nails in dry air, boiled (air-free) water, and ordinary water: only the nail with both air and water rusts. This simple test proves the three-ingredient rule.

Why rust keeps spreading

Here is the cruel part: rust does not protect the iron underneath. A useful oxide coating must be dense and adherent, sealing the metal from air and water. Rust is the opposite — it is porous, brittle, and flakes off, continually exposing fresh iron to further attack. That is why an unprotected iron object does not just discolor; it eventually rusts through completely.

Contrast aluminum: it oxidizes too, but its oxide (Al2O3) forms a thin, tough, continuous skin that blocks oxygen from reaching the metal below. The reaction effectively stops after the first microscopic layer. Iron's oxide cannot do this, which is why iron needs our help to survive outdoors.

Barrier protection: paint, oil, and plating

The simplest defense is to keep oxygen and water away from the metal with a barrier coating:

  • Paint seals the surface; it fails only where scratched or cracked.
  • Oil and grease exclude water on tools and machine parts.
  • Plating with a less reactive metal, such as chromium on bathroom fixtures, covers steel with a corrosion-resistant skin.

Barrier methods are cheap and effective but need maintenance — one breach in the coating becomes the exact spot where corrosion starts.

Sacrificial protection: zinc and magnesium

Galvanizing — coating steel with zinc — protects in two ways. First, the zinc layer is a barrier. Second, and more cleverly, zinc is more reactive than iron. Where the coating is scratched and both metals meet moisture, they form a galvanic cell in which zinc becomes the anode and corrodes preferentially, leaving the iron cathode untouched. The zinc sacrifices itself for the steel.

The same principle, scaled up, protects ships and pipelines: blocks of magnesium (even more reactive than zinc) are bolted to steel hulls as sacrificial anodes. The magnesium corrodes away over a few years and is then replaced — far cheaper than replacing the hull.

Sacrificial protection in one line

Connect the structure to a more reactive metal; the reactive metal oxidizes instead. Protection lasts as long as sacrificial metal remains.

Corrosion-resistant materials

Some materials resist corrosion by design. Stainless steel is steel alloyed with chromium (and often nickel); the chromium forms a thin, self-healing chromium oxide film that seals the surface much like aluminum's oxide does. If scratched, the film reforms in air.

No material is immune everywhere — chloride-rich seawater can pit even stainless steel — so engineers match the alloy to the environment. But the principle is always the same chemistry: either block the reactants, sacrifice a more reactive metal, or choose a metal whose oxide protects it.

Common mistakes

✗ Rust is just iron combining with oxygen.

Rust is hydrated iron(III) oxide — water is a required reactant, not a spectator. The overall process is 4Fe + 3O2 + 2H2O → 2Fe2O3·xH2O. Iron in dry oxygen forms only a thin surface film; true rusting needs moisture.

✗ Stainless steel can never corrode.

Stainless steel resists corrosion because chromium in the alloy forms a protective oxide film, but that film can break down — especially in salty or chloride-rich environments — and then even stainless steel pits and corrodes.

✗ Paint prevents rust by making the surface slippery or chemically neutralizing it.

Paint works mainly as a physical barrier: it keeps oxygen and water away from the metal surface. Once the coating is breached, rusting starts at the exposed spot, which is why maintenance of the coating matters.

Real-world applications

  • Protecting bridges and steel infrastructure

  • Ship hulls and offshore structures

  • Underground pipelines

  • Car bodies and undercarriages

  • Reinforced concrete structures

Frequently asked questions

Why does iron rust away but aluminum seems unaffected?

Aluminum does oxidize, but its oxide forms a thin, hard, continuous layer that seals the surface and stops further attack — it protects the metal underneath. Rust, by contrast, is porous and flakes off, constantly exposing fresh iron. So aluminum 'rusts' once, microscopically, and stops; iron rusts forever.

How does galvanizing protect steel even when scratched?

Zinc is more reactive than iron, so in the zinc-iron galvanic couple, zinc becomes the anode and corrodes preferentially while the steel stays protected — even at scratches where bare steel is exposed. The zinc 'sacrifices' itself, which is why the coating keeps working after damage.

Does rust spread to nearby clean metal?

Rust itself does not infect neighboring metal like a disease, but a rusted spot creates the perfect conditions for more rust: it traps moisture against the surface and sets up galvanic cells between rusted and clean areas. So rust patches do grow outward if left alone.

Why does salt water make rusting so much faster?

Salt water is an excellent electrolyte — it conducts ions easily — so the electrochemical half-reactions of rusting run much faster in it. Road salt in winter attacks cars for the same reason: it keeps a conductive, wet film on the steel.