Water Heater Replacement Cost Calculator
Replacing a tank water heater usually costs less than people fear, but code upgrades can add to the bill. Choose your fuel and tank size to estimate the installed price.
Most homeowners pay $1,700 to $3,100 for a 50-gallon gas tank.
Your estimate
- Materials and labor
- Add-ons
- Permit and haul-away
National installed prices, materials and labor included. Your local quotes may differ.
Water heater replacement cost by option
Installed totals, with standard conditions and permit and haul-away included.
| Option | Typical total |
|---|---|
| 40-gallon gas tank | $1,500 to $2,700 |
| 50-gallon gas tank | $1,700 to $3,100 |
| 40-gallon electric tank | $1,200 to $2,300 |
| 50-gallon electric tank | $1,300 to $2,500 |
| 50-gallon heat pump (hybrid) | $2,500 to $4,800 |
What drives the price
- Fuel typeGas units cost more to install but heat faster. Electric tanks are cheaper up front. Heat pump models cost the most but use far less electricity.
- Tank sizeA 40-gallon tank suits one or two people. Four or more people usually need 50 gallons or more.
- Code requirementsOlder installs often lack an expansion tank, seismic straps or proper venting, and the new install has to meet current code.
- AccessA heater in a cramped attic or crawlspace takes longer to swap than one in a garage.
How this estimate works
The calculator starts from the installed price range for the type you pick, then adds any extras you tick and typical permit and haul-away. The headline number is the midpoint of your range. Low-end prices fit simple jobs in lower-cost areas. High-end prices fit complex jobs, premium brands and high-cost metros.
Get at least three written quotes before you hire. Ask each contractor to list materials, labor, permits and disposal separately so you can compare them line by line. Read how we build our ranges.
Common questions
How long does a water heater replacement take?
A like-for-like swap usually takes two to four hours. Switching fuel type or location takes longer.
How do I know my water heater's age?
The serial number on the label usually encodes the manufacture date. Most tank heaters last around 8 to 12 years.
Should I switch to tankless?
Tankless units cost more to install but last longer and never run out of hot water. See the tankless calculator to compare.
Sources and method
Price ranges are national installed estimates maintained by the HouseMath editorial team and last reviewed September 2026. For the labor side of the job, see the U.S. Bureau of Labor Statistics Occupational Employment and Wage Statistics data for plumbers, pipefitters, and steamfitters (SOC 47-2152), which shows how trade wages differ by state.