Labeled cutaway diagram of an electric tank water heater showing internal components including the anode rod, dip tube, heating elements, and tank insulation.
water heater replacement — Wikimedia Commons — Wikimedia Commons contributor — verify license/rights before publication — locally optimized WebP, metadata stripped

When a water heater fails, it's rarely a planned purchase — it's a cold shower and a puddle in the utility closet. We've watched enough panicked replacements go sideways to know the fix isn't just "buy whatever's in stock." Most homeowners pay $1,200–$3,500 for a full water heater replacement in 2026, but the spread between a basic tank swap and a tankless upgrade is big enough that it's worth five minutes of math before you call anyone.

Tank vs. Tankless: The Real Numbers

Standard tank water heaters:

  • 40-gallon gas tank: $900–$1,600 installed
  • 50-gallon gas tank: $1,000–$1,900 installed
  • 50-gallon electric tank: $800–$1,500 installed
  • National average for a standard 50-gallon tank: roughly $1,800 installed

Tankless water heaters:

  • Typical installed range: $1,400–$5,600
  • Most households land around $3,000–$4,500 once venting and gas-line upsizing are factored in

The tankless premium isn't really about the unit — it's about the retrofit. A straight tank-to-tank swap reuses existing connections. Tank-to-tankless often means new venting, a larger gas line, and sometimes an electrical upgrade, which is where that extra $1,500–$2,500 goes.

What's Actually in the Bill

  • Unit cost: $300–$800 for a standard tank; $500–$2,000+ for tankless
  • Labor: $300–$700 for a like-for-like tank swap; $1,000–$2,500 for a tankless conversion
  • Permit fees: $50–$300 depending on municipality (plumbing work replacing a water heater almost always requires one — skipping it voids your insurance claim if something floods later)
  • Haul-away of old unit: often bundled, sometimes a $50–$100 add-on
  • Code-driven extras: expansion tank ($150–$350), new shutoff valves, drip pan, seismic strapping in some states — these aren't upsells, they're inspection requirements in most jurisdictions now

What Drives the Price Up

  • Switching fuel types. Going from electric to gas (or vice versa) means new lines, new venting, and sometimes a dedicated circuit — add $500–$1,500.
  • Relocating the unit. Moving it to a new spot in the house multiplies labor and often requires new venting runs.
  • Upsizing capacity. Jumping from a 40-gallon to a 65-80 gallon tank (common for growing families) costs more in both unit price and sometimes a larger access opening.
  • Tankless gas line requirements. Tankless units need more BTUs on demand than tanks, so older 1/2" gas lines frequently need upsizing to 3/4" — that's its own permit and labor line.
  • Old installations that weren't up to code. If the last water heater predates current code (no expansion tank, no proper venting clearance), the new install has to fix those issues too, even though you didn't cause them.

Tank vs. Tankless: The Long-Term Math

Tankless costs $800–$3,800 more upfront, but it uses 20–34% less energy and typically lasts close to twice as long — 20 years versus 10-12 for a standard tank. Run the numbers over two decades: a tank water heater means you're likely replacing it twice (two installation labor bills) while a quality tankless unit installed once can outlast both. If you're staying in the house long-term and your gas line can support it without a major upsizing job, tankless usually wins on total cost of ownership. If you're planning to sell within 5-7 years, or your gas line would need significant upgrading, the standard tank is the financially rational choice.

DIY vs. Hiring a Pro

Water heater installation involves gas lines, 240V electrical circuits, or both, plus pressure relief valves that exist specifically to prevent tank explosions. This is not a YouTube-and-a-wrench Saturday project, full stop. Beyond the safety case, most manufacturers void the warranty on a unit that wasn't professionally installed, and most municipalities require a permit and inspection for water heater replacement — DIY installs frequently fail to pull that permit, which becomes your problem at resale. The one place homeowners can reasonably save money: get the old unit drained and disconnected yourself before the plumber arrives, and have the new unit on-site rather than paying the contractor's markup on the hardware. That alone can shave $100–$300 off labor time.

The Bottom Line

Budget $1,000–$1,900 for a straightforward like-for-like tank replacement, and $3,000–$4,500 if you're moving to tankless with a gas line that needs upsizing. Get at least two quotes — water heater pricing has wide regional variance and markup practices, and a $1,800 quote next to a $3,200 quote for the identical 50-gallon tank isn't unusual. Whatever you choose, don't defer this one: a failing water heater rarely fails gracefully, and the flood damage from a burst tank routinely costs more than the replacement would have.

Sources: AllBetterApp — Water Heater Replacement Cost 2026, Paul Bunyan Plumbing — Average Water Heater Replacement Cost 2026

Derek Callahan
Editor

38-year-old licensed general contractor with 18 years in residential construction and repair. Derek spent over a decade as a union carpenter before going full-time into writing, and now tests every guide in his own century-old fixer-upper. Holds active residential contractor licensing in three states.