AC wiring colors are a standardized visual coding system applied to electrical conductor insulation to identify their specific function and voltage potential within an alternating current circuit. While electrons do not care about the color of the plastic surrounding them, the National Electrical Code (NEC) strictly enforces these colors to prevent lethal shocks, ensure proper breaker operation, and make troubleshooting possible. Misidentifying a conductor's role doesn't change the underlying physics of the circuit, but it drastically changes the safety profile, often turning a standard branch circuit into a hidden fire hazard or an energized enclosure.
The Standard AC Wiring Color Code Chart (NEC Guidelines)
The NEC does not explicitly mandate a single universal color for every hot wire in every scenario, but it strictly dictates the colors for grounded (neutral) and grounding conductors, while establishing strong industry standards for ungrounded (hot) phases based on voltage. The table below outlines the standard color codes enforced by NFPA 70 (NEC) and standard industry practice for the most common systems you will encounter in residential and commercial work.
| System Voltage | Phase A (Hot) | Phase B (Hot) | Phase C (Hot) | Neutral (Grounded) | Ground (Equipment) |
|---|---|---|---|---|---|
| 120V / 240V Single-Phase | Black | Red | N/A | White or Gray | Bare or Green |
| 120V / 208V 3-Phase (Wye) | Black | Red | Blue | White or Gray | Bare or Green |
| 277V / 480V 3-Phase (Wye) | Brown | Orange | Yellow | Gray | Green or Green/Yellow |
| 240V 3-Phase Delta (High Leg) | Black | Orange (High Leg) | Blue | White or Gray | Bare or Green |
How Color Coding Changes Real-World Installations
To understand why AC wiring colors matter beyond simple organization, consider a Multi-Wire Branch Circuit (MWBC). An MWBC uses a single 12/3 NM-B cable (containing Black, Red, White, and Bare wires) to supply two separate 120V circuits that share a single neutral wire. This works safely because the Black and Red hots are connected to opposite legs of the 240V split-phase panel, meaning their AC waveforms are 180 degrees out of phase.
Worked Numeric Example:
Imagine the Black wire (Hot A) is powering a television drawing 15A, and the Red wire (Hot B) is powering a lamp drawing 12A. Because the waves are 180 degrees out of phase, the current returning on the shared White neutral is the mathematical difference between the two loads, not the sum.
|15A (Black) - 12A (Red)| = 3A on the neutral.
Result: The 12 AWG neutral (rated for 20A) runs cool and safe.
The Failure Mode:
If an installer ignores color coding and accidentally connects both the Black and Red wires to the same phase leg in the breaker panel (e.g., both on Phase A), the waveforms are now in phase (0 degrees shift). The neutral wire must now carry the sum of the return currents.
15A (Black) + 12A (Red) = 27A on the neutral.
Result: The 12 AWG neutral is only rated for 20A at 60°C (per NEC 334.80). It will overheat, melt its insulation inside the wall cavity, and start a fire. Neither the 20A Black breaker nor the 20A Red breaker will trip, because neither individual breaker sees more than its rated load.
This is what color coding changes in a real installation: it provides the visual verification required to ensure hots are distributed across opposite phases, protecting the shared neutral from catastrophic overload.
Where You Meet AC Wiring Colors in Practice
You will primarily encounter AC wiring color rules in two distinct environments: pre-packaged cable assemblies and individual conductors pulled through conduit.
1. NM-B (Romex) Cable Assemblies
When you buy a 250-foot roll of 12/2 NM-B, the colors are fixed at the factory: Black (Hot), White (Neutral), Bare (Ground). If you buy 12/3, you get Black, Red, White, and Bare. You cannot change these colors, so your panel scheduling and breaker placement must adapt to the cable. When using the Red wire in a 240V baseboard heater circuit, the NEC requires you to wrap the White wire in black or red electrical tape at both ends to re-identify it as a hot conductor, since 240V loads do not use a neutral.
2. THHN/THWN in Conduit
When pulling individual wires through EMT or PVC conduit, you have more flexibility, but strict rules apply. You can use Black, Red, Blue, Yellow, or Orange for your hot conductors. However, you must buy factory-white or factory-gray wire for your neutrals, and factory-green or bare wire for your grounds.
A common point of failure for DIYers is the "switch loop." In older NEC cycles, you could run a 2-wire cable down to a switch, using the White wire as the hot feed down to the switch, and the Black wire as the switched hot back up to the light. The 2011 NEC (and all subsequent versions up to 2026) now requires a dedicated neutral at most switch locations for smart switches. If you are pulling THHN in conduit for a modern switch loop, you must pull a Black (always hot), a Red (switched hot), a White (neutral), and a Green (ground) to remain compliant and functional.
Common Confusions: AC vs. DC and 3-Phase Variants
The most dangerous mistakes happen when installers cross-pollinate color logic from different electrical domains.
The 277V/480V Commercial Shift
Apprentices moving from residential to commercial work frequently make the mistake of using Black, Red, and Blue for a 480V 3-phase motor. Under OSHA electrical safety guidelines and NEC 215.12(C), 277V/480V systems must use Brown, Orange, and Yellow for the hots, and Gray for the neutral.
Why does this matter? Because Black, Red, and Blue are universally recognized as 120V/208V colors. If a maintenance technician opens a 480V panel and sees Black, Red, and Blue wires, they may assume the system is 208V and approach it without the proper Category 3 or 4 arc flash PPE. Using the correct high-voltage colors is a life-saving communication tool, not just a bureaucratic preference.
Frequently Asked Questions
Can I use a white wire as a hot conductor in a 120V circuit?
Only if it is permanently re-identified at every point where it is visible and accessible. You must wrap it with black or red electrical tape, or use permanent marker, to indicate it is an ungrounded (hot) conductor. This is common in switch loops and 240V appliance whips.
What if I'm working on a house with old cloth-covered wiring? Is the ground wire always bare?
In NM-B cable, yes. In conduit systems, or in specialized cables like UF-B or MC (Metal Clad), the equipment grounding conductor is often insulated in green, or green with a yellow stripe. Both bare copper and green-insulated copper serve the exact same safety function.






