Water heater replacement cost: 2026 by size and fuel

A tank water heater replacement is priced by capacity and fuel, plus whatever code upgrades your install triggers. Here are installed 2026 ranges — and where a tankless upgrade changes the math.

By Martin Lashgari, Ph.D., P.E., PMP · Last reviewed July 2026

Water heater replacement cost by size and fuel

The table below is the water heater calculator’s 2026 installed range for a like-for-like tank swap, including removal and disposal of the old unit, an expansion tank, a drain pan, and a permit. Fuel type barely moves the price on a straight replacement; capacity and code upgrades move it more.

TankInstalled rangeTypical household
40 gal gas$2,600 – $4,5001–3 people
50 gal gas$2,900 – $5,0503–4 people (most common)
75 gal gas$3,050 – $5,550Large household / high demand
High-efficiency gas$3,150 – $5,450Lower bills, higher upfront
40 gal electric$2,550 – $4,4001–3 people
50 gal electric$2,700 – $4,6503–4 people
80 gal electric$2,850 – $5,150Large household / heat-pump-ready

Installed planning ranges, not bids — a like-for-like tank replacement including old-unit removal, expansion tank, drain pan, and permit. Adding a gas line, a new circuit, or venting for a first-time install raises the total. Price your exact setup with the water heater calculator.

What drives the price

On a straight tank swap the appliance is only part of the bill. The line items that move the total:

  • Capacity — a 50-gallon tank is the standard for a 3–4 person home; larger 75–80-gallon tanks cost more and take longer to install.
  • Removal and disposal of the old unit — draining, disconnecting, and hauling.
  • Code upgrades — an expansion tank, drain pan, seismic strapping, and updated venting or gas connectors are often required to bring an older install to current code.
  • Switching fuel or location — running a new gas line, adding a circuit, or re-routing venting for a first-time or relocated install adds several hundred dollars each.
  • Permit and inspection — most jurisdictions require both for a water heater.

Tank vs tankless vs heat pump

A standard tank is the cheapest to install and the default replacement. Two upgrades change the long-run math:

  • Tankless (on-demand) — higher upfront, endless hot water, and lower standby losses; often needs gas-line and venting upgrades.
  • Heat-pump (hybrid) electric — the most efficient option, cutting water-heating energy sharply, at a higher install cost and with space and temperature requirements.

For a full side-by-side on install price, lifespan, and running cost across all three, see tankless vs tank vs heat-pump water heater cost. Federal tax credits that once offset high-efficiency and heat-pump units (25C) applied through 2025-12-31; installs in 2026 generally do not qualify.

Frequently asked questions

How much does it cost to replace a water heater?

A like-for-like tank replacement runs about $2,600–$5,050 installed in 2026 for a common 40–50 gallon gas or electric unit, including old-unit removal, an expansion tank, a drain pan, and a permit. Larger 75–80 gallon tanks run $2,850–$5,550. Adding a gas line, circuit, or new venting raises the total.

How much does a 50-gallon water heater cost installed?

A 50-gallon tank — the standard for a 3–4 person home — runs about $2,900–$5,050 installed in gas and $2,700–$4,650 in electric in 2026, including removal, expansion tank, drain pan, and permit. Fuel type makes little difference on a straight replacement.

Is gas or electric water heater cheaper?

On a like-for-like replacement the installed cost is nearly the same — a 50-gallon gas tank runs about $2,900–$5,050 and electric about $2,700–$4,650. Gas units usually cost a bit more to buy but less to run where gas is cheap; electric is simpler to install if there is no gas line. The bigger cost difference is fuel over the unit’s life, not the install.

What code upgrades add to the cost?

Bringing an older install to current code commonly means adding an expansion tank, a drain pan, seismic strapping, and updated venting or gas connectors — each a modest line item that adds up. First-time installs that need a new gas line, a dedicated circuit, or new venting add several hundred dollars each. A permit and inspection are standard.

Is it worth upgrading to tankless or heat pump?

A standard tank is cheapest to install. Tankless costs more upfront but delivers endless hot water and lower standby losses; a heat-pump (hybrid) electric unit is the most efficient and cuts water-heating energy sharply, at a higher install cost. Whether the upgrade pays off depends on your hot-water use, fuel prices, and how long you stay — see the tankless-vs-tank comparison for the full math.

Which water heater should you pick?

  • Cheapest, simplest replacement? A same-fuel, same-size tank — usually a 50-gallon for a family.
  • Want lower bills and endless hot water? Tankless — higher upfront, may need gas/venting upgrades.
  • Most efficient, have the space? Heat-pump (hybrid) electric — biggest energy savings at a higher install cost.
  • Large household? Step up to a 75–80 gallon tank or a high-capacity tankless.

Water heater cost calculator →

Estimates are planning ranges, not contractor quotes. We don’t replace your contractor, your permit, or your inspector — always compare licensed local bids on an identical written scope before you build.

Sources and assumptions

Every dollar figure on this page is the ProjectCostPro water heater calculator’s 2026 planning band — line-item engines (unit, install labor, removal, expansion tank, pan, venting, permit, contractor markup) calibrated to BLS OEWS wage data and the reference above. Planning ranges, not quotes; we don’t replace your plumber, permit, or inspector.

Martin Lashgari, Ph.D., P.E., PMP

Licensed structural engineer · founder of ProjectCostPro

Every figure here is generated from line-item cost engines I build and calibrate against BLS wage data, manufacturer pricing, and public cost guides — then range-checked the way a structural engineer reviews a bid: does each line reconcile, and does the total hold together? These are planning ranges, not quotes; defer to a licensed pro in the relevant trade. More about the methodology →