How Much Does Water Heater Installation Cost?
The US Department of Energy's average cost to install a water heater, unit plus installation, is $902 for a 20 to 55 gallon electric tank, $1,432 for a gas tank and $2,087 for a whole-house gas tankless unit (89 FR 37778, 6 May 2024, 2022 dollars; 89 FR 105188, 26 Dec 2024, 2023 dollars).
Page updated 30 November 2026. Home Depot tank prices read 20 Nov 2026; tankless prices read 30 Nov 2026.
Installed Cost by Type
DOE's national average installed cost per product class, from its federal efficiency rules, beside one named unit's regular Home Depot price (store context Ellsworth, ME 04605). The averages cover all installations and are not a quote; the unit price is the tank or tankless unit only.
| Type | DOE average installed | Example unit at Home Depot | Unit only |
|---|---|---|---|
| Small electric tank, 20 to 35 gal | $780 | Rheem Performance 30 gal medium electric, read 20 Nov 2026 | $459 |
| Electric tank, 20 to 55 gal | $902 | Rheem Performance 40 gal medium electric, read 20 Nov 2026 | $469 |
| Gas tank, 20 to 55 gal | $1,432 | Rheem Performance 40 gal tall natural gas, 36,000 BTU, read 20 Nov 2026 | $649 |
| Heat pump tank, 20 to 55 gal | $1,855 | Rheem ProTerra 50 gal heat pump, read 20 Nov 2026 | $1,950 |
| Electric tank over 55 gal (heat pump) | $2,019 | Rheem ProTerra 80 gal heat pump, read 20 Nov 2026 | $2,798 |
| Gas tankless, non-condensing | $2,087 | Rheem Performance Plus 9.5 GPM non-condensing indoor, read 30 Nov 2026 | $1,149 |
| Gas tankless, condensing | $2,318 | Rheem Performance Platinum 9.5 GPM condensing indoor/outdoor, read 30 Nov 2026 | $1,299 |
Tank rows: DOE consumer water heater final rule (89 FR 37778, 6 May 2024), 2022 dollars. The heat pump rows are the efficiency level electric tanks must meet from 6 May 2029; over 55 gallons that already applies. Tankless rows: DOE gas-fired instantaneous water heater final rule (89 FR 105188, 26 Dec 2024), 2023 dollars; Congress voided that rule's standards (Public Law 119-6), but DOE's cost analysis is still its published estimate. DOE publishes no installed average for tankless electric units: see the tankless electric page.
Switching from a gas tank to tankless?
DOE puts the average installed cost of a gas tankless replacing a gas tank at $2,282, against $1,376 for another gas tank: $906 more. The gas tank to tankless conversion cost page has a payback calculator.
What Installation Includes (and What Costs Extra)
A like-for-like replacement covers disconnecting and removing the old unit, setting the new one in the same place, reconnecting water and fuel or power, and testing. These items are extra when your home needs them. No one publishes a national price for each, so ask for every one to be itemised on the quote.
| Item | Needed when |
|---|---|
| Permit and inspection | Required in most jurisdictions. The plumber normally pulls it. |
| Expansion tank | Where a check valve or backflow preventer makes the water supply a closed system. |
| Gas line work | Switching from electric to gas, or a tankless unit that needs a larger line. |
| Electrical circuit | Switching from gas to electric, or a heat pump or tankless electric unit that needs a new circuit. |
| New vent | Tankless gas units and power-vent tanks cannot always reuse the old flue. |
| Relocation | Moving the heater means new water, fuel or power, and drain runs. |
Frequently Asked Questions
How much does water heater installation cost?
The US Department of Energy (DOE) puts the average total installed cost, unit plus installation, at $902 for a 20 to 55 gallon electric tank and $1,432 for a gas tank (89 FR 37778, 6 May 2024, 2022 dollars), and $2,087 for a whole-house gas tankless unit (89 FR 105188, 26 Dec 2024, 2023 dollars). The tank alone: Home Depot listed a Rheem Performance 40 gallon electric at $469 and the 40 gallon gas model at $649 on 20 Nov 2026. A written quote for your home is the only exact figure.
What makes water heater installation cost more?
Anything beyond a like-for-like swap: moving the heater, changing fuel (a new gas line or a 240V circuit), switching to tankless (gas line sizing, a new vent, a condensate drain and an outlet), and code items your old installation lacked, such as an expansion tank on a closed system or seismic straps in California. Ask for each to be itemised on the quote.
Do I need a permit to replace a water heater?
In most US jurisdictions, yes: replacing a water heater is plumbing work (and fuel-gas work for a gas unit) that needs a permit and a final inspection. The inspector typically checks the temperature and pressure relief valve and its discharge pipe, venting, gas connections and, where required, the expansion tank and seismic straps. A licensed plumber normally pulls the permit as part of the job.
Does switching from a gas tank to tankless cost more?
Yes. DOE puts the average installed cost of a gas tankless replacing a gas tank at $2,282, against $1,376 for another gas tank, about $906 more (89 FR 105188, 26 Dec 2024).