According to Angi cost data, homeowners in the US typically pay $600 to $1,800 installed for a standard storage-tank water heater and $1,500 to $3,500 for a tankless (on-demand) unit. Heat-pump hybrid models run $1,200 to $3,500 installed. Final cost depends on fuel type, capacity, venting requirements, and whether code-required upgrades are needed. The sections below break down each cost driver.
Water Heater Types and Their Installed Cost Ranges
The table below summarizes typical installed costs by type, based on Angi and HomeAdvisor cost data compiled from contractor invoices across US markets. Regional labor rates, brand selection, and permit fees will move your number up or down.
| Water Heater Type | Typical Installed Cost Range | Estimated Lifespan | Notes |
|---|---|---|---|
| Storage tank -- gas | $700 -- $1,800 | 8 -- 12 years | Most common type; fastest installation |
| Storage tank -- electric | $600 -- $1,500 | 10 -- 15 years | Lower unit cost; higher operating cost in most markets |
| Tankless (on-demand) -- gas | $1,800 -- $3,500 | 20+ years | May require gas line upgrade and new venting |
| Tankless (on-demand) -- electric | $1,500 -- $3,000 | 20+ years | Often needs electrical panel upgrade |
| Heat-pump / hybrid electric | $1,200 -- $3,500 | 10 -- 15 years | Highest efficiency; needs ~700 sq ft of ambient space |
| Solar (with backup tank) | $3,000 -- $6,000+ | 15 -- 20 years | High upfront; best in sunny climates with gas backup |
Ranges represent typical installed cost (unit + labor + basic materials) in most US markets. Costs do not include code-upgrade work such as new venting, gas line extension, or electrical panel upgrades, which can add $200 to $1,500 or more.
What Drives the Price: Capacity, Fuel, and Complexity
Capacity -- Gallons vs. GPM
Storage-tank water heaters are sized in gallons. A 40-gallon tank is standard for households of one to three people; a 50-gallon tank handles three to five people. Moving from a 40-gallon to a 50-gallon unit typically adds $50 to $150 to the unit price.
Tankless heaters are rated in gallons per minute (GPM). Most residential gas tankless units deliver 5 to 10 GPM. Undersizing a tankless heater for a home with simultaneous demand -- showers, dishwasher, washing machine -- is a common and expensive mistake. Your contractor should calculate peak simultaneous demand before recommending a unit size.
Fuel Type: Gas vs. Electric
Gas water heaters generally have lower operating costs because natural gas is less expensive per British thermal unit (BTU) than electricity in most US markets, according to the U.S. Energy Information Administration. Electric storage tanks have a lower purchase price but often cost more to run over time.
However, gas work comes with added installation costs. Connecting to an existing gas line is straightforward; running a new gas line or upgrading an undersized line can add $200 to $700 or more, according to Angi data. Electric tankless units frequently require upgrading the electrical panel or adding a dedicated 240-volt circuit, which can add $500 to $1,500 depending on panel capacity.
Installation Complexity and Code-Required Upgrades
A straight replacement -- same fuel type, same location, same capacity -- is the least expensive scenario. Switching fuel type or going from tank to tankless introduces complexity that raises the price considerably. Common code-required upgrades include:
- Expansion tank: Many jurisdictions now require a thermal expansion tank on closed water systems. This small addition runs $50 to $150 in parts and labor.
- Venting: Tankless gas heaters often need a new direct-vent or power-vent flue. Venting work can add $300 to $800 depending on run length and material.
- Gas line work: Upgrading line size for a high-BTU tankless unit typically adds $200 to $700.
- Electrical upgrades: Tankless electric units can require a 200-amp panel upgrade if your current panel is at capacity -- a $1,500 to $3,000 project on its own.
- Seismic strapping: Required in earthquake-prone states such as California; typically a small add-on cost of $25 to $75.
Licensed Pros and Permits Are Required
Gas line connections and modifications to your electrical panel are not DIY projects. In every US jurisdiction, this work requires a licensed plumber and/or licensed electrician, along with the appropriate permits. Unpermitted work can block a future home sale, void your homeowner's insurance for related damage, and create serious safety hazards. Ask your contractor to pull all required permits before work begins. Read Licensed vs Unlicensed Contractor: The Real Risks before hiring.
Labor Costs for Water Heater Installation
Labor for a standard storage-tank replacement by a licensed plumber typically runs $150 to $400 for a straightforward swap, according to Angi cost data. Tankless installations take longer and involve more complexity; labor alone can run $300 to $800 or more for gas tankless, or higher if venting or electrical work is included.
Factors that increase labor costs include:
- Difficult access (utility closets, attics, crawlspaces)
- Haul-away and disposal of the old unit (typically $50 to $100 extra)
- Weekend or emergency call-out rates (often 1.5x to 2x standard rates)
- Permit processing time that requires a second visit for inspection
Getting at least three written quotes from licensed, insured plumbers is the standard approach. Learn how to get accurate contractor quotes before you call anyone.
Get Itemized Quotes and Compare Line by Line
Ask every plumber to quote unit cost, labor, permit fees, haul-away, and any code-upgrade work as separate line items. A quote that bundles everything into one number makes it impossible to compare fairly or spot an inflated markup. Three itemized quotes give you real negotiating information.
Lifespan and Energy Efficiency by Type
Lifespan
The U.S. Department of Energy estimates that conventional storage-tank water heaters typically last 10 to 15 years, with electric models often reaching the higher end of that range. Tankless water heaters tend to last 20 or more years with proper maintenance, including annual descaling in hard-water areas. Heat-pump (hybrid) units generally fall in the 10 to 15-year range, similar to storage tanks.
Lifespan matters for cost calculations. A tankless unit that costs $2,500 installed and lasts 20 years may cost less per year of service than a $900 tank that lasts 10 years -- before accounting for energy costs or the hassle of a second replacement.
Energy Efficiency and the Uniform Energy Factor (UEF)
Water heaters are rated by their Uniform Energy Factor (UEF), a standardized measure set by the U.S. Department of Energy. A higher UEF means less energy wasted. Conventional gas storage tanks typically carry a UEF of 0.58 to 0.70. Electric storage tanks run 0.90 to 0.95. Gas tankless units achieve UEFs of 0.87 to 0.96. Heat-pump water heaters lead the category at UEFs of 2.0 to 4.0, meaning they produce two to four units of heat energy for every unit of electrical energy consumed, according to ENERGY STAR data.
The DOE estimates that heat-pump water heaters can save a typical household $300 to $550 per year on water-heating costs compared to a standard electric resistance tank. Over a 10-year lifespan, that is $3,000 to $5,500 in potential savings -- enough to offset a significant portion of the higher upfront cost.
Federal Tax Credits and State Rebates
Federal Tax Credit for Heat-Pump Water Heaters -- Act Each Year
Under Internal Revenue Code Section 25C, as expanded by the Inflation Reduction Act of 2022, qualifying heat-pump water heaters may be eligible for a federal tax credit of 30 percent of the purchase and installation cost, capped at $600 per year. The credit applies to the tax year the installation is completed. ENERGY STAR maintains a list of qualifying models. Because tax rules change and eligibility depends on your personal tax situation, confirm details with a qualified tax professional before purchasing. Many states and utilities also offer rebates on top of the federal credit -- check the ENERGY STAR Rebate Finder or your utility company's website for current programs in your area.
State-level incentives vary considerably. Some states offer sales-tax exemptions on qualifying energy-efficient water heaters; others offer cash rebates through utility programs. These rebates can range from $50 to $750 depending on the program and the unit's efficiency rating. Stack federal and state incentives carefully -- some programs require you to apply before installation, not after.
Repair vs. Replace: How to Decide
Water heater repair costs typically run $150 to $600 for common issues such as a failed heating element, a bad thermostat, or a faulty anode rod, according to HomeAdvisor cost data. Replacement makes more sense when:
- The unit is more than 10 years old (tank) or more than 15 years old (tankless)
- The tank shows visible rust or corrosion, especially around the base or on fittings
- You are seeing sediment or discolored water that flushing does not resolve
- The repair estimate exceeds half the cost of a replacement unit
- You are experiencing repeated failures within a short period
A leaking tank is almost always a replacement job, not a repair. Once a tank develops a structural crack or a corroded seam, patching is not a reliable fix.
For guidance on avoiding overpriced or unnecessary repair recommendations, see how to avoid home improvement scams -- the "repair upsell" is a documented pattern in the home-services industry.
Signs You Need Replacement, Not Repair
Replace rather than repair if your tank water heater is over 10 years old and showing any of these: rust-colored water, rumbling or popping during heating cycles, visible tank corrosion, or a leak at the base of the tank. These are signs of internal tank failure that repair cannot fix.
How to Hire the Right Contractor
Water heater work crosses trade lines. A licensed plumber handles the water connections and venting; a licensed electrician handles panel and circuit work; a licensed gas fitter (in states that separate this license from plumbing) handles the gas line. In practice, many licensed plumbers hold all required credentials for a standard installation -- but confirm this before signing anything.
Minimum standards before you hire:
- State plumbing license -- verify through your state's contractor licensing board, not just the contractor's word
- General liability insurance -- request a certificate of insurance naming you as the additional insured
- Workers' compensation coverage -- protects you if a worker is injured on your property
- Written scope of work -- unit model, capacity, labor, permit fees, and haul-away all spelled out before any money changes hands
A contractor who resists pulling permits, asks for a large cash payment upfront, or cannot produce a license number on request is a red flag. Review how to get accurate contractor quotes and licensed vs unlicensed contractor risks before signing.
Permits Are Not Optional
Every US jurisdiction with a plumbing code requires a permit for water heater replacement. Your contractor should pull the permit -- not you. If a contractor suggests skipping the permit to "save you money," that is a warning sign, not a favor. Unpermitted installations can delay or derail a home sale and may void related homeowner's insurance claims.
Frequently asked questions
How much does it cost to replace a water heater?
According to Angi cost data, homeowners typically pay $600 to $1,800 installed for a standard storage-tank water heater and $1,500 to $3,500 for a tankless unit. Heat-pump (hybrid) models run $1,200 to $3,500 installed. Region, fuel type, and code-required upgrades all affect the final number.
Is tankless really more expensive to operate?
No -- tankless units are generally less expensive to operate. The U.S. Department of Energy estimates that on-demand water heaters can be 24 to 34 percent more energy-efficient than standard storage tanks for homes using 41 gallons or less of hot water per day, which lowers monthly energy bills over the unit's lifetime.
When should I repair instead of replace my water heater?
Repair is usually worth considering if the unit is fewer than seven years old, the repair cost is less than half the price of a new unit, and the problem is isolated -- a failed thermostat or heating element, not a cracked tank. Once a tank-style heater crosses the ten-year mark, replacement is often the more cost-effective path.
Does replacing a water heater require a permit?
In most US jurisdictions, yes. Water heater installation typically requires a plumbing permit and, if gas line or electrical work is involved, additional trade permits. Working without permits can complicate a home sale and may void your homeowner's insurance on related damage. Ask your contractor to pull permits before work begins.
What is the federal tax credit for a heat-pump water heater?
Under Section 25C of the federal tax code as amended by the Inflation Reduction Act, qualifying heat-pump water heaters may be eligible for a tax credit of up to 30 percent of the purchase and installation cost, capped at $600 per year for water heaters. Confirm current eligibility with a tax professional and check ENERGY STAR for qualifying models.