In the United States, electric wire color codes are strictly governed by the National Electrical Code (NEC / NFPA 70). For standard residential and commercial AC power, the baseline rule is simple: black, red, and blue are ungrounded (hot) conductors; white or gray are grounded (neutral) conductors; and bare copper or green are equipment grounding conductors. However, once you move into 240V split-phase, 3-phase commercial systems, or switch loops, the color assignments shift, and misinterpreting them can lead to catastrophic short circuits or fatal shocks.
This reference cuts through the ambiguity. Below is the definitive NEC color code chart, the specific rows where DIYers and apprentices make dangerous mistakes, and a concrete decision path to select the exact wire type for your next pull.
The Complete US Electric Wire Color Codes Reference Table
The following chart outlines the standard NFPA 70 (NEC) color assignments for AC and DC systems. Always verify your local Authority Having Jurisdiction (AHJ), as some municipalities adopt older NEC cycles or have specific local amendments.
| System Type | Voltage / Phase | Hot / Ungrounded | Neutral / Grounded | Ground / Bonding |
|---|---|---|---|---|
| Standard AC | 120V Single-Phase | Black | White | Bare or Green |
| Split-Phase AC | 240V Single-Phase | Black, Red | White | Bare or Green |
| 3-Phase AC | 120/208V (Y-System) | Black, Red, Blue | White | Bare or Green |
| 3-Phase AC | 277/480V (Y-System) | Brown, Orange, Yellow | Gray | Bare or Green |
| High-Leg Delta | 120/240V 3-Phase | Black, Red, Orange (High Leg) | White | Bare or Green |
| Standard DC | Low Voltage (< 50V) | Red (Positive) | Black or White (Negative) | Green (if applicable) |
Rows People Get Wrong (And How to Avoid Code Violations)
The chart above looks straightforward until you open a junction box built in 1985. Here are the most common misapplications and how to handle them safely.
The "White Wire as Hot" Switch Loop
In older homes, electricians often ran 14/2 NM-B cable from a ceiling fixture down to a single-pole switch. They used the white wire to carry the switched hot back up to the light. Under NEC 200.7(C), using a white wire as an ungrounded conductor is permitted only if it is permanently re-identified at both ends with black tape, paint, or heat shrink. If you see a white wire connected to a brass screw on a switch or a black pigtail in a wire nut bundle, treat it as a 120V hot conductor.
The 277/480V Neutral Trap
Apprentices frequently pull white wire for the neutral on a 480V commercial panel. This is a direct violation of NEC 200.6. For systems where the phase-to-ground voltage exceeds 120V (like 277/480V), the grounded neutral conductor must be gray. Using white here creates a lethal confusion risk if a technician assumes the white wire is a safe 120V neutral.
The High-Leg Delta Orange Wire
In older industrial facilities with a 120/240V high-leg delta transformer, the "B" phase measures 208V to ground instead of 120V. NEC 110.15 mandates this high leg must be colored orange (often called the "wild leg" or "bastard leg"). Never connect a 120V load to an orange wire; it will instantly destroy the equipment and trip the breaker.
Regional Variants: NEC vs. IEC vs. Old UK
If you are importing machinery from Europe, working on a vessel, or troubleshooting equipment built to international standards, the US color codes will not apply. The International Electrotechnical Commission (IEC 60446) standardizes colors for most of the world, including the UK (post-2006).
| Function | US (NEC / NFPA 70) | Europe / Modern UK (IEC 60446) | Old UK (Pre-2004) |
|---|---|---|---|
| Single-Phase Hot (Line) | Black | Brown | Red |
| Neutral | White | Blue | Black |
| Protective Earth (Ground) | Bare or Green | Green/Yellow Stripe | Green |
| 3-Phase Lines (L1, L2, L3) | Black, Red, Blue (208V) Brown, Orange, Yellow (480V) |
Brown, Black, Gray | Red, Yellow, Blue |
Safe Interpretation When Markings Are Faded or Missing
UV exposure, heat degradation, and decades of dust can turn black wire gray and white wire brown. When visual identification fails, you must rely on electrical testing. According to OSHA electrical safety guidelines, verification is mandatory before handling.
- Test for Phantom Voltage: Use a Non-Contact Voltage (NCV) tester (like the Fluke 1AC-II) to scan the bundle. Note that NCV testers can trigger on induced "phantom" voltage from adjacent live wires.
- Verify with a Low-Impedance DMM: Set your multimeter to LoZ (Low Impedance) mode if available. This bleeds off phantom voltage. Measure from the suspect wire to a known, verified grounding source (like the metal panel chassis or a bare copper ground wire).
- Read the Thresholds:
- 114V - 126V: This is a standard 120V hot conductor.
- 228V - 252V: This is a 240V hot conductor (measure hot-to-hot).
- < 2V: This is likely a neutral or ground (assuming the circuit is under load, neutral may show 1-3V drop).
- Re-identify or Replace: If the insulation is physically cracked or the color is entirely ambiguous, the NEC requires replacement. If it is merely faded but structurally sound, you may re-identify it using colored PhaseID tape at every termination point and junction box.
Decision Path: Which Wire Color and Type to Pull
Stop guessing at the hardware store. Use this decision matrix to select the exact cable type and color configuration for your specific circuit requirements.
| Application Scenario | System Specs | Concrete Wire Pick (Buy This) |
|---|---|---|
| Standard 15A Bedroom/Living Room Outlets & Lights | 120V, 15A Max, Single Phase | 14/2 NM-B (Romex) Colors: Black (Hot), White (Neutral), Bare (Ground). |
| Kitchen Countertop Outlets or 20A Garage Receptacles | 120V, 20A Max, Single Phase | 12/2 NM-B Colors: Black (Hot), White (Neutral), Bare (Ground). |
| Electric Dryer or Standard EV Charger (Level 2) | 240V, 30A to 50A, Split Phase | 10/3 or 6/3 NM-B Colors: Black (Hot 1), Red (Hot 2), White (Neutral), Bare (Ground). |
| Commercial 3-Phase Motor in EMT Conduit | 208V, 3-Phase, Individual Wires | THHN/THWN-2 Individual Conductors Pull: Black, Red, Blue (Hots) + White (Neutral if needed) + Green (Ground). Size per motor FLA x 1.25. |
| Low Voltage LED Strip or Arduino/Solar DC Bus | 12V/24V DC, < 10A | 16 AWG or 14 AWG Stranded Copper Use Red for VCC (+), Black for GND (-). Keep away from AC mains conduit. |
By strictly adhering to the NEC color assignments and verifying unknown wires with a low-impedance meter, you eliminate the most common causes of residential electrical fires and equipment damage. When in doubt, pull a new wire; the cost of a 250-foot spool of IEC/UL certified THHN is always cheaper than replacing a melted subpanel.






