Water Heater Replacement Cost: Tank, Tankless, Heat Pump
Water heater replacement cost in 2026: like-for-like tank prices by size, every line item on the quote, code extras inspectors add and what upgrading costs.
Most water heater replacements are not planned. The tank leaks or the hot water runs out, and a plumber quotes a number that same day. This page breaks that number into its parts, with two dated cost sources side by side, so you can tell a fair quote from a padded one and see what an upgrade would add.
How much does it cost to replace a water heater in 2026?
Replacing a standard 40 to 50 gallon tank costs $600 to $3,100 installed, according to HomeGuide’s cost guide updated January 2, 2026. This Old House, using Home Depot installation data and updated June 17, 2026, puts the national average at $1,950 within a $1,600 to $5,400 range across all types.
| Water heater type | Unit only | Installed (HomeGuide, Jan 2026) |
|---|---|---|
| Standard tank, 40-50 gal | $400-$2,100 | $600-$3,100 |
| Tankless (electric, propane or gas) | $600-$2,600 | $1,400-$5,600 |
| Hybrid heat pump tank | $1,500-$3,000 | $2,000-$4,600 |
| Indirect (fed by a boiler) | $1,500-$3,000 | $2,000-$4,500 |
Type sets most of the spread. A like-for-like tank swap sits at the bottom, because the gas line, vent or electrical circuit is already there.
What does a like-for-like tank cost by size?
A 40 gallon tank costs $600 to $3,000 installed and a 50 gallon tank $700 to $3,100, per HomeGuide. This Old House reports narrower installed ranges from Home Depot data, mostly because big-box installs price a basic swap.
| Tank size | Unit only (HomeGuide) | Installed (HomeGuide, Jan 2026) | Installed (This Old House, Jun 2026) |
|---|---|---|---|
| 30 gal | $300-$900 | $500-$1,900 | Not listed |
| 40 gal | $400-$2,000 | $600-$3,000 | $600-$1,200 |
| 50 gal | $500-$2,100 | $700-$3,100 | $700-$1,800 |
| 75 gal | $900-$2,600 | $1,100-$3,600 | $900-$2,300 |
| 80 gal | $1,000-$3,000 | $1,200-$4,000 | $1,000-$3,000 |
HomeGuide sizes a 40 gallon tank for 1 to 2 people with low use and a 50 gallon tank for 3 to 4 people. If a quote lands near the top of HomeGuide’s range for a simple basement swap, ask which line items put it there.
What line items should a replacement quote show?
A fair quote lists the unit, labor, removal, permit and any code work separately. These are the line items and the ranges the two sources give.
| Line item | HomeGuide (Jan 2026) | This Old House (Jun 2026) |
|---|---|---|
| Labor, same-size tank swap | $200-$1,000 (2-6 hours) | $40-$200 per hour, 1-3 hours |
| Old tank removal and disposal | $75-$500 (often included) | $100-$300 |
| Permit and inspection | $50-$200 | $50-$200 |
| Expansion tank | $100-$400 | $40-$150 |
| Code compliance work | $75-$500 or more | Not listed as one line |
| Seismic strapping | Not listed | $100-$300 |
| Drain pan or drainage | Not listed | $50-$200 |
| Temperature and pressure relief valve | Not listed | $20-$200 |
| Replacing an existing gas vent | $100-$600 | Basic gas venting $300-$500 |
| Attic installation | Not listed | $200-$1,000 extra |
| After-hours or emergency service | Extra charge | $200-$500 |
The two sources disagree most on labor, which depends on region. This Old House reports Pacific Northwest installs running up to 45% above the national average and South Florida about 20% below.
Which code upgrades get added to a replacement, and why?
Code upgrades are the items an inspector can require even on a like-for-like swap, because the new install must meet the current code, not the one in force when the old tank went in. Your local building department decides which apply.
- Expansion tank. Water expands as it heats. In a closed system, where a check valve, backflow preventer or pressure-reducing valve stops that water from pushing back into the main, an expansion tank absorbs it. Our expansion tank guide covers when one is required and how it is sized.
- Seismic strapping. California’s Health and Safety Code section 19211 requires all new and replacement water heaters to be “braced, anchored, or strapped” against earthquake motion, and sellers of a home must certify it. Other high-seismic areas have similar local rules.
- Drain pan and drain line. Commonly required where a leak would damage the building, such as an attic or an upstairs closet.
- Relief valve discharge. The temperature and pressure relief valve needs a discharge pipe run to an approved spot.
- Venting. A gas tank on an old or unlined chimney may need a liner ($500 to $700, This Old House) or a new vent.
What does upgrading to tankless or a heat pump add?
At the middle of HomeGuide’s ranges, upgrading adds about $350 (electric tankless) to $2,000 (natural gas tankless) over a tank swap before any gas, vent or electrical work, and those extras decide whether an upgrade stays affordable. Each option has its own deep page; this table shows the gap at a glance.
| Replacement choice | Installed (HomeGuide, Jan 2026) | Extras the quote may add | Full breakdown |
|---|---|---|---|
| Gas or electric tank, like-for-like | $600-$3,100 | Code items above | This page |
| Natural gas tankless | $2,100-$5,600 | Gas line upsizing $350-$2,000; new venting $100-$600 | Tankless cost |
| Electric tankless | $1,400-$3,000 | New circuit $250-$900; panel replacement $850-$1,700 | Tankless cost |
| Hybrid heat pump tank | $2,000-$4,600 | Space, air volume and condensate drain; 240 V circuit unless a 120 V model | Best heat pump water heaters |
The upfront gap is only half the decision. Our tankless vs tank comparison runs the 15-year cost, and the heat pump vs tankless comparison covers the all-electric choice. If gas tankless wins, the gas tankless buying guide compares the models.
How much does it cost to switch fuel types?
Switching fuel is the most expensive change on a replacement, because it adds a gas line or a circuit to the plumbing job. HomeGuide puts electric-to-gas conversions at $400 to $2,000 or more, depending on whether a gas supply already reaches the house. This Old House budgets $1,500 to $2,300 for new gas lines.
Going the other way, gas to electric costs $250 to $1,000 or more for a new dedicated circuit and wiring (HomeGuide). A panel that cannot spare the capacity adds $850 to $1,700 for replacement. Gas piping and electrical work are jobs for a licensed gas fitter and electrician under local code; a heat pump water heater on a 120 V plug-in model avoids most of the electrical cost where one fits.
Should you repair or replace your water heater?
Replace when the tank itself leaks, when the unit is past its expected life, or when the repair costs more than half the price of a new unit, the rule This Old House gives. A failed thermostat, heating element or pilot assembly on a younger tank is usually a $150 to $500 repair.
HomeGuide gives standard tanks an 8 to 12 year lifespan and tankless units 15 to 20 years. A tank leaking from the shell cannot be repaired. Our water heater lifespan guide covers the warning signs and how to find your heater’s age.
Replacing a tank before it fails also avoids the emergency premium: This Old House lists $200 to $500 for after-hours or weekend installs, plus $500 to $2,500 if a failed tank floods the room.
Are there tax credits or rebates for a new water heater in 2026?
There is no federal tax credit for a water heater installed in 2026. The IRS page for the Energy Efficient Home Improvement Credit (25C) covers property placed in service through December 31, 2025, so a unit installed in 2025 can still be claimed on a 2025 return. Some 2026 cost guides, including This Old House’s, still advertise a credit of up to $2,000; that line is out of date.
State rebate programs funded under the Inflation Reduction Act and utility rebates continue in some areas, mostly for heat pump water heaters. The ENERGY STAR Rebate Finder lists what applies at your ZIP code. Check before you sign, since many rebates require pre-approval or a participating installer.
Who should not just replace like-for-like?
A same-type swap is the right call for most failures, but not for everyone.
- Your electric tank sits in a warm garage or a large basement. A heat pump water heater uses far less electricity and those spaces suit it; see the best heat pump models.
- You run out of hot water every day. A bigger tank or a tankless unit fixes the problem a same-size tank repeats.
- Your gas tank vents into an old unlined chimney. The liner cost can narrow the gap to a direct-vent or tankless option.
- The tank is in a finished space with no pan or drain. Plan the pan and drain line now, not after the next leak.
Where do these numbers come from?
- HomeGuide, water heater installation cost, updated January 2, 2026: unit and installed ranges by type and size, labor, removal, permits, venting, expansion tank, fuel conversion, lifespan.
- HomeGuide, tankless water heater cost, January 2, 2026: gas line, vent, circuit and panel line items.
- This Old House, water heater installation cost, updated June 17, 2026: Home Depot-based installed ranges by size, regional differences, code compliance items, removal and after-hours costs.
- California Health and Safety Code section 19211, read October 6, 2026: water heater bracing requirement.
- IRS, Energy Efficient Home Improvement Credit, read October 6, 2026.
Frequently asked questions
Quick answers to what readers ask us most
How much does it cost to replace a 50 gallon water heater?
HomeGuide's January 2026 data puts a 50 gallon tank at $500 to $2,100 for the unit and $700 to $3,100 installed. This Old House, using Home Depot installation data updated June 2026, gives a narrower $700 to $1,800 installed range. Code extras, a new vent or a fuel switch push a quote above those ranges.
What is the labor cost to replace a water heater?
For a same-size tank swap, HomeGuide puts labor at $200 to $1,000, and the job usually takes a plumber 2 to 6 hours. Moving from a tank to a tankless unit costs $600 to $2,500 in labor because gas lines, venting or wiring often change.
Why is my water heater quote higher than the online average?
Usually because of code items and site work: an expansion tank ($40 to $400), seismic strapping ($100 to $300), a drain pan or drain line ($50 to $200), new venting ($100 to $1,500), a permit ($50 to $200), attic access ($200 to $1,000 extra) or after-hours service ($200 to $500). Ask the installer to list each line separately.
Is it cheaper to replace a water heater with the same type?
Almost always. A like-for-like tank swap reuses the gas line, vent or circuit. Switching from electric to gas adds $400 to $2,000 or more for a gas supply, and from gas to electric $250 to $1,000 or more for a new circuit (HomeGuide, January 2026).
Is there a tax credit for a new water heater in 2026?
Not a federal one for equipment installed in 2026. The IRS lists the 25C Energy Efficient Home Improvement Credit as applying to property placed in service through December 31, 2025, although some cost guides still advertise it. State and utility rebates continue in some areas; the ENERGY STAR Rebate Finder lists them by ZIP code.