How Much Does It Cost to Replace a Water Heater?
$800 to $3,500 is the average cost to replace a water heater, with most homeowners paying around $1,200 for a standard tank model or $3,000 for a tankless unit. The total price includes the water heater itself and professional installation labor. How much it costs to replace a water heater depends on the type you choose, the tank capacity, fuel source, and whether the job requires new plumbing connections or code upgrades.
The cost of replacing a water heater varies widely by project scope. A straightforward swap of a standard gas or electric tank water heater is one of the more affordable major home repairs. But switching fuel types, upgrading to tankless, or installing in a new location can push costs significantly higher. If your home also needs new supply lines or drain connections, whole-house repiping ($4,000 to $15,000) may be worth considering at the same time to avoid tearing into walls twice.
Water Heater Replacement Cost by Type
Tank and tankless water heaters range from $700 to $4,500 installed, depending on the fuel source and capacity. The table below breaks down typical costs for each type, including the unit and professional installation.
| Water Heater Type | Cost Range (Installed) | Notes |
|---|---|---|
| Tank - gas (40-50 gal) | $800 - $1,500 | Most common type. Reliable and affordable. |
| Tank - electric (40-50 gal) | $700 - $1,300 | Lower upfront cost, higher monthly energy bills. |
| Tankless - gas | $2,500 - $4,500 | Endless hot water. Requires adequate gas line sizing. |
| Tankless - electric | $1,500 - $3,000 | Compact size. May need electrical panel upgrade. |
| Heat pump / hybrid | $2,000 - $4,000 | Most energy efficient. Qualifies for federal tax credits. |
Cost by Tank Size
Larger tanks cost $100 to $500 more than smaller models for the unit itself, plus slightly more for installation due to weight and space requirements. Here is how tank size affects the total price for a standard gas tank water heater.
| Tank Size | Best For | Installed Cost (Gas) |
|---|---|---|
| 30 gallon | 1-2 people | $700 - $1,200 |
| 40 gallon | 2-3 people | $800 - $1,400 |
| 50 gallon | 3-4 people | $900 - $1,500 |
| 75 gallon | 5+ people | $1,200 - $2,000 |
Factors That Affect Water Heater Replacement Cost
$800 to $3,500 is the typical range, and several key factors determine where your project falls within it.
Fuel Type and Conversion
Switching from electric to gas (or vice versa) adds $1,000 to $2,000 to the project. A fuel conversion requires running new gas lines or upgrading electrical wiring, plus possible venting changes. If you already have the right fuel source in place, a standard replacement is much simpler and cheaper. Your plumber can assess whether your existing connections are adequate.
Installation Complexity
New installations where no water heater existed before add $500 to $1,000 for running water supply lines, drain connections, and venting. Replacing an existing unit in the same location is the simplest scenario. Moving the water heater to a different spot in the house or installing one in new construction adds plumbing, electrical, and possibly structural work.
Expansion Tank
An expansion tank costs $100 to $300 installed and is required by code in many jurisdictions. Expansion tanks absorb excess pressure caused by thermal expansion in closed plumbing systems. If your home has a pressure-reducing valve or check valve on the main water line, you almost certainly need one. Many plumbers include this in their water heater quotes, but confirm before signing.
Permits and Inspections
Most cities and counties require a plumbing permit for water heater replacement, typically costing $50 to $200. A licensed plumber usually pulls the permit as part of the job. The permit ensures the installation meets local building codes, which protects you and maintains your home's resale value. Skipping the permit can create problems when you sell the home.
Disposal of the Old Unit
Removing and disposing of your old water heater adds $50 to $150 to the total cost. Most plumbers include this in their installation quote, but it is worth confirming. Old water heaters are heavy (a full 50-gallon tank weighs over 150 pounds), so hauling one out of a basement or tight utility closet takes real effort.
Tank vs. Tankless: Which Should You Choose?
A tank water heater costs $700 to $1,500 installed, while a tankless model costs $1,500 to $4,500. The right choice depends on your household's hot water needs, available space, and how long you plan to stay in the home.
Tank water heaters store 30 to 75 gallons of hot water and deliver it at a consistent rate. They are affordable, simple to install, and work with any home's existing plumbing. The downside is that they run out of hot water during heavy use and waste energy keeping water hot 24 hours a day, even when nobody is using it.
Tankless water heaters heat water on demand as it flows through the unit. They never run out of hot water, take up far less space, and use 24% to 34% less energy than tank models according to the U.S. Department of Energy. However, they have a higher upfront cost, may require gas line or electrical upgrades, and can struggle to keep up if multiple fixtures run simultaneously in larger homes.
Heat pump hybrid water heaters offer the best energy efficiency of any type, using 60% to 70% less electricity than standard electric tank models. They pull heat from the surrounding air (similar to an air conditioner running in reverse) and transfer it to the water. They qualify for federal tax credits of up to $2,000 under the Inflation Reduction Act, which significantly offsets the higher purchase price. If you are considering a whole-home energy upgrade, pairing a heat pump water heater with a heat pump HVAC system ($3,500 to $8,000) can maximize your tax credits and lower your energy bills across the board.
Additional Costs to Consider
$50 to $2,000 is the typical range for these services. Here is the full breakdown.
| Item | Cost Range |
|---|---|
| Expansion tank | $100 - $300 |
| Permit and inspection | $50 - $200 |
| Old unit disposal | $50 - $150 |
| Gas line extension or upgrade | $200 - $800 |
| Electrical panel upgrade (for electric tankless) | $500 - $2,000 |
| New venting (for gas models) | $150 - $500 |
| Water line connections | $100 - $400 |
How to Save Money on Water Heater Replacement
$100 to $900 in potential savings is achievable with the right approach. These tips can help reduce your total cost.
- Get at least 3 quotes from licensed plumbers. Prices for the same job can vary by $500 or more between contractors.
- Stick with the same fuel type. Replacing a gas unit with another gas unit avoids expensive conversion work.
- Ask about rebates and tax credits. Heat pump water heaters qualify for up to $2,000 in federal tax credits, and many utility companies offer $200 to $500 rebates for energy-efficient models.
- Buy the unit yourself. Some plumbers mark up the water heater by $100 to $300. Buying from a home improvement store and paying the plumber for labor only can save money, though some plumbers won't warranty units they did not supply.
- Replace before it fails. Emergency replacement when your water heater dies on a Saturday night costs more than a planned replacement. If your tank is over 10 years old, start planning.
- Consider a heat pump model. Despite the higher upfront cost, the combination of federal tax credits and energy savings of $200 to $400 per year makes heat pump models cheaper over their lifetime than any other type.
Planning to DIY? Upgrading yourself? Tankless water heaters are popular for DIY installation.
Shop on AmazonFrequently Asked Questions
How much does it cost to replace a water heater?
Water heater replacement costs $800 to $3,500 on average, including the unit and installation labor. A standard 40 to 50 gallon tank water heater costs $800 to $1,500 installed, while tankless models run $2,500 to $4,500. Heat pump hybrid water heaters cost $2,000 to $4,000 installed. The final price depends on fuel type, tank size, and whether your home needs new plumbing or electrical connections.
How long does a water heater last?
A standard tank water heater lasts 8 to 12 years with proper maintenance. Tankless water heaters last 15 to 20 years on average. Heat pump hybrid models typically last 12 to 15 years. Signs that your water heater needs replacement include rusty water, rumbling noises, visible corrosion on the tank, leaks around the base, and water that no longer gets as hot as it used to.
Is a tankless water heater worth the extra cost?
Tankless water heaters cost $1,500 to $3,000 more upfront than tank models, but they save $75 to $150 per year on energy bills and last nearly twice as long. For most households, the energy savings over the unit's 20-year lifespan offset the higher purchase price. Tankless models are especially worthwhile in homes with high hot water demand or limited space.
Can I replace a water heater myself?
Replacing a water heater yourself is possible for a like-for-like tank swap if you have plumbing experience, but it is not recommended for most homeowners. Gas water heaters require gas line connections that must meet local codes, and mistakes can cause gas leaks or carbon monoxide hazards. Most jurisdictions require a permit and inspection for water heater installation. Professional installation typically costs $300 to $600 for labor alone.
What size water heater do I need?
For tank water heaters, a household of 1 to 2 people needs 30 to 40 gallons, 3 to 4 people need 40 to 50 gallons, and 5 or more people need 50 to 75 gallons. Tankless water heaters are sized by flow rate (gallons per minute) rather than tank capacity. A whole-house tankless unit rated at 8 to 10 GPM handles most households. Your plumber can help determine the right size based on your hot water usage patterns.