House Fly
Water Heater Replacement Cost: Tank and Tankless (2026)
Plumbing

Water Heater Replacement Cost: Tank and Tankless (2026)

Aug 19, 2026 7 min read

Replacing a water heater costs $1,200 to $2,500 for a standard tank model installed, with a national average around $1,800. A tankless unit runs $2,000 to $4,500 to replace, and switching from a tank to tankless for the first time usually lands between $3,500 and $7,000 once new venting, gas line, and electrical work are counted. This guide covers 2026 prices by type and size, the honest math on tank versus tankless, and what changes the number in your city.

Low End National Average High End
$900 $1,800 $7,000 or more

How Much Does Water Heater Replacement Cost?

The type of water heater you choose sets the budget more than anything else. A straight swap of one tank for another of the same size and fuel is the cheapest job in the category. Tankless units cost more to buy and more to install, and hybrid heat pump models sit in the middle after rebates. Here is what full installed replacement costs look like in 2026.

Water Heater Type Installed Cost Typical Lifespan
40 gallon gas tank $1,100 to $2,200 8 to 12 years
50 gallon gas tank $1,300 to $2,600 8 to 12 years
50 gallon electric tank $1,200 to $2,400 10 to 15 years
Gas tankless $2,000 to $4,500 15 to 20 years
Electric tankless $1,500 to $3,500 15 to 20 years
Heat pump hybrid $2,500 to $4,500 12 to 15 years

Those totals break into a few predictable pieces. The unit itself is usually less than half the bill, which surprises homeowners pricing tanks at the hardware store. Labor, code items, and haul away make up the rest.

Cost Component Typical Range Notes
Water heater unit $500 to $1,800 Tank low, tankless high
Labor $300 to $1,000 2 to 4 hours for a swap
Permit $50 to $250 Required in most cities
Expansion tank $100 to $350 Often required by code
Old unit haul away $50 to $150 Sometimes included

Tank vs Tankless: The Honest Comparison

Tankless water heaters get a lot of hype, and some of it is deserved. They heat water only when a tap opens, they never run out during back to back showers, and they last 15 to 20 years against 8 to 12 for a tank. According to Energy Star, efficient water heaters can meaningfully cut water heating costs, which matter because heating water is one of the largest energy uses in a typical home.

The honest part is the install bill. If your home has never had a tankless unit, the plumber is not just swapping hardware. Gas tankless units burn fuel much faster than a tank while running, so the existing gas line often has to be upsized, which costs $300 to $800. They need dedicated stainless steel or PVC venting to the outside, another $300 to $1,000. Electric tankless units frequently demand more amperage than the panel has to spare, and panel or circuit upgrades run $500 to $2,000. Stack those on top of a $1,000 to $1,500 unit and the first time switch reaches $3,500 to $7,000. Replacing an existing tankless with another tankless skips most of that and falls back to $2,000 to $4,500.

Scenario Installed Cost Best For
Tank to tank swap $1,200 to $2,500 Lowest upfront cost
Tankless to tankless $2,000 to $4,500 Homes already set up
Tank to tankless switch $3,500 to $7,000 Long stay, endless hot water

The payback math favors tankless only if you stay put. Lower operating costs and double the lifespan can recover the premium over 10 to 15 years. If you plan to sell within five years, a quality tank swap is usually the smarter spend.

Water Heater Replacement Cost Factors

Size and Fuel Type

Bigger tanks cost more, but the jump is modest. Moving from 40 to 50 gallons adds $100 to $300 to the unit price. Fuel matters more. Gas models cost more to install because of venting and gas connections, while electric models cost more to run in most markets. Swapping fuels entirely, such as electric to gas, adds $500 to $1,500 in new lines and venting.

Code Upgrades

Plumbing codes have tightened over the years, and a replacement has to meet current rules even if the old install did not. Common surprises include an expansion tank at $100 to $350, a drain pan with a piped drain line at $50 to $200, seismic straps, and a raised stand in garages. Budget $200 to $500 for code items on any tank that has been in place more than a decade.

Location and Access

A water heater in an open garage is a quick job. One wedged in an attic, a crawl space, or a closet built after the heater went in takes longer and costs $150 to $500 more in labor. Attic installs may also need a larger drain pan and a second pair of hands to move the old unit down safely.

Emergency Timing

