If your water heater is on its way out, the first number you are probably searching for is the total cost of swapping it out. Fair enough, that is usually the deciding factor. Here is how the pricing actually breaks down once you account for the unit, the labor, and the extras nobody mentions upfront.
Standard Tank Units
A new 40 gallon tank water heater typically runs $400 to $900 for the unit itself, with installation adding another $200 to $500 depending on your location and the complexity of the job. All together, most homeowners land somewhere between $900 and $1,800 for a straightforward tank to tank swap.
Tankless Systems
Going tankless costs more upfront, usually landing between $2,000 and $4,500 installed. Part of that jump comes from the unit itself, and part comes from the extra work involved if your home was not already plumbed for a tankless system, things like upgraded gas lines, venting changes, or electrical work. The tradeoff is real energy savings, typically 20 to 30 percent lower water heating costs, along with a lifespan that can stretch past 20 years with proper care.
The Costs That Sneak Up on People
A few line items rarely make it into the first conversation about pricing.
- Permit fees, generally $50 to $150 depending on your municipality
- Disposal of the old unit, often $25 to $75
- Code upgrades, especially for older homes that need updated venting or expansion tanks
- Accessibility surcharges if the unit sits in a tight closet or awkward crawlspace
None of these are hidden fees in a shady sense, they are just often left out of the headline number you see in an ad.
Tank vs Tankless: What Actually Makes Sense
Tank units are cheaper upfront and simpler to install, which makes them the practical choice for most households. Tankless makes more sense if you are already facing a full replacement, have the space and utility setup to support it, or you are planning to stay in the home long enough for the energy savings to offset the higher initial cost. There is no universally right answer here, it depends on your household’s hot water demand and how long you plan to stick around.

Getting a Number You Can Actually Trust
Online calculators give you a range, but the real number depends on your home’s specific setup, your current gas or electrical service, and local permit requirements. A proper water heater replacement quote should be itemized, flat rate where possible, and include everything from the unit to the disposal of the old tank, so there is nothing to argue about once the crew shows up.
Frequently Asked Questions
Is tankless always worth the higher upfront cost?
Not always. Households with steady, predictable hot water use often see the savings add up. Very large households with multiple simultaneous demands may need a bigger unit, which changes the math.
How long does a typical tank replacement take?
Most straightforward swaps take two to four hours, and same day hot water is realistic if the job does not require code upgrades.
Do I need a permit to replace a water heater?
In most jurisdictions, yes. A licensed installer typically pulls this for you as part of the job.
Will my new water heater need a bigger footprint?
Not usually for tank to tank swaps. Tankless conversions may need new wall space, venting, or gas line upgrades depending on your home’s setup.
Can I finance a water heater replacement?
Many local companies offer financing or payment plans, especially for higher cost tankless installations. It is worth asking upfront.
