Electric Water Heaters (EWH) use steel tanks to store hot water. These tanks operate continuously in contact with water, dissolved oxygen, and mineral salts, which create a corrosive electrochemical environment.
If the steel surface is not protected, corrosion can gradually weaken the tank wall and lead to leakage or tank failure.
To prevent corrosion, modern water heaters employ two complementary protection systems:
Glass / enamel coating on the internal tank surface
Magnesium sacrificial anode rod
The enamel coating isolates most of the steel surface from water. However, microscopic defects or cracks in the enamel layer may expose small areas of steel.
To protect these exposed areas, a magnesium anode rod is installed inside the tank. The magnesium rod corrodes preferentially and protects the steel tank through electrochemical cathodic protection.
Inside a water heater tank, the steel surface is protected by a glass enamel coating.
Ideally: 100% of the steel surface is isolated from water
But in reality:
microscopic pores
pinholes
micro-cracks
damage during welding or forming
leave small areas of steel exposed.
These exposed areas act as local corrosion cells , The magnesium anode does NOT protect the enamel coating It protects only the exposed steel at coating defects. The electrochemical protection current flows to those defects and prevents corrosion.
If the enamel coating quality is high:
Typical exposed steel area is approximately:
High quality enamel 0.5 – 1 %
Average enamel 1 – 3 %
Poor enamel 3 – 5 %
Example:
Total tank surface area A = 1.3 m²
If defect ratio = 2% A_exposed = 0.026 m²
This is the real area that requires cathodic protection.
The corrosion protection mechanism of magnesium anodes is based on the electrochemical series of metals, which ranks metals according to their standard electrode potential (E°).
Metals with more negative electrode potentials are more chemically active and have a stronger tendency to lose electrons.
Metals with more positive potentials are more noble and resist corrosion.
Magnesium Mg → Mg²⁺ + 2e⁻ −2.37 V
Aluminum Al → Al³⁺ + 3e⁻ −1.66 V
Zinc Zn → Zn²⁺ + 2e⁻ −0.76 V
Iron Fe → Fe²⁺ + 2e⁻ −0.44 V
Copper Cu → Cu²⁺ + 2e⁻ +0.34 V
From the table it can be observed that: Magnesium has a much lower electrode potential than iron.
Therefore, when magnesium and steel are electrically connected in water, magnesium will corrode first and protect the steel tank.
In an electrochemical environment, the metal with the lowest potential becomes the anode, while the other metal becomes the cathode.
Because:
E°Mg = −2.37 V
E°Fe = −0.44 V
Magnesium is significantly more active than iron , When both metals are immersed in water:
• Magnesium acts as the anode
• Steel acts as the cathode
As a result, magnesium dissolves while the steel remains protected.
When magnesium and steel are electrically connected and immersed in water, an electrochemical cell is formed.
Two reactions occur simultaneously.
Magnesium oxidizes and releases electrons:
Mg → Mg²⁺ + 2e⁻
Magnesium atoms dissolve into the water as magnesium ions.
The electrons released by magnesium flow to the steel tank surface.
At the steel surface, oxygen reduction occurs:
O₂ + 2H₂O + 4e⁻ → 4OH⁻
Because the steel receives electrons, it does not lose electrons, and therefore corrosion of the steel tank is prevented.
Without an anode, steel corrosion would occur:
Fe → Fe²⁺ + 2e⁻
However, when a magnesium anode is installed:
Mg → Mg²⁺ + 2e⁻
Magnesium corrodes instead of the steel tank.
This process is called Sacrificial Cathodic Protection.
Magnesium is widely used in domestic water heaters because it provides several advantages.
• Very negative electrode potential
• Strong protective current output
• High electrochemical capacity
• Effective protection in fresh water environments
Magnesium −2.37 V
Aluminum −1.66 V
Zinc −0.76 V
Among these materials, magnesium provides the strongest driving potential, which ensures effective corrosion protection.
The required size of the magnesium anode depends on several engineering parameters.
Tank surface area A
Protection current density i
Design lifetime t
Anode efficiency η
Magnesium capacity C
Typical engineering values are shown below.
Protection current density 5 – 10 mA/m²
Magnesium electrochemical capacity 1200 Ah/kg
Anode efficiency 0.85 – 0.95
For a cylindrical water heater tank, the internal surface area can be estimated using the following equation.
A = 2πr(h + r)
Where:
A = tank internal surface area (m²)
r = tank radius (m)
h = tank height (m)
Diameter = 450 mm
Height = 700 mm
Radius r = 0.225 m
Surface area A = 2π × 0.225 × (0.7 + 0.225)
A ≈ 1.31 m²
The protection current required for corrosion protection is calculated by:
I = A × i
Where:
I = protection current (mA)
A = tank surface area (m²)
i = current density (mA/m²)
A = 1.31 m²
i = 8 mA/m²
I = 10.5 mA
The total electrical charge required during the design lifetime is calculated by:
Q = I × t
Where:
Q = electrical charge (Ah)
I = protection current (A)
t = operating lifetime (hours)
For 5 years:
t = 5 × 365 × 24 = 43800 hours
Q = 0.0105 × 43800 ≈ 460 Ah
The electrochemical capacity of magnesium is approximately:
C = 1200 Ah/kg
The required magnesium mass is therefore:
M = Q / (C × η)
Where:
M = required magnesium mass (kg)
Q = required charge (Ah)
η = anode efficiency
Q = 460 Ah
η = 0.9
M = 460 / (1200 × 0.9) ≈ 0.43 kg
Required magnesium mass ≈ 430 g
For practical water heater design, a simplified rule is often used:
MG mass ≈ Tank Volume × (0.004 – 0.006)
30 L 200 – 250 g
50 L 250 – 350 g
80 L 350 – 450 g
100 L 400 – 500 g
150 L 500 – 700 g
200 L 700 – 900 g
Water chemistry significantly affects the consumption rate of the magnesium anode.
Soft water < 60 ppm Correction Factor 0.8
Medium hardness 60 – 120 ppm Correction Factor 1.0
Hard water > 120 ppm Correction Factor 1.2
Adjusted magnesium mass: MG adjusted = MG × hardness factor
Hard water environments generally require larger anodes due to increased corrosion current.
Magnesium anodes gradually dissolve during operation and must be inspected periodically.
Typical inspection interval: 2 – 5 years
Signs of an exhausted anode include:
• Significant reduction in anode diameter
• Rust particles appearing in water
• Decreased tank lifetime
Regular inspection ensures long-term reliability and protection of the water heater tank.
Magnesium anodes are a critical component for protecting electric water heater tanks from corrosion. By utilizing the electrochemical potential difference between magnesium and iron, magnesium corrodes preferentially and provides effective cathodic protection for the steel tank.
Proper anode sizing depends on:
• Tank surface area
• Protection current density
• Expected service life
• Water chemistry conditions
Correct design and maintenance of the magnesium anode significantly increase the lifetime, safety, and reliability of electric water heaters.