Last updated: June 2026
Water heaters fail without warning — and when yours goes, you’re suddenly making a $600–$3,000 decision under pressure with cold showers in your immediate future. That urgency is exactly what some plumbers count on. Emergency water heater replacements consistently cost 20–40% more than planned replacements, not because the job is harder but because the homeowner has no time to compare quotes.
This guide gives you the numbers you need before you need them. The average cost to replace a water heater in the United States runs $900–$2,000 for a standard tank replacement. Tankless water heaters cost more upfront at $1,500–$3,500 installed but last longer and use less energy. Understanding what drives the cost — before your water heater fails — is the best money you’ll ever save on a home repair.
Water Heater Replacement Cost by Type
| Water Heater Type | Unit Cost | Installation | Total Cost |
|---|---|---|---|
| 40-gallon gas tank | $400–$700 | $300–$600 | $700–$1,300 |
| 50-gallon gas tank | $500–$900 | $300–$600 | $800–$1,500 |
| 40-gallon electric tank | $300–$600 | $200–$500 | $500–$1,100 |
| Tankless gas | $700–$1,500 | $800–$1,500 | $1,500–$3,000 |
| Tankless electric | $500–$1,000 | $500–$1,000 | $1,000–$2,000 |
| Heat pump water heater | $800–$2,000 | $300–$700 | $1,100–$2,700 |
Use Our Free Water Heater Replacement Cost Calculator
Get an instant estimate based on your water heater type, fuel source, and installation complexity. The calculator accounts for both the unit cost and what licensed plumbers typically charge for installation in your region.
Water Heater Replacement Cost Calculator
Tank vs. Tankless — The Decision Most Homeowners Overthink
The tank vs. tankless debate generates more analysis paralysis than almost any other home improvement decision. Here’s the straightforward version: for most homeowners replacing a failed water heater, a quality gas tank water heater is the right choice. For homeowners planning ahead with 10+ years in their home who want long-term energy savings, tankless deserves serious consideration. The decision changes based on your timeline and situation.
Tank Water Heaters — Why They Still Win for Most Homes
A 50-gallon gas tank water heater from a quality manufacturer like Rheem, Bradford White, or A.O. Smith costs $500–$900 at a supply house and $800–$1,500 installed by a licensed plumber. It lasts 10–15 years with a sacrificial anode rod replaced every 3–5 years ($20–$50 DIY). Any licensed plumber can install or service it. Parts are universally available. When it fails, replacement is straightforward.
The energy efficiency argument against tank heaters — that they waste energy keeping water hot when you’re not using it — is real but often overstated. A modern high-efficiency tank water heater loses roughly $15–$25 per month in standby heat loss. Tankless saves this amount but costs $500–$1,500 more upfront — the payback period on the premium is 3–8 years depending on energy prices and usage patterns.
Where tank water heaters genuinely struggle: homes that run out of hot water regularly, households with high simultaneous hot water demand (multiple showers running at once), and situations where the energy savings of tankless would be captured over a long ownership horizon.
Tankless Water Heaters — Worth It in the Right Situation
A gas tankless water heater from Rinnai, Navien, or Noritz provides hot water on demand without the standby losses of a tank unit. They last 20+ years versus 10–15 for tank units, take up less space, and reduce energy consumption by 8–34% depending on usage according to the US Department of Energy.
The honest installation considerations that drive up cost: most tankless units require a larger gas line than existing tank heaters — a 3/4″ or 1″ line versus the 1/2″ line serving most tanks. Upgrading the gas line costs $300–$800. Gas tankless units also require dedicated venting — the exhaust is high-temperature and must be routed through a dedicated stainless steel flue, not shared with other appliances. Venting installation costs $300–$700. These components explain why tankless installation costs $800–$1,500 versus $300–$600 for a tank replacement.
Electric tankless heaters avoid the venting and gas line issues but require substantial electrical capacity — a whole-house electric tankless typically draws 120–200 amps, often requiring an electrical panel upgrade that adds $1,500–$3,500 to project cost. Point-of-use electric tankless heaters (for a single fixture) are affordable at $150–$400 and work well for remote sinks or supplemental applications.
Heat Pump Water Heaters — The Smart Choice in 2026 With Incentives
Heat pump water heaters use the same technology as heat pump HVAC systems — moving heat from surrounding air into the water rather than generating heat directly. They’re 2–3x more efficient than standard electric resistance heaters and qualify for a $300 federal tax credit under the Inflation Reduction Act.
At $1,100–$2,700 installed versus $500–$1,100 for a standard electric tank, the premium is real. But factor in the $300 tax credit, lower operating costs of $200–$400 per year versus $400–$600 for standard electric, and the payback period on the premium is 2–4 years in most cases — genuinely excellent for a home appliance investment. Requirements: must be installed in a space with at least 1,000 cubic feet of air volume (a typical utility room works), and the surrounding air temperature must stay above 40°F year-round.
What Plumbers Actually Charge — And What Drives the Variation
Plumbing labor for water heater replacement ranges from $150 to $500 for the installation itself — but the final bill regularly exceeds this due to add-ons that should be discussed before work starts.
Permit Requirements
Water heater replacement requires a permit in most US jurisdictions — the work involves gas lines or electrical connections that require inspection. Permits cost $50–$150 and require a post-installation inspection. A plumber who suggests skipping the permit is saving themselves paperwork at your expense — an unpermitted water heater installation can void your homeowner’s insurance and complicate home sales. Always confirm permits are included in the quote.
Code Upgrades Often Required During Replacement
Many older water heater installations don’t meet current code requirements. A plumber replacing your unit may be required to bring the installation up to current code as a condition of permitting — adding cost that wasn’t anticipated. Common required upgrades:
- Seismic strapping — required in earthquake-prone areas, adds $50–$150
- Expansion tank — required in closed plumbing systems (most homes built after the 1990s), adds $150–$300
- Pressure relief valve upgrade — if existing valve doesn’t meet current code, adds $50–$100
- Drip pan and drain line — required in many jurisdictions for water heaters in living spaces, adds $100–$250
These aren’t upsells — they’re legitimate code requirements. But knowing they exist before getting quotes helps you understand why a quote for a “simple replacement” comes in higher than the unit price plus basic labor.
Emergency vs. Planned Replacement
This is the single biggest cost variable in water heater replacement. A planned replacement — scheduling a plumber for a convenient time when your water heater is aging but still functional — costs the standard rate. An emergency replacement — same-day service when your tank is actively leaking — adds $100–$300 in emergency call fees and eliminates your ability to compare quotes. If your water heater is over 10 years old and showing signs of age (rust-colored water, rumbling sounds, reduced hot water capacity), replace it proactively rather than waiting for failure. The $200–$300 you save by avoiding emergency rates is real money.
Signs Your Water Heater Needs Replacement vs. Repair
Not every water heater problem requires full replacement. Here’s how to assess what you’re dealing with:
Repair is usually sufficient for: a failed heating element in an electric unit ($150–$300), a thermocouple or thermostat failure in a gas unit ($100–$250), a leaking pressure relief valve ($50–$150), and sediment buildup causing reduced efficiency — often resolved by flushing the tank ($100–$200 professional, or DIY).
Replace when: the tank is actively leaking (tank corrosion cannot be repaired), the unit is over 12–15 years old and experiencing problems, repair costs exceed 50% of replacement cost, the unit is failing to maintain temperature consistently despite repairs, or you’re converting fuel types to take advantage of incentives.
A useful shortcut: if your water heater is over 10 years old and requires a repair that costs more than $300, replacement is almost always the better financial decision. You’re investing in a unit that’s already past its statistical midpoint and likely to require additional repairs within 2–3 years.
How Long Do Water Heaters Last?
Tank water heaters last 10–15 years on average. The anode rod — a sacrificial magnesium or aluminum rod that attracts corrosive elements and protects the tank — extends tank life significantly when replaced every 3–5 years ($20–$50 DIY). Most homeowners don’t know the anode rod exists and never replace it, which is why many tanks fail at 8–10 years rather than the 12–15 they’d achieve with proper maintenance.
Tankless water heaters last 20–25 years with annual descaling maintenance (required in hard water areas) costing $100–$200. Heat pump water heaters last 12–15 years, similar to tank units. The longest-lived option financially is often a quality gas tankless in a home that will be occupied long-term — the combination of 20+ year lifespan and energy savings creates the best 20-year total cost of ownership.
How to Save Money on Water Heater Replacement
- Replace before failure — emergency replacement costs 20–40% more. If your unit is over 10 years old and showing age, plan the replacement on your timeline, not the water heater’s.
- Buy the unit yourself from Home Depot, Lowe’s, or a plumbing supply house — plumber markup on units typically runs 20–40%. Supply the unit yourself and pay labor only to save $100–$300.
- Get 3 quotes — water heater installation quotes vary significantly. Specify the exact unit model when getting quotes so comparisons are meaningful.
- Consider a heat pump water heater if you have an electric system — the $300 federal tax credit plus lower operating costs often makes it cheaper over 5 years than a standard electric replacement.
- Check for utility rebates — many utilities offer $50–$500 rebates for high-efficiency water heater replacements. Check your utility’s website before purchasing.
Frequently Asked Questions About Water Heater Replacement Cost
How long does water heater replacement take?
A straightforward tank-for-tank replacement takes 2–3 hours for a licensed plumber. Switching from tank to tankless — requiring new venting and possibly a gas line upgrade — takes 4–8 hours. Heat pump installation takes 2–4 hours if no electrical upgrades are needed. Most plumbers can complete a standard replacement in a half-day service call.
What size water heater do I need?
Tank sizing: 30–40 gallons for 1–2 people, 40–50 gallons for 3–4 people, 50–80 gallons for 5+ people. For tankless, sizing is based on flow rate (gallons per minute) and temperature rise rather than tank capacity — a plumber or the manufacturer’s sizing guide can calculate your specific needs. Undersizing a tankless unit is the most common installation mistake and results in lukewarm water when multiple fixtures run simultaneously.
Is it worth upgrading to a tankless water heater?
For most homeowners doing a like-for-like replacement, the upgrade to tankless costs $500–$1,500 more after accounting for gas line and venting requirements. The annual energy savings of $100–$200 means a payback period of 5–10 years. If you’re staying in the home long-term and value endless hot water and reduced maintenance, tankless is worth it. If you’re replacing an emergency failure and may sell within 5 years, the standard tank is the more practical choice.
Can I install a water heater myself?
Electric water heater replacement is technically feasible for experienced DIYers — the work involves plumbing connections and electrical hookup, both manageable with proper knowledge. Gas water heater replacement involves gas line connections that require a licensed plumber in most jurisdictions, and is not recommended for DIY. The permit and inspection requirement for both types also typically necessitates a licensed plumber for compliance purposes. The labor savings ($200–$500) are real but the risk of improper installation — water damage from connection failures, gas leaks, or code violations that complicate insurance and home sales — argues for professional installation.
How do I know when my water heater is failing?
Early warning signs: rust-colored or metallic-tasting water (tank corrosion), rumbling or popping sounds (sediment buildup), water around the base of the unit (tank or connection leak), inconsistent hot water temperatures, and unit age over 10 years. A unit showing two or more of these signs is in end-of-life territory — plan replacement proactively rather than waiting for complete failure and an emergency service call.
Does water heater replacement require a permit?
Yes — in most US jurisdictions, water heater replacement requires a permit. The permit process covers the gas line or electrical connection and requires a post-installation inspection. Permits cost $50–$150 and should be included in your plumber’s quote. Unpermitted water heater installations can complicate home sales and insurance claims — always verify permits are included before work starts.
What’s the difference between a 40 and 50 gallon water heater?
A 40-gallon tank provides approximately 27–30 gallons of usable hot water (the first-hour rating) and suits 1–3 person households with normal usage patterns. A 50-gallon tank provides approximately 35–40 gallons of usable hot water and suits 3–5 person households. The cost difference is typically $50–$150 for the unit with identical installation labor. If you’re between sizes, go larger — the incremental cost is small and running out of hot water is a daily frustration.
How much does an emergency water heater replacement cost?
Emergency same-day water heater replacement typically costs $1,000–$2,500 for a standard gas tank unit — $200–$500 more than a planned replacement. Emergency fees, premium same-day service charges, and the inability to compare quotes all contribute to the premium. If your water heater is actively leaking and flooding, turn off the water supply valve above the unit and the gas valve (for gas units) immediately, then call plumbers — addressing the leak emergency removes the same-day pressure and allows at least a few hours to get 2–3 quotes. For context on other emergency plumbing situations, see our guide on sump pump installation cost — another system where proactive replacement prevents costly emergency service calls.
What brand of water heater should I buy?
For gas tank water heaters: Bradford White (plumber-only brand, excellent reliability), Rheem (widely available, good quality), and A.O. Smith (reliable, good warranty) are the top choices. Avoid the lowest-price store brands — the difference in quality becomes apparent at year 8–10. For tankless: Rinnai, Navien, and Noritz are the most reliable brands with the best service networks. For heat pump: Rheem ProTerra and A.O. Smith Voltex are well-regarded options with strong warranties. Brand matters less than installation quality — a quality unit installed incorrectly underperforms a mid-range unit installed well.



