The Water Heater Guide

Problems & repair

Water Heater Relief Valve Replacement: Step-by-Step Guide

Updated November 28, 2026By the The Water Heater Guide editorial team
Water Heater Relief Valve Replacement

A water heater relief valve replacement is needed when the temperature and pressure (T&P) valve leaks steadily, won't reseat after testing, or is corroded or stuck. Confirm the valve is the real cause first, because a high thermostat setting or pressure buildup can make a good valve drip.

When a Water Heater Relief Valve Replacement Is Needed

The T&P valve is a safety device. It opens to release hot water if the tank temperature or pressure gets too high, then closes again. Its job is to protect the tank, so the valve needs to seal tightly when the heater is running normally.

Testing and cleaning can fix some problems, but they can't fix a valve that is worn out. A valve that has been replaced for a reason, or has reached the end of its service life, should be swapped rather than patched. Most storage (tank) water heaters last 10 to 15 years, according to the U.S. Department of Energy, so an older tank is often the bigger concern.

Signs that call for a new valve

  • The valve drips or runs steadily after you have confirmed the thermostat setting and the pressure are normal.
  • The valve does not reseat (stop dripping) after you lift the test lever and release it.
  • The lever is stuck, or the valve does not open when you test it.
  • You see green or white mineral crust, rust, or corrosion around the valve body or the threads.
  • Water leaks from the valve body itself rather than from the discharge pipe.

If the valve is weeping only a little and the tank is otherwise fine, you can keep an eye on it. But a valve that is leaking is not doing its job, so plan the replacement rather than waiting for it to fail.

Confirm the Valve Is the Cause Before You Buy a Part

Before you buy a new valve, rule out the problems that make a good valve drip. A high water heater temperature setting is the most common one. The U.S. Department of Energy recommends setting the water heater to 120°F, a temperature it considers safe for most of the population.

Next, check whether the tank is building pressure. If your home has a thermal expansion tank, check that it is charged and not waterlogged. A waterlogged or failed expansion tank can let pressure build during heating and push water out of the T&P valve.

A quick diagnostic sequence

  1. Check the thermostat setting on the control. Set it to 120°F if it is higher, and wait a few hours before you judge the valve again.
  2. Watch the discharge pipe during a heating cycle. Drips that only happen while the burner or element is running point to pressure or temperature. Drips that happen all the time point to a valve problem.
  3. Look at the valve body, the threads and the lever for corrosion, crust or leaks.
  4. Check the discharge pipe for blockage, a cap, or a section that is trapped and holds water.
  5. If the valve still leaks after the temperature is correct and the expansion tank is working, the valve is the likely cause and a replacement is reasonable.

If you smell gas, see soot, or notice the burner acting unusually, stop the diagnosis. Leave the home and call the gas utility or 911 from outside.

Shut Off Power or Gas and Drain Down Safely

Hot water can cause serious scalding injuries. The Consumer Product Safety Commission notes that third-degree burns can occur after about 6 seconds at 140°F and after about 5 minutes at 120°F. Let the tank cool as much as you can, and keep children and pets out of the area.

Safety first: Electric heaters carry shock risk. Turn off the breaker that feeds the water heater, then verify with a voltage tester that power is off before you touch any wiring. For gas units, turn the gas control to the off or pilot position and follow the manufacturer's instructions for the burner. Never store gasoline or solvents near a gas water heater.

Once power or gas is off, shut off the cold water supply valve at the top of the heater. Then open a hot water tap somewhere in the house to let air into the system so it can drain.

Step-by-Step Relief Valve Replacement

  1. Gather your tools. You will need a bucket, a garden hose, a pipe wrench, a flashlight, a voltage tester if the heater is electric, pipe thread sealant rated for potable water, and the new valve. Match the new valve's inlet size and temperature and pressure rating to the old one and to the water heater label.
  2. Attach the hose to the drain valve. Route the other end to a floor drain or outdoors where hot water will not cause damage or injury. Open the drain valve and let the tank drain below the level of the T&P valve.
  3. Remove the discharge pipe. Unscrew the pipe from the valve outlet. Keep your hands away from the outlet, because it can still release hot water.
  4. Remove the old valve. Place the pipe wrench on the valve's hex body, not on the lever or the tank. Turn it counterclockwise slowly. If the valve is stuck, apply steady pressure rather than jerking the wrench, and avoid bending the tank fitting.
  5. Clean the tank port. Remove old sealant, scale and debris from the threads on the tank port. A clean surface helps the new valve seal.
  6. Prepare the new valve. Wrap the threads with sealant rated for potable water, or use the sealant the valve's instructions call for. Do not use sealant on the valve's sensing element or its temperature probe.
  7. Install the new valve. Thread it in by hand first. Then tighten it with the wrench until it is snug and the outlet faces the direction needed for the discharge pipe. Do not overtighten, since that can crack the valve or the tank fitting.
  8. Attach the discharge pipe. Connect the pipe using the rules in the next section. Make sure the pipe runs down with no trap or low point where water can sit.
  9. Refill the tank. Close the drain valve and remove the hose. Open the cold water supply and keep the hot tap open until water runs steadily, which pushes air out of the tank.
  10. Check for leaks. Look at the valve, the tank fittings and the drain valve. Tighten only if you see a leak, and do so carefully.
  11. Restore power or gas. For electric units, turn the breaker back on. For gas units, relight the burner following the manufacturer's instructions.

