The water heater replacement cost most homeowners pay in 2026 is about $900 to $1,800 for a standard tank swap, with Angi putting the average near $1,334. Switch to tankless, change fuel or bring an old installation up to code and the bill can climb past $4,000. This guide breaks the number into its parts so you can read a quote line by line and spot the extras that are real, and the ones that are padding.
- A like-for-like tank replacement usually costs about $900 to $1,800 installed.
- Tankless units run about $1,400 to $3,900 installed, more when the gas line or venting must be upgraded.
- Code items such as an expansion tank, drain pan or new venting add a few hundred dollars and are often required.
- The cheapest quote is often the one that leaves out the permit. Ask.
Water heater replacement cost by type in 2026
The type of heater you choose sets most of the price. The ranges below include the unit, removal of the old tank, installation labor and basic fittings. They assume the new heater goes where the old one was, on the same fuel.
| Type | Typical installed cost | Typical lifespan |
|---|---|---|
| Electric tank, 40 to 50 gallons | $700 to $1,900 | 10 to 12 years |
| Gas tank, 40 to 50 gallons | $900 to $2,500 | 8 to 12 years |
| Heat pump (hybrid) tank | $2,000 to $4,600 | 12 to 15 years |
| Gas tankless, whole house | $1,400 to $3,900, higher with a new gas line | up to 20 years |
| Electric tankless, whole house | $1,400 to $3,500, plus panel work if needed | up to 20 years |
Angi reports a typical range of about $882 to $1,811 for a tank replacement and $1,400 to $3,900 for tankless. HomeGuide’s tankless range runs higher, up to about $5,600, because its data includes more conversions from tank to tankless, which are the expensive jobs.
What is inside a water heater quote
A fair quote lists these parts separately. If yours shows one lump sum, ask for the breakdown before you sign.
- The unit: roughly $400 to $1,200 for a standard 50-gallon tank, $1,000 to $2,500 for a heat pump tank, $800 to $2,000 for a gas tankless unit.
- Labor: about $150 to $450 for a straight tank swap. Tankless installs take longer, often $600 to $1,900 in labor alone.
- Removal and disposal of the old tank, often $50 to $150 or included.
- Permit: usually $25 to $300 depending on your city. Many cities require one for any water heater replacement.
- Code upgrades (see below).
Code upgrades that add to the bill
Older installations often fall short of today’s plumbing and fuel-gas codes. When the heater is replaced, the inspector looks at the whole setup, so these items appear on many quotes:
- Thermal expansion tank, about $90 to $350 installed (Angi), required in many homes with a check valve or pressure regulator on the water line.
- Drain pan under the heater, about $25 to $100, required when the heater sits where a leak would damage the home.
- Seismic straps in California and other earthquake areas.
- New venting for gas units, from a few hundred dollars for a new connector to well over $1,000 for a new flue or a sealed vent through a wall.
- Gas line upsizing for tankless, often $400 to $2,000, because a tankless burner needs much more gas at once than a tank.
- A new electrical circuit for electric tankless or heat pump units, which can mean a panel upgrade in older homes.
Angi notes that a job needing a new water line can add $400 to $2,000. These are not padding when they are required. They become padding when a contractor lists them on a home that already has them, so look at your current setup before the quote visit.
Estimate your own cost
The calculator below uses the type, tank size, code upgrades, permit fee and a local price adjustment to give a planning number and a fair quote range.
Calculator example: a 50-gallon gas tank, code items (expansion tank, pan, venting) and a $100 permit, with no local adjustment, gives an estimated installed cost of $1,958: $1,458 for the unit and labor, $400 for the upgrades and $100 for the permit. The typical quote range is $1,566 to $2,448. Spread over a typical 10-year life, that is about $196 a year of hot water.
A worked example
Take a family of four with a 12-year-old 50-gallon gas tank in the garage. The tank has started to rust at the base. They get three quotes:
| Quote | What it includes | Price |
|---|---|---|
| A | 50-gallon gas tank, removal, labor | $1,150 |
| B | Same tank, permit, expansion tank, new flex gas connector, drain pan | $1,690 |
| C | Gas tankless conversion, new gas line, new vent, permit | $4,800 |
Quote A looks cheapest, but it has no permit and no expansion tank. If the city requires both, the inspector can fail the job later, or the homeowner can find out at resale. Quote B is the honest like-for-like price, and it sits close to the low end of the calculator’s range for the same job, because this family needs a new gas connector rather than full new venting. Quote C buys endless hot water and a longer life, but at about $3,100 more, the energy savings of a tankless unit for a family of four would take many years to cover the difference. For this family, B is the sensible choice.
Can you replace a water heater yourself?
An electric tank swap is within reach for a handy homeowner who can sweat or press-fit copper, works with the power off at the breaker, and pulls the permit in their own name where the city allows it. Doing it yourself saves the $150 to $450 labor charge, but you still pay for the unit, parts and permit, and you carry the risk of a leak.
Gas is different. A mistake on the gas connection or venting can cause a gas leak or carbon monoxide in the home. Many cities only let licensed plumbers do gas work, and some insurance policies look closely at unpermitted gas work after a claim. Hire a pro for any gas unit, any tankless install and any change of fuel or location.
How to keep the price down
- Replace before it fails. An emergency replacement on a Sunday costs more and leaves you no time to compare quotes. A tank past 10 years old with rust at the base or water around it is a warning.
- Stay with the same type and fuel unless you have a clear reason to switch. Conversions are where costs balloon.
- Get three written quotes that list the same unit size, permit and code items. Our guide to reading water heater estimates shows what to compare.
- Check utility rebates. The federal 25C tax credit for heat pump water heaters ended after December 31, 2025, as explained in our 2026 home energy tax credits guide, but many utilities still offer rebates for heat pump models.
- Ask about the warranty. A 6-year and a 12-year tank can share the same parts, but the longer warranty usually means a thicker anode rod or better components, and it can be worth $100 to $200 more.
Repair or replace?
If your heater still works and the problem is a thermostat, element, igniter or valve, a repair often costs $150 to $700 and makes sense on a younger unit. A leaking tank cannot be repaired. Our guide on whether to repair or replace a water heater walks through the age and cost rules, and the water heater replacement cost calculator page has more detail on each option.
Watch: Why a $4,600 Water Heater Can Cost Less Per Year Than a $2,758 One
More short cost videos on our HomeCostEdge YouTube channel.
Frequently asked questions
How much does it cost to replace a 50-gallon water heater in 2026?
Why is tankless so much more expensive to install?
Do I need a permit to replace a water heater?
How long does a water heater replacement take?
Is there a tax credit for water heaters in 2026?
Sources
- Angi: How much should water heater installation cost?
- HomeGuide: Water heater repair cost
- U.S. Department of Energy: Water heating
- U.S. Department of Energy: Heat pump water heaters
- FTC: How to avoid a home improvement scam




