How to Wire an Electric Water Heater
Updated February 25, 2026
Connect a 240V electric water heater to the electrical panel -- wire gauge, breaker size, grounding, and thermostat wiring for safe, code-compliant installation.
Overview
Electric water heaters run on 240 volts -- the same heavy circuit as your dryer or oven. Most residential units draw 4,500 watts per element and need a dedicated 30-amp circuit with 10-gauge wire. Getting this wrong is not just a code violation -- it is a fire hazard. An undersized wire heats up under load. An oversized breaker does not trip when it should. This guide covers the standard residential wiring for a 40-60 gallon electric water heater. If your unit is larger or draws more than 4,500 watts per element, the wire and breaker size must increase accordingly.
What You'll Need
Safety First
- Turn off the main breaker before running new wire from the panel. Working in a live electrical panel can kill you.
- Electric water heater wiring is a permit-required job in most jurisdictions. The work must pass electrical inspection. Check with your local building department.
- This is a 240V circuit. Both legs are hot -- there is no neutral wire. Both the black and white (or red) wires carry 120V to ground. Treat both as live when the breaker is on.
- If you are not comfortable working in an electrical panel, hire a licensed electrician. The $200-$400 is well worth it for a safe, code-compliant installation.
Step-by-Step Instructions
- Determine Wire and Breaker Size
Check the water heater data plate for wattage and voltage. Standard residential: 4,500 watts at 240V = 18.75 amps. Code requires the breaker to be rated at 125% of the continuous load: 18.75 x 1.25 = 23.4 amps, rounded up to a 30-amp breaker. Wire size for 30-amp circuit: 10-gauge (10 AWG) copper. For 5,500-watt elements: same calculation gives 28.6 amps -- still a 30-amp breaker with 10-gauge wire. For anything over 5,500 watts, you may need 8-gauge wire and a 40-amp breaker.
Tip: Use the data plate, not the tank size, to determine the circuit requirements. A 40-gallon and an 80-gallon tank may use the same wattage elements -- the tank size does not determine the electrical load. - Run the Cable
Use 10/2 NM-B (Romex) cable with ground for interior runs. This cable contains two 10-gauge conductors (black and white) plus a bare ground. For runs through conduit, use individual THHN wires. Run the cable from the electrical panel to the water heater location. Leave 24 inches of extra cable at each end for connections. Secure the cable with staples every 4.5 feet and within 12 inches of each box or connection point. Do not run the cable through areas subject to physical damage without conduit protection.
Tip: Plan the route before drilling. Avoid running cable parallel to gas pipes or through areas where it could be punctured by screws or nails. Through joists: drill holes in the center third of the joist. Through studs: protect with nail plates where cable is less than 1.25 inches from the stud face. - Connect at the Water Heater
Remove the junction box cover on top of the water heater. Feed the cable through the cable clamp or conduit connector into the junction box. Connect black wire to black wire (hot leg 1). Connect white wire to red wire or the other hot wire -- in a 240V circuit, the white wire is re-identified as hot (wrap it with black or red electrical tape at both ends per code). Connect bare copper ground wire to the green ground screw in the junction box. Tighten all wire nuts and tug each connection to verify they are secure. Replace the junction box cover.
Tip: The white wire in a 240V circuit carries 120V to ground -- it is NOT neutral. Re-identify it with black or red tape at both the panel and the water heater. This tells anyone working on the circuit later that the white wire is hot. - Connect at the Electrical Panel
Turn off the main breaker. Remove the panel cover. Feed the cable through a knockout and cable clamp. Connect the black wire to one terminal on a new 30-amp double-pole breaker. Connect the white wire (re-identified with tape) to the other terminal. Connect the bare ground to the ground bus bar. Snap the breaker into an available slot. Replace the panel cover. Label the breaker: WATER HEATER.
Tip: Double-pole breakers occupy two slots in the panel and connect to both hot bus bars (L1 and L2), providing 240V. A single-pole 30-amp breaker provides only 120V and will not power a 240V water heater. Make sure you have two available adjacent slots in the panel. - Fill the Tank Before Turning On Power
This is critical: do not turn the breaker on until the tank is completely full of water. Open the cold water inlet valve. Open a hot water faucet in the house. When water flows steadily from the hot faucet with no air sputtering, the tank is full. Close the faucet. Now turn on the 30-amp breaker. The heating elements will begin heating the water. First heat-up takes 60-90 minutes for a 50-gallon tank. Elements running in an empty or partially filled tank burn out within minutes -- a $100-$200 repair.
Tip: Set a phone timer for 90 minutes after turning on the breaker. Check the hot water temperature at a faucet. Should be reaching 110-120°F. If still cold, verify both thermostats are set to 120°F and the breaker did not trip.
Pro Tips
- A dedicated circuit means nothing else connects to it. No lights, no outlets, no other appliances. Just the water heater. This is a code requirement, not a suggestion.
- If the water heater is in a garage or unfinished space, run the wire in conduit (EMT or PVC) for physical protection. NM-B (Romex) is not rated for wet or exposed locations.
- Label the breaker clearly at the panel and put a second label at the water heater junction box indicating the breaker number. This saves time for future service.
- If you are replacing an old electric water heater and the existing wiring is 12-gauge on a 20-amp breaker, it may be undersized for a modern 4,500-watt element. Verify the wire gauge before connecting the new unit.
- GFCI protection is not currently required by NEC for water heater circuits in most installations, but some local codes are starting to require it. Check your local requirements. A GFCI breaker for a 30-amp 240V circuit costs $40-$60.
When to Call a Pro
Hire a licensed electrician if you need a new circuit run from the panel and are not experienced with panel work, if your electrical panel is full and needs a sub-panel or upgrade, if you are unsure about wire sizing for your specific water heater, or if local code requires a licensed electrician for permit work.
Frequently Asked Questions
When should I call a plumber to wire an electric water heater?
Hire a licensed electrician if you need a new circuit run from the panel and are not experienced with panel work, if your electrical panel is full and needs a sub-panel or upgrade, if you are unsure about wire sizing for your specific water heater, or if local code requires a licensed electrician for permit work.
What are some expert tips to wire an electric water heater?
A dedicated circuit means nothing else connects to it. No lights, no outlets, no other appliances. Just the water heater. This is a code requirement, not a suggestion. If the water heater is in a garage or unfinished space, run the wire in conduit (EMT or PVC) for physical protection. NM-B (Romex) is not rated for wet or exposed locations. Label the breaker clearly at the panel and put a second label at the water heater junction box indicating the breaker number. This saves time for future service. If you are replacing an old electric water heater and the existing wiring is 12-gauge on a 20-amp breaker, it may be undersized for a modern 4,500-watt element. Verify the wire gauge before connecting the new unit. GFCI protection is not currently required by NEC for water heater circuits in most installations, but some local codes are starting to require it. Check your local requirements. A GFCI breaker for a 30-amp 240V circuit costs $40-$60.
What tools do I need to wire an electric water heater?
You will need: 10/2 NM-B cable with ground (length depends on run distance), 30-amp double-pole breaker (must match panel brand -- Square D, GE, Eaton, etc.), Wire strippers and cable ripper, Voltage tester (non-contact type for safety verification), Screwdrivers (flathead and Phillips), Wire nuts (yellow for 10-gauge connections), Black or red electrical tape (for re-identifying the white wire as hot), Cable staples and nail plates.
When should I call a professional instead of doing this myself?
Hire a licensed electrician if you need a new circuit run from the panel and are not experienced with panel work, if your electrical panel is full and needs a sub-panel or upgrade, if you are unsure about wire sizing for your specific water heater, or if local code requires a licensed electrician for permit work.
How difficult is this project?
This project is rated advanced. This requires significant plumbing experience. Consider hiring a pro.
How long does this take?
Plan for approximately 1 - 2 hours. First-timers may need extra time.
How much will this cost?
The estimated cost is $20 - $60 in wire and fittings. Costs vary by location and materials chosen.
