Water Heater Installation Cost (2026): Tank, Gas, Electric & 50-Gallon
A new water heater costs $900–$2,500 installed for a standard 40–50 gallon tank in 2026. See prices by fuel and type, plus what code upgrades add.
Water heater installation: match your situation to the price
| If this describes you | Choose | Typical cost | Why |
|---|---|---|---|
| Same size, same fuel, same spot | Like-for-like swap | $900–$1,800 | The unit, labor, hauling and a permit. Nothing new is built, so nothing new has to be inspected beyond the install itself. |
| Switching from electric to gas | Add venting and a gas line | $1,400–$3,000 | A gas unit needs a flue with correct rise, clearance and termination, plus a gas line sized for the burner. This is the most common 'surprise' upgrade. |
| Switching from gas to electric | Add a 240V circuit | $1,300–$2,800 | A dedicated circuit from the panel. If the panel is full, add $1,000–$2,500 for a service upgrade — check the panel before agreeing to the quote. |
| Going from tank to tankless | Price the tankless job separately | $2,100–$5,600 | Gas line upsizing, stainless venting and a condensate drain are all new. The higher install cost is usually recovered over 10–15 years, not 2. |
| The old unit is in a closet or attic | Expect an access surcharge | +$100–$400 | Removal and install both take longer with no clear path. Ask whether the quote assumed a garage or basement. |
| The panel has no spare slot | Budget a service upgrade | +$1,000–$2,500 | Only applies to electric. The electrician will not install a circuit on a full panel, and this line is often discovered on the day. |
| The tank is leaking and the floor is wet | Emergency rate, same day | +$100–$300 | A tank that is leaking from the shell cannot be repaired. Shut the supply off at the valve and the gas at the appliance, then book — the emergency premium is real but not unlimited. |
| The unit is over 10 years old and leaking | Replace, do not repair | $900–$1,800 | A tank lasts 8–12 years. Once the shell leaks, the repair is a new tank, so 'repair' and 'replace' are the same job at that point. |
The range on this page is wide because 'installation' covers four different jobs. Find the row that describes your case before comparing quotes — a $900 quote and a $3,000 quote are often for different work.
Typical cost ranges
| Item | Low | High | Notes |
|---|---|---|---|
| 40-gallon tank, like-for-like swap | $900 | $1,500 | The cheapest real job: same size, same fuel, same location. Most of the price is labor and hauling, not equipment — a 40-gallon gas tank is often $550–$900 of the total. |
| 50-gallon tank, like-for-like swap | $1,000 | $1,800 | The most common replacement size in U.S. homes. Costs $100–$300 more than a 40-gallon for the unit, and the install labor is nearly identical because the connections are the same. |
| Gas water heater installation (new venting) | $1,400 | $3,000 | Atmospheric-vent units need a metal flue with proper rise and clearance; power-vent and direct-vent units need a side-wall termination. If the old unit was electric, the whole vent path is new work, which is where the upper half of this range comes from. |
| Electric water heater installation (new circuit) | $1,300 | $2,800 | A standard electric tank needs a dedicated 240V circuit, typically 30A. If the panel has a spare slot the job is straightforward; if it does not, a panel upgrade adds $1,000–$2,500 on its own. |
| Tankless water heater installation | $2,100 | $5,600 | Priced fully on the tankless page, because the cost structure is different: gas line upsizing, stainless venting and a condensing drain are all required, and none of them exist on a tank install. |
| Heat pump water heater installation | $2,000 | $4,600 | Needs a 240V circuit plus 700–1,000 cubic feet of air volume around the unit for the heat pump to work. A closet that fits a tank will not necessarily fit one of these. |
| Permit | $50 | $300 | Most jurisdictions require a permit for a water heater replacement. Skipping it is the item most likely to surface at resale, and an unpermitted install can void a homeowner insurance claim after a leak. |
| Old unit haul-away and disposal | $0 | $150 | Usually folded into the labor line. Ask before booking — a basement or attic removal with no direct path adds labor time and occasionally a second person. |
| Expansion tank and code upgrades | $100 | $400 | Many jurisdictions now require a thermal expansion tank on a closed system, plus a drip pan and a discharge pipe routed to a drain. These are the items that surprise homeowners on the invoice. |
| Pan, drain line and shutoff valve | $75 | $250 | Frequently required, rarely quoted upfront. A pan under the unit and a drain line to a safe discharge point are cheap at install time and expensive to retrofit after water damage. |
| Relocation to a new location | $400 | $1,500 | Moving the unit means new supply and distribution piping, new venting or wiring, and often a wall or closet modification. Only worth it when the current location is the reason for a failure. |
Ranges are typical U.S. market estimates for 2026 and vary by region, home, and contractor. Always confirm a written quote before work begins.
- Method
- Cross-checked across published national cost guides
- Last reviewed
- November 10, 2026
- Not a quote
- Local prices depend on access, permits and installer
Water heater installation cost runs $900–$2,500 for a standard 40–50 gallon tank in 2026, with a national average near $1,600. The number is wide because “installation” describes four different jobs, and the difference between them is not the tank — it is whether anything new has to be built around it.
A like-for-like swap, where the same size and fuel go back into the same spot, is $900–$1,800. The moment the fuel changes, the unit moves, or the tank becomes tankless, venting, gas or electrical work is added and the job lands at $1,400–$5,600.
Most homeowners discover this after the quote arrives. The table above is ordered so you can find your case before you call anyone.
What drives water heater installation cost
Three things move the number, and the tank is the smallest of them.
| Variable | Effect on price | Why |
|---|---|---|
| Same fuel vs fuel switch | +$400–$1,500 | New flue or new circuit |
| Same location vs relocation | +$400–$1,500 | New piping, vent or wiring |
| Tank vs tankless | +$1,200–$3,800 | Gas line, stainless vent, condensate |
| Panel capacity (electric) | +$1,000–$2,500 | Service upgrade if full |
| Access to the unit | +$100–$400 | Basement or attic with no clear path |
| Efficiency tier | +$300–$1,200 | Heat pump vs standard tank |
A like-for-like 40-gallon gas swap spends roughly $550–$900 on the unit and the rest on labor, hauling, permit and code items. Two quotes that differ by $500 for that job are usually quoting different things, not overcharging — one may include the expansion tank and drip pan, the other may not.
Water heater installation cost by fuel and size
Gas water heater installation
A gas install needs a flue, and that is where new work appears. An atmospheric-vent unit needs a metal flue with correct rise, clearance from combustibles, and a termination above the roofline. A power-vent or direct-vent unit can terminate through a side wall, which is cheaper when the roof path is obstructed.
| Gas install case | Installed range |
|---|---|
| Swap, existing flue | $900–$1,800 |
| New vent run, same location | $1,400–$3,000 |
| Switch from electric (new gas line + vent) | $2,000–$3,600 |
The upper figures are not markup — they are a second trade. A gas line sized for a 40,000 BTU burner may not exist where an electric unit was, and running one is pipefitting plus an inspection.
Electric water heater installation
An electric tank needs a dedicated 240V circuit, usually 30A. If the panel has a spare slot the electrical work is a few hundred dollars; if it does not, the panel upgrade becomes the largest line on the invoice.
| Electric install case | Installed range |
|---|---|
| Swap, circuit exists | $900–$1,600 |
| New 240V circuit, spare panel slot | $1,300–$2,200 |
| New circuit + panel upgrade | $2,300–$4,300 |
Ask the electrician to confirm panel capacity before the quote is final. This line is commonly discovered on install day, which is the worst time to learn about it.
50-gallon installation
Fifty gallons is the most common replacement size in U.S. homes, and it costs $100–$300 more than a 40-gallon for the same job. The connections are identical, the labor does not change, and the only real difference is the price of the tank.
| Size | Installed range |
|---|---|
| 40 gallon | $900–$1,500 |
| 50 gallon | $1,000–$1,800 |
| 80 gallon | $1,600–$2,800 |
An 80-gallon unit is usually a commercial or large-household choice, and it often needs a larger circuit or gas line, which is why the jump from 50 to 80 is much bigger than 40 to 50.
Tankless and heat pump
Both are different jobs rather than variations on the same one, which is why they have their own pages:
- Tankless water heater installation cost covers the gas line upsizing, stainless venting and condensate drain that a conversion requires.
- Water heater replacement cost covers what a same-type replacement runs when you are choosing between a tank, tankless and heat pump rather than between install and repair.
- Water heater flush cost covers the annual maintenance that gets a tank to its full 8–12 year life.
What a water heater installation quote leaves out
Four items appear on the invoice more often than homeowners expect, and asking about them before booking is how a quote stays honest.
| Item | Cost | When it applies |
|---|---|---|
| Thermal expansion tank | $100–$400 | Closed system — most municipal water connections since 2010 |
| Drip pan and drain line | $75–$250 | Unit indoors, especially above a living space |
| New shutoff valve | $50–$150 | The existing valve does not hold |
| Permit | $50–$300 | Most jurisdictions require one |
None of these is optional in the jurisdictions that require them, and all of them are cheaper at install time than after a failure. A pan and drain line retrofitted after water damage costs the same as installing them plus the remediation.
Getting an accurate quote
The gap between quotes for “the same job” is usually a scope gap. Four questions close it.
Ask what the price includes, itemised. Equipment, labor, permit, haul-away and code items should be separate lines. A single number hides which of the four expensive variables it covers.
Ask whether the quote assumes the existing vent or circuit is reusable. This is the single largest swing on the invoice, and it is a fact the contractor can check before the day.
Ask whether a permit is included. A quote without one is $50–$300 cheaper and leaves the work unpermitted, which is a resale and insurance problem rather than a savings.
Ask what happens if the old unit does not come out cleanly. If you are buying a standard replacement, ensure the contractor removes and disposes of the old unit. It can add $100–$300 to haul away a tank with scale or a water leak.
When to repair instead of replace
A tank water heater lasts 8–12 years. Inside that window, a failed heating element, thermostat or thermocouple is a repair at $100–$350 and the unit has years left. Outside it, the arithmetic changes.
| Situation | Action | Cost |
|---|---|---|
| Element or thermostat failed, tank under 8 years | Repair | $100–$350 |
| Pilot or igniter failed, tank under 8 years | Repair | $100–$300 |
| Tank leaking from the shell | Replace | $900–$1,800 |
| Tank 10+ years, second repair in two years | Replace | $900–$1,800 |
| Sediment, but no leak | Flush, then decide | $100–$250 |
A leaking tank cannot be repaired — the shell has failed, and no amount of parts restores it. Gas water heater repair cost and electric water heater repair cost price the component-level jobs for the cases above.
When to call a licensed plumber
The work that needs a licence is the work that fails dangerously, and it is not the tank.
Call a licensed plumber or electrician for:
- Any gas connection or flue work. A flue with insufficient rise or wrong termination sends carbon monoxide into the house. This is a life-safety item, not a quality one.
- A new 240V circuit or panel work. A miswired 240V circuit is a fire risk, and a panel upgrade is electrical work by definition.
- A relocation. Moving a unit means new supply piping, drainage and venting, and almost always a wall modification.
- Anything under a permit you do not intend to pull. If the jurisdiction requires a permit, the inspection is the quality check.
Reasonable to discuss with a homeowner doing their own work:
- A like-for-like swap of an existing electric tank, where the circuit and location already exist.
- Shutting off the supply and draining the old unit before the plumber arrives.
- Clearing the path and checking that the new unit’s dimensions fit the same footprint.
Local codes govern what a homeowner may do in your jurisdiction, and they vary more on water heaters than on most appliances.
Recommended equipment
How we arrived at these figures
Installed prices are 2026 U.S. figures cross-checked against published contractor cost ranges and stated as the intersection of those ranges rather than the widest one, so no figure rests on a single source. Equipment prices reflect current retail for mid-range 40–50 gallon tanks. Code items (expansion tank, pan, drain line) vary by jurisdiction; the ranges given are the ones that appear consistently across published guides. Lifespan figures follow the U.S. Department of Energy's tank vs tankless guidance.
Water heater installation is priced differently from most home repairs because the equipment is a minority of the bill. On a like-for-like swap, a 40-gallon gas tank costs $550–$900 and the rest is labor, disposal and code items — which is why two quotes for the same job can differ by $500 without either being unreasonable. The variable that moves the price most is not the tank, it is whether anything new has to be built: a vent run, a circuit, a gas line, or a path for the old unit to leave the building.
- These are ranges, not quotes. Real prices vary by region, season, property condition and access. Always get a written quote before committing to work.
- We are independent.
Some links on this page are affiliate links, marked
rel="sponsored". They do not change what we recommend, and we recommend against buying in some situations. - Where we are unsure, we say so. If a figure rests on a small sample or a single source, we say that rather than rounding it into false precision.
Frequently asked questions
How much does it cost to install a water heater?
A standard 40–50 gallon tank water heater costs $900–$2,500 installed in 2026, with a national average near $1,600. A like-for-like swap in an existing location is the low end at $900–$1,600. Switching fuel type, moving the unit, or converting to tankless pushes the job to $1,400–$5,600 because those add venting, electrical or gas work.
How much does a 50-gallon water heater cost installed?
A 50-gallon tank runs $1,000–$1,800 installed for a like-for-like swap. The unit itself is $600–$1,100 depending on fuel and efficiency rating; the rest is labor, haul-away, a permit and code items. The jump from 40 to 50 gallons is usually $100–$300, because the connections are identical and the labor does not change.
Is it cheaper to install a gas or electric water heater?
The equipment is close in price, but installation is usually cheaper for whichever fuel the house already has. A new gas install needs a flue and a gas line; a new electric install needs a dedicated 240V circuit. If the panel is full, the electric route adds $1,000–$2,500 for a service upgrade, which typically makes gas the cheaper switch unless the house already has 240V capacity.
How long does water heater installation take?
A like-for-like tank swap takes 2–5 hours for a licensed plumber. A fuel switch or relocation takes a full day or more, because venting or electrical work is added and often needs a separate trade and a separate inspection. Tankless conversions typically take 4–8 hours including the new vent and gas work.
Do I need a permit to replace a water heater?
In most U.S. jurisdictions, yes — a permit costs $50–$300 and covers the install and a final inspection. Skipping it is a real risk rather than a technicality: an unpermitted install can be flagged at resale, and an insurer can decline a water-damage claim if the install that leaked was never inspected.
Can I install a water heater myself?
Legally, a homeowner can usually pull a permit and do the work on their own residence in many jurisdictions, but the parts that need a licence are the ones that fail dangerously. Gas connections, flue terminations and new electrical circuits are inspection items for a reason: a bad flue sends carbon monoxide indoors, and a miswired 240V circuit is a fire risk. A like-for-like swap of an existing electric unit is the version most often done by homeowners; anything involving gas or a new circuit is not.
Why is my installation quote higher than the online average?
The three usual reasons are a fuel switch, a panel or gas line upgrade, and access. A quote that includes a new flue, a new circuit or a service upgrade is not comparable to a like-for-like swap average. Ask the contractor to itemise equipment, labor, permit and code upgrades separately — that turns one opaque number into four checkable ones.
Should I replace my water heater before it fails?
If the tank is 8–12 years old and showing rust at the fittings or water underneath, replacing on your schedule costs the same as an emergency replacement minus the $100–$300 emergency premium, and it avoids the water damage that a sudden failure causes. A tank that fails while you are away can do more damage than the heater costs.