How to Replace a Water Heater

Replaced water heater with expansion tank
Credit: The Spruce / Kevin Norris

When replacing a water heater , it's important to know the size of the tank and whether it operates on gas or electricity.

Professional installation can add $150 to $450 1 to the cost of replacing a standard tank-style water heater, so some experienced DIYers look to the possibility of installing it themselves, though it's important to note that this is not a project for beginners. Replacing a water heater will require the DIYer to make both plumbing connections as well as wiring or gas hookups, plus a vent connection if for homes with a gas heater. Find out how to replace a water heater.

All plumbing installations must conform to the local plumbing code, so consult the local building department for requirements in your area. Since installation varies by location and by the type of heater, the following steps merely show the general process. This project is best left to professionals.

Equipment and materials

Materials and tools to replace a water heater
The Spruce / Kevin Norris

Turn Off Water and Fuel Source

Turn off the water at the home's main water shutoff valve or at the isolation valve on the incoming cold water line.

Water supply turned off with main shut-off valve
The Spruce / Kevin Norris

Drain the Water Heater Tank

Attach a garden hose to the drain valve near the bottom of the water heater and place ​the other end of the hose over a floor drain or run it outdoors. Open the nearest hot water faucet, then open the drain valve slowly and allow the tank to drain completely before turning off the valve and removing the hose.

Water heater drained with garden hose attached to drain valve
The Spruce / Kevin Norris

Disconnect the Water Lines

Disconnect the hot and cold water lines using a pipe wrench or channel-lock pliers for compression or union fittings. Use a pipe cutter to disconnect water lines with soldered connections.

Wrench unscrewing flexible supply tubes from water heater
The Spruce / Kevin Norris

Disconnect the Electrical or Gas Lines

Next, the power source for the water heater needs to be disconnected.

Gas line turned off with valve handle
The Spruce / Kevin Norris

Disconnect the Water Heater Vent (Gas Heaters Only)

The draft hood is usually connected to the vent pipe with three or four sheet metal screws. Use a screwdriver to disconnect the vent pipe from the draft hood.

Gas water heater vent removed with screwdriver
The Spruce / Kevin Norris

Swap the Old Water Heater for the New

Switch the old and new water heaters using an appliance dolly. Have a second person help move the units up and down the stairs. Clean the floor, then move the new water heater into place, ensuring that the existing connections line up with the water heater's connections. Level the new water heater by shimming under the legs, as needed.

Old water heater titled to place on dolly
The Spruce / Kevin Norris

Install the Relief Valve and Other Fittings

Install the temperature and pressure relief valve (TPR valve) and discharge drainpipe, as well as any other fittings as needed, following the manufacturer's directions.

TPR valve connected to new water heater
The Spruce / Kevin Norris

Connect the Water Lines

Wrap the threads of two galvanized plastic-lined nipples with plumber's tape , then thread the nipples into the cold water inlet and hot water outlet openings on the top of the water heater using channel-lock pliers or a pipe wrench.

Depending on the configuration of the plumbing, you may just need to reconnect the flexible tubes by screwing them onto the galvanized nipples. However, in most cases, you will need to prepare new pipe assemblies to reconnect the water lines.

Flexible water supply tubes connected to nipple on top of water heater
The Spruce / Kevin Norris

Connect the Gas or Electrical Lines

Connect the gas or electrical sources, as applicable:

Flexible gas line connected to water heater burner control valve
The Spruce / Kevin Norris

Reconnect the Vent (Gas Heaters Only)

Position the draft hood at the top of the water heater over the exhaust opening, slide it into the vent pipe, and secure it with sheet metal screws. Make sure to refer to the manufacturer's instructions and local code requirements. There should be specific parts and instructions for the new water heater.

If the new water heater is taller than the old unit, shorten the vent pipe by cutting it down to size with metal shears, or by installing a shorter pipe segment. For a shorter water heater, lengthen the vent by adding an additional vent pipe segment.

Draft hood replaced on top of water heater exhaust opening
The Spruce / Kevin Norris

Complete the Installation

Set the thermostat and turn on the cold water supply valve to refill the water heater. You will know the tank is full when water begins to flow from the hot water tap that was opened at the beginning of the job.

Cold water supply valve turned on
The Spruce / Kevin Norris

Gas Water Heater Venting

For many years, the standard means of venting combustion exhaust gases for a gas-burning water heater was with atmospheric venting. In this system, a metal draft hood at the top of the water heater channeled both exhaust gases and a small amount of fresh air from the room up a metal flue through the roof or to a common chimney. In many cases, installing a new water heater will be a matter of connecting the existing flue and draft hood to the new heater, though there are factors (such as pitch and draft of the connections) that make the process much more complicated than it seems. When done incorrectly, exhaust gases (including carbon monoxide) can remain inside the home, which is why this project is best left to professionals. 2

The building code in some communities may require changing to a different means of venting if a new water heater is installed. Many areas now require a system known as direct venting , in which a special double-chambered vent pipe carries the exhaust gases out the side of the house and at the same time fresh air is allowed in. This is often required in modern air-tight homes, to prevent the gas and airflow through the water heater flue from creating an air pressure difference, which can draw gases from the water heater burner into the home. Depending on how far the direct vent needs to run, code might also require a power fan that assists the flow of exhaust gas in the vent. In older, less air-tight homes, this is rarely a problem.

If the local code requires a change from a simple atmospheric vent to a direct vent or powered direct vent, this is a more complicated job. Most people should call a pro for this work.

Source: https://www.thespruce.com/replacing-a-water-heater-1824920