How Much Does Water Heater Installation Cost?
Updated 28 March 2026
$800 to $2,500 for a standard tank. Tankless: $2,500 to $5,000. Installation costs include permitting, code upgrades, and any gas line or electrical work required.
Quick answer
Standard tank replacement (same location, same fuel): $800 to $2,500. Tankless installation: $2,500 to $5,000. Add 20 to 50% for emergency same-day service. Prices climb when location changes, fuel type changes, or code upgrades are required.
Installation Costs by Type
| Type | Unit Cost | Installation | Total |
|---|---|---|---|
| Tank, gas (40 to 50 gal) | $400 to $1,000 | $300 to $600 | $700 to $1,600 |
| Tank, electric (40 to 50 gal) | $300 to $800 | $200 to $500 | $500 to $1,300 |
| Tankless, gas | $1,000 to $2,500 | $1,000 to $2,500 | $2,500 to $5,000 |
| Tankless, electric | $500 to $1,500 | $500 to $1,000 | $1,000 to $2,500 |
| Heat pump water heater | $1,200 to $3,000 | $500 to $1,500 | $1,700 to $4,500 |
What Installation Includes (and What Costs Extra)
A standard installation covers: disconnecting and hauling the old unit, installing the new one in the same location, reconnecting supply lines, and testing. These items cost extra:
| Add-On | Typical Cost | Required When |
|---|---|---|
| Permit and inspection | $50 to $200 | Required in most jurisdictions. Plumber pulls it for you. |
| Expansion tank | $50 to $100 | Now required by code in closed plumbing systems. |
| New gas line (if no existing) | $200 to $500 | Switching from electric to gas, or extending an existing line. |
| Electrical upgrade | $200 to $500 | Switching from gas to electric, or adding a 240V circuit. |
| Location change (relocation) | $500 to $1,500 | Moving from closet to garage, basement to attic, etc. |
| Venting (tankless gas) | $300 to $600 | Tankless units require direct vent to the exterior. |
| Emergency same-day fee | +20 to 50% | When your heater fails and you need it done today. |
What Makes Installation Expensive
Location changes
Moving a water heater from its original spot adds $500 to $1,500. New water, gas, and drain lines must be run. Moving from a garage to an attic is especially expensive because of the height and access challenges.
Fuel type conversion
Switching from gas to electric (or vice versa) means running new lines and possibly upgrading your electrical panel. Budget an extra $200 to $500 for the line work alone, more if panel upgrades are needed.
Building code upgrades
Codes change. An expansion tank may not have been required when your old unit was installed, but it is now. Plumbers are required to bring the installation up to current code, which adds cost but protects you.
Emergency timing
A failed water heater on a Saturday evening means weekend or after-hours rates. Emergency service typically costs 20 to 50% more than a standard scheduled job. If you can shower at a gym for 24 hours, scheduling saves money.
Frequently Asked Questions
How much does water heater installation cost?
$800 to $2,500 for a standard 40 to 50 gallon tank in the same location with the same fuel type. Tankless units cost $2,500 to $5,000 installed. Add cost for permits ($50 to $200), expansion tank ($50 to $100), and any gas or electrical upgrades needed.
What makes water heater installation expensive?
Location changes are the biggest driver, adding $500 to $1,500. Switching fuel types adds $200 to $500. Building code upgrades like expansion tanks and new venting are often required when replacing older units. Emergency same-day installation adds another 20 to 50% on top.
Do I need a permit to replace a water heater?
Most jurisdictions require a permit for water heater replacement. Permits cost $50 to $200 and trigger an inspection. A licensed plumber will pull the permit as part of the job. Skipping permits can cause problems when you sell your home.
Is same-day water heater installation more expensive?
Yes, by 20 to 50%. If your water heater fails completely, expect to pay a $100 to $200 emergency service fee on top of normal charges. If you can wait 24 to 48 hours, a scheduled appointment will cost significantly less.
Water Heater Cost Calculator
Estimate your total installation cost by type, size, and extras.
Estimated Total
$1,000 - $2,300
Expected Lifespan
8-12 years
Cost Per Year of Use
$206/yr