What You Need to Know About Replacing Your Water Heater

replace water heater

A tank water heater usually lasts about 8 to 12 years. When yours starts leaking, running out of hot water, or rumbling like a coffee pot, replacement is often the smarter move than another repair. If you're not sure yet, start with the signs it's time to replace your water heater.

If you've decided it's time, this guide covers what replacement costs in the Sacramento area, what happens on installation day, and the permit and code items that often surprise homeowners.

How Much Does Water Heater Replacement Cost?

The biggest factor is the type of water heater you choose. Here's a quick comparison of the three most common options:

Type Typical installed cost Lifespan Best for
Gas or electric tank $1,600 – $2,400 8–12 years Like-for-like swaps and the lowest upfront cost
Tankless (on-demand) $2,400 – $5,400 15–20 years Endless hot water, saving space, lower energy use
Heat pump (hybrid) $2,500 – $5,000 10–15 years The highest efficiency; often eligible for rebates

Not sure which type fits your home? Compare tankless vs. traditional water heaters, see whether a heat pump water heater makes sense, or read our full water heater buying guide.

What Else Affects the Price

  • Switching types. Going from a tank to tankless often needs a larger gas line, new venting, or an electrical upgrade.
  • Tank size. A 50-gallon tank costs more than a 40-gallon one.
  • An attic or tight closet install takes more labor than a garage.
  • Code upgrades. Older installations often need new straps, venting, or an expansion tank to meet current code (see below).
  • Haul-away. Removing and disposing of the old unit.

A newer, more efficient water heater also lowers your energy bills, which offsets part of the cost over time. Here's how to lower your water heating bill with the unit you choose.

What Happens on Installation Day

A like-for-like tank replacement usually takes about 2 to 4 hours. Switching to tankless or moving the unit can take a full day. Here's what a professional replacement looks like:

  1. Shut off the water, gas, and power to the old water heater.
  2. Drain the tank and disconnect the water lines, gas line, and venting.
  3. Remove the old unit and haul it away.
  4. Set the new water heater in place, level it, and secure it with seismic straps.
  5. Connect the water, gas or electric, and venting, and install any code-required parts.
  6. Fill the tank, restore power or gas, and light the burner or start the unit.
  7. Test for leaks, check the temperature and pressure relief valve, and confirm proper venting.
  8. Set the temperature (about 120°F for most homes) and walk you through the new unit.

Permits and Code Requirements in Sacramento

Water heater replacement in California usually requires a permit, and the new unit has to meet current code. The items that most often need updating on older installs are:

  • Seismic straps: two straps, required statewide.
  • Temperature and pressure relief (T&P) valve and discharge line: the line has to run to a safe location. Learn more about the temperature and pressure relief valve.
  • Expansion tank: often required when the home has a pressure regulator or a check valve on the main line.
  • Venting and combustion air: gas units need proper vent sizing and clearances.
  • Elevation: gas units in garages typically must be raised 18 inches off the floor.

A licensed plumber pulls the permit and handles the inspection, which protects your warranty and homeowners insurance.

How to Prepare for Your Replacement

  • Clear a path to the water heater and about three feet of space around it.
  • Note the current tank size and fuel type (gas or electric), which is on the label.
  • Plan to be without hot water for a few hours on installation day.
  • If you're considering a different type, ask for a quote on both options so you can compare.

Repair or Replace?

Not every problem means a new unit. A faulty thermostat, heating element, or igniter can often be repaired. If your water heater is under about 8 years old and the tank isn't leaking, water heater repair may be the better value. A leaking tank, heavy rust, or a unit over 12 years old usually means it's time to replace. See more common water heater problems.

Frequently Asked Questions

How long does it take to replace a water heater? A standard tank replacement takes about 2 to 4 hours. Switching to a tankless unit or moving the water heater can take most of a day.

Can I replace a water heater myself? It isn't recommended. Replacement involves gas, electrical, and venting work, and it usually requires a permit. A mistake can cause a gas leak, carbon monoxide exposure, or water damage.

Are there rebates for heat pump water heaters? Often, yes. Utilities and state programs in California regularly offer rebates for heat pump water heaters. Ask us about current programs when you get a quote.

What size water heater do I need? A 40-gallon tank suits most homes with 2 to 3 people, and a 50-gallon tank suits 3 to 5. Tankless units are sized by flow rate instead.

Schedule Your Water Heater Replacement

Ace Plumbing has installed and replaced water heaters in Sacramento-area homes since 1972. We'll help you choose the right unit, handle the permit, and install it to code, usually the same day. Call (916) 455-4548 or learn more about our water heater installation and tankless water heater services.