A failed water heater rarely fails politely. Same day and weekend replacements carry premiums of $200 to $500, and a leaking tank that has already soaked drywall or flooring adds cleanup costs on top. If your heater is past 10 years old, rusty at the fittings, or rumbling, replacing it on your schedule beats replacing it on the tank’s schedule.

DIY vs Hiring a Professional

On paper, DIY looks tempting. A 40 gallon gas tank costs $500 to $900 at the store, and buying the unit yourself saves the contractor markup. You will also need a pipe wrench, fittings, flexible connectors, pipe dope, and a helper, since a full tank of sediment can weigh well over 150 pounds on the way out. Call it $600 to $1,100 all in for a like for like electric swap done by someone with real plumbing experience.

The honest answer is that this is one of the worst DIY projects in the house. Gas models involve combustion venting, and a bad flue connection can put carbon monoxide in your living space. Every model has a temperature and pressure relief valve that must be piped correctly, because a sealed, overheating tank is genuinely dangerous. Most cities require a permit and an inspection, and unpermitted work can void the manufacturer warranty and complicate insurance claims if anything leaks. Electric swaps also mean working around a 240 volt circuit.

DIY is defensible only for an experienced hand replacing an electric tank with an identical electric tank, with the permit pulled and the breaker locked off. For gas, for tankless, for attic units, and for anyone who has not done one before, hire it out. The $300 to $1,000 in labor buys correct venting, code compliance, and someone who has drained a hundred rusty tanks without flooding a hallway. Plumbers also bundle small jobs well, so it is a good moment to price that dripping faucet too, and our kitchen faucet installation cost guide shows what that add on runs.

Water Heater Replacement Prices by City

Labor rates, permit fees, and local code quirks move the price from market to market. Here is what a standard 50 gallon tank swap runs in five major cities.

City Tank Swap Cost Why It Differs
Dallas $1,300 to $2,500 Competitive labor market
Houston $1,300 to $2,600 High demand, attic installs common
Miami $1,400 to $2,900 Higher labor, strict permitting
Tampa $1,300 to $2,700 Electric units dominate
New Orleans $1,400 to $2,800 Older homes need code updates

Dallas and Houston stay reasonable because plenty of plumbing companies compete for straightforward swaps, though Houston attic installs push some jobs higher. Miami pays more for labor and for a permitting process that takes real time. Tampa runs mostly electric, which trims install complexity. New Orleans homes are older on average, so code upgrades show up on more invoices there, and it pays to compare options among the top plumbing companies in New Orleans before an emergency forces a rushed choice.

How Booking Through House Fly Works

You tell House Fly what you need. You get a real, upfront price on the spot. You pick the day and time that works for you and book it. House Fly finds the right trusted local pro for the job and sends them out. House Fly handles everything from booking to completion while you relax. Payment is held until the work is finished, you can chat with your pro any time, and you can cancel for free. There are no hidden fees and no surprises, whether you need a same week tank swap or want to price a tankless upgrade alongside other home services.

Need help with your home project?

Get matched with trusted pros in your area. Upfront pricing, no surprises.

Browse Services

Water Heater Replacement FAQ

How much does it cost to replace a water heater?

Replacing a standard tank water heater costs $1,200 to $2,500 installed, with most homeowners paying around $1,800. Tankless replacement runs $2,000 to $4,500, and a first time switch from tank to tankless reaches $3,500 to $7,000 because of new venting, gas line, and electrical work.

Is a tankless water heater worth the extra cost?

It depends on how long you stay. Tankless units last 15 to 20 years, cost less to run, and never run out of hot water, but the first install carries $1,500 to $4,000 in extra setup costs. Owners staying 10 or more years usually come out ahead. Short term owners rarely do.

How long does water heater replacement take?

A like for like tank swap takes 2 to 4 hours, including draining the old unit and hauling it away. A tankless to tankless replacement takes about the same. A first time tankless conversion takes a full day or two once venting, gas line, and electrical upgrades are involved.

How do I know my water heater needs replacing?

Watch for age past 10 years, rust colored hot water, moisture or rust around the base, rumbling sounds from sediment, and hot water that runs out faster than it used to. A leaking tank body cannot be repaired, so once the tank itself weeps, replacement is the only fix.

Ready to Get Started?

Book a trusted local pro in minutes. Upfront pricing, no surprises.

Select your service
Sign Up for Our Newsletter!
Stay up to date with the latest home trends, unsubscribe anytime.
You're subscribed!