HomeFixHero
Plumbing

How Much Does It Cost to Replace a Water Heater? (2026)

Updated March 10, 2026

Low

$900

Average

$1,800

High

$4,500

Per installed unit

Replacing a water heater typically costs $900 to $4,500 installed, with most homeowners paying around $1,800 for a standard 40-50 gallon tank unit. Tankless systems cost more upfront but run cheaper over their lifetime in homes with high hot-water demand.

Cost by water heater type

Type Typical Installed Cost
Standard tank (gas) $900 – $1,800
Standard tank (electric) $800 – $1,600
Tankless (gas) $2,000 – $4,500
Tankless (electric) $1,500 – $3,500
Heat pump / hybrid $2,200 – $4,800

What drives the price up

  • Venting changes. Switching fuel type (electric to gas, or to a high-efficiency condensing unit) often requires new venting or gas lines, adding $300–$1,000.
  • Code upgrades. Older installations may need an expansion tank, updated shutoff valves, or seismic strapping to meet current code.
  • Access and location. Units in attics, closets, or upper floors take longer to remove and install than a garage or basement unit.
  • Permit fees. Many municipalities require a permit for water heater replacement, typically $50–$300.

Ways to save

  1. Get at least three quotes — labor costs for the same unit can vary by 30% or more between contractors.
  2. Replace before it fails. An emergency same-day replacement often costs more than a scheduled one.
  3. Consider a like-for-like replacement (same fuel type and venting) to avoid the added cost of code upgrades.

Do you need a permit?

In most U.S. jurisdictions, yes — water heater replacement involves gas or electrical connections and is typically inspected. Check with your local building department before hiring a contractor who says a permit isn't needed.