Water Heater Replacement Cost, Part by Part
Water heater replacement cost looks confusing because published figures measure different jobs. Some count the tank alone, some mix tankless units in, and some assume perfect conditions. The useful question is what your job includes and whether your quote covers it, so this calculator starts with the heater in your home.
See what your job includes
Look at your current heater and tap the parts you can see in the drawing: an expansion tank, a drain pan, earthquake straps, the vent. Marked parts cost nothing. Unmarked ones stay outside the main range because many homes will not need them. Choose the fuel, size and location, then fill the tank.
Enter a quote or budget and the water rises to that amount. What sits under the water is covered at typical prices, and whatever stays dry is what to ask the plumber about.
Water heater cost by fuel and tank size
How much does a water heater cost once it is in and working? These bands cover a swap in the same spot with the same fuel, including normal hookups and hauling away the old tank. A permit and code items are extra.
| Tank | Natural gas | Electric | Heat pump |
|---|---|---|---|
| 30 gallons | $1,250 to $1,850 | $950 to $1,300 | not sold in this size |
| 40 gallons | $1,400 to $2,100 | $1,100 to $1,550 | $3,400 to $4,500 |
| 50 gallons | $1,600 to $2,500 | $1,200 to $1,750 | $3,400 to $4,500 |
| 65 gallons | not common | not common | $3,700 to $4,900 |
| 75 gallons | $2,400 to $3,400 | $1,750 to $2,450 | not common |
| 80 gallons | not common | $1,900 to $2,600 | $4,300 to $5,750 |
A 50 gallon water heater installed cost lands near $1,950 for gas and $1,400 for electric. Propane tanks up to 50 gallons run within about $100 of natural gas. Heat pump figures are the least certain because the job records we found all come from California.
Why quotes for the same tank differ so much
Shelf prices explain only part of it. Common 50-gallon tanks sell for roughly $560 to $990 in electric and $730 to $1,240 in gas, so a quote of $3,000 is mostly not the tank. Home improvement stores and plumbers also sell different product lines at the same size.
The labor cost to install a water heater runs about $400 to $600 for electric, $550 to $850 for gas and $900 to $1,300 for a heat pump. The work itself takes two to four hours, but a flat price also pays for the firm’s overhead, not only those hours. Older guides that quote $150 to $450 sit under what plumbers publish today.
Location moves the bill too. Coastal metros and the Northeast tend to run higher and the South lower, though the size of that gap varies too much to treat as a fixed percentage. An attic or crawlspace adds $350 to $800.
Hot water heater replacement cost items from code
A line you did not expect is often a code item. Ask which one it is and whether your city requires it.
| Item | Installed | When it comes up |
|---|---|---|
| Permit | $100 to $250 | set by your city or county |
| Expansion tank | $200 to $300 | closed systems with a check valve, backflow preventer or pressure reducer |
| Drain pan and line | $75 to $250 | where a leak could cause damage, such as an attic or upper floor |
| Earthquake straps | $50 to $200 | required in California, Oregon and Washington; other seismic areas may too |
| Vent update | $350 to $650 | old or undersized vent |
| Chimney liner | $1,100 to $2,000 | unlined masonry chimney |
| Power vent | $1,250 to $2,100 | no usable chimney |
Skipping the expansion tank can cost more later. One major maker’s warranty excludes tanks installed in a closed system without provision for thermal expansion. Vents deserve a question as well: when a furnace is replaced and a water heater is left alone on a shared chimney, the old flue may no longer draft well.
Gas water heater replacement cost against electric and heat pump
The cheapest tank to install is rarely the cheapest to run. For three people at national average prices, a year of hot water costs about $515 with an electric tank, $245 to $360 with gas, $430 to $630 with propane and $130 to $200 with a heat pump. These figures use 18.19 cents per kWh and about $1.60 per therm from the EIA for January through August 2026, so your state can land far from them.
A heat pump pays back fastest when it replaces an electric tank in a large household with expensive power. At national prices the extra $2,600 or so takes about eight years to recover for three people and more than 20 for one person. Replacing gas is a different case. The bill savings can be small enough, at about $35 to $160 a year, that it rarely pays back on energy alone.
A heat pump also needs room and a drain. Most models want about 700 cubic feet of air around them, though some go down to 450, or a louvered door or ducting in a closet. They need a line or pump for condensate, which adds $250 to $400. The standard models use a 240-volt circuit, about $550 to $950 if you lack one. Newer 120-volt models plug into an outlet, but they recover slowly, and a family of four may need an 80-gallon tank to stay comfortable.
New water heater cost when you change fuel
Going from electric to gas means a gas line of $750 to $1,600 if the home already has gas service, plus a vent. Bringing new gas service from the street is a bigger project and outside this estimate. Going from gas to electric or heat pump moves the cost to the wiring, and an older panel may need an upgrade at $2,000 to $3,300.
Federal help has changed. The tax credit for heat pump water heaters ended for equipment installed after 2025, according to the IRS. State Home Energy Rebates can reach $1,750 for income-qualified households, but a May 2026 Department of Energy notice removed replacing gas with electric from what states may cover, and many states have yet to open their programs. Check your state and your utility before counting on any of it.
A federal efficiency rule is also coming. Electric tanks over 35 gallons manufactured after May 6, 2029 will effectively have to be heat pumps. The date applies to manufacture, not installation, so it changes nothing about a replacement today.
Repair it, or replace it now?
Age alone does not settle it. In national survey data the yearly chance of a gas tank leaving service climbs from about 8 percent at 8 years to 12 percent at 20, with no sudden drop at 10 years, and more than a third of tanks in US homes are past that age. Where the tank sits matters more: a failure in an attic costs far more than one in a garage. If you plan to change fuels, replace before it fails, because emergency jobs rarely allow time for new wiring or gas lines.
| Repair | Typical price |
|---|---|
| Anode rod | $150 to $300 |
| Heating element | $200 to $400 |
| Thermostat | $150 to $300 |
| Thermocouple | $150 to $300 |
| Gas control valve | $350 to $700 |
| Relief valve | $150 to $300 |
| Flush | $125 to $250 |
Water pooling at the base usually means the tank itself is done. Check the warranty first, because a tank leak is what it covers. We found no data showing that a longer warranty means a longer life, so treat it as coverage, not a promise.
Which size do you actually need?
Household size is a rough guide. The better measure is your busiest hour, compared with the tank’s first-hour rating on its yellow label. Two showers and a few sink uses take about 36 gallons. Gas recovers fastest, so a 40-gallon gas tank often delivers about 75 gallons in its first hour, while a 50-gallon electric tank gives about 63 and a 240-volt heat pump about 67. Choosing a bigger tank than you need adds cost without adding comfort. If you are comparing a tank with a unit that heats on demand, see the tankless installation cost calculator.