Water Heater Leaking: Repair or Replace?
Short answer: if the water is coming from a valve or a pipe connection, it can usually be repaired for $50 to $300. If it’s coming from the tank itself (the bottom, the side or under the jacket), the tank has corroded through and has to be replaced, which costs roughly $800 to $2,300 for a standard 40 or 50-gallon tank. A useful rule from HomeGuide: replace instead of repairing when the heater is over 10 years old or the repair would cost more than half of a new one.
Want a number for your own home? Try our water heater replacement cost calculator.
Repair costs are from HomeGuide’s water heater repair data (based on member-reported projects); replacement costs are from our own guides, checked in October 2026. Sources are at the end.
First: what to do right now
- Turn off the power or gas. Electric: switch off the water heater breaker. Gas: turn the control knob to “Off” or “Pilot”.
- Close the cold water supply valve on the pipe going into the top of the heater. That stops more water from entering the tank.
- Find where the water comes from before anyone drains anything. Dry the area with a towel and watch where it reappears.
Repair or replace, by where it’s leaking
| Where the water is coming from | Likely cause | Usually | Typical cost |
|---|---|---|---|
| Pipe connections on top | Loose fitting or worn connector | Repair | Tightening or a new connector; within the $100 – $1,000 leak repair range, usually the low end |
| Relief valve or its discharge pipe (on the side or top) | Faulty valve, or pressure building up | Repair | $50 – $300 for the valve; check pressure and expansion control too |
| Drain valve near the bottom | Valve not fully closed or worn | Repair | Often just tightening; otherwise a small part |
| Under the tank, with no source above it | Corroded tank | Replace | $800 – $2,300 for a 40–50 gal tank |
| Bottom of a gas tank, near the burner | Tank leak, or condensation on a cold startup | Watch first | If it continues after the tank is hot, treat as a tank leak |
A dripping relief valve is often a symptom, not the problem. If the valve keeps releasing water, the pressure or temperature in the tank may be too high, often because the home has a closed water system without an expansion tank. Replacing the valve alone may not stop it. See our guide on water heater expansion tanks.
Common water heater repair costs
| Repair | Typical cost |
|---|---|
| Temperature and pressure relief valve | $50 – $300 |
| Heating element (electric) | $100 – $350 |
| Thermostat (electric) | $100 – $350 |
| Thermocouple (gas) | $100 – $325 |
| Igniter (gas) | $75 – $350 |
| Gas control valve | $150 – $550 |
| Anode rod | $150 – $350 installed ($20 – $50 part) |
| Leak repair | $100 – $1,000 |
| Service call minimum | $50 – $200 |
The repair-or-replace decision
HomeGuide’s guidance is to consider replacing the heater if it’s more than 10 years old or if the repair costs more than half of a new unit. It lists typical lifespans of 8 to 15 years for tanks and 10 to 20 years for tankless units.
| Situation | Usually the better choice |
|---|---|
| Tank body leaking, any age | Replace |
| Valve or fitting leak, heater under 10 years | Repair |
| Valve or fitting leak, heater over 10 years | Repair if cheap, but start planning a replacement |
| Repair quote over about half the cost of a new heater | Replace |
| Rusty water from the hot taps, plus age over 10 years | Replace soon; the tank may be corroding inside |
You can find the heater’s age on the rating plate. Most manufacturers encode the manufacture date in the serial number; the brand’s website explains how to read it.
If you need to replace it
A leaking tank is the most common reason people replace a water heater in a hurry. Before you accept the first quote, check what a fair price looks like for your size and fuel type:
- 50-gallon water heater replacement cost: about $800 to $2,000 electric, $1,000 to $2,300 gas
- 40-gallon water heater replacement cost: about $750 to $1,900
- Gas vs electric water heater, if you’re considering a switch
If the leak is slow and the water is shut off, you usually have time to get two or three quotes rather than paying an emergency rate. Also check where the water went: the International Residential Code requires a drain pan under tank water heaters installed where a leak would cause damage (Section P2801.6). If yours didn’t have one, ask for it with the new heater.
Frequently asked questions
Can a leaking water heater tank be repaired?
No. If water is leaking from the tank itself, the steel has corroded through, and patches don’t hold. The only fix is a new heater.
Is a leaking water heater an emergency?
A slow drip with the water supply shut off usually isn’t. A steady flow, water near electrical outlets or a gas smell is: shut off the water, the power or gas, and call a plumber (or the gas utility for a gas smell).
Does homeowners insurance cover a leaking water heater?
Policies vary, but they typically focus on sudden water damage rather than a heater that wore out with age. Check your policy and document the damage with photos before cleanup.
Sources
- HomeGuide, Water Heater Repair Cost (updated August 7, 2025).
- International Code Council, 2021 IRC, Chapter 28, Section P2801.6.