Cost to Replace a Water Heater in 2026: By Type, Size, and Fuel
The cost to replace water heater depends on type and fuel source. Replacing a standard 40 to 50-gallon gas tank water heater costs $900 to $1,800 installed in 2026. An electric tank water heater runs $800 to $1,500 installed. A gas tankless water heater costs $1,500 to $3,500 installed. The cost to replace a water heater depends on the type (tank vs tankless), fuel source (gas, electric, propane), tank size, and whether the existing gas line, flue, or electrical circuit meets the new unit’s requirements.
Water heaters fail without much warning. The tank corrodes from the inside out over 8 to 12 years, and the first sign of failure is often a puddle on the utility room floor when the tank splits. Replacing a water heater on an emergency timeline is more expensive than planning ahead, and it limits your ability to shop for the best price or take advantage of rebate timing. Knowing your unit’s age (check the serial number; most manufacturers encode the year in the first two digits) and planning for replacement 1 to 2 years before expected failure saves both money and the disruption of an emergency replacement.
The water heater calculator estimates installed cost and long-term operating cost for your home size and fuel source.
Open the Water Heater Calculator →Water Heater Replacement Cost by Type in 2026
| Water heater type | Installed cost | Lifespan | Annual operating cost |
|---|---|---|---|
| Gas tank (40 gal, standard eff.) | $900 to $1,400 | 8 to 12 yrs | $350 to $500 |
| Gas tank (50 gal, standard eff.) | $950 to $1,600 | 8 to 12 yrs | $380 to $550 |
| Gas tank (40 gal, high eff. 0.67+ UEF) | $1,100 to $1,800 | 10 to 15 yrs | $300 to $420 |
| Electric tank (40 gal) | $800 to $1,200 | 8 to 12 yrs | $500 to $750 |
| Electric tank (50 gal) | $850 to $1,500 | 8 to 12 yrs | $550 to $800 |
| Gas tankless (whole house) | $1,500 to $3,500 | 20 to 25 yrs | $250 to $380 |
| Electric tankless (whole house) | $800 to $2,500 | 20+ yrs | $400 to $600 |
| Heat pump water heater (electric) | $1,200 to $3,000 | 10 to 15 yrs | $130 to $220 |
| Solar water heater (with electric backup) | $3,000 to $7,000 | 15 to 20 yrs | $80 to $180 |
Tank Size Selection Guide
| Household size | Recommended tank size | Minimum first-hour rating | Notes |
|---|---|---|---|
| 1 to 2 people | 30 to 40 gal | 40 to 55 gal/hr | 40 gal adequate for most |
| 2 to 3 people | 40 to 50 gal | 55 to 70 gal/hr | 50 gal if showers overlap |
| 3 to 4 people | 50 to 60 gal | 65 to 80 gal/hr | 60 gal for peak AM usage |
| 4 to 5 people | 60 to 80 gal | 80 to 90 gal/hr | Two units may be needed |
| 5+ people | 80 gal or tankless | 90+ gal/hr | Tankless eliminates size concern |
Signs Your Water Heater Needs Replacement
Age alone is not the only indicator: a well-maintained water heater with annual anode rod inspection can exceed its expected lifespan. However, replace when: the unit is more than 10 years old and showing any of the following symptoms; rust-colored hot water (internal corrosion); rumbling or popping noise during heating (sediment buildup on burner or elements); visible rust at the tank seams, connections, or pressure relief valve; the pressure relief valve is stuck open or leaking; water pooling around the base of the tank (the tank is leaking; replacement is required immediately). For the comparison between tankless and tank options before you decide, our tankless vs tank water heater guide covers the 20-year cost and comfort comparison. For the piping that connects to the new water heater, our repiping cost guide covers the full pipe replacement that is sometimes warranted when a water heater is replaced in a home with aging galvanized pipes.
Tax Credits and Rebates for Water Heater Replacement
The federal Energy Efficient Home Improvement Credit (Section 25C) provides a 30 percent tax credit up to $600 for qualifying gas water heaters with a UEF of 0.95 or higher, and up to $2,000 for qualifying heat pump water heaters under certain provisions. High-efficiency heat pump water heaters (HPWH) qualify for the full $2,000 credit plus additional utility rebates in many states. The Inflation Reduction Act’s High-Efficiency Electric Home Rebate Act (HEEHRA) also funds rebates for heat pump water heaters; availability varies by state and income. Check current qualifying products and credit amounts at the ENERGY STAR website and IRS.gov before purchasing.
Three Real Water Heater Replacement Projects
Example 1: Like-for-like gas tank replacement in Columbus, Ohio
A homeowner replacing a 12-year-old 50-gallon natural gas water heater that had developed a slow leak at the base (tank corrosion). Emergency replacement on a Tuesday. Local plumber: standard 50-gallon 0.65 UEF gas water heater from local supply house, installed same day. Water heater unit: $680. Labor (2 hours): $380. Haul-away of old unit: $45. Permit: $75. Total: $1,180. The homeowner noted afterward that the permit requirement (unknown to them before) added the $75 cost and a re-schedule for the gas inspection the following day. The permit inspection was complete in 15 minutes and required no changes to the installation.
Example 2: Heat pump water heater upgrade in Atlanta, Georgia
A homeowner replacing a 10-year-old 50-gallon electric resistance water heater with a heat pump water heater. Heat pump water heaters use ambient air heat rather than resistance elements, achieving 3 to 4 times the efficiency of standard electric tanks. Unit (50-gallon HPWH): $1,350. Labor (3 hours, including new 30-amp circuit for HPWH fan): $680. Permit: $95. Total installed: $2,125. Federal 25C tax credit (30% of cost): $637.50. Net cost after credit: $1,487.50. Annual energy savings vs old electric resistance: $480 (from $660/year to $180/year at Atlanta electricity rates). Payback on net cost at energy savings rate: 3.1 years. The homeowner also qualified for a $200 utility rebate for the HPWH installation, reducing net cost to $1,287.50 and payback to 2.7 years.
Example 3: Gas tankless water heater in Denver, Colorado
A homeowner with a 3-bedroom, 2-bath home and chronic hot water shortages (teenagers, back-to-back showers exhausting the 40-gallon tank) choosing a whole-house gas tankless. Gas tankless (199,000 BTU, rated for Denver’s 37-degree ground water): $1,180 unit. New gas line upgrade (existing line was undersized for the tankless demand; required 3/4-inch line vs existing 1/2-inch): $580. Stainless steel flue kit: $190. Labor (5 hours, licensed plumber): $750. Permit: $95. Total: $2,795. Hot water capacity: unlimited. Energy savings vs old 40-gallon tank: $85/year. Payback on the upgrade premium: the homeowner prioritized comfort (unlimited hot water) over pure financial payback.
The water heater calculator gives you installed cost and 10-year operating cost for tank, tankless, and heat pump options.
Calculate Water Heater Cost →Frequently Asked Questions About Water Heater Replacement Cost
How much does it cost to replace a water heater?
Replacing a standard 40 to 50-gallon gas water heater costs $900 to $1,800 installed in 2026. An electric tank costs $800 to $1,500 installed. A gas tankless water heater costs $1,500 to $3,500 installed due to higher equipment cost and more complex venting and gas line requirements. A heat pump water heater runs $1,200 to $3,000 installed but qualifies for significant federal tax credits and utility rebates that reduce net cost substantially.
How long does a water heater last?
Tank water heaters (gas or electric) last 8 to 12 years on average. High-efficiency tank models with better corrosion protection last 10 to 15 years. Tankless water heaters last 20 to 25 years because there is no tank to corrode; the main wear components are heat exchangers and burners, which are serviceable. Heat pump water heaters last 10 to 15 years. Annual anode rod inspection (a sacrificial metal rod that corrodes in place of the tank) and periodic sediment flushing extend tank water heater life at minimal cost.
What size water heater do I need?
A 40-gallon gas water heater is sufficient for 1 to 3 people with staggered shower schedules. A 50-gallon unit handles 2 to 4 people with some simultaneous use. Households with 4 or more people who frequently shower simultaneously benefit from a 60 to 80-gallon unit or a tankless water heater that provides unlimited hot water on demand. Check the First-Hour Rating (FHR) on the Energy Guide label: this tells you how many gallons the unit delivers in the first hour starting with a full hot tank, which is more predictive of real-world performance than tank size alone.
Is a tankless water heater worth the extra cost?
A gas tankless water heater costs $600 to $1,800 more than an equivalent tank unit installed. Annual energy savings from a gas tankless versus a standard gas tank run $80 to $150 for most households. Pure financial payback is 4 to 12 years, which may exceed the remaining lifespan of the tankless advantage. The non-financial benefits of tankless are significant for many households: unlimited hot water on demand (no running out), smaller physical footprint, and 20 to 25-year lifespan versus 8 to 12 for tank units. For a detailed long-term comparison, our tankless vs tank water heater guide covers the 20-year cost analysis.
Can I replace a water heater myself?
Electric water heater replacement is a potential DIY project for homeowners comfortable with plumbing connections and basic electrical work (connecting the 240V circuit to the new unit). Most jurisdictions require a permit for water heater replacement even if DIY; the permit requires an inspection of the connection and relief valve installation. Gas water heater replacement requires working with gas line connections; most jurisdictions require a licensed plumber for gas appliance connections, and the permit inspection verifies the gas connection and flue installation. DIY saves $300 to $600 in labor but adds responsibility for correct installation.
What is a heat pump water heater?
A heat pump water heater (HPWH) uses a small compressor to move heat from ambient air into the water, much like an air conditioner in reverse. It achieves 3 to 4 times the efficiency of electric resistance heating, producing equivalent hot water at one-quarter to one-third the electricity cost. HPWHs require an installation space with at least 700 to 1,000 cubic feet of air volume (a utility room or basement) and produce slightly cooled, dehumidified air as a byproduct (beneficial in summer, slightly detrimental in winter). They are quiet (similar to a window AC unit) and are the most energy-efficient electric water heating option available.
What are the federal tax credits for water heater replacement?
The federal Energy Efficient Home Improvement Credit (Section 25C) provides: 30% of cost up to $600 for qualifying gas water heaters (UEF 0.95 or higher); 30% of cost up to $2,000 for qualifying heat pump water heaters. These credits apply to primary residences only. Additional state utility rebates may reduce cost further. Check the current ENERGY STAR qualified product list for specific models that qualify and verify current credit amounts at IRS.gov, as program details change annually.
How do I know if my water heater is gas or electric?
A gas water heater has a metal flue pipe exiting the top of the unit through the ceiling or wall (the exhaust vent), and a gas supply line (typically a flexible corrugated connector) at the bottom. It has a pilot light assembly or electronic ignition at the base and a gas valve control. An electric water heater has no flue pipe; it connects to the circuit breaker panel via a 240V electrical cable entering from the top or side. Electric units have two electrical access panels on the side where the heating elements and thermostats are located.
Related Calculators and Guides
For water heater efficiency standards and federal tax credit qualifying products, the ENERGY STAR Water Heaters program maintains the current qualified product list. The US Department of Energy Water Heating guide covers efficiency ratings (UEF), sizing guidance, and federal rebate information for all water heater types.