When you click on shopping links on our site, we may receive compensation. This content is for educational purposes only.
When you click on shopping links on our site, we may receive compensation. This content is for educational purposes only.

Electric Water Heater Wiring: Wire Size, Breaker & Colors

Updated
Three wires, one 30-amp circuit, and the code points an inspector will check.

Whether a plumber set your new tank or you handled the install yourself, the wiring is the part you cannot fudge. Get it wrong and you risk more than a cold shower; a bad connection can mean a shock or a fire, and it will fail inspection.

The electrical side of a standard electric tank is short work once you understand the three connections and the code behind them. This guide walks you through every wire, the tools you need, and the code points an inspector checks before signing off.

Key Takeaways

  • DIY is possible: You can wire an electric water heater yourself, but most areas require a permitted inspection to meet local code.
  • Know your colors: A 240V heater uses a black wire (L1), a red or re-identified white wire (L2), and a green or bare copper ground.
  • Follow the code: For a standard 4500-watt tank the NEC lands on a dedicated 30-amp circuit on 10-gauge (10/2) wire, sized to 125% of the heater’s load.
  • Safety first: Kill the power at the breaker and confirm it is dead with a voltage tester before opening any junction box.


Can You Wire a Water Heater Yourself?

Yes, you can wire an electric water heater yourself. The electrical work is straightforward, but there is a catch: most municipalities require a permitted inspection to sign off on it.

You do need a solid grasp of basic electrical safety. If you are not comfortable working around high-voltage connections, this is the moment to call an electrician. A wiring mistake here can cause a shock or a fire, not just cold showers.

If you know your way around a breaker panel and a wire stripper, though, doing the electrical hookup yourself saves you a real chunk of the install cost.

240 Volt Electric Water Heater Wiring Diagram

Before you grab your tools, get familiar with what you are looking at. Knowing the parts makes the wiring obvious and helps you troubleshoot later.

L1 and L2 Wires

These are your “hot” wires, and they carry the load. In a standard 240V residential system, both legs feed alternating current to the heater.

You will typically see a black wire and a red (or re-identified white) wire. They run from the top of the water heater straight to a dedicated double-pole breaker in your panel.

Ground Wire

The ground wire is your safety net. It connects to the green ground screw on the water heater casing.

Its job is to give electricity a safe path back if there is a short, so the metal tank and pipes never become live and shock you. This wire is green or bare copper.

Thermostat

The thermostat is the brain of the operation. It reads the water temperature and tells the elements when to switch on or off.

Most electric tanks have two thermostats, upper and lower. They work in tandem so the tank heats efficiently without drawing both elements at once.

You Might Also Like
repair electric boiler How to Test a Water Heater Thermostat

Heating Element

Think of an element like the burner on an electric stove, only submerged in water. It bolts to the thermostat with two screws.

If the connection is loose or the element runs “dry” (no water in the tank), it burns out almost instantly.

Similar Articles
The boiler repairman checks the electronics in the water heater. How to Test a Water Heater Element

The Circuit Breaker

The breaker is the safety cutoff for the whole circuit. A standard 4500-watt heater draws about 18.75 amps at 240 volts, and the National Electrical Code treats a water heater as a continuous load, so the breaker is sized to 125% of that draw (1). That math lands on a 30-amp double-pole breaker.

Run that breaker to the heater on 10-gauge wire (usually labeled 10/2). Match the wire gauge to the breaker size; a thinner wire like 12- or 14-gauge on a 30-amp circuit can overheat inside the wall before the breaker ever trips. Code also wants the heater on its own dedicated circuit, with nothing else sharing that wire back to the panel.

How to Wire a Hot Water Heater

Handyman adjusting gas water heater

Knowing how to install a water heater saves you on professional labor costs and gives you full control over the project timeline.

Once the new unit is in place and the plumbing is connected, you are ready to handle the electrical side.

Here is what you need to get the job done:

What You’ll Need

  • Non-contact voltage tester (the one tool you cannot skip).
  • Phillips and flathead screwdrivers.
  • Wire strippers / cutters.
  • Red electrical tape.
  • Wire nuts.
  • Cable ripper (for stripping Romex sheathing).

1. Prepare the Area

Safety starts here. Go to your main panel and turn off the breaker for the water heater. Touch your non-contact voltage tester to the old unit’s wires to confirm the power is truly dead before you touch anything.

Make sure the new heater is positioned correctly. If local code calls for it, set it on a stand or in a drain pan.

2. Prep the Connection Box

On top of your new electric water heater, you will find a junction box cover. Remove the screws and lift off the plate to expose the internal wires (usually black, red/white, and green).

3. Run the Cable

Feed your 10/2 supply cable (coming from the wall or conduit) through the opening in the junction box. Secure it with a cable clamp or strain-relief connector so the wires cannot get tugged loose later.

Take Note

If your local code requires conduit (flexible metal tubing), make sure the conduit connector is tight against the junction box before you pull the wires through.

4. Make the Connections

Now join the house power to the heater. Follow this standard color code:

  • Ground to Ground: Connect the bare copper (or green) house wire to the green screw or green wire on the heater. Do this one first for safety.
  • Black to Black: Twist the black house wire together with the black heater wire and cap them with a wire nut.
  • White to Red (or White): On a 240V appliance the white wire acts as a second “hot,” not a neutral. Join the white house wire to the red (or white) heater wire.

