Water Heater Maintenance: The Complete Guide
Your water heater works hard every day, heating water for showers, dishes, and laundry. A little annual maintenance extends its life by years, improves efficiency, and prevents the catastrophic failure that floods basements.
Water heaters are the unsung heroes of home comfort. They run constantly, quietly heating 60-80 gallons of water so it's ready whenever you need it. Most homeowners ignore them completely—until they fail.
The average tank water heater lasts 8-12 years. With proper maintenance, you can push that toward 15 years or more. Neglect it, and you might get 6 years before sediment buildup, corrosion, or component failure forces an expensive emergency replacement.
This guide covers everything you need to know about maintaining both traditional tank water heaters and modern tankless units.
Understanding Your Water Heater#
Before diving into maintenance, let's understand what we're working with.
Tank Water Heaters#
The most common type in American homes. A large insulated tank (typically 40-80 gallons) stores hot water, keeping it heated and ready for use. They're powered by either natural gas, propane, or electricity.
Gas water heaters have a burner at the bottom and a flue running through the center. They heat water faster and cost less to operate, but require proper venting.
Electric water heaters have one or two heating elements inside the tank. They're simpler and don't require venting, but cost more to operate in most areas.
Tankless Water Heaters#
These on-demand units heat water only when you need it, rather than storing hot water. They're more efficient and last longer (20+ years), but require different maintenance—primarily descaling to remove mineral buildup from the heat exchanger.
Task 1: Flush the Tank (Annual)#
Sediment—minerals, sand, and debris from your water supply—settles at the bottom of your tank. Over time, this layer builds up and causes problems:
- Reduces heating efficiency (the burner has to heat through the sediment layer)
- Creates hot spots that damage the tank bottom
- Causes rumbling or popping sounds during heating
- Reduces available hot water capacity
- Accelerates tank corrosion
Flushing removes this sediment before it causes damage.
What You'll Need#
- Garden hose
- Bucket (optional, for checking water clarity)
- Flathead screwdriver (for some drain valves)
- Gloves and closed-toe shoes (you're working with hot water)
Step-by-Step Flushing Process#
Step 1: Turn Off the Heat Source
For gas water heaters: Turn the gas valve to "Pilot" position. This keeps the pilot light lit but stops the main burner from firing.
For electric water heaters: Turn off the circuit breaker that powers the water heater. This is critical—electric elements can burn out if they heat without being submerged in water.
Step 2: Turn Off the Cold Water Supply
Find the cold water inlet valve at the top of the tank and turn it off. This is usually a lever or round knob on the pipe feeding into the tank.
Step 3: Connect a Hose to the Drain Valve
The drain valve is near the bottom of the tank. It looks like a hose bib (outdoor faucet). Connect a garden hose and run it to a floor drain, outside, or into buckets.
Warning: The water coming out will be HOT—potentially scalding. Keep children and pets away, and be careful where you direct the hose. Don't drain onto plants or grass you care about; the hot water and sediment can damage them.
Step 4: Open the Drain Valve
Turn the valve counter-clockwise to open. Water will begin flowing through the hose.
If water flow is slow or blocked, sediment may be clogging the valve. Try opening and closing it a few times, or use a long screwdriver to gently break up the clog.
Step 5: Open the Pressure Relief Valve
Lift the lever on the TPR (temperature and pressure relief) valve at the top or side of the tank. This allows air into the tank and helps water drain faster. You'll hear air entering.
Step 6: Flush Until Clear
Let water drain until it runs clear. The first water out will likely be rusty or cloudy with sediment—this is normal and exactly what you're removing.
To check clarity, drain some water into a bucket periodically. When the water looks clear, you're done.
For heavy sediment buildup: You may need to briefly turn the cold water supply back on to stir up remaining sediment, then continue draining. Repeat until clear.
Step 7: Close Everything and Refill
- Close the drain valve
- Close the TPR valve (push lever back down)
- Disconnect the hose
- Turn on the cold water supply
- Let the tank fill completely—you'll know it's full when water flows normally from a hot water faucet somewhere in the house
- Turn the heat source back on (gas to "On" or breaker back on)
Step 8: Check for Leaks
Inspect the drain valve for drips. A slow drip means the valve didn't seal properly—they sometimes wear out. A new drain valve costs $10-15 and is an easy replacement.
How Often to Flush#
Annual flushing works for most homes. If you have particularly hard water or notice sediment issues, flush every 6 months.
Task 2: Test the TPR Valve (Annual)#
The Temperature and Pressure Relief (TPR) valve is the most important safety device on your water heater. If pressure or temperature inside the tank gets dangerously high, this valve opens automatically to release the pressure before the tank can explode.
Yes, explode. Water heater explosions are rare precisely because TPR valves exist—but only if they work. A stuck valve won't save you.
Locating the TPR Valve#
The TPR valve is located on the top or upper side of the tank. It has a lever and a discharge pipe running down toward the floor (or to a drain). The pipe directs hot water safely downward if the valve opens.
How to Test#
Warning: Testing releases scalding hot water. Make sure the discharge pipe directs water safely to a drain or bucket. Keep hands and body clear.
Step 1: Place a Bucket
Position a bucket under the end of the discharge pipe to catch the water.
Step 2: Lift the Lever
Lift the lever on the TPR valve straight up. You should hear water rushing through, and hot water should flow from the discharge pipe into the bucket.
Step 3: Release the Lever
Let the lever snap back down. The water flow should stop immediately.
Interpreting Results#
Water flows when lifted, stops when released: The valve is working correctly. You're done.
No water flows when lifted: The valve may be stuck or clogged. Try lifting and releasing several times. If it still doesn't flow, the valve needs replacement.
Water continues flowing after release: The valve isn't seating properly and needs replacement. It may drip for a moment, but continuous flow means it's failing.
Water drips from discharge pipe all the time: Either the valve is failing, or your water pressure/temperature is too high. Check your water heater temperature setting (should be 120°F) and home water pressure (should be under 80 psi). If those are fine, replace the valve.
Replacing the TPR Valve#
TPR valve replacement is a manageable DIY project if you're comfortable with basic plumbing:
- Turn off power/gas and cold water supply
- Drain a few gallons from the tank (enough to get below the valve level)
- Unscrew the discharge pipe
- Unscrew the old valve (use a pipe wrench)
- Wrap threads of new valve with Teflon tape
- Install new valve (don't overtighten)
- Reattach discharge pipe
- Refill tank and test
New TPR valves cost $15-30. If you're not comfortable doing this yourself, a plumber can do it quickly.
Danger: Never cap, plug, or remove the TPR valve. Never install a valve with a different pressure rating than the original. This valve prevents explosions—it must be present and functional.
Task 3: Check the Anode Rod (Every 2-3 Years)#
The anode rod is a metal rod suspended inside your tank, designed to corrode so your tank doesn't. It's made of magnesium, aluminum, or zinc—metals that are more "attractive" to corrosion than the steel tank.
Through a process called galvanic corrosion, rust and mineral deposits attack the anode rod instead of the tank walls. When the rod is depleted, the tank itself starts corroding. Once tank corrosion begins, failure is just a matter of time.
Checking and replacing the anode rod is the single most effective way to extend your water heater's life.
Signs Your Anode Rod Needs Attention#
- Rotten egg smell in hot water: A depleted magnesium anode can react with bacteria to produce hydrogen sulfide gas. (Switching to an aluminum/zinc rod often solves this.)
- Rusty hot water: Rust in your hot water (but not cold) suggests the tank is corroding—likely because the anode is depleted.
- Water heater is 3+ years old and rod has never been checked: Anode rods can deplete in 3-5 years depending on water quality.
Locating the Anode Rod#
The anode rod is usually accessible from the top of the water heater. Look for:
- A hex head bolt on top of the tank
- A bolt head under the top cover plate
- Some rods are attached to the hot water outlet nipple (combination anode)
You may need to remove insulation or a cover plate to find it.
How to Inspect#
What You'll Need
- 1-1/16 inch socket wrench with breaker bar (the rod is often very tight)
- Pipe wrench (alternative method)
- Teflon tape (if you'll reinstall or replace)
Step 1: Turn Off Heat and Water
Turn off the gas or electricity, and turn off the cold water supply.
Step 2: Release Pressure
Open the TPR valve briefly, or open a hot water faucet to release tank pressure.
Step 3: Loosen the Anode Rod
Place your socket on the hex head. The rod is likely very tight—you may need to stand on the breaker bar or use a pipe for extra leverage.
Tip: If the rod is extremely stuck, try having someone hold the tank steady (or brace it) while you turn. Some people strap the tank to a wall stud temporarily for leverage.
Step 4: Pull Up and Inspect
Lift the rod straight up out of the tank. It's typically 3-4 feet long, so you need clearance above the water heater. (If you have limited headroom, flexible anode rods are available for replacement.)
What you might see:
- Mostly intact with some pitting: Good condition, reinstall and check again in 2-3 years
- Significantly corroded (less than ½ inch thick in spots): Replace soon
- Mostly corroded away or just a wire remaining: Replace immediately—your tank is now unprotected
- Coated with calcium/mineral deposits: Your water is hard; consider a water softener
Step 5: Reinstall or Replace
If reinstalling the same rod, wrap threads with Teflon tape and thread it back in. Tighten firmly but don't overtorque.
If replacing, buy a rod that fits your tank (check length and thread size). Consider:
- Magnesium: Most common, best protection, but can cause odor in some water conditions
- Aluminum/zinc: Good for homes with sulfur smell issues
- Powered anode (titanium): Never depletes, uses electrical current—more expensive but lasts forever
Professional Inspection#
If you can't remove the rod yourself (they do get very stuck), any plumber or water heater service tech can check it during a service call. It's worth asking about whenever you have a plumber at your house for other work.
Task 4: Descale a Tankless Water Heater (Annual)#
Tankless water heaters don't store water, so they don't have sediment problems like tank heaters. But they have a different issue: scale buildup in the heat exchanger.
As water flows through the heat exchanger, minerals (especially calcium and magnesium in hard water) deposit on the hot surfaces. Over time, this scale:
- Reduces heating efficiency
- Causes the unit to work harder and use more energy
- Can trigger error codes and shutdowns
- Eventually damages the heat exchanger (expensive to replace)
Annual descaling dissolves this buildup and keeps your tankless running efficiently.
Signs You Need to Descale#
- Unit displays an error code related to heat exchanger or flow
- Hot water isn't as hot as it used to be
- Unit cycles on and off frequently
- Longer delay before hot water arrives
- It's been a year (or more) since last descaling
What You'll Need#
Most tankless manufacturers sell or recommend a descaling kit. You can also assemble your own:
- Submersible pump (small, like a fountain pump—1/6 HP is plenty)
- Two hoses (washing machine hoses work well)
- 5-gallon bucket
- White vinegar (2-4 gallons) or commercial descaling solution
- Channel-lock pliers (for service valves)
Step-by-Step Descaling Process#
Step 1: Turn Off Power and Gas
For gas tankless: Turn the gas valve to OFF
For electric tankless: Turn off the circuit breaker
Step 2: Close the Water Valves
Your tankless should have isolation valves (also called service valves) on both the hot and cold water lines. Close both valves. These have small caps covering service ports—you'll use these ports for flushing.
Note: If your tankless doesn't have isolation valves installed, you'll need to shut off the main water supply and can't flush without adding valves. Consider having a plumber add them—they make annual maintenance much easier.
Step 3: Connect Hoses
Remove the caps from the service ports on both isolation valves.
- Connect one hose from the cold water service port to the pump in your bucket
- Connect the other hose from the hot water service port back into the bucket
This creates a closed loop: pump pushes vinegar into the cold side, it flows through the heat exchanger, exits the hot side, and returns to the bucket.
Step 4: Fill Bucket and Start Pump
Fill the bucket with 2-4 gallons of white vinegar. Place the pump in the vinegar.
Open both service ports (turn the small valves perpendicular to the pipes).
Turn on the pump. Vinegar will circulate through the system.
Step 5: Let It Circulate
Run the pump for 45-60 minutes. The acidic vinegar dissolves calcium and mineral buildup inside the heat exchanger.
You may see flakes or particles in the bucket as scale breaks loose—this is normal and means it's working.
Step 6: Flush with Clean Water
Turn off the pump. Remove the hose from the cold service port.
Close the cold service port. Open the cold water isolation valve slightly to let fresh water flow through the unit and out the hot service port into the bucket. This flushes out the vinegar and remaining debris.
Let fresh water flow for 5-10 minutes, then close everything.
Step 7: Restore Normal Operation
- Close both service ports
- Replace the service port caps
- Open both isolation valves fully
- Turn power/gas back on
- Run hot water at a tap to verify operation
Clean the Inlet Filter#
While you're at it, most tankless units have a small inlet filter that catches debris. Locate it on the cold water inlet (check your manual), remove it, rinse under water, and reinstall.
How Often to Descale#
Hard water areas: Every 6-12 months
Moderate water: Annually
Soft water or with water softener: Every 1-2 years
Check your manufacturer's recommendations—some void warranties if you don't descale regularly.
General Water Heater Tips#
Set the Right Temperature#
The recommended setting is 120°F. This is hot enough for comfortable showers and to kill most bacteria, but reduces scalding risk and saves energy compared to higher settings.
Some water heaters have a temperature dial with vague labels (A, B, C or "warm, hot, very hot"). Use a thermometer at a faucet to verify actual temperature.
Know the Warning Signs#
Replace your water heater if you notice:
- Water pooling around the base (tank is leaking)
- Rust in hot water combined with rust on the tank exterior
- Age over 12-15 years (even if working fine—failure often comes suddenly)
- Repeated repairs needed
Schedule service if you notice:
- Inconsistent water temperature
- Rumbling or popping sounds (sediment hitting tank)
- Pilot light won't stay lit (gas models)
- Water doesn't get as hot as it used to
- Any gas smell near the unit
Consider a Water Heater Pan#
If your water heater is located somewhere that water damage would be catastrophic (like an upstairs closet or finished basement), install a drain pan under it. These pans catch small leaks and can be plumbed to a drain, giving you warning before a small leak becomes a flood.
Know Your Shutoffs#
In an emergency, you need to quickly:
- Turn off the gas (valve on gas pipe) or electricity (breaker)
- Turn off the cold water supply (valve above the tank)
Label these clearly and make sure all household members know the locations.
Quick Reference: Water Heater Maintenance Schedule#
| Task | Frequency | DIY Difficulty |
|---|---|---|
| Flush tank | Annually | Easy |
| Test TPR valve | Annually | Easy |
| Check anode rod | Every 2-3 years | Moderate |
| Descale tankless | Annually | Moderate |
| Check inlet filter (tankless) | Annually | Easy |
| Professional inspection | Every 2-3 years | N/A |
| Inspect for leaks | Monthly (visual) | Easy |