Electric wire color coding is the standardized insulation coloring of conductors that instantly identifies their voltage potential and circuit function to prevent shock and ensure code compliance. In a real installation, correct color coding changes a four-hour troubleshooting nightmare into a five-minute fix, prevents lethal cross-phase shorts, and dictates whether an inspector signs off on your rough-in. People most commonly confuse US National Electrical Code (NEC) AC branch circuit colors with low-voltage DC colors (where red is positive and black is negative) or European IEC standards (brown, blue, and green-yellow).

The Core Standard: US NEC AC Color Codes

The NEC does not mandate a single universal color for every wire in every situation, but it strictly defines the colors for grounded (neutral) and grounding conductors, while establishing strong conventions for ungrounded (hot) conductors based on voltage class. According to NFPA 70 (NEC) Article 310.110, conductors must be identified by system and voltage.

Safety Callout: Never assume wire colors are correct in an existing panel. Always de-energize the circuit, lock out the breaker, and verify dead with a tested CAT III or CAT IV multimeter before touching any conductor. Previous owners or unlicensed handymen frequently violate color codes.
System Voltage Phase A (Hot) Phase B (Hot) Phase C (Hot) Neutral (Grounded) Ground (EGC)
120/240V Single-Phase Black Red N/A White or Gray Green or Bare
208Y/120V 3-Phase Black Red Blue White or Gray Green or Bare
480Y/277V 3-Phase Brown Orange Yellow Gray Green or Bare

Notice the neutral shift: in 120V/208V systems, the neutral is White. In 277V/480V systems, the neutral must be Gray to prevent a lethal mix-up if a 480V panel and a 120V panel share the same physical workspace.

What Color Coding Changes in a Real Installation

Beyond passing inspection, strict adherence to electric wire color coding fundamentally alters three things on the jobsite:

  1. Arc Flash and Shock Mitigation: If an electrician expects a White wire to be a neutral but it is actually a 240V hot leg misused by a previous installer, removing the wire nut can result in a fatal shock or arc flash. Proper coloring sets correct expectations for PPE boundaries.
  2. Troubleshooting Velocity: When a 3-way switch circuit fails, tracing a Red traveler versus a Black common takes seconds if the colors match the schematic. If all wires are black, you must perform a continuity and voltage test on every single termination, multiplying labor time by a factor of three or four.
  3. Equipment Longevity: Mixing up 208V and 480V phases due to poor color coding will instantly destroy the control boards of HVAC compressors and commercial lighting ballasts, leading to thousands of dollars in replacement costs.

Where You Meet This in Practice: The 20A MWBC Pull

To see how this theory translates to copper and conduit, consider a 20A Multi-Wire Branch Circuit (MWBC) feeding two kitchen receptacles in 1/2-inch EMT conduit. You are using 12 AWG THHN copper wire, which costs roughly $0.18 per foot per conductor in 2026.

You pull four wires: Black (Phase A), Red (Phase B), White (Shared Neutral), and Green (Equipment Grounding Conductor). The Black and Red wires are terminated on a 2-pole 20A breaker, ensuring they are on opposite phases (180 degrees out of phase in a residential split-phase system).

The Math in Action: If Phase A (Black) draws 14A for a toaster and Phase B (Red) draws 9A for a blender, the shared White neutral only carries the unbalanced load: 14A - 9A = 5A.

If you ignored color coding and used Black and Black-with-Red-Stripe for the hots, a future electrician might assume they are on the same phase. If they replace the double-pole breaker with two single-poles on the same leg, the neutral current becomes additive (14A + 9A = 23A). The 12 AWG White neutral wire will now carry 23A on a 20A rated conductor, melting the insulation inside the walls and starting a fire. Color coding prevents this exact catastrophic failure mode.

Common Confusions: DC Crossovers and Switched Hots

When working across different disciplines, wire colors mean entirely different things. Here is where DIYers and cross-trade technicians get burned:

  • AC vs. DC: In 12V DC solar or automotive systems, Red is Positive (+) and Black is Negative (-). If you wire a 120V AC outlet using leftover solar wire, you are violating NEC 310.110 and creating a massive shock hazard for anyone who assumes the Black wire is a hot and the Red is a neutral.
  • Switched Hots (NEC 200.7(C)): You are allowed to use a White wire as a hot conductor in a switch loop (e.g., power going down to a single-pole switch and back up to a light). However, the code strictly requires you to re-identify the White wire at every visible termination using black or red electrical tape, or heat-shrink tubing. Leaving it bare white is a direct code violation.
  • European IEC vs. US NEC: If you import machinery from Europe, the internal wiring will use Brown (Hot), Blue (Neutral), and Green-Yellow stripe (Ground). Do not blindly connect Brown to Black and Blue to White without verifying the machine's internal transformer taps and voltage ratings.

Decision Path: Selecting THHN Colors for Your Next Pull

Use this decision tree to select the exact wire colors for your next conduit pull. Do not deviate from these defaults unless your local AHJ (Authority Having Jurisdiction) has a specific amendment.

If Your System Is... And Your Application Is... Then Buy These THHN Colors (Plus Green EGC)
120/240V Split-Phase Standard 120V Branch Circuit Black (Hot), White (Neutral)
120/240V Split-Phase 240V Only (Baseboard Heater) Black (Hot 1), White w/ Black Tape (Hot 2)
120/240V Split-Phase MWBC or 120/240V Dryer Black, Red, White
208Y/120V 3-Phase Commercial Receptacles Black, Red, Blue, White
480Y/277V 3-Phase Commercial Lighting/Motors Brown, Orange, Yellow, Gray
Default Recommendation: For 95% of residential DIY and renovation pulls, buy a 500ft spool each of Black, White, and Green 12 AWG THHN, plus a 250ft spool of Red for MWBCs and 3-way switch travelers. This covers every standard 120V/240V requirement without forcing you to buy expensive custom cuts.

Frequently Asked Questions

Can I use gray wire instead of white for a 120V neutral?

Yes, NEC 200.6 allows white, gray, or three continuous white stripes on other than green insulation for grounded conductors. However, gray is heavily associated with 480V neutrals in commercial work. In a residential 120V setting, stick to solid white to avoid confusing future electricians.

Does the ground wire have to be green?

NEC 250.119 mandates that the equipment grounding conductor (EGC) must be bare, green, or green with yellow stripes. You cannot use black, white, or any other color for a safety ground. If you are pulling in a conduit and want to save space, a bare copper wire is perfectly legal and often cheaper than insulated green THHN.

What if I run out of white wire for a neutral?

You cannot substitute another color for a neutral. You must stop work and acquire the correct white (or gray) wire. Using black wire for a neutral and 'remembering' it is a neutral is a severe code violation and a massive safety hazard that will fail inspection and risk electrocution.