Electric wire color coding is a standardized visual insulation system that identifies a conductor's voltage, phase, and function (hot, neutral, or ground) to ensure safe circuit assembly and maintenance. In a real installation, the color electric wire dictates how overcurrent devices are grouped, whether a neutral conductor is required, and how multi-phase loads balance across a panelboard. Beginners commonly confuse wire color with the wire's gauge (AWG) or insulation material (THHN vs. NM-B), but while gauge dictates ampacity and insulation dictates environmental tolerance, color strictly dictates circuit function and phase relationship.

The Physics and Code Behind Conductor Colors

The National Electrical Code (NEC) mandates specific colors for grounded (neutral) and grounding (earth) conductors to prevent lethal shock hazards, while allowing more flexibility for ungrounded (hot) conductors. According to NFPA 70 (NEC) Article 200.2, the neutral wire must be white or gray, and Article 250.118 dictates that equipment grounding conductors must be bare, green, or green with a yellow stripe. Ungrounded (hot) conductors can be any color except white, gray, or green, but industry standard practice has solidified around black, red, and blue.

US NEC Standard AC Wire Color Codes (2026 Reference)
System Type Phase A (Hot) Phase B (Hot) Phase C (Hot) Neutral (Grounded) Ground (Equipment)
120/240V Single-Phase Black Red N/A White or Gray Bare or Green
120/208V 3-Phase Wye Black Red Blue White or Gray Bare or Green
277/480V 3-Phase Wye Brown Orange Yellow Gray Bare or Green
Bench Note: If you are pulling THHN through conduit for a 277/480V commercial panel, never use white for the neutral. NEC 200.2 requires the high-leg or 480V system neutral to be gray to prevent a maintenance worker from confusing it with a 120/208V white neutral and inadvertently tying 277V to a 120V neutral bus.

Worked Example: The Multi-Wire Branch Circuit (MWBC) Neutral Hazard

To understand what wire color actually changes in a circuit, we need to look at a Multi-Wire Branch Circuit (MWBC). An MWBC shares a single neutral wire between two hot wires on opposite phases. Think of a split-phase 120/240V system like a two-lane highway where traffic flows in opposite directions; the neutral is the shared center merge lane. If traffic flows opposite ways, the merge lane only handles the difference in volume. If both lanes flow the same way, the merge lane is overwhelmed.

The Scenario: You are wiring a kitchen countertop using a 12 AWG NM-B cable containing a black, red, white, and bare wire, protected by a 20A handle-tied double-pole breaker.

  • Phase A (Black): Powers a toaster drawing 16A.
  • Phase B (Red): Powers a coffee maker drawing 14A.

Correct Wiring (Opposite Phases):
Because the black and red wires are on opposite 120V legs (180° out of phase), the alternating current peaks cancel each other out on the return path. The white neutral wire only carries the unbalanced load: |16A - 14A| = 2A. The 12 AWG neutral runs cool and safe.

Incorrect Wiring (Same Phase):
If an installer misidentifies the panel phases and lands both the black and red wires on the same 120V busbar, the currents no longer cancel. They add together. The white neutral now carries 16A + 14A = 30A.

Fire Hazard: The 12 AWG white neutral wire is only rated for 20A. It has no breaker protecting it directly (the breakers are on the hot wires). At 30A, the neutral wire will overheat, melt its insulation inside the wall cavity, and start a fire, all while the 20A breakers remain perfectly happy and never trip. This is why NEC 210.4 strictly requires MWBC hot wires to be on opposite phases and simultaneously disconnected via a handle tie or common-trip breaker.

Where You Meet This in Practice

You will encounter strict color-coding enforcement in three common residential and light-commercial scenarios:

  1. Switch Legs in Lighting: When running power to a light switch and then up to the fixture, the white wire in a 2-wire cable is often used as the "switched hot" returning to the light. NEC 200.7(C)(2) requires you to re-identify this white wire with black tape or paint at both ends to warn future electricians that it is hot, not neutral.
  2. 240V Baseboard Heaters: Many 240V heaters only require two hot wires and a ground. Installers frequently use standard 12/2 NM-B (black, white, bare). The white wire must be re-identified with red or black tape at the panel and the heater to indicate it is carrying 120V to ground, not acting as a neutral return.
  3. Subpanel Feeders: When feeding a subpanel, the neutral and ground buses must be isolated. If you use a 4-wire SER cable (Black, Red, White, Bare), the white wire lands exclusively on the isolated neutral bus. If you mistakenly land a green THHN wire on the neutral bus, you've bonded the subpanel, creating a parallel neutral path that can energize the panel enclosure.

Common Confusions and Re-Identification Rules

The most frequent mistake DIYers make is assuming a wire's function is permanently fixed by its factory insulation color. As noted in Electrical Contractor Magazine's code breakdowns, the NEC allows re-identification of conductors under specific conditions, but it strictly forbids re-identifying a white or gray wire to be used as a hot conductor in standard cable assemblies unless it's a switch leg or a 240V load as mentioned above.

Conversely, you can always use a black or red wire as a neutral in a conduit system if you permanently re-identify it with white tape or white heat-shrink tubing at every termination point. However, you can never use a green or bare wire for anything other than equipment grounding. Attempting to use a bare copper wire as a current-carrying neutral is a severe code violation and a shock hazard, as the bare wire will energize every metal box and conduit it touches.

Frequently Asked Questions About Electric Wire Colors

What color electric wire is the ground in older homes?

In pre-1960s wiring, particularly with Knob and Tube or early cloth-sheathed Romex, there was often no dedicated equipment grounding conductor. If you encounter an old metal-sheathed cable (BX/AC), the metal armor itself was sometimes relied upon as the ground path, though this is no longer code-compliant for new work. If a ground wire was added later in conduit, it might be green, but in some legacy industrial setups, you might find a green wire with a yellow stripe (the IEC standard) or even a bare wire. Always verify continuity to the main grounding electrode system with a multimeter before trusting an older ground path.

Can I use a white color electric wire as a hot conductor?

Yes, but only under strict NEC exceptions. You can use a white wire as a hot conductor if it is part of a cable assembly (like NM-B) and is used as a switch leg returning power to a light fixture, or if it is used as a hot wire for a 240V load that does not require a neutral (like a water heater). In both cases, NEC 200.7(C) mandates that you permanently re-identify the white wire with black or red tape, paint, or heat-shrink at every point where the wire is visible and accessible. You cannot pull a single white THHN wire through a conduit and use it as a hot conductor; conduit allows you to simply pull a black or red wire instead.

Does the color electric wire inside a metal conduit have to match NM-B cable?

No, but it must follow the broader NEC rules for ungrounded and grounded conductors. In a conduit system, you are pulling individual THHN/THWN wires. You must use white or gray for the neutral, and green or bare for the ground. However, for the hot wires, you are not restricted to just black and red. It is highly recommended to use phase-tape or colored THHN (e.g., Black, Red, Blue for a 3-phase panel) to maintain consistency with the panel's phase busbar coloring. If you pull three black wires for a 3-phase circuit, you must label them at both ends with A, B, and C phase tape to prevent future troubleshooting nightmares and ensure proper motor rotation.