Discharge Pipe Rules You Must Follow

The discharge pipe is part of the safety system. According to the International Code Council's summaries of the International Plumbing Code (section 504.6) and the International Residential Code (section P2804.6.1), 2021 editions, the pipe must meet these rules:

  • It must not connect directly to the drainage system.
  • It must end in an air gap in the same room as the water heater.
  • It must not be smaller than the valve outlet.
  • It must not be trapped, and it must drain by gravity.
  • It must end no more than 6 inches above the floor or a waste receptor.
  • It must not have a threaded end.
  • It must not have valves or tees.
  • It must be rated for 100 psi at 180°F.

A temperature and pressure relief valve must never be capped or plugged. Local adoption and amendments vary by state and city, so check with your local building department before you change the discharge run.

Test and Check the New Valve

After the heater is running again, test the new valve. Lift the test lever gently and hold it for a few seconds, following the valve's instructions. Expect hot water to flow through the discharge pipe, and keep your hand and body clear of the outlet.

Release the lever. The valve should close and stop flowing on its own. If it keeps dripping after the test, shut the heater off again, check the valve seat for debris, and recheck the thermostat and expansion tank. A valve that does not reseat after a clean installation needs to be replaced again.

When to Call a Licensed Plumber

Many homeowners can replace a relief valve on a tank that is accessible and in good shape. Call a licensed plumber when the valve is hard to reach, the tank port is damaged or corroded, the discharge pipe needs to be rerouted, or the valve keeps leaking after replacement. A plumber should also look at the heater if you see signs of tank corrosion, since a replacement valve will not fix a failing tank.

Gas connections, venting and electrical work also call for trained hands. If you are unsure about any of those, stop and get help.

Finding a pro for the job

Get at least two written quotes that describe the same work. Check the contractor's license with your state licensing board where licensing applies. Ask who pulls the permit, if one is needed, and check with your local building department to confirm the requirement. Then ask what is included, such as haul-away of the old valve, any code upgrades to the discharge pipe, and whether the warranty is registered in your name.

Preventing Future Relief Valve Problems

  • Keep the thermostat at 120°F to reduce pressure and temperature stress on the valve and the tank.
  • Check the expansion tank periodically, and replace it if it is waterlogged or failed.
  • Test the T&P valve once a year by lifting the lever briefly, then confirm it reseats.
  • Keep the discharge pipe clear, sloped, and free of caps, traps and valves.
  • Keep flammable liquids away from the water heater area.

Frequently asked questions

Can I cap the discharge pipe if the valve keeps dripping?

No. A temperature and pressure relief valve must never be capped or plugged, because it is the safety outlet for the tank. If the valve drips, the cause is usually high temperature, pressure from a failed expansion tank, or a valve that needs replacement. Fix the cause and keep the discharge pipe open, following the rules in the discharge pipe section.

Is it safe to just clean a stuck relief valve?

Cleaning can help if the valve is only blocked by mineral deposits, but a stuck valve often has a damaged seat or spring. If cleaning does not restore a clean seal, replace the valve. A valve that does not reseat or does not open when tested is not reliable, so the safer choice is a new valve.

How do I know a new valve will fit my water heater?

Start with the old valve. Note its inlet size, its thread type, and the temperature and pressure rating printed on it, then compare those with the water heater label and the new valve's specifications. Make sure the sensing element is long enough to reach the top of the tank. If the fit is unclear, ask a licensed plumber to confirm before you install.

Does a relief valve replacement need a permit?

Permit rules vary by state and city. Some jurisdictions require a permit for work on water heaters, while others do not for a simple valve swap. Check with your local building department before you start, and ask whether the discharge pipe changes need inspection.

Why does the valve only drip when the heater is running?

Water expands as it heats, and the tank pressure rises during the heating cycle. If the expansion tank is failing or the pressure is too high, the T&P valve can open briefly and drip while the burner or element is on. Check the thermostat setting and the expansion tank first, since these are the most common causes.

Need a pro? See businesses that install and repair water heaters in your metro area. Ask for at least two written quotes and check the contractor's license with your state where it applies.