Part 3 · Metals
Corrosion and Its Prevention
Every metal you win from ore is trying to turn back into ore. Rust and corrosion are small electric cells running on the surface of the metal; understand them and you can stop them — with oil, paint, tin and zinc coatings, good design, and blocks of zinc or magnesium that rot away in the iron's place, or a small electric current that keeps a whole pipeline or hull safe.
- Difficulty
- ●●●●●
- Time
- Minutes to oil a tool; a day to clean and prime a gate; an afternoon to fit a sacrificial anode; weeks of watching to prove a protection system works
- Steps from zero
- 22 prerequisites →
This unlocks
—The full path from nothing — 22 steps before this one
- Fire
- Cordage and Rope
- Stone Tools
- Finding and Preparing Clay
- Finding and Identifying Ores
- Hunting and Trapping
- Basic Woodworking
- Charcoal
- Pottery
- Hides and Leather
- Salt
- Fermentation
- The Wheel and Axle
- Bellows
- Gears
- Copper Smelting
- Iron (the Bloomery)
- The Waterwheel
- Blacksmithing
- The Battery
- Sheet Metal and Rolling
- Electrolysis
- Corrosion and Its Prevention
Do them roughly in this order. See it on the tech tree →
Why it matters
Iron is the cheapest metal you will make, and the least willing to stay metal. A bare iron bucket left in the rain is pitted in a month and holed in a few years. A ship's hull, a bridge, a boiler, a water pipe or a buried tank all die from rust long before they wear out. A settlement whose every kilogram of iron was won by hard work cannot afford that.
The good news is that most corrosion is predictable and cheap to stop. A rag with oil, a coat of paint at the right moment, a dip in molten zinc, a copper pipe kept from touching an iron one, or a lump of zinc bolted to a hull can add decades to a structure.
How it works
Rust is a tiny battery
Iron does not rust in dry air, and it does not rust in water with no air in it. It needs both water and oxygen. Wherever a film of water touches iron, two reactions run side by side, exactly as in a The Battery:
- At one spot, the anode, iron atoms give up electrons and go into the water as dissolved iron. This is where metal is lost — where the pit forms.
- The electrons flow through the metal to another spot, the cathode, where oxygen dissolved in the water takes them up and makes the water alkaline. The cathode is not harmed.
- The dissolved iron drifts out and meets the alkaline water and more oxygen, and falls out as rust — reddish-brown hydrated iron oxide. Rust takes up several times the volume of the iron it came from, so it swells, flakes and bursts paint and stone.
Anything that helps current flow speeds this up. Salt makes water conduct far better, which is why iron rusts several times faster by the sea or on salted roads. Warmth and acid speed it too. Rusting nearly stops when the air is drier than about 60% humidity, because the water film disappears.
The starved spot is the one that rots. Oddly, the anode is usually where oxygen is scarce: under a drop of water, under dirt or a loose washer, inside a crack or a joint, at the waterline just below the surface. The well-aired metal around it becomes the cathode. So corrosion concentrates in hidden places — crevices, overlaps, under flaking paint — and digs deep pits there, while the open surface looks fine.
Two metals: the galvanic series
When two different metals touch and are wet by the same water, they form a battery by themselves (see The Battery). One becomes the anode and corrodes faster; the other becomes the cathode and is protected. Which one loses is set by the galvanic series — metals ranked by how eagerly they give up electrons in seawater:
| More active (corrodes, protects others) | More noble (protected) | |
|---|---|---|
| Magnesium → zinc → aluminium → mild steel, cast iron → lead → tin | → brass, bronze → copper → nickel → stainless steel (clean) → silver → titanium → graphite → gold → platinum |
The further apart two metals are, the faster the active one goes. Three rules follow:
- Never let copper, brass or bronze touch iron or aluminium in wet places without an insulating washer (leather, rubber, waxed cloth or fired clay) between them. A copper pipe screwed into an iron tank eats the tank round the joint.
- Big cathode, small anode is fatal. Copper rivets in a steel plate are fine — the large steel area shares the attack. Steel rivets in copper sheet vanish in a season.
- A coating of a nobler metal protects only while it is unbroken. Tin is nobler than iron: a scratch in tinplate rusts faster than bare iron (Tin and Pewter). Zinc is more active than iron: a scratch in galvanised iron does not rust, because the zinc around it corrodes instead (Electroplating). This is the whole idea behind sacrificial anodes and cathodic protection.
Other metals
Copper and bronze grow a protective green patina and last centuries on roofs, but ammonia (urine, stables) attacks them. Brass in soft or salty water can lose its zinc and turn to spongy pink copper (dezincification) — use bronze for seawater pumps. Aluminium is guarded by a thin oxide skin, which Anodising Aluminium and Titanium makes thicker and harder, but alkalis (lye, wet cement, ash) eat it (Aluminium). Lead dissolves in soft or acid water, a poisoning risk in pipes (Lead). Stainless steel — iron with at least 11–12% chromium (Alloy and Stainless Steels) — heals its own oxide skin, but still pits under salt and in airless crevices.
What you need
| Item | For |
|---|---|
| Wire brushes, scrapers, coarse sandstone, sand and a bellows or air pump | Removing rust and scale |
| Dilute acid: vinegar, or 10% Hydrochloric Acid or Sulfuric Acid | Pickling off rust (Acids, Bases and Testing) |
| Boiled linseed oil, animal fat, beeswax, wool grease | Oiling and waxing |
| Red iron oxide (ochre, hematite) or zinc dust; linseed oil | Primers (Pigments, Paints and Varnish) |
| Coal tar or bitumen | Coating buried and underwater iron (Tar, Pitch and Glue, Coal Tar Chemicals) |
| Zinc, magnesium or aluminium | Sacrificial anodes (Zinc and Brass, Magnesium, Aluminium) |
| Copper wire, copper sulfate, a moving-coil voltmeter | Measuring protection (Copper Wire, Measuring Electricity) |
| A direct-current source | Impressed-current protection (Rectifiers: Turning AC into DC, The Generator, The Battery) |
Where to find it
Most of what you need is made in other chapters. Red iron oxide for primer is plain red ochre or ground hematite (Pigments, Paints and Varnish, Finding and Identifying Ores), or rust scraped off old iron and roasted. Bitumen seeps from the ground in oil country and floats on some lakes (Petroleum and Refining); coal tar comes from making coke (Coal Tar Chemicals). Red cabbage juice makes the indicator for the test below (Acids, Bases and Testing).
Step 1: Watch it happen (the drop test)
Seeing corrosion as a battery makes every later decision obvious. It takes an hour.
- Clean a piece of iron or steel sheet to bright metal with sand and water, rinse, and dry it.
- Dissolve a teaspoon of salt in a cup of water and add a few spoons of strong red cabbage juice (boil chopped red cabbage leaves in a little water and strain; it is purple, and turns green in alkali).
- Put a single large drop, about 2 cm across, on the iron and leave it still.
- Within 10–30 minutes the edge of the drop turns green: alkali made at the cathode, where air reaches. The centre darkens as iron dissolves there. After an hour or two a ring of rust forms between them.
Repeat with a strip of zinc touching the iron under the drop: the iron stays bright. With copper instead, the iron corrodes faster.
Step 2: Measuring corrosion — coupons
To compare paints, oils or sites, use coupons: identical strips of the same iron, about 10 × 5 cm, cut from one sheet.
- Clean each to bright metal, number it with a punch, and weigh it on your best balance (Measurement from Scratch).
- Coat each with a different treatment, leaving one bare as a control. Hang them on wooden pegs (not touching any other metal) where the real work will stand — on a roof, in a stream, buried in a ditch.
- After 3, 6 and 12 months bring one of each back, scrub off the rust in dilute acid with a stiff brush, dry and weigh.
The loss in grams, divided by the area and the time, gives the rate. As a rough guide, bare mild steel loses about 0.01–0.05 mm of thickness a year in dry country air, 0.05–0.2 mm near the sea, and 0.1–0.2 mm fully under seawater, but up to 0.5 mm in the splash zone just above the waterline.
Step 3: Keep water and air off
These are the barrier methods. They only work while the barrier is whole.
Design and housekeeping
The cheapest protection is in the design:
- Let water drain. Turn angle irons so they shed water, drill drain holes in the bottom of any box or channel, and slope tops.
- Avoid crevices. Weld or solder seams closed, or fill them with paint, tar or putty before assembly (Welding, Soldering and Brazing). Overlaps and loose bolts trap water and become starved anodes.
- Keep iron off the ground and out of wet wood and earth. Stand posts on stone pads.
- Insulate dissimilar metals with leather, rubber or waxed cloth washers and sleeves (Packing, Gaskets and Seals).
- Keep it dry. Store tools in a dry, airy shed, never on an earth floor. A box of tools with a bag of dry quicklime (Lime) or roasted clay in the corner stays dry.
Oils, greases and wax
For tools, machinery and anything handled:
- Wipe bare steel with a rag lightly soaked in oil or melted fat after each use. Mineral oil (Petroleum and Refining) does not go rancid; animal fat and vegetable oil do, but work.
- For storage, coat with a paste of 1 part beeswax to 3–4 parts tallow or oil, melted together and wiped on warm. It stays put for a year.
- Wool grease (lanolin, washed out of raw fleece — Wool) is excellent.
Black finishes: bluing and browning
Black iron oxide (magnetite) is a dense, stable skin, quite unlike red rust. It does not protect on its own, but it holds oil well and stops light rust.
- Heat bluing. Polish the part, heat it evenly until it passes through straw and brown to a deep blue (about 300 °C), then wipe it with oil or quench in oil. Springs and small parts. (This also tempers hardened steel — Steel.)
- Oil blacking. Heat to a dull red just visible in shade (about 500–600 °C) and quench in linseed oil or wipe with beeswax. A smith's finish for hinges and hardware (Blacksmithing).
- Rust browning. Degrease the part, wipe it with salt water or very dilute acid, and leave it in a damp place for 12 hours until a fine even red bloom forms. Boil it in clean water for 15 minutes — the red rust turns black — then card it off with fine steel wool or a soft wire brush. Repeat 6–10 times, then oil. A tough, even black-brown finish.
Paint
Paint is a thin, slightly leaky film: water and oxygen creep through slowly. What makes it last is thickness, good preparation and a primer that resists rust under any break.
- Clean to sound metal. Scrape and wire-brush off all loose rust and paint. Blasting with sharp sand blown by compressed air (Bellows to Air Compressors) is best: it leaves a clean, rough grey surface that paint grips. Mill scale (the blue-black skin on hot-rolled iron) looks protective but cracks off in time, taking the paint with it; remove it, or let it weather off for a few months and then brush it. Pickling in dilute acid works for small parts (Electroplating gives the method); rinse in lime water to neutralise.
- Prime the same day — clean iron starts rusting in hours ("flash rust"). Brush the primer well into every pit and corner.
- Primer recipe. Grind red iron oxide (fine red ochre or roasted, washed hematite) into boiled linseed oil on a slab (Pigments, Paints and Varnish): about 2 parts pigment to 1 part oil by weight, thinned to brushing consistency with a little turpentine (Ether, Acetone and Solvents). Better still is zinc-rich primer: zinc dust (Zinc and Brass) stirred into a little linseed oil or varnish so that at least 4 parts in 5 of the dry film is zinc — it then works like galvanising. Avoid red lead primer: it works very well and poisons the painter (Lead).
- Top coats. Two more coats of oil paint, each brushed out thin and dried hard (a few days in summer). Aim for a total thickness about that of thick paper — 0.15–0.25 mm. One thick coat cracks; three thin coats last.
- Buried and underwater iron — pipe, piles, tank bottoms, ship bottoms — is better coated with hot coal tar or bitumen, brushed or dipped, often with a wrap of tarred cloth over it.
- Maintain. Look every year. Touch up chips at once. A painted iron bridge or gate repainted every 5–10 years lasts a century.
Metal coatings
Tinning (Tin and Pewter) is bright and food-safe but rusts fast at scratches — cans and kitchenware. Galvanising (Electroplating), a dip in molten zinc at 445–465 °C, gives a coat 0.05–0.1 mm thick that lasts 20–50 years in country air and protects scratches — roofing, buckets, wire, bolts. Nickel plating and Enamel on Metal are tough barriers for indoor ware.
Step 4: Make the iron the cathode
Barrier methods fail at the first scratch. Cathodic protection stops corrosion even on bare metal in water or wet soil, by making the whole structure the cathode of a cell so that it receives electrons instead of giving them away. There are two ways.
Sacrificial anodes
A block of a more active metal, connected to the iron by a wire or bolt and sitting in the same water or soil, dissolves instead of the iron. It must be renewed when it is used up — that is the point.
| Anode metal | Best in | Driving voltage against steel | Charge per kg (practical) |
|---|---|---|---|
| Zinc | Seawater, salty mud | about 0.25 V | about 780 ampere-hours |
| Aluminium (alloyed with a few % zinc) | Seawater | about 0.25–0.3 V | about 2,000–2,500 ampere-hours |
| Magnesium | Fresh water, soil, hot water tanks | about 0.7 V | about 1,100 ampere-hours |
Magnesium's higher voltage pushes current through poorly conducting fresh water and soil; in seawater it would waste itself too fast. Pure aluminium in seawater soon covers itself in oxide and stops working, so use zinc unless you can alloy the aluminium with a little zinc.
Making and fitting an anode:
- Cast the metal into a slab or bar in a sand or iron mould (Metal Casting) round an iron strap or rod that sticks out at both ends — the core makes the electrical connection and holds the anode together as it wastes. A ship's anode might be 30 × 15 × 3 cm (about 9 kg of zinc); a water-tank anode, a rod 2 cm thick.
- Ship hulls and tanks: bolt or weld the core straps straight onto bare steel inside the water, spread round the area to be protected, never painted over. Hulls of wood with iron fittings get an anode wired to each group of fittings.
- Buried pipes and posts: dig a hole 1–3 m from the pipe, as deep as the pipe. Put the anode in a cloth bag of backfill — about 3 parts gypsum (Gypsum and Plaster of Paris) to 1 part fine clay, wetted — which keeps it moist and makes it dissolve evenly. Run an insulated copper wire from the core to a clean, bright spot on the pipe, solder or clamp it tight, and coat the joint thickly with tar.
- Size. Bare steel in seawater needs roughly 0.1 A of current for each square metre; well-painted steel a tenth of that or less. A coated pipe in soil needs far less again. Work out the yearly charge: 0.1 A × 8,760 hours = 876 ampere-hours per square metre per year, about 1.1 kg of zinc. Paint the structure as well — coating plus anodes is far cheaper than anodes alone.
- Inspect every year. Replace an anode when it is about half gone.
Impressed current
For long pipelines, big hulls, piers and tanks, a direct current from a rectifier, a The Generator or a The Battery does the same job with anodes that last much longer.
- Connect the negative (−) terminal to the structure. Connect the positive (+) terminal to the anodes: buried scrap iron (old rails, pipe), graphite or carbon rods (The Electric Arc Furnace), or high-silicon cast iron. They are eaten slowly, but they are cheap.
- Bury the anodes in coke breeze (crushed coke — Coal and Coke) some tens of metres from the pipe, so the current spreads evenly.
- Start with a low current and raise it until the reference electrode (below) shows the structure is protected. A coated pipeline may need only a few milliamperes per hundred metres.
Warning Get the wires the right way round. Connected backwards, impressed current makes the structure the anode, and it will be eaten many times faster than if you had done nothing. Mark the terminals, and check with the reference electrode on the first day.
Is it working? The reference electrode
You cannot see protection; you measure it. A copper/copper-sulfate reference electrode gives a steady voltage to measure against.
- Take a glass or clay tube about 3 cm across and 15 cm long. Plug the bottom with a porous plug — unglazed fired clay or a tight plug of soft wood soaked overnight in water.
- Fill it with saturated copper sulfate solution (blue vitriol: copper dissolved in sulfuric acid — Electroplating) with a few extra crystals left undissolved.
- Push a clean copper rod or thick wire down into the solution through a cork, and bring a wire out of the top.
- Press the porous end into damp soil right over the pipe (or dip it in the water by the hull). Connect the electrode to the negative terminal of a high-resistance voltmeter and the structure to the positive (Measuring Electricity).
Bare, unprotected steel in soil or water reads about −0.5 to −0.65 volts against this electrode. Steel is protected when it reads −0.85 V or more negative. Readings more negative than about −1.1 V on painted steel mean too much current: it wastes anodes and can lift the paint with hydrogen bubbles.
How to tell it worked
- In the drop test, the edge turns green and a rust ring forms; a zinc strip stops it.
- Coupons treated your way lose far less weight than the bare control.
- Painted iron shows no rust creeping out from under the paint after a winter; scratches in galvanised work stay grey, not red.
- A protected structure reads −0.85 V or more negative, and anodes are slowly wasting away — an anode that is not wasting is not working.
Note When it goes wrong. Paint blisters with rust under it within a year → rust or salt left under it, or primed too late. Clean to bare metal, wash off salt with fresh water, prime the same day. Rust streaks from joints and bolts → crevice corrosion. Seal the joint with tar or paint before assembly; use washers. Pits round a brass fitting in an iron tank → galvanic corrosion. Insulate the joint or change to an iron fitting. Anode still bright after months → it has been painted, has lost its connection, or has grown a crust (aluminium). Clean it; check the wire. Steel pitting fast near an impressed-current pipe that is not yours → stray current leaving your neighbour's structure. Bond the two together with a wire and check both with the reference electrode.
Dangers
Danger Hidden corrosion kills. A boiler, pressure tank, crane chain or bridge member can look sound outside and be rotten inside or at a crevice. Inspect inside and out, hammer-test for dull spots, drill test holes to measure thickness, and retire anything that has lost a fifth of its thickness (Boilers and Pressure Vessels, Strength of Materials).
Danger Hydrogen. Pickling iron in acid gives off hydrogen; so do over-protected and impressed-current anodes in closed tanks and hulls. It explodes when mixed with air (Hydrogen, Oxygen and Gases). Pickle outdoors; ventilate closed tanks before entering or using a flame.
- Lead paints poison the painter; sand old paint wet, never dry.
- Quartz blasting dust causes silicosis (Mining and Tunnelling): work in the open, upwind, with a damp cloth mask.
- Acids burn skin and eyes (Acids, Bases and Testing). Rusty wounds carry tetanus (Wound Care and Antiseptics).
- Pickled springs and hardened parts can be made brittle by hydrogen; bake them at about 200 °C for a few hours.
What this unlocks
Long-lived iron structures: Railways, iron bridges, Steamships and boats with iron fittings, Boilers and Pressure Vessels, water mains and storage tanks (Pipes, Plumbing and Aqueducts, Water Treatment for a Town), buried pipelines for gas and oil (Petroleum and Refining), and the steel of Reinforced Concrete, which corrodes if the concrete cracks. Stainless and alloy steels (Alloy and Stainless Steels) and corrosion-proof Titanium are the next step for the worst conditions.
How it was first done
The Iron Pillar of Delhi, cast about 1,600 years ago, has stood outdoors almost rust-free because its phosphorus-rich iron grew a dense protective film.
The electrical nature of corrosion came with the battery. In 1824 Humphry Davy, asked by the British Admiralty why the copper sheathing of warships was corroding, fixed small blocks of zinc and iron to the copper — the first cathodic protection. It worked, but the protected copper no longer poisoned barnacles and weed, so ships' bottoms fouled and the idea was dropped for a century. Hot-dip galvanising was patented in France by Stanislas Sorel in 1837. Cathodic protection of pipelines was first applied on a large scale in the United States from about 1928, when Robert Kuhn protected a gas pipeline in New Orleans. Stainless steel was found by Harry Brearley in Sheffield in 1913. And the Statue of Liberty (1886), a copper skin on an iron frame, showed galvanic corrosion at monument scale: by the 1980s the iron straps touching the copper had rusted so badly that all of them were replaced with stainless steel.
Source: content/entries/metals/corrosion.md