How to Replace an Electric Hot Water Heater


You wake up to a cold shower because your electric water heater has failed, again. If that has happened more than once this year, it may be time for a full replacement. Knowing how to replace an electric hot water heater properly can restore reliable hot water, improve energy efficiency, and help you avoid costly plumbing emergencies. Whether your unit leaks, produces inconsistent temperatures, or is simply past its 10 to 15 year lifespan, this guide walks you through every critical step.

In the sections ahead, you will learn how to shut off power and water safely, drain the old tank, disconnect plumbing and wiring, and install and test your new unit. The process typically takes 4 to 8 hours depending on experience and accessibility.

Safety and Power Shutdown for Water Heater Replacement

double-pole 240-volt water heater breaker location diagram

Turn Off the Electrical Supply

Before touching any pipes or fittings, shut off power to the water heater at the breaker panel. Locate the double-pole breaker labeled “Water Heater,” usually 30 amp and 240 volt, and flip it to the OFF position. Confirm power is off using a noncontact voltage tester at the junction box on the heater to avoid shock risk.

Lock Out the Breaker

Use a breaker lockout tag or tape to prevent accidental re-energizing while working. This step is crucial if others share your electrical panel.

Isolate the Water System Before Draining

Shut Off the Cold Water Inlet

Locate the cold water shutoff valve at the top of the heater. Turn it clockwise to close and stop water from entering the tank. If the valve is stiff or leaks, consider replacing it before proceeding.

Relieve System Pressure

Attach a garden hose to the drain valve at the bottom of the tank and run the other end to a floor drain or bucket. Open the pressure relief valve on the side or top of the tank to break the vacuum and allow draining. Then open the drain valve to release water.

Pro Tip: Open a hot water faucet in a nearby sink to speed up draining by allowing air into the system.

Drain the Old Electric Water Heater Completely

Connect and Open the Drain Hose

Make sure the hose connection is snug to prevent spraying. Fully open the drain valve and let the tank empty completely. This can take 30 to 60 minutes depending on sediment buildup and hose diameter.

Flush Remaining Sediment

Once drained, briefly turn the cold water supply back on while the drain is open to flush out sediment. Repeat until water runs clear. This helps prevent clogs in the drain line.

Close Valves and Prepare for Disconnection

After draining, close the drain valve, remove the hose, and shut the pressure relief valve. Keep the cold water supply off while you work.

Disconnect Plumbing and Wiring Safely

electric water heater wiring diagram with black red green wires junction box

Remove the Water Supply Lines

Using an adjustable wrench, disconnect the hot and cold water lines from the top of the heater. Protect the threads and cap them if the lines will stay open for a while.

Disconnect the Electrical Connections

Remove the access panel and insulation to expose the wiring. Take a photo before disconnecting for reference. Loosen the wire nuts connecting the black, red, and green wires. Carefully disconnect and pull the wires free.

Warning: Never work on wiring without confirming power is OFF.

Remove the Grounding Strap if Present

Some units have a bonding wire from the tank to the cold water pipe. Remove this with a wrench if your model includes one.

Remove the Old Water Heater from the Installation Area

Support and Move the Tank

Empty electric water heaters still weigh 80 to 100 pounds. Use a dolly or get help lifting it safely. Wrap the base in a tarp to protect your flooring during transport.

Check for Damage or Code Issues

Inspect the area for water damage, rusted framing, or outdated connections. Address any structural or safety concerns before installing the new unit.

Prepare the New Electric Hot Water Heater for Installation

Match the Specifications

Ensure the new heater matches the old one in voltage, wattage, capacity, and physical dimensions. Common capacities include 40, 50, and 80 gallons.

Install Dielectric Nipples for Corrosion Protection

To reduce corrosion, install dielectric unions or plastic-lined nipples on the hot and cold connections before mounting the lines.

Pre-Install the Temperature and Pressure Relief Valve

If not already installed, thread the T&P valve into the designated opening on the top or side of the tank. Use pipe thread sealant on all but the first two threads and tighten with a wrench.

Position and Connect the New Water Heater

electric water heater installation with cold hot water lines and flexible connectors

Position the Unit Correctly

Carefully move the new heater into place, ensuring it sits level on a flat, approved surface such as concrete or a metal stand. Maintain at least 18 inches of clearance around it for service access.

Connect the Cold and Hot Water Lines

Reattach the cold water supply to the inlet marked “Cold” and the hot line to the “Hot” outlet. Hand-tighten first, then give a quarter turn with a wrench. Avoid over-tightening.

Note: Use flexible water connectors for easier alignment and vibration reduction.

Reconnect the Electrical Wiring on the New Heater

Strip and Attach the Circuit Wires

Remove about half an inch of insulation from the circuit wires if needed. Connect black to black, red to red, and green or bare copper to the ground screw inside the junction box.

Secure All Connections

Use wire nuts, tuck wires neatly into the box, and reattach the plastic cover and metal access panel. Ensure no bare wire is exposed.

Fill the Tank and Test for Leaks

water heater drain valve and T&P valve leak test inspection

Open the Cold Water Supply Slowly

Slowly turn the cold water inlet valve counterclockwise to refill the tank. Keep a hot water faucet open somewhere in the house to bleed air from the lines.

Check Every Connection for Drips

Inspect all connections, especially the T&P valve, drain valve, and water line joints, for leaks. Tighten slightly if needed, but do not over-tighten.

Warning: Never power on the heater until it is fully filled with water. Dry firing can destroy the heating elements.

Restore Power and Test the New Water Heater

Close the Hot Faucet

Once water flows steadily from the open faucet, close it. This indicates the tank is full and air is purged from the system.

Turn On the Breaker

Flip the circuit breaker back to ON. You should hear a faint hum or click as the elements engage.

Monitor the First Heat Cycle

Wait 1 to 2 hours for the first heating cycle. Check the temperature rise at a nearby faucet. Most units heat to around 120°F by default.

Adjust Temperature Settings and Perform Final Checks

electric water heater thermostat access panel insulation removal and temperature dial adjustment

Set the Thermostat to a Safe Temperature

Remove the access panel and insulation to reach the thermostat. Use a screwdriver to adjust the temperature dial if needed. A setting of 120°F helps prevent scalding and mineral buildup.

Test the Pressure Relief Valve

Lift the lever on the T&P valve briefly to ensure it discharges water and snaps back. Repeat this test monthly for ongoing maintenance.

Insulate Exposed Pipes for Efficiency

Wrap hot water pipes with foam insulation to reduce heat loss and improve overall efficiency.

Maintenance Tips After Replacing Your Electric Hot Water Heater

Flush the Tank Annually

Sediment buildup reduces efficiency. Drain 2 to 3 gallons from the tank every 12 months to keep it clean.

Check the Anode Rod Every 2 to 3 Years

This sacrificial rod prevents tank corrosion. Replace it if more than 6 inches of the rod show corrosion.

Never Ignore Leaks or Pooling Water

Any sign of pooling water means immediate shutdown and inspection to prevent structural damage.

Follow Local Building Codes

Some jurisdictions require permits or licensed professionals for water heater replacement. When in doubt, consult your local building department before starting work.

Frequently Asked Questions About Replacing an Electric Hot Water Heater

How long does it take to replace an electric hot water heater?

Most replacements take 4 to 8 hours depending on your experience level, the accessibility of the unit, and whether any plumbing or electrical upgrades are needed.

Do I need a permit to replace an electric hot water heater?

Many local jurisdictions require a permit for water heater replacement. Check with your local building department before starting the project to avoid fines or failed inspections.

Can I install an electric water heater myself?

Yes, an experienced DIYer can replace an electric water heater using basic plumbing and electrical tools. However, if you are unsure about wiring, local codes, or permit requirements, hiring a licensed professional is the safer choice.

What size electric water heater do I need?

Match the capacity, voltage, and wattage of your old unit unless your household needs have changed. Common residential capacities include 40, 50, and 80 gallons.

Why should I never turn on the heater before filling the tank?

Turning on the heating elements without water in the tank causes dry firing, which can instantly destroy the elements and void your warranty.

How often should I flush my electric water heater?

Flush the tank once a year to remove sediment and maintain efficiency. In areas with hard water, consider flushing every 6 months.

Key Takeaways for a Successful Electric Hot Water Heater Replacement

Replacing an electric hot water heater is a manageable project when you prepare properly and follow each step with care. Start by shutting off power and water, drain the old tank completely, and disconnect plumbing and wiring with caution. Match your new unit to the old one’s specifications, install dielectric fittings to reduce corrosion, and never energize the heater until the tank is full.

Your next step is to gather your tools, confirm local code requirements, and schedule a full day for the installation. With the right preparation, you will restore reliable hot water and extend the life of your new system for years to come.

Scroll to Top