How to Replace a Water Heater

Replacing a water heater is one of those projects that feels bigger than it actually is. You're not doing plumbing surgery—you're swapping out an appliance that follows a logical sequence of disconnects and reconnects. The stakes are real: no hot water means cold showers and backed-up laundry, and a failed water heater that leaks can wreck your basement floor or crawlspace in hours. But if you're mechanically comfortable and willing to take your time, this is a doable weekend job. The key is understanding that you're working with three systems: electricity (or gas), water pressure, and structural support. Respect each one and the job stays manageable. A water heater typically lasts 10 to 15 years. When you see rust weeping from the seams, hear rumbling from sediment buildup, or notice water pooling underneath, replacement is your only option—repair just delays the inevitable. You can hire a plumber for $300 to $500 in labor, or you can do it yourself and pocket that money. Either way, buy the right tank size before you start. Most homes run a 40 to 50-gallon unit. Check your current tank's nameplate or count how many people live in the house and their hot-water habits. Get it wrong and you'll be living with cold showers or an oversized energy bill.

  1. Kill the Power First. For electric units, flip the breaker to off. For gas units, set the thermostat to pilot and turn the gas valve handle perpendicular to the pipe (the handle should point the same direction as the pipe flow to stay on). Then turn off the water supply—look for a valve on the cold-water inlet line at the top of the tank and turn it clockwise until it stops.
  2. Empty the Tank Completely. Attach a garden hose to the drain valve at the bottom of the tank and run it to a floor drain or outside where the water can safely go. Open the drain valve by turning the handle counterclockwise. The tank holds 40 to 50 gallons of hot water, so this takes 15 to 30 minutes. While it drains, open a hot-water faucet somewhere in the house to break the vacuum and speed up drainage.
  3. Uncouple Water Lines. Once the tank is empty, use two adjustable wrenches to loosen the connections at the cold-water inlet (top, usually blue) and hot-water outlet (top, usually red). Turn one wrench clockwise to unscrew the fitting while holding the tank connection with the other wrench to prevent it from spinning. After the fittings are loose enough to turn by hand, finish unscrewing them. If there are shutoff valves on these lines, you can disconnect above them; otherwise, you're working directly on the tank.
  4. Document Before Disconnecting. For gas units, loosen the connection where the gas line enters the control valve using two wrenches, then carefully disconnect it by hand. Cap the open gas line with a plug or tape immediately. For electric units, do nothing here—the breaker is already off and there are no connections to the tank itself. For both types, note the location of any thermostat wires or control boxes so you can reconnect them on the new unit.
  5. Haul Out the Old Unit. The tank is heavy (80 to 140 pounds empty) and awkward to maneuver. If you're alone, ask a friend to help. Tilt the tank slightly and roll it out on its bottom edge, or use a furniture dolly to slide it out of its space. Clear the area around where the new tank will sit, and sweep up any debris or sediment that fell during draining.
  6. Seal and Connect New Lines. Position the new tank in the same spot as the old one, making sure it's level (use a bubble level on top). Connect the cold-water inlet first: wrap the inlet fitting threads with plumber's tape (go clockwise three to four times), thread it into the tank by hand, then tighten with two wrenches. Repeat for the hot-water outlet. Turn on the water supply and let the tank fill, then open a hot-water faucet upstairs to bleed air from the line.
  7. Power Up and Check Leaks. For gas units, reconnect the gas line using two wrenches and double-check that all fittings are snug. Turn the gas valve to the on position (handle parallel to the pipe) and relight the pilot following the instructions on the new unit's label. For electric units, flip the breaker back on. Wait 30 minutes for the tank to heat, then turn on a hot-water faucet and check for leaks at all connections and the bottom drain valve.
  8. Recycle and Dial Down. Call your local waste management or metal recycling center—most take water heaters for free because of the scrap metal value. Once the new tank has been running for an hour, check the temperature setting. For most homes, 120 degrees Fahrenheit is safe and efficient; if your new unit has a higher setting, dial it down using the thermostat adjustment on the side of the tank.