Water heater replacement costs about $750 to $3,300 for a 50-gallon tank, installed with a permit, at U.S. average prices. A 40-gallon tank runs $650 to $3,200, gas tankless $1,650 to $5,800, electric tankless $1,450 to $3,200 and a hybrid heat pump $2,050 to $4,800. Local labor rates move these numbers, so price it for your ZIP code below.
Water heater replacement cost by type
The type of heater matters more than anything else. Tank models are the cheapest to buy and install. Tankless and heat pump models cost more up front, and a gas tankless unit also needs new venting when it replaces a tank. The table uses installed prices from HomeGuide plus a permit.
Installed cost by water heater type
With the other choices as set in the calculator, the lowest-cost option is 40-gallon tank at a likely $1,442, and the highest is hybrid heat pump at a likely $3,137. Across all 5 options, totals run from $650 to $5,800 at U.S. average prices.
Other choices as set in the calculator, U.S. average prices. Estimates, not quotes.
| Water heater type | Low | Likely | High |
|---|---|---|---|
| 40-gallon tank | $650 | $1,442 | $3,200 |
| 50-gallon tank | $750 | $1,573 | $3,300 |
| Tankless, electric | $1,450 | $2,154 | $3,200 |
| Tankless, gas or propane | $1,650 | $3,094 | $5,800 |
| Hybrid heat pump | $2,050 | $3,137 | $4,800 |
Average cost to replace a water heater
For the most common job, swapping a 50-gallon tank for a new one, the likely cost is about $1,573, inside a usual range of $750 to $3,300. We show the geometric mean of the low and high totals as the likely cost, because a few jobs cost far more than most and a plain midpoint would overstate a typical bill.
A hot water heater replacement is the same job under another name. The price moves with the heater type, the fuel, the size and how much the installer has to change. Moving the heater, adding a drain pan, new gas lines or bringing an old setup up to code all add to the bill. Ask for those items as separate lines on the quote.
Water heater installation cost and the cost of a new unit
Published prices for water heaters are usually installed prices, meaning the unit and the labor together. HomeGuide reports $600 to $3,100 to replace a standard tank and $1,400 to $5,600 for tankless, installed. For tankless units its line items are labor at $600 to $2,500, supplies at $150 to $300 and a permit at $50 to $200, and the unit itself is roughly 40% to 45% of the total.
- Permit: about $50 to $200. Some cities do not require one for a like-for-like swap; check with yours.
- Venting: $100 to $600 when a gas tankless unit replaces a tank, because the old vent cannot be reused.
- Haul-away: usually included in installer quotes; confirm it in writing.
Yearly energy cost
Running cost is the second half of the decision. These are HomeGuide’s yearly ranges; your rates and hot water use change them.
| Heater | Yearly energy cost |
|---|---|
| 40 or 50-gallon tank, gas | $250 to $420 |
| 40 or 50-gallon tank, electric | $530 to $600 |
| Tankless, gas | $220 to $480 |
| Tankless, electric | $340 to $540 |
Should you switch to tankless?
For gas, the yearly energy ranges for tankless ($220 to $480) and a tank ($250 to $420) overlap, so savings can be small next to the higher install price. Against an electric tank the gap is wider: electric tankless runs $340 to $540 a year versus $530 to $600 for an electric tank. Run your own numbers in the tankless water heater cost calculator, which compares payback against a 50-gallon tank.
Questions people ask
How much does it cost to replace a water heater?
HomeGuide reports $600 to $3,100 for a standard tank and $1,400 to $5,600 for tankless, installed.
40 or 50 gallons?
40 gallons suits 1 to 2 people with low use ($600 to $3,000 installed); 50 gallons suits larger families ($700 to $3,100).
Is tankless worth it?
Tankless costs more to install and yearly energy savings can be small, so payback varies. See the tankless calculator for the comparison.
How long does a water heater last?
Tank heaters commonly last about 8 to 12 years; tankless units longer. Ask your installer about the model’s warranty.
Sources
- HomeGuide: water heater installation cost (no date shown)
- HomeGuide: tankless water heater cost (no date shown)
- HomeAdvisor: tankless water heater cost (3,386 member projects)
- U.S. Bureau of Economic Analysis: Regional Price Parities 2024 (released 19 Feb 2026)
- U.S. Bureau of Labor Statistics: OEWS wages, May 2025 (released 15 May 2026)
Prices are facts reported by these sources; no wording is copied. Estimates, not quotes.