How to Wire a Water Heater


If you’re replacing an electric water heater, knowing how to wire a water heater correctly is essential for safety, code compliance, and long-term performance. A miswired unit can lead to electrical hazards, tripped breakers, or even fire. This guide walks you through the complete process from calculating circuit requirements to making secure connections, based strictly on National Electrical Code (NEC) standards and real-world installation practices. You’ll learn the exact wire size, breaker type, and safety steps needed for a 240-volt electric tank-style water heater. Whether you’re a DIYer or preparing for a professional install, this article ensures you understand what inspectors check and how to get it right the first time.


Circuit Requirements for 240V Water Heaters

30-amp double-pole breaker for electric water heater wiring diagram

Calculate Correct Amperage Load

Standard electric water heaters use two 4,500-watt heating elements that operate one at a time. Even though the total element power is 9,000 watts, only 4,500 watts are used at any moment. To determine the required circuit amperage:

  • Step 1: Divide wattage by voltage:
    4,500 watts ÷ 240 volts = 18.75 amps
  • Step 2: Apply the NEC 125% continuous load rule (NEC 422.13):
    18.75 × 1.25 = 23.44 amps

Since 23.44 amps exceeds the safe capacity of a 20-amp circuit, you must use a 30-amp circuit.

Use a 30-Amp Double-Pole Breaker

A 30-amp, double-pole breaker occupies two slots in your electrical panel and disconnects both hot legs of the 240-volt circuit simultaneously. This ensures complete power shutoff during maintenance.

⚠️ Never use a single-pole breaker. It only cuts one leg of power, leaving the other live and creating a serious shock hazard.


Select the Right Wire Gauge

10-gauge copper wire with red and black tape on white wire for 240V water heater circuit

Install 10-Gauge Copper Wire

For a 30-amp circuit, NEC requires 10-gauge copper wire. This includes:
– One black (hot)
– One white (re-identified as hot)
– One bare copper or green (ground)

The white wire must be marked with red or black electrical tape at both ends, in the junction box and at the breaker panel, to indicate it’s carrying 240 volts, not neutral.

Why this matters: In standard 120V circuits, white wires are neutral. But in 240V water heater circuits, both black and white wires carry live current. Failing to re-mark the white wire risks future confusion and dangerous errors.


Protect Wires from Physical Damage

Check Local Conduit Requirements

NEC 334.15 requires protection of wires where they’re exposed to physical damage. However, how this is enforced varies by location. In some areas, running non-metallic (NM-B) cable directly into the water heater is acceptable. In others, like Minnesota, it’s prohibited unless protected.

Use Approved Conduit Types

To meet most inspection standards, use one of these methods:
Flexible metal conduit (FMC): Allows “wiggle room” for future removal
Rigid metal conduit (RMC): Maximum durability
Metal-clad (MC) cable: Pre-sheathed and easy to install

🔧 Pro Tip: Flexible conduit is preferred in earthquake-prone zones because it prevents wire breakage if the unit shifts.


Locate and Access the Junction Box

Open the Top Cover Safely

All wiring connections happen in the junction box on top of the water heater. It’s covered by a removable metal or plastic plate. Before removing the cover:
1. Turn off the double-pole breaker.
2. Test for voltage using a non-contact voltage tester on the wires inside the box.
3. Only proceed if the tester shows no power.

💡 Visual Cue: A properly de-energized circuit will show no lights or sounds from the tester.


Make Proper Electrical Connections

junction box wiring diagram for electric water heater with black, red-taped white, and ground wires on brass and green screws

Connect Hot, Hot, and Ground Wires

Inside the junction box, you’ll find three terminals:
– Two brass-colored screws (for hot wires)
– One green screw (for ground)

Follow these steps:
1. Strip ½ inch of insulation from each wire end.
2. Attach the black circuit wire to the black or brass terminal.
3. Attach the white circuit wire (taped red/black) to the red or second brass terminal.
4. Connect the bare copper ground to the green grounding screw.

Secure all connections tightly. Loose wires cause arcing, overheating, and failure.

Seal the Junction Box

After wiring:
– Tuck wires neatly into the box.
– Replace the cover plate.
– Ensure the cable clamp secures the wire entering the box to prevent strain.


Ensure a Service Disconnect Is Available

240-volt disconnect switch mounted within sight of water heater for NEC compliance

Meet Safety Code for Maintenance Access

NEC requires a way to lock out power while working on the water heater. This is done in one of two ways:

Option 1: Sight-Line Disconnect

Install a 240-volt switch within sight of the water heater (within 50 feet and unobstructed view). This lets you shut off power and see the unit while working.

Option 2: Breaker Lockout Device

If the main panel isn’t visible from the heater, use a lockout tag and hasp to secure the breaker in the OFF position. This prevents accidental re-energizing by others.

🔒 Inspection Focus: Most inspectors will fail the job if there’s no approved disconnect method.


Handle Internal Wiring Only When Necessary

Don’t Touch Thermostats During Replacement

When swapping out a water heater, you don’t need to access internal thermostats or elements unless replacing them. These are behind access panels on the side of the tank and connect via screw terminals. Each element has its own thermostat.

🛠️ Only open these panels if:
– You’re testing or replacing a faulty heating element
– Diagnosing no-hot-water issues
– Upgrading to a smart thermostat

Otherwise, leave them sealed and factory-set.


