House wiring wire colors are a standardized visual coding system that identifies the specific electrical function and voltage potential of each conductor in a circuit. While insulation color doesn't change the physics of electron flow—copper is copper, regardless of what wraps it—it fundamentally changes jobsite safety, troubleshooting speed, and National Electrical Code (NEC) compliance. The most common point of confusion for DIYers is assuming a white wire is always a neutral conductor, or mistaking the equipment ground for a current-carrying neutral, both of which can lead to lethal shock hazards or immediate breaker trips.
The Core Standard: US House Wiring Wire Colors Explained
In the United States, residential wire colors are governed by the National Fire Protection Association (NFPA) through the National Electrical Code (NEC). Unlike the IEC 60446 standards used in Europe (which rely on brown, blue, and green/yellow), the US uses a distinct palette for single-phase 120V/240V systems.
- Black (Ungrounded/Hot): The primary current-carrying conductor bringing 120V from the panel to the device. NEC 210.5(C) requires ungrounded conductors to be identifiable and distinct from grounded (neutral) wires.
- Red or Blue (Secondary Hots): Used for 240V circuits, 3-way switch travelers, or multi-wire branch circuits (MWBC). In a 240V setup, red is the second hot leg, providing the second 120V phase.
- White or Gray (Grounded/Neutral): The return path for current back to the panel. Per NEC 200.6, the grounded conductor must be white or gray. Gray is typically reserved for larger feeders (like 2/0 AWG aluminum) where white insulation isn't standard.
- Green or Bare Copper (Equipment Ground): The safety path for fault currents. It carries zero current under normal operation. Think of the neutral as the normal return highway for traffic, while the ground is the emergency shoulder used only when a car crashes (a fault occurs).
Where You Meet This in Practice: Real-World Installations
You will rarely encounter a perfectly standard color setup in every junction box. Here is where the standard colors bend in practice, and how to interpret them safely.
Switch Loops and 3-Way Switches
In older homes or specific switch loop configurations, you will see a white wire connected to a switch. In this scenario, the white wire is acting as a hot feed down to the switch, and the black wire is the switched hot returning to the light fixture. The NEC requires this white wire to be re-identified with black or red tape at both ends to warn future workers that it is carrying line voltage.
Multi-Wire Branch Circuits (MWBC)
An MWBC uses a 3-wire cable (typically 14/3 or 12/3 NM-B) to supply two separate 120V circuits that share a single neutral. You will see a black hot, a red hot, and a shared white neutral. Critical code requirement: The black and red hots must be on opposite phases (legs) of the panel so the neutral only carries the unbalanced load, and they must be tied together with an approved handle tie so both breakers trip simultaneously, preventing shock when working on the shared neutral.
Worked Example: Wiring a 240V Baseboard Heater
Let's apply these color rules to a real numeric scenario: installing a 2000W, 240V electric baseboard heater.
- Calculate the load: 2000W / 240V = 8.33 Amps.
- Apply the continuous load rule: Because a heater runs for 3+ hours, NEC 210.20(A) requires sizing the breaker at 125% of the load. 8.33A × 1.25 = 10.41 Amps.
- Select the breaker and wire: A 15A breaker is technically sufficient, but standard practice dictates using a 20A breaker with 12 AWG wire (12/2 NM-B) to minimize voltage drop on long runs and allow for future heater upgrades.
- Map the colors: A 12/2 NM-B cable contains a black wire, a white wire, and a bare ground. However, a 240V heater requires two hot wires and a ground; it does not use a neutral.
- The Re-identification Fix: You must use the white wire as your second hot leg. Per NEC 200.7(C)(2), you must permanently re-identify the white wire at every termination point (the panel and the heater junction box) by wrapping it with black or red vinyl electrical tape. The bare wire remains the equipment ground.
Decision Tree: Choosing the Right Cable and Colors for Your Next Circuit
Use this decision path to select the correct cable type and color mapping for standard residential projects. Always default to standard NM-B (Romex) configurations rather than pulling individual THHN wires in residential drywall cavities unless local code mandates conduit.
| Circuit Application | Required Cable / Wire | Color Mapping & Function | Governing NEC Rule |
|---|---|---|---|
| Standard 120V 15A Receptacle | 14/2 NM-B | Black (Hot), White (Neutral), Bare (Ground) | 210.5(C), 200.6 |
| Standard 120V 20A Kitchen/Bath | 12/2 NM-B | Black (Hot), White (Neutral), Bare (Ground) | 210.11(C), 210.5(C) |
| 240V 30A Electric Dryer | 10/3 NM-B | Black (Hot), Red (Hot), White (Neutral), Bare (Ground) | 250.140, 210.5 |
| 120V 3-Way Switch Run | 14/3 NM-B | Black (Common), Red & White (Travelers) | 404.2(A) |
| 240V Baseboard / Water Heater | 12/2 or 10/2 NM-B | Black (Hot), White re-identified as Red/Black (Hot), Bare (Ground) | 200.7(C)(2) |
Common Mistakes and Code Violations to Avoid
Even experienced DIYers make color-coding errors that fail inspection or create hidden hazards. Avoid these specific failures:
- Using Green or Bare as a Hot: Never use a green or bare copper wire to carry current. If you are out of 12/2 cable and try to use the ground wire as a hot for a switch leg, you are creating a massive shock hazard and violating NEC 250.119.
- The 'Bootleg' Ground: In older 2-prong to 3-prong receptacle upgrades, some DIYers jumper the neutral (silver) screw to the ground (green) screw. This is incredibly dangerous. If the neutral wire breaks upstream, the metal casing of whatever you plug in becomes energized at 120V. Use a GFCI receptacle instead, which provides shock protection without an equipment ground.
- Painting or Dyeing Insulation: Never use spray paint, markers, or liquid dye to re-identify a white wire as a hot. The NEC requires permanent re-identification, which means high-quality vinyl electrical tape (like 3M Super 33+) or heat shrink tubing. Paint chips and flakes off over time, leaving the next electrician blind to the wire's true function.
- Mixing Neutral and Ground at Subpanels: In your main service panel, neutral and ground are bonded together. In any subpanel, they must be kept strictly separate on isolated bus bars. Mixing them in a subpanel causes return current to flow on the bare ground wires, which can energize appliance chassis and trip upstream GFCI breakers.
When planning your next circuit, default to standard NM-B color configurations and use high-quality vinyl tape for any necessary re-identification. Never attempt to bypass standard color codes with custom-dyed wires, and always reserve green and bare conductors exclusively for equipment grounding. For complex panel work or service upgrades, consult the Occupational Safety and Health Administration (OSHA) guidelines and hire a licensed professional.






