Project Guide

Water Heater Installation Basics

1
Remove the Old Water Heater
A man removing electrical supply from water heater

Installing a new water heater unit begins with the old heater. If you've got an electric heater, replace it with an electric heater, unless you're willing and able to run gas line and exhaust vents. If you've got a gas hot water heater, stick with gas, unless your breaker box has room for (and you're willing to install) a new 240-volt circuit.

  • Turn off the water and gas supply valves and/or the power.
  • Remove the electrical supply access plate at the top of the water heater. 
  • Check the connections with a continuity tester to make sure the power is off. 
  • Attach a garden hose to the drain valve and empty the tank. 
  • Using two pipe wrenches, disconnect the gas line at the union fitting if the pipe is galvanized or at the flare fitting if the gas supply line is copper. 
  • Cap the gas line to prevent any chance of a gas leak.
2
Disconnect the Water Lines
An adjustable wrench disconnecting water heater piping

Whether the heat source is gas or electricity, make sure you shut it off before beginning work because of potential harm from flammables. Electric heaters can be cut off at the breaker box and may have an additional breaker closer to the heat pump. Gas and tankless heaters will have a cut off valve, usually with a red handle, along the line leading to the hot water heater. 

  • Using two adjustable wrenches or pipe wrenches, disconnect the piping above the tank. If the piping or discharge pipe has been soldered into place, use a tubing cutter to cut it.
3
Set the New Water Heater
new water heater placed in the home
  • Install the water heater in an area where it won't be cramped. Leave at least 6 inches of clearance around it for ventilation. Don't set it next to anything hot or flammable. 
  • Turn the water heater so that access to the burner and controls is unobstructed. 
  • Place a level on the side of the water heater and plumb it with plastic shims.
4
Wrap the Heat Trap Fitting Threads
A man tightening pipe threads on water heater
  • Use Teflon tape on the pipe threads. These fitting are directional and must be installed properly. Both have arrows showing the correct direction for installation. 
  • Attach the blue-coded fitting to the cold water inlet with the arrow facing into the water heater. 
  • Attach the red fitting to the hot water outlet with the arrow pointing away from the water heater. 
  • Tighten using two pipe wrenches or adjustable pliers.
5
If You Removed the Shutoff Valve, Replace It
A torch resealing the shutoff valve on water heater piping
  • Sweat solder the shutoff valve to the end of the cold water supply pipe. 
  • Use a MAPP torch and lead-free solder to connect the valve to the supply line. 
  • Solder with the valve in the open position to avoid overheating the parts.
6
Install the Water Relief Lines and Pressure Relief Line
A man tightening pipe on water heater for faucet reconnection
  • Use an adjustable wrench to connect the pipe from the pipe run to the water heater. 
  • Turn on the main shutoff and open all line valves. 
  • Open all the faucets in the house and run the water in shower or bathtub until it flows steadily from them with the right water temperature. 
  • Close the cold and hot water faucet.

Safety: The Home Depot highly recommends that you hire a professional to install your water heater. Our trusted professionals are available for same-day installation when you call before noon in most areas. Schedule an appointment today. 


Schedule an appointment today with a Home Depot technician for your water heater installation.