Install a Bonding Jumper If Required

6 AWG bare copper bonding jumper connecting hot and cold water pipes with ground clamps on copper pipes

Check Local Code for Pipe Grounding

A bonding jumper is a 6 AWG bare copper wire connecting the hot and cold water pipes. While not required by NEC or Uniform Plumbing Code, many local authorities mandate it.

Why Install a Bonding Jumper?

  • Maintains Ground Path: Metal water pipes often serve as part of the home’s grounding system. If plastic fittings break continuity, the bonding jumper restores it.
  • Reduces Corrosion: Some experts believe it minimizes electrolysis, extending tank life.

How to Install

  1. Place ground clamps on smooth sections of hot and cold copper pipes.
  2. Avoid clamping near joints or valves because pressure can damage soldered connections.
  3. Attach 6 AWG bare copper wire to both clamps.
  4. Ensure metal-to-metal contact (scrape pipe if painted or corroded).

🔁 Reconnect after replacement: If removing an old heater, reinstall the bonding jumper on the new unit.


Test the Installation Before Use

Verify Power and Safety

Once wired:
1. Turn the breaker ON briefly to test.
2. Use a multimeter to check voltage between the two hot wires. You should read 240 volts.
3. Confirm no voltage between ground and either hot leg (indicates a short).
4. Turn power OFF again before restoring water supply.

🧠 Expert Note: Never energize the heater without water in the tank. Dry-firing damages heating elements instantly.


Schedule Permit and Inspection

Comply With Local Authority Rules

Even if you do the work yourself, a permit and inspection are usually required. The inspector will check:
– Correct wire gauge (10 AWG)
– 30-amp double-pole breaker
– Wire protection (conduit or approved cable)
– Presence of service disconnect
– Proper white wire marking
– Bonding jumper (if local code requires it)

📋 No inspection = no compliance. Skipping this step can void insurance coverage and cause issues when selling your home.


Avoid Common Wiring Mistakes

Don’t Undersize the Circuit

One of the most frequent errors is using a 20-amp breaker with 12-gauge wire because the base load is 18.75 amps.
❌ This violates NEC 422.13, which requires the 125% safety margin.

✅ Always step up to 30 amps and 10-gauge wire.

Never Leave White Wire Unmarked

Assuming the white wire is neutral because of its color is dangerous. In 240V water heater circuits, it’s live.

✅ Wrap both ends with black or red tape to prevent future accidents.

Don’t Skip the Ground

The ground wire isn’t optional. It protects against faults and directs stray current safely away.

✅ Connect it securely to the green screw with no exceptions.


Final Checklist Before Power-Up

Use this quick verification list before turning on the breaker:

✅ Power is OFF and verified with tester
✅ 30-amp double-pole breaker installed
✅ 10-gauge copper wire used
✅ White wire marked with red/black tape at both ends
✅ Wires protected from damage (conduit or MC cable)
✅ Junction box cover secured
✅ Ground wire connected to green screw
✅ Bonding jumper installed (if required locally)
✅ Service disconnect available (sight-line switch or lockout)
✅ Tank is fully filled with water


Frequently Asked Questions About Wiring a Water Heater

What size breaker do I need for a 4,500-watt water heater?

You need a 30-amp double-pole breaker. Even though the heater draws only 18.75 amps at 240 volts, NEC 422.13 requires the circuit to be sized at 125% of the load, which equals 23.44 amps. A 30-amp breaker provides the required safety margin.

Can I use 12-gauge wire for a water heater?

No. A 30-amp circuit requires 10-gauge copper wire. Using 12-gauge wire (rated for 20 amps) on a 30-amp breaker creates a serious fire hazard because the wire would overheat before the breaker trips.

Do I need to mark the white wire in a 240V water heater circuit?

Yes. In a 240-volt circuit, the white wire carries live current, not neutral. You must wrap both ends with black or red electrical tape at the junction box and at the breaker panel to prevent dangerous misidentification during future work.

Is a bonding jumper required for a water heater installation?

Not according to the NEC or Uniform Plumbing Code. However, many local jurisdictions require it. Check with your Authority Having Jurisdiction (AHJ) before installation to confirm whether a 6 AWG bonding jumper connecting the hot and cold pipes is mandatory in your area.

Do I need a permit to wire a water heater myself?

In most jurisdictions, yes. Replacing an electric water heater typically requires a permit and inspection, even when performed by a homeowner. The inspector verifies wire gauge, breaker size, conduit protection, disconnect method, and white wire marking.

Can I energize the water heater before filling the tank?

No. Never turn on power to a water heater without water in the tank. Energizing dry heating elements causes instant damage known as dry-firing, which destroys the elements and can create a hazardous situation.


Key Takeaways for Wiring a Water Heater Safely

Wiring a water heater isn’t complicated, but it must be done precisely. The core requirements are:
240-volt dedicated circuit
30-amp double-pole breaker
10-gauge wire with marked white conductor
Physical wire protection
Visible or lockable service disconnect
Permit and inspection

Deviating from these steps risks safety, fails inspections, and may damage your new unit. When in doubt, especially with local code variations, consult a licensed electrician. Your water heater powers one of the most-used systems in your home. Make sure it’s wired right by verifying every connection, marking every conductor, and scheduling your inspection before flipping the breaker for good.

Scroll to Top