Important: Wrap red electrical tape around the white wire’s insulation at both ends, here at the heater junction box and again back at the breaker panel. This “re-identifies” it, flagging to any future electrician that this white wire carries a live load rather than acting as a neutral.

5. Close Up and Fill Up

Tuck the wires neatly into the junction box and replace the cover plate.

Do not turn the power on yet. Fill the tank with water first. Open the cold water supply valve and a hot water faucet somewhere in the house. Once water runs steadily with no air sputtering, the tank is full.

6. Power On

Flip the breaker back on. You should not hear any immediate noises. Wait 45 to 60 minutes, then check a hot tap.

Water Heater Installation Tips

Wiring is one piece of the puzzle. A few more points keep the rest of the installation up to code.

Install a Service Disconnect

The National Electrical Code (NFPA 70) lets the branch-circuit breaker double as the disconnect only when it is within sight of the heater, meaning visible from the unit and within 50 feet. If the panel sits around a corner, in another room, or more than 50 feet away, you need a local disconnect switch at the tank, or a breaker that can be locked in the off position. A local switch lets a technician cut power right at the unit instead of walking back to the panel.

Use Dielectric Unions

If you are joining copper pipe to the steel threads on the water heater, do not connect them directly. The dissimilar metals corrode fast where they meet.

Use dielectric unions instead. These fittings have a plastic washer that separates the two metals, stopping galvanic corrosion and extending the life of your pipes.

Check the Relief Valve

Every tank needs a Temperature and Pressure (T&P) relief valve. If the water overheats or the tank over-pressurizes, this valve opens to bleed off pressure before the tank can rupture. Run a discharge pipe from the valve down toward the floor. Plumbing code says that pipe must end no more than 6 inches above the floor, drain by gravity the whole way, keep the same diameter as the valve outlet, and carry no threaded fitting or shutoff on the end (2).

FAQs

Can You Wire a Hot Water Heater Backward?

You can swap the two hot wires on a 240V water heater without stopping it from working, so in that narrow sense the connection is reversible. Both the black and the red/white leg are “hot,” so the heater does not care which one lands on which terminal. What you must never do is put a hot wire on the ground screw or fold the ground in with a hot wire, which turns the tank casing live.

What Happens if a Water Heater Is Wired Wrong?

A miswired water heater can range from a dead unit to a real fire or shock hazard, depending on the mistake. Land a hot wire on the ground screw and the metal tank becomes electrified, ready to shock anyone who touches it or the connected plumbing. Use undersized wire, like 14-gauge on a 30-amp circuit, and the conductor can overheat inside the wall and start a fire before the breaker ever trips.

How Do You Wire a 120V Hot Water Heater?

A 120V water heater wires like a standard outlet circuit: black hot to black, white neutral to white, and ground to ground. These small point-of-use heaters use a true neutral, so unlike a 240V tank you do not re-identify the white wire with red tape. Check the nameplate for the exact voltage and wattage before you pick the breaker and wire size.

How Many Wires Does a Water Heater Need?

A standard 240V electric water heater needs three wires: two hots and a ground, with no neutral. That is why 10/2 cable (two insulated conductors plus a bare ground) is the industry standard, with the white conductor re-identified as hot using red or black tape. A 120V point-of-use heater is the exception, using a hot, a true neutral, and a ground.

Does a Water Heater Need a Dedicated Circuit?

Yes, an electric water heater must be the only load on its branch circuit under the NEC. Nothing else, no outlets, lights, or appliances, can share that wire back to the panel. A dedicated circuit keeps the heater’s steady draw from tripping the breaker or overloading a shared conductor, and it is one of the first things an inspector checks.

Does an Electric Water Heater Need a Disconnect Switch?

An electric water heater needs a disconnect, but the breaker itself can serve as one if it is within sight of the tank, meaning visible and within 50 feet. If the panel is in another room, around a corner, or farther than 50 feet away, you must add a local disconnect switch at the heater or use a breaker that locks in the off position. This lets a technician safely kill power while servicing the unit.

What Size Wire and Breaker Does a Water Heater Need?

Most residential electric water heaters run on a 30-amp double-pole breaker with 10-gauge (10/2) copper wire. That fits the common 4500-watt, 240-volt tank, which draws about 18.75 amps and is sized up to a 30-amp breaker as a continuous load. Always confirm the wattage on your unit’s nameplate first, since a higher-wattage heater can call for a bigger breaker and heavier wire.


And Finally

Wiring an electric water heater comes down to three solid connections, the right 30-amp circuit, and a healthy respect for the power you are working with. Do the prep, kill the breaker, confirm it is dead, and the hookup itself is quick.

Match the wire gauge to the breaker, keep the heater on its own dedicated circuit, and get the work inspected. A permitted sign-off costs far less than repairing a shock injury or fire damage, and it means you can trust that hot shower for years.

Feedback: Was This Article Helpful?
Thank You For Your Feedback!
Thank You For Your Feedback!
What Did You Like?
What Went Wrong?
Headshot of Mark Weir

About the Author

Mark Weir

Mark spent 24 years working in real estate, so he knows his way around a home. He also worked with contractors and experts, advising them on issues of planning, investments, and renovations. Mark is no stranger to hands-on experience, having renovated his own home and many properties for resale. He likes nothing better than seeing a project through to completion.