Water heater replacement cost in 2026
Water heaters fail on their own schedule, usually without warning, which makes this one of the more urgent replacements homeowners face. Expect $1,200–$5,500 installed, with tank vs. tankless and gas vs. electric explaining almost the entire spread.
Water heaters fail on their own schedule, usually without warning, which makes this one of the more urgent replacements homeowners face. The good news is the cost is fairly predictable once you know which of four combinations you're buying: tank or tankless, gas or electric.
What it costs, by type
Tank vs. tankless: the real tradeoff
Tank units are cheaper to buy and install and are a like-for-like swap in most homes. Tankless units cost more up front — sometimes double, once venting and gas-line changes are factored in — but heat water on demand, take up less space, and typically last longer. The payback comes from lower energy use, but it takes years, so tankless makes more sense if you're staying in the home long enough to recoup the difference, or if you're replacing an aging unit anyway rather than converting one that still works.
Switching from tank to tankless, or from electric to gas, often requires new venting or a resized gas line — costs a simple "unit swap" quote won't include. Ask explicitly whether your quote assumes a like-for-like replacement or a conversion, since the latter can add $500–1,500.
Factors that move the price
- Capacity (for tank units). Larger households need bigger tanks; going up a size adds modestly to unit cost.
- Fuel type conversion. Switching gas to electric or vice versa is far more expensive than a like-for-like swap.
- Code compliance. An older unit may not meet current code (expansion tanks, seismic strapping, drip pans) — bringing it up to code adds cost but isn't optional.
- Access and location. A unit in a tight closet or awkward attic space costs more in labor than one in an open basement or garage.
What actually happens once the old tank's drained
- Draining and removing the old unit (30–60 minutes). A full tank holds 40–50 gallons that has to be drained before it can be disconnected and hauled out.
- Connecting the new unit (1–2 hours for a like-for-like swap). Water lines, the gas or electrical connection, and the venting are hooked up to the new unit.
- Code-compliance updates, if needed (adds 1–3 hours). Older installs sometimes need an expansion tank, updated venting, or seismic strapping added to meet current code — this is a common reason a "simple swap" quote grows once the plumber sees the existing setup.
- Testing and startup (30 minutes). The plumber fills the tank, checks for leaks, and confirms proper venting and temperature before finishing.
A straightforward tank-to-tank swap is usually a half-day job. Converting fuel types or switching to tankless, which often requires new venting or gas line sizing, can take a full day.
Handling it yourself vs. calling a plumber
A water heater sits at the intersection of plumbing, gas or electrical, and venting — three systems where mistakes carry real safety risk, from gas leaks to carbon monoxide issues with improper venting. Most manufacturers also require professional installation to honor the warranty. Some experienced DIYers handle a like-for-like electric tank swap, but gas units, any venting changes, and tankless conversions are worth hiring out regardless of skill level, given the stakes if something's wrong.
Mistakes that create safety problems, not just cost ones
- Assuming a swap is always like-for-like. Code requirements have often changed since the old unit was installed; ask upfront whether your install needs a compliance update.
- Undersizing capacity to save on the unit cost. A tank too small for household demand runs out of hot water at the worst times and doesn't actually save money once you factor in the frustration and potential need to upsize later.
- Ignoring the anode rod. This sacrificial rod protects a tank from corrosion and needs periodic replacement — skipping this maintenance is a common reason tanks fail years earlier than their rated lifespan.
- Choosing tankless without checking gas line or electrical capacity. Tankless units often need a larger gas line or dedicated electrical circuit than a tank unit — confirm this before assuming the conversion cost quoted is complete.
Frequently asked questions
How long do water heaters last?
Tank units typically last 8–12 years; tankless units often last 15–20 years with proper maintenance, including periodic descaling in hard-water areas.
Is it worth switching to tankless?
If you're already replacing a failed unit and can afford the higher upfront cost, tankless offers lower operating costs and more space, but the payback period is often long. It's a stronger case in high-usage households or when a hot water shortage is a recurring complaint.
Can I install a water heater myself?
A licensed plumber is strongly recommended — improper installation can create safety hazards (gas leaks, improper venting, electrical issues) and may void the manufacturer's warranty.
What size water heater do I need?
As a rough guide, 30–40 gallons suits one to two people, 40–50 gallons suits a typical family of three to four, and larger households or homes with high simultaneous hot-water demand may need 50+ gallons or a tankless unit sized to peak flow rate.
Why is my water heater making noise?
Popping or rumbling often means sediment buildup at the bottom of the tank, which periodic flushing can reduce. Persistent noise alongside reduced hot water output can signal a unit nearing the end of its life.
Should I repair or replace an aging water heater?
A tank past 8–10 years with a costly repair (like a failed heating element on an electric unit, or significant sediment buildup reducing capacity) is usually a better candidate for replacement, since you're investing in an appliance already near the end of its expected life.
Sources & further reading
- Angi/HomeAdvisor cost data for water heater replacement by type.
- Local plumbing code requirements for water heater installation vary by jurisdiction — confirm with your local building department.
- U.S. Department of Energy and ENERGY STAR efficiency comparison data for tank vs. tankless water heaters.
This guide reflects independent research using public pricing data and industry sources, not a professional site assessment. Cost ranges are estimates for planning only and vary by region, home and unit choice — always confirm with local, itemized quotes.