Home / Uncategorized / Your hot water eats a magnesium rod so it does not eat the tank

Your hot water eats a magnesium rod so it does not eat the tank

You turn on the tap, hot water comes out, and nobody thinks about the tank. Yet inside that white casing sits a steel vessel exposed to one of the harshest environments in any home: water at 65 degrees, dissolved oxygen, chlorides and a heat-and-cool cycle every single day of the year. Stainless steel would survive, but it would make the unit far more expensive; plain carbon steel, unprotected, would perforate within a few years. The fix used by virtually every domestic water heater is as old as shipping: a sacrificial anode.

Cathodic protection: let something else rust

The trick is electrochemical. When two different metals are in electrical contact inside an electrolyte — and mains water is one, because it carries dissolved ions — a galvanic cell forms. The metal with the lower reduction potential (the less noble one) becomes the anode and gives up electrons; the other becomes the cathode, receives them and stays protected. Magnesium is far less noble than steel: its standard potential is −2.37 volts against −0.44 for iron. Bolted to the same tank body, the magnesium oxidises instead: Mg → Mg²⁺ + 2e⁻. Those electrons travel through the steel wall and make dissolved oxygen react with them rather than with the iron. The tank does not corrode because the oxidation current is being carried away by another part that is there precisely to be used up.

That anode is the hexagonal rod you see when you take off the top cover. It is usually a magnesium alloy with some aluminium and zinc, or pure aluminium in very soft water, and it has a steel core that only provides stiffness and conductivity. Its life is neither infinite nor fixed: it is measured in metal mass lost per unit of current and time. The more conductive the water — more chlorides and calcium — the more current flows and the sooner it is consumed. In soft water an anode can last five or six years; in hard, saline areas, two or three. Temperature speeds everything up: for every 10 extra degrees, the corrosion rate roughly doubles.

Vitreous enamel, the heating element and the thermostat

The inside of the tank is lined with a vitreous enamel, a layer of oxides fired at around 850 degrees that isolates the steel from the water. The weak point is the edge: any pore, any crack and, above all, the opening where the element gasket fits are potential failures, and that is where corrosion starts. That is why the anode is not an accessory: it is the second line of defence when the enamel fails.

The element is sheathed: a resistive wire, usually nichrome or a ferritic alloy, inside a copper or stainless steel tube, insulated with compacted magnesium oxide. It sits horizontally, low in the tank, where the water is coldest. Typical domestic power is 1,500 to 2,000 watts. With 2,000 watts and 80 litres, raising the water from 15 to 65 degrees takes about 4.7 kilowatt-hours (water’s specific heat, 4.18 kilojoules per kilogram and degree, times 80 kilograms times a 50-degree rise). At full power that is almost two and a half hours, which is why large tanks are sized to heat overnight on a cheap tariff and hold through the day.

The controller is the thermostat: a bimetallic strip or a capillary bulb with its sensor halfway up the tank. It does not switch at an exact temperature but with a hysteresis band of 5 to 8 degrees: it closes at 58 and opens at 65. Without that band the contact would fight itself every time a drop of cold water came in at the bottom. Its contacts switch the element current — 8 to 10 amps at 230 volts — which is why they fail from arcing long before they wear out mechanically.

Stratification: hot water floats and does not mix

Inside the tank the water is not a uniform mass. The hot water is lighter and stays at the top; cold water enters at the bottom through a dip tube that reaches almost to the base, and the hot outlet sits near the top. A stable stratification forms, with a practical consequence: you can take a long shower from a tank that, measured on average, would already be lukewarm. Natural convection does the rest, and the thermostat sensor, set at mid-height, does not see what is happening at the top until the mixing front has cooled enough.

Scale, and the Legionella dilemma

Calcium carbonate dissolved in water starts to precipitate appreciably above 60 degrees. It does so on the hottest surface available: the element sheath. One millimetre of scale acts as thermal insulation and forces the wire surface to run hotter to deliver the same power, so consumption rises and local boiling points appear: the crackling you hear in an old heater. In hard water the layer can grow several millimetres in two or three years.

At the same time there is a public health reason not to lower the temperature: Legionella pneumophila multiplies between 25 and 45 degrees, survives below that and dies above 60. Prevention protocols call for storing at 60 degrees or more and delivering at least 50 at the tap. Here is the design trade-off: higher temperature means less biological risk, but more scale, more corrosion and higher standing losses. Hence the usual setpoint stays at 60-65 degrees, with 40 millimetres of expanded polyurethane insulation so passive losses stay at a few tenths of a kilowatt-hour per day.

The modern alternative is the electronic anode. Instead of a rod that is consumed, an activated titanium electrode and a power supply impose a direct current on the steel: impressed current cathodic protection, the same method used on ship hulls and pipelines. A reference electrode measures the actual potential of the tank and the electronics adjust the current. It does not wear out, but it has a blind spot: if the supply fails, the steel is left unprotected and nobody finds out until the tank starts to leak.

The signs it needs replacing

A spent anode leaves traces. The first litres come out cloudy or metallic-smelling, because magnesium forms a whitish sludge; the safety valve drips more than usual from the extra pressure that scale generates; rust appears around the element gasket; and the bill climbs without any change in habits. Two often-ignored precautions: do not drain the heater and leave it empty, because damp steel in contact with air corrodes far faster than submerged steel, and never close the inlet valve with the unit switched on — an element without water destroys itself in seconds.

In the end, the water heater is a good reminder that the most reliable domestic engineering is not always about adding electronics, but about choosing correctly which material gets sacrificed. A two-euro magnesium rod, replaced every few years, is what separates a tank that lasts fifteen years from a breakdown with water running down the hallway.