Every water heater eventually reaches the point where repair stops making sense and replacement takes over. Knowing the signs, understanding what a new unit actually costs, and knowing what the installation process involves helps you plan ahead instead of scrambling when the tank finally fails. This guide covers when to replace, gas vs. electric considerations, thermocouple issues specific to gas units, realistic cost ranges — including the add-on costs most quotes leave off — and what to expect during installation.
What This Guide Covers
- Signs it’s time to replace your water heater
- Repair vs. replace: the cost-benefit call
- Gas vs. electric replacement
- What water heater replacement actually costs
- Cost by tank size, and sizing your replacement
- The add-on costs most quotes don’t itemize
- The replacement process
- After installation: maintenance tips
- Frequently asked questions
Signs It’s Time to Replace Your Water Heater
- Age. Most tank water heaters last 8–12 years; tankless units can last 15-20 years with proper maintenance. If yours is near or past that range, replacement is often more cost-effective than repeated repairs. (More detail: how long water heaters last.)
- Rust or corrosion on the tank itself, or rusty water coming from hot-water taps — a sign the tank is deteriorating from the inside and a leak is likely coming.
- Frequent repairs. If you’re calling for repair more than once a year, or a single repair estimate approaches half the cost of a new unit, replacement is the better value.
- Inconsistent or insufficient hot water that persists even after basic repairs.
- Rumbling or popping noises from heavy sediment buildup that a flush no longer resolves — see what water heater noises mean.
Repair vs. Replace: The Cost-Benefit Call
As a rule of thumb: repair if the unit is under 6-8 years old and the fix is a single component (thermostat, element, thermocouple, valve). Replace if the unit is past 10-12 years, has tank corrosion, or the repair estimate is more than 50% of a new unit’s installed cost. If you’re weighing a specific repair, our water heater repair guide walks through what individual fixes run.
Gas vs. Electric Replacement
Gas water heaters heat faster and typically cost less to run in areas with cheaper natural gas, but replacement can involve more work — venting, gas line connections, and combustion safety checks add complexity (and cost) compared to electric units, which mainly need an electrical hookup. If you’re switching fuel types during replacement (electric to gas or vice versa), budget extra for the added electrical or gas line work.
Thermocouple Issues (Gas Units)
The thermocouple is a small safety device that detects whether the pilot light is lit and shuts off gas flow if it isn’t — preventing unburned gas from accumulating. A failing thermocouple typically causes the pilot to go out repeatedly or the burner to shut off shortly after lighting. Cleaning it sometimes resolves the issue, but a thermocouple that keeps failing after cleaning should be replaced — it’s an inexpensive part (typically under $50) and a straightforward fix for a licensed technician, but never something to troubleshoot around a live gas line yourself.
What Water Heater Replacement Actually Costs
Based on current industry cost data (Angi), here’s a realistic breakdown:
- Traditional tank water heater: $881–$1,826 installed (average around $1,346).
- Tankless water heater: $1,400–$3,900 installed.
- Electric tank models: $600–$3,500.
- Gas tank models: $700–$2,700.
Labor typically makes up about half of the total project cost — roughly $150–$450 for a standard tank swap, and $600–$1,900 for a tankless installation, at typical plumber rates of $45–$200/hour. Converting from tank to tankless costs more in labor ($150–$2,500) since it often requires new venting, gas line, or electrical work.
Cost by Tank Size, and Sizing Your Replacement
Capacity is one of the biggest single drivers of price. Current installed ranges by tank size:
- 40 gallon: $800–$2,300
- 50 gallon: $800–$2,500
- 75 gallon: $1,100–$4,000
Bigger isn’t automatically better — an oversized tank wastes energy keeping water hot that nobody uses, while an undersized one leaves you running out mid-shower. The Department of Energy recommends sizing on first-hour rating rather than raw gallon capacity, which accounts for how much hot water the unit can actually deliver during your peak demand hour. If your household has grown since the last unit went in, that’s worth recalculating rather than defaulting to the same size. Considering a switch? Compare tankless water heater options.
The Add-On Costs Most Quotes Don’t Itemize
The headline price usually covers the unit and the basic swap. These are the line items that turn into change orders mid-job if nobody raised them upfront — worth asking about explicitly before you sign:
- Permit: $25–$300 depending on the jurisdiction (commonly $75–$200). Most cities require one for a water heater replacement, and your installer should pull it.
- Removal and disposal of the old unit: $100–$500.
- Thermal expansion tank: $90–$350 installed. Required on many closed plumbing systems.
- Power vent instead of a standard vent: roughly $500–$1,000 more, plus $300–$500 for the electrical work it needs.
- Gas line work: $260–$820 typical, and up to about $1,500 if you’re switching from electric to gas.
- New electrical line or sub-panel (common on electric conversions and heat-pump units): $500–$1,000.
- Code-compliance upgrades caught at inspection: $300–$1,500 all in. Individually these run about $40–$200 for a drip pan and drain, $50–$150 to route the T&P discharge tube, $200–$600 for combustion air on a gas unit, and $30–$80 for a gas sediment trap.
- Seismic strapping: $40–$100 — and worth calling out for California homeowners, since state code requires water heaters to be strapped against earthquake movement. An unstrapped replacement will not pass inspection here.
Other things that move the number: distance and access to the install location, whether you’re upgrading to a higher-efficiency or premium-brand unit, and whether you add an extended service agreement. Get a written, itemized quote and compare more than one — that’s the single easiest way to see which of these a contractor has quietly left out.
The Replacement Process
A professional installation typically follows these steps:
- Safety shutoff — power/gas and water supply are shut off before any work begins.
- Draining and disconnection of the old unit.
- Removal of the old water heater.
- Installation of the new unit, including connecting water lines, and (for gas units) the gas line and venting, or (for electric) the electrical connection.
- Testing for leaks, proper venting, and correct temperature/pressure operation.
- Walkthrough of basic maintenance and warranty information.
This isn’t a safe DIY project for gas units (gas line and venting mistakes are a real safety hazard) or for most electric installations (240V circuits). Always use a licensed plumber for the actual swap.
After Installation: Maintenance Tips
- Flush the tank annually to prevent sediment buildup, especially in hard-water areas.
- Test the pressure relief valve yearly.
- Check the anode rod every 2-3 years on tank models.
- For tankless units, schedule an annual descaling if you have hard water.
- Register your warranty and keep the installation paperwork — most units carry 6-12 year warranties depending on brand and model.
Frequently Asked Questions
How long does installation take?
A straightforward tank-to-tank swap is usually completed in a few hours. Tank-to-tankless conversions or jobs requiring new venting/gas lines can take a full day.
How long should a new water heater last, and can I extend that?
Expect 8–12 years from a tank unit and 15–20 from a tankless one. Annual flushing, replacing the sacrificial anode rod before it’s fully consumed, and dealing with small problems early rather than waiting all measurably extend that. Hard water shortens it, so if you’re on hard water, maintenance matters more, not less.
How do I drain my water heater for maintenance?
Shut off the power or gas and the cold water supply, then connect a garden hose to the drain valve at the base of the tank and run the other end somewhere that can take near-boiling water. Open the valve and let it empty, then open a hot tap to break the vacuum so it drains fully. Let the tank cool first — draining a hot tank is a scald risk.
Is a tankless water heater worth the higher upfront cost?
Tankless units cost more upfront but last longer and use less energy since they only heat water on demand — many homeowners recoup the difference over the unit’s lifespan, especially in homes with consistent hot water demand.
Do I need a permit to replace a water heater?
Most jurisdictions require a permit for water heater replacement, especially for gas units or if the installation involves any plumbing/electrical changes. Your installer should handle this as part of the job.
Trust The 5 Star Plumbing With Your Replacement
Whether you need a straightforward tank swap or a full tank-to-tankless conversion, our licensed technicians handle the sizing, permitting, and installation so you’re back to reliable hot water fast. See our water heater replacement service, or if you’re not sure replacement is the answer yet, our water heater repair team can assess it first. Give us a call for an accurate, written quote.
Sources: Angi, “How Much Does Water Heater Replacement Cost?” (2026 data) · U.S. Department of Energy, “Sizing a New Water Heater”
