
Water Heater Replacement Cost: Tank vs. Tankless, Gas vs. Electric
By Renovation Cost Lab Editorial · Last reviewed 2025-01-01
Water heater replacement cost is driven by the unit itself plus installation. As an editable planning assumption, a standard tank heater usually sits at the lower end of the unit price, while a tankless unit costs more up front and often needs extra work (gas line, venting, or an electrical upgrade). Gas and regulated-plumbing work typically require a permit and a licensed installer. Treat every figure here as a planning starting point and adjust to local quotes.
Key cost factors
- Tank vs. tankless system type
- Fuel type (gas vs. electric)
- Capacity / sizing for household demand
- Venting, gas line, or electrical service changes
- Permit and licensed-pro installation requirements
- Removal and disposal of the old unit
Quick Cost Overview
A water heater replacement budget has two main parts: the unit and the installation. The unit price depends on type (tank vs. tankless), fuel (gas vs. electric), and capacity. Installation depends on how much your existing plumbing, venting, gas line, or electrical supply needs to change to accept the new unit.
Every price in our tools is an editable planning assumption, not a verified national average. Swapping a like-for-like tank is usually the least involved job; moving to tankless or changing fuel types tends to add work. Start from the defaults and replace them with your own local quote.
Not sure whether to fix the old unit or replace it? Use the repair-vs-replace calculator to frame that decision before you budget for a new heater.
Cost Drivers: Tank vs. Tankless
The biggest single decision is tank vs. tankless. They differ in up-front cost, installation work, and how they behave in use:
| Factor | Storage tank | Tankless (on-demand) |
|---|---|---|
| Unit cost | Lower (editable assumption) | Higher (editable assumption) |
| Installation | Simpler for like-for-like swaps | Often needs gas-line, venting, or electrical changes |
| Hot water supply | Limited by tank size | Continuous, but limited by flow rate |
| Footprint | Larger floor unit | Compact wall-mounted unit |
| Typical service life | Shorter, on average | Longer, on average |
Tankless can lower the long-run operating cost for some households, but the up-front installation premium is real. We do not present energy or lifetime savings as guaranteed — they depend on your usage, local rates, and water conditions.
Gas vs. Electric and Capacity
Fuel type affects both the unit and the installation. A gas unit needs proper combustion air and venting; an electric unit needs adequate circuit capacity and, for some tankless electric models, a substantial electrical service that older panels may not support. Switching fuel types (for example, electric to gas) is a larger, more expensive job because it adds a gas line or an electrical upgrade.
Capacity matters too. A tank is sized by gallons to match household demand; a tankless is sized by flow rate (gallons per minute) and temperature rise. Undersizing leads to running out of hot water; oversizing wastes money. Match capacity to your actual household rather than copying a neighbor.
Options and How to Estimate
To frame your budget, decide: (1) tank or tankless, (2) gas or electric, (3) the capacity your household needs, and (4) whether the install is a straight swap or requires new venting, a gas line, or electrical work. Add removal and disposal of the old unit, plus the permit and inspection where required.
Enter your own local unit and labor prices if you have a quote; otherwise start from the editable defaults and adjust. The more your installation deviates from a like-for-like swap, the more the labor line grows.
Critical Safety: Gas and Electrical Work Are Not Casual DIY
Read this before planning any work yourself. Water heater replacement commonly involves gas, venting, and/or electrical connections. Gas and regulated-plumbing work are not universally safe DIY tasks. Mistakes can cause gas leaks, carbon monoxide exposure, scalding, electrical shock, water damage, or fire.
In most jurisdictions this work requires a permit, a licensed professional, and an inspection, and building and gas codes vary by location. We do not provide step-by-step instructions for gas, venting, or electrical connections. If you are not certain the work is legal and safe for you to do, hire a licensed plumber or gas fitter and confirm requirements with your local building department.
DIY vs. Professional Installation
A like-for-like electric tank swap is sometimes within reach for an experienced DIYer where local code allows, but it still involves plumbing connections, draining a heavy tank, and an electrical circuit. Anything involving gas, combustion venting, a new gas line, or an electrical service change should be done by a licensed professional. Tankless installs in particular tend to require trade expertise.
Even when DIY is technically permitted, a permit and inspection protect you and preserve warranty coverage. Factor the inspection step into your plan.
Permits, Venting, and Gas-Line Considerations
Permits are common for water heater replacement because the job touches plumbing, gas, venting, and electrical systems that affect safety. Typical items a permit and inspection may cover include proper venting and combustion air for gas units, correct gas-line sizing and connections, an expansion tank or pressure-relief setup, seismic strapping in some regions, and correct electrical circuits. Requirements vary by jurisdiction — confirm locally before you buy the unit.
Common Budget Mistakes
- Budgeting only for the unit and forgetting installation, permit, and disposal costs.
- Assuming tankless is a drop-in replacement — it often needs gas, venting, or electrical upgrades.
- Skipping the repair-vs-replace analysis and replacing a unit that was still a reasonable repair.
- Under- or over-sizing capacity instead of matching your household demand.
- Treating a national "average" as your quote. Always confirm locally.
Estimate your project
Adjust the inputs to match your project and local prices.
How many more years of use the repair realistically buys. Your estimate.
Expected usable years of the new unit. Your estimate.
e.g. extra energy cost of keeping an inefficient old unit.
The period you want to think over. If it exceeds the added repair years, you will be warned.
Frequently asked questions
- Is tankless always cheaper than a tank water heater?
- No. A tankless unit usually costs more up front and often needs added gas, venting, or electrical work. It can lower operating cost for some households, but we do not present savings as guaranteed — they depend on your usage and local rates.
- Do I need a permit to replace a water heater?
- In most jurisdictions, yes. Water heater replacement touches plumbing, gas, venting, and electrical systems, so a permit and inspection are commonly required. Codes vary by location, so confirm with your local building department.
- Can I replace a water heater myself?
- Only sometimes, and only where local code allows. Gas, venting, and electrical-service work generally require a licensed professional. We do not provide step-by-step instructions for these hazardous connections.
Sources & pricing methodology
- Renovation Cost Lab editable demonstration datasetDefault unit prices are reasonable planning assumptions, not verified national averages. See our pricing methodology.
- U.S. Department of Energy — water heating guidance (general reference)General educational reference for water heater types and sizing; verify current recommendations and local code for your situation.https://www.energy.gov/energysaver/water-heating
See our full pricing methodology and editorial policy.