How much does it cost to replace a water heater in 2026?
Real installed prices for gas, electric, tankless, and heat pump water heaters — plus the code-upgrade line items that quietly add $200 to $800.
Typical range
40–50 gallon tank, installed
$900–$1,900
Typical lands near $1,400.
Estimate, not a final quote
This range is for planning. Final pricing depends on an on-site inspection, materials, permits, access, and contractor scope.
Compare written bids
Ask each contractor for the same scope, warranty terms, permit handling, cleanup details, and exclusions before choosing.
Source-backed guidance
Guides use public references and practical cost modeling, then point you to official sources where rules or rebates can change.
The short answer
A like-for-like swap of a standard 40–50 gallon tank runs $900 to $1,900 installed. Tankless and heat pump units run $2,000 to $4,500 before incentives. The quiet budget-killer is code upgrades — expansion tank, pan, straps — which add $200 to $800 to almost every quote.
Water heaters fail on their own schedule, not yours. Most people shop for one exactly once a decade, standing in a garage with a wet floor, which is why this is one of the easiest projects to overpay for. Here's what the job actually costs, piece by piece.
The installed price, by type
These are full installed prices — unit, labor, permit, haul-away — for a straightforward replacement where the new unit matches the old one's fuel and location.
| Type | Installed cost | Typical lifespan |
|---|---|---|
| Gas tank, 40 gal | $900 – $1,600 | 8–12 years |
| Gas tank, 50 gal | $1,000 – $1,900 | 8–12 years |
| Electric tank, 40–50 gal | $800 – $1,700 | 10–15 years |
| Tankless, gas | $2,500 – $4,500 | 15–20 years |
| Heat pump (hybrid), 50–65 gal | $2,000 – $3,500 | 12–15 years |
Two things to notice. First, the unit itself is often less than half the number — a 50-gallon gas tank wholesales around $550 to $900. The rest is labor, parts, permit, and disposal. Second, the ranges overlap a lot, which is why two honest plumbers can quote the same job $400 apart.
Cost estimator
Water heater cost estimator
A budgeting range, not a quote. Move the inputs to see what changes the number.
Household size sets the capacity — tank gallons or tankless flow rate.
Used only to match you with local pros — it doesn't change the range.
Estimated local cost
Typical project lands near $1,280.
If a written quote comes in above the high end, that's not automatically wrong — ask what scope is driving it.
What this assumes
- Like-for-like swap of an existing gas tank — no new gas line or venting route.
- Sized for a 3-person household.
- Permit and haul-away of the old unit included; no drywall or repiping.
What moves this price
- 01Switching fuel or moving the unit — new gas line, venting, or circuit adds $500–$2,500.
- 02Code catch-ups: expansion tank, drain pan, seismic straps, shut-off valve.
- 03Emergency same-day replacement vs. a scheduled install.
Want real quotes to sanity-check this range?
We'll connect you with vetted local pros so you can compare actual bids against the estimate above. No spam, no obligation.
Written scope
Compare the same work across bids.
No instant pressure
Use the estimate before you decide.
Planning first
Final pricing requires inspection.
Walk into your quotes ready
This range is your anchor. Bring these to every contractor conversation so you can tell a fair quote from a padded one.
- Is this a like-for-like swap, or does my setup need venting, gas, or electrical changes?
- Which code updates are included — expansion tank, drain pan, straps, shut-off valve?
- What's the tank warranty (6, 9, or 12 years), and does labor have its own warranty?
- Is the permit, haul-away of the old unit, and any condensate drain work in the price?
- A flat phone price that doesn't ask what fuel type or where the unit sits.
- "Code upgrades" as one unexplained lump sum instead of itemized parts.
- Pushing a tankless conversion hard without checking your gas line size first.
Where quotes grow: the code catch-up
The line items that surprise people aren't padding — they're the plumbing code catching up with your house. If your old heater went in twelve years ago, some of these probably weren't required then. They are now, and the permit inspection will check for them:
- Thermal expansion tank — $100 to $350 installed. Required in most jurisdictions on closed systems (homes with a pressure regulator or backflow preventer).
- Drain pan and drain line — $50 to $250. Usually required when the heater sits above living space or in an attic.
- Seismic straps — $50 to $150. Standard in earthquake states, common elsewhere.
- New shut-off valve or supply lines — $50 to $200. Old valves frequently won't fully close, and no plumber will reuse a corroded flex line.
- Venting corrections (gas units) — $100 to $600. Modern draft standards sometimes require rework of older vent runs.
Add it up and a "simple swap" honestly lands $200 to $800 above the bare install. What matters is that these appear itemized on the quote. One unexplained "code compliance package — $750" line is a red flag; five named parts with prices is a plumber doing it right.
When the price jumps by thousands
Three situations move you out of swap territory entirely:
- Switching fuel or technology. Tank to tankless means upsizing the gas line and new venting — commonly $1,000 to $2,500 on top of the unit. Gas to electric heat pump means a dedicated 240V circuit, sometimes a panel upgrade.
- Moving the unit. Relocating from a closet to a garage means new water, gas, and vent runs. Every foot is labor.
- Emergency same-day service. A burst tank on a Sunday can carry a 20–50% premium. If your heater is past 10 years old, replacing it on your schedule instead of the tank's is worth real money.
The incentive that changes the math
Heat pump water heaters qualify for the federal 25C tax credit: 30% of project cost, up to $2,000 — and many utilities stack rebates of $300 to $1,000 on top. A $2,800 heat pump install can net out near $800 over a standard tank while cutting water-heating energy use by roughly half. Check the ENERGY STAR rebate finder for your zip before you decide; our heat pump incentives guide covers the paperwork traps.
What a fair quote looks like
Before you sign, the written quote should name:
- The exact brand, model, and gallon capacity (or GPM for tankless).
- The tank warranty — 6, 9, or 12 years. Longer-warranty tanks have thicker anodes and cost more for a reason.
- Each code item as its own line.
- Permit and haul-away included, in writing.
- The labor warranty, separate from the manufacturer's.
If a company quotes a flat price over the phone without asking your fuel type, where the unit sits, or how old the house is — that price will change when the truck arrives.
Repair or replace?
Under 8 years old with a bad element, thermostat, or valve: repair, usually $150 to $600. Past 10 years, or any leak from the tank body itself: replace. The tank is a sealed unit — once the lining fails there is nothing to fix, and the failure mode is your floor. If you're seeing water now, read our leaking water heater guide before you call anyone.
Research sources
- U.S. DOE Energy Saver: Water Heating
- ENERGY STAR: Water Heaters
- IRS: Energy Efficient Home Improvement Credit (25C)
Compare local quotes
Ready to compare real quotes from water heater pros?
Use your estimate as a budget anchor, then compare written contractor bids against it before you decide. Free request, no obligation.
Disclosure: if you request quotes through this link, SaveBricks may earn a referral fee from the quote-matching service. It never changes the prices you're quoted, and our cost ranges are set independently — see how we estimate.
More water heaters guides
Typical range
$2,500–$4,500
Gas tankless, installed
Tankless vs. Tank Water Heater: The 10-Year Cost Math
Tankless costs $1,500–$2,500 more installed. Whether you ever get that back depends on three things most sales pitches skip — run the 10-year math first.
Read guideWater Heater Leaking? Where the Water's From Decides Everything
A leak from a fitting is a $150 fix. A leak from the tank body is a replacement, today. How to tell the difference in five minutes, before you call.
Read guide