A standard tank water heater replacement runs $1,200 to $3,500 installed in 2026, while tankless conversions land between $4,500 and $8,000. That's a wide spread for what sounds like a simple swap, and the difference isn't padding — it's the physical reality of what's behind your old unit and what code now demands.
Most homeowners expect a flat price. The truth is your final number gets built from five moving parts, and any one of them can double the job.
Fuel Type Sets the Floor
A basic 40- or 50-gallon electric tank is the cheapest replacement on the market — often $1,200 to $2,000 installed when it's a like-for-like swap. Gas tanks run higher, $1,800 to $3,500, because they involve venting, gas line connections, and combustion safety checks.
Tankless is where the number jumps. A whole-home gas tankless unit costs more than the hardware alone suggests — you're paying for larger gas lines, new venting, and sometimes an electrical circuit. That's why the tankless range starts at $4,500 and climbs past $8,000 on complex homes.
Code Upgrades Are the Silent Multiplier
Here's what surprises people: replacing a water heater often triggers code requirements that didn't exist when your old one was installed. Expansion tanks, seismic strapping, drip pans with drain lines, updated venting, and dedicated shutoffs can each add $150 to $600.
If your home's original unit predates current code — common in houses over 15 years old — a plumber legally can't just reconnect the old setup. Those upgrades are why two identical-looking jobs on the same street can quote $800 apart.
The tank is the cheap part. What eats the budget is bringing the venting, the pan, and the gas line up to what the inspector will actually sign off on.— Licensed plumber, residential retrofit specialist
Region, Permits, and the Labor Market
Where you live changes the labor rate dramatically. In high-cost metros — coastal California, the Northeast, major cities — installation labor alone can run $800 to $1,500. In lower-cost regions, the same labor might be $350 to $600.
Permitting adds another regional variable. Some jurisdictions require a permit and inspection for any water heater replacement ($75 to $300), while others don't inspect swaps at all. Skipping a required permit can cause problems at resale, so factor it into the honest number, not the lowball one.
Why the Range Stays Wide Until Someone Sees It
Scope is the last wildcard. Is the new unit the same size and location as the old one? Is the space accessible, or is it wedged in a tight closet or attic? Does the old unit need hazardous-material disposal? Is there existing water damage under the failing tank?
Each of these can shift the quote by hundreds of dollars, and no contractor can pin down a real figure without seeing the setup. A quote that's suspiciously precise over the phone usually means change orders later.
The smartest move is getting a few itemized bids that break out the unit, labor, code upgrades, and permit separately — so you can see exactly which line item is driving your number and compare apples to apples.