AC wire color is the standardized insulation coloring applied to alternating current conductors to instantly identify their electrical function—hot, neutral, or ground—ensuring safe installation and troubleshooting. In North American 120V/240V split-phase systems governed by the National Electrical Code (NEC), black or red designates the ungrounded (hot) conductor, white or gray designates the grounded (neutral) conductor, and bare copper or green designates the equipment grounding conductor. Getting this right dictates terminal placement on devices, determines which wires can be safely switched or fused, and prevents catastrophic short circuits or lethal shock hazards during maintenance.

What people most commonly confuse AC wire colors with is DC wire coloring. In direct current systems (like automotive or solar battery banks), red is positive and black is negative. Applying DC logic to an AC panel—where black is hot and white is the return path—is a frequent and dangerous error made by hobbyists integrating solar inverters or off-grid battery backups.

Safety Caveat: Always de-energize the circuit at the main breaker, lock out the panel if possible, and verify the wires are dead using a tested non-contact voltage tester and a multimeter before touching any conductors. NEC-style guidance provided here is for educational purposes; your local Authority Having Jurisdiction (AHJ) has final say on code compliance.

The Master AC Wire Color Chart (NEC Standards)

The NEC strictly regulates conductor identification in Article 200 (Use and Identification of Grounded Conductors), Article 210, and Article 250. Below is the definitive reference for standard residential and light-commercial AC systems in North America.

Voltage System Phase / Function NEC Wire Color (Insulation) Typical AWG Range Terminal Designation
120V Single-Phase Hot (Ungrounded) Black 14 AWG to 10 AWG Brass / Gold Screw
120V Single-Phase Neutral (Grounded) White or Gray 14 AWG to 10 AWG Silver Screw
120V / 240V Split Hot Leg 2 (Ungrounded) Red 14 AWG to 10 AWG Brass / Gold Screw
240V Split-Phase Neutral (Grounded) White 10 AWG to 4 AWG Silver Screw / Neutral Bar
Any System Equipment Ground Bare Copper or Green 14 AWG to 4 AWG Green Screw / Ground Bar
208V 3-Phase (Wye) Phase A, B, C Black, Red, Blue 12 AWG to 1/0 AWG Brass / Gold / L1, L2, L3
480V 3-Phase (Wye) Phase A, B, C Brown, Orange, Yellow 12 AWG to 1/0 AWG L1, L2, L3
Key Code Rule: NEC Article 250.119 strictly forbids using green or bare wire for anything other than an equipment ground. You cannot re-identify a green wire with black tape to use it as a hot conductor.

Worked Example: Wiring a 30A 240V Dryer Receptacle

To see how these colors interact in a real circuit, let’s look at a standard NEMA 14-30R electric dryer receptacle. This is a 120V/240V split-phase load that requires four wires to operate safely.

The Load Math: A typical electric dryer draws about 22 to 26 amps at 240V for the heating element, and uses 120V for the drum motor and control timers. Because the continuous load approaches 26A, the NEC requires a 30-amp double-pole breaker. According to NEC Table 310.16 (using the 60°C column for standard NM-B cable terminations), a 30A circuit requires 10 AWG copper wire.

The Wiring Execution (using 10/3 NM-B Romex):

  • Black Wire (Hot A): Connects to the X terminal (one side of the 240V heating element) and provides 120V to the motor circuit.
  • Red Wire (Hot B): Connects to the Y terminal (the other side of the 240V heating element). The voltage potential between Black and Red is 240V.
  • White Wire (Neutral): Connects to the W (center) terminal. This provides the 120V return path for the motor and timer. Think of the neutral as the dedicated return pipe for the water you used, while the ground is the emergency overflow drain that only carries water during a leak.
  • Bare Copper (Ground): Connects to the G terminal and the metal chassis of the dryer. It carries zero current under normal operation.

If you were to mistakenly swap the white neutral and the bare ground at the receptacle, the dryer might still run because the ground bar and neutral bar are bonded at the main service panel. However, this creates a severe shock hazard: the metal chassis of the dryer would now carry normal operating return current, violating OSHA electrical safety standards and NEC 250.142.

Where You Meet AC Wire Colors in Practice

You will encounter AC wire color rules in three specific scenarios where mistakes are most common:

1. Panelboard Neutral and Ground Bars

Inside your main service panel, the neutral bar (where white wires land) and the ground bar (where bare/green wires land) are bonded together via a main bonding jumper. However, in a subpanel, they must remain strictly isolated. If you land a bare ground wire on the silver neutral bar in a subpanel, you risk energizing the grounding system with return current. Always match the wire color to the bar: white/gray to the neutral bar, bare/green to the ground bar.

2. Switch Loops and Re-identification

When wiring a standard single-pole light switch, power often drops from the ceiling fixture down to the switch box. Electricians use a 2-wire cable (black and white) for this "switch loop." The white wire is used to carry switched hot power back up to the light. Under NEC 200.7(C)(2), this white wire must be permanently re-identified at both ends with black electrical tape or a permanent marker to indicate it is being used as an ungrounded (hot) conductor, not a neutral.

3. Multi-Wire Branch Circuits (MWBC)

In kitchens and garages, you will often see a 3-wire cable (Black, Red, White, Bare) feeding two separate 120V circuits that share a single neutral. The black and red wires must be on opposite phases (legs) of the panel so the neutral only carries the unbalanced load, not the sum of both. This requires a 2-pole breaker with a handle tie. If you misidentify the colors and put both hots on the same phase, the shared white neutral will overload and melt inside the wall.

Common Confusions and Code Exceptions

Even experienced DIYers trip up on edge cases involving legacy wiring and international standards.

  • IEC vs. NEC Colors: If you are importing European appliances or wiring a solar inverter manufactured to IEC 60446 standards, the colors are entirely different. IEC uses Brown for hot, Blue for neutral, and Green/Yellow stripe for ground. Never assume a blue wire is a neutral in an American 120V panel without verifying it with a meter; in some older US industrial 480V systems, blue is a hot phase conductor.
  • Pre-1970s Cloth Wiring: In older homes, you may find cloth-covered wires where the insulation colors have faded to a uniform dirty beige or gray. In these systems, color coding was not strictly standardized. You must use a voltage sniffer or multimeter to identify the hot conductor before doing any retrofit work.
  • The "White Traveler" in 3-Way Switches: In a 3-way switch setup, the travelers between the two switches are often run using standard 3-wire cable (Black, Red, White). The white wire acts as a hot traveler, not a neutral. While the NEC prefers you to re-identify it, in existing walls, you will frequently see white wires carrying 120V between switches. Always test before touching.

Frequently Asked Questions

Can I use a white wire as a hot conductor if I run out of black wire?
Yes, but only if you permanently re-identify it. NEC 200.7 requires you to wrap the wire with black or red electrical tape, or use a permanent marker, at every point where the insulation is visible (both ends and any junction boxes). You cannot do this for the neutral return path; a white wire used as a neutral must remain white.

Why do some 240V appliances only have three wires (Black, Red, Bare)?
Pure 240V loads, like baseboard heaters or well pumps, do not require 120V for control circuits. Therefore, they do not need a neutral (white) wire. The current flows back and forth between the black and red hot legs. A 2-pole breaker and a grounding conductor are still mandatory.

Is it safe to use a green wire for a hot leg if I tape it black?
Absolutely not. NEC 250.119 explicitly forbids using green, green with yellow stripes, or bare conductors for anything other than equipment grounding. Taping a green wire black is a severe code violation and an immediate safety hazard.