Water Heater Replacement Cost in 2026: Prices and Breakdown
plumbing
cost guide
Water Heater Replacement Cost: What You'll Actually Pay in 2026
Most homeowners pay about $1,500 to replace a standard tank water heater. Here's what goes into that price, what pushes it higher and when tankless is worth it.
Joe · November 1, 2026 · 7 min read
If your water heater is leaking, rusting or running out of hot water halfway through a shower, you're probably wondering what a new one is going to set you back. Here's the short answer: the average water heater replacement cost for a standard 40 or 50 gallon tank is about $1,500 installed, and most jobs land somewhere between $800 and $2,500.
That's a wide range, and it's wide for a reason. The price depends on the heater you pick, where it sits in your house, and what your local code asks for once the old one comes out. Below we break the number down line by line, walk through what a plumber actually does during the swap (with a 3D model you can click through), and help you figure out where your own job will land.
Water heater replacement cost at a glance
Type of water heater
Typical cost installed
Most jobs fall between
Gas or electric tank, 40 to 50 gallons
$1,500
$800 and $2,500
Tankless, whole house
$2,500
$1,200 and $5,600
These are national prices for 2026. They include the heater, the plumber's labor, the standard fittings and getting the old tank out of your house. They come from the pricing data behind our estimator, which we build from contractor cost surveys and supplier prices.
Where you live moves the number too. The same job runs about 15% under the national average in states like Mississippi and Alabama, and 15% to 25% over it in California, Massachusetts, Alaska and Hawaii. Pick your city or state in the breakdown below to see the price where you live.
What you're paying for
Here's the price split into its parts, the same way our estimator builds a quote. Switch between a tank and a tankless heater, choose a finish level, and pick your city or state to see local prices.
Cost breakdown
Water heater replacement cost breakdown
Estimated total
$1,500
Most jobs: $800 to $2,500
National average
40 to 50 gallon gas or electric tank, swapped in the same spot.
Hover or tap a line to see its share
Water heaterThe 40 to 50 gallon tank itself$80053%
Connectors, valve and expansion tankNew flex lines, a shutoff valve and a thermal expansion tank$1007%
Plumber's laborAbout 4 hours at a licensed plumber's rate$36024%
Permit, haul-away and overheadThe city permit, removing the old tank and the contractor's overhead$24016%
National prices × 1.00 local cost index. A real quote can differ.Price your own job
The heater and the labor make up most of the bill. Labor is also the line that swings the most: a straight swap in an open garage or basement is routine work, but the same heater in a tight closet, an attic or a crawl space takes longer, which can add a few hundred dollars.
Permit fees are set by your city, and many plumbers pull the permit for you and add it to the bill. Hauling away the old tank is often included, but ask. For a price on your own heater from a photo, try our free repair estimator.
How a water heater replacement is done
It's easier to judge a quote when you know what the work involves. This is the job a plumber does on a typical gas tank. Use the arrows or tap any step to see it on the model.
Interactive 3D guide
How a gas water heater gets replaced
The 3D model loads as you scroll
Drag to look around
Step 1 of 9: Turn off the gas and the cold water
A like-for-like swap of a 40 or 50 gallon gas tank, the way a plumber does it.
Electric heaters skip the gas line and the vent, so the swap is a bit simpler. The plumber still turns off the breaker, drains the tank and reconnects the wiring, and the relief valve and expansion tank rules are the same.
What makes the cost go up
A few things can push the cost to replace a water heater well past the average:
Moving the heater. A new spot means new water lines, and for gas, a new gas line and vent. New gas pipe alone runs about $15 to $40 per foot installed.
Switching fuel. Going from gas to electric usually needs a new 240 volt circuit, which typically costs $300 to $800 on top of the heater.
Code upgrades. Older installs often lack an expansion tank, a drain pan, a proper discharge pipe on the relief valve or, in earthquake areas, wall straps. Those get added when the new heater goes in.
A bigger or more efficient tank. Stepping up from 40 to 50 gallons, or to a high efficiency model, raises the price of the heater itself.
Tight spaces. Attics, crawl spaces and closets slow the job down.
Water damage. If the old tank leaked for a while, the floor or drywall around it may need work too.
Emergency calls. Nights, weekends and holidays usually cost extra.
Tank or tankless: is the upgrade worth it?
A tankless water heater installation cost is about $2,500 on average and can reach $5,600, so you're usually paying $1,000 or more over a basic tank swap. In return you get hot water that doesn't run out, a unit that hangs on the wall instead of taking up floor space, and a longer life. Most tanks last somewhere around 8 to 12 years, and a well kept tankless unit often goes close to 20.
The catch is the install. Gas tankless units usually need a bigger gas line and new venting, and electric ones can need a serious electrical upgrade. If your house isn't set up for it, a like-for-like tank is the cheaper fix today. If you plan to stay put for years and your gas line is already big enough, the energy savings and the longer life start to add up.
Signs it's time to replace your water heater
It's 10 or more years old. The date is usually on the label, often hidden in the serial number.
Water is pooling under it. A leak from the tank itself, not a fitting, can't be repaired.
The hot water looks rusty. That often means the inside of the tank is corroding.
It rumbles or pops. Built-up sediment makes the heater work harder and wears it out.
You run out of hot water sooner than you used to.
Not every problem means a new heater. A bad thermocouple, heating element or relief valve can be replaced, and those repairs usually cost a fraction of a new unit. If your heater is under about 8 years old and the tank is dry, ask about a repair first.
Can you replace a water heater yourself?
If you're handy, the parts for a DIY swap come to about $560 to $1,560: $500 to $1,400 for the heater and $60 to $160 for connectors, a valve and an expansion tank. Set aside most of a day, around six hours, for your first one.
Even so, this is one job where hiring a pro usually pays off. Most cities require a permit, many only let licensed plumbers make gas connections, and a relief valve or vent that's put in wrong is a real safety risk. A poorly vented gas heater can leak carbon monoxide into your home, and that's not worth saving a few hundred dollars over.
Before you touch anything, talk to a licensed plumber and call your city or county building department. They can tell you whether a permit is needed and whether homeowners are allowed to do this work where you live.
How to keep the cost down
Replace it before it fails. A planned swap costs less than an emergency call and saves you from water damage. ENERGY STAR makes the same point: planning ahead gives you time to pick the right heater instead of whatever is on the truck.
Get two or three quotes. Ask each plumber to list the heater model, parts, permit and haul-away separately so you can compare them line by line.
Keep the same fuel, size and spot if they still work for your household.
Check for rebates. Many utilities offer rebates on high efficiency water heaters.
Flush the new tank once a year. Draining out the sediment helps it last longer, so you pay for the next one later.
Water heater replacement questions
How long does it take to replace a water heater?
A like-for-like swap usually takes a plumber two to four hours. Moving it, changing fuel or going tankless can turn it into a full day or more.
Does homeowners insurance pay for a new water heater?
Usually not. A heater that wears out is normal aging. Many policies do cover the sudden water damage a burst tank causes to the rest of the house, so check yours.
Should I get the same size tank?
If your household hasn't changed and you weren't running out of hot water, yes. If you often run short, go up a size or look at tankless.
Is it cheaper to repair or replace a water heater?
Repair, as long as the tank isn't leaking and the heater is fairly young. Once it's past 10 years old or the tank itself leaks, replacing it is the better buy.
The bottom line
For a standard tank swap, plan on a water heater replacement cost of about $1,500, and more if you're moving it, changing fuel or going tankless. Want a number for your own home? Snap a photo of your heater and our free estimator will price the job for your area, with a line-by-line breakdown like the one above.