Home wire colors are a standardized visual coding system applied to electrical conductor insulation to instantly identify a wire's function and voltage potential within a circuit. While the copper or aluminum inside the jacket carries the current regardless of the plastic wrapping, the color changes everything about human interaction with the circuit: it dictates troubleshooting speed, establishes safety protocols, and determines National Electrical Code (NEC) compliance. Assuming you are working on a standard US 120/240V split-phase AC system, the baseline rule is simple: Black is hot, white is neutral, and bare or green is ground.

What do people commonly confuse this with? Novices frequently mix up AC home wiring colors with DC automotive or solar colors (where red is positive and black is negative). More dangerously, they confuse a wire's original color with its actual function, assuming a white wire is always a safe, de-energized neutral. Under NEC Article 200.7, a white wire can be re-identified with black tape and used as a hot leg in a switch loop, meaning color alone is never a substitute for testing with a multimeter.

Safety Warning: Never trust wire color to confirm a circuit is dead. Always de-energize the breaker, lock it out if possible, and verify zero voltage using a known-working non-contact voltage tester (NCVT) and a digital multimeter (DMM) before touching any conductor.

Standard US AC Color Code Chart (NEC Guidelines)

The NEC strictly governs the colors used for grounded (neutral) and grounding conductors, while leaving ungrounded (hot) conductors more flexible, provided they are consistently identified. Below is the standard color mapping for residential NM-B (Romex) and THHN wiring.

Wire Color Function NEC Designation Common Wire Types
Black Primary Hot (Ungrounded) Ungrounded Conductor NM-B, THHN, 120V circuits
Red Secondary Hot / Traveler Ungrounded Conductor 12/3 or 14/3 NM-B, 240V, 3-way switches
Blue / Yellow Switched Hots / 277V Ungrounded Conductor THHN in conduit, commercial lighting
White / Gray Neutral (Grounded) Grounded Conductor (Art. 200) All standard residential cables
Bare Copper Equipment Ground Equipment Grounding Conductor (Art. 250) NM-B, UF-B, MC cable
Green Equipment Ground Equipment Grounding Conductor (Art. 250) THHN in conduit, isolated grounds

Where You Meet This in Practice

You will interact with these color codes constantly across three primary residential domains:

  • Receptacles and Outlets: When wiring a standard 15A or 20A duplex outlet, the black (hot) wire lands on the shorter brass slot terminal, the white (neutral) lands on the longer silver slot terminal, and the bare/green wire terminates on the green grounding screw. Reversing black and white creates a "reverse polarity" hazard, leaving the outer sleeve of a plugged-in appliance energized.
  • 3-Way and 4-Way Switches: In multi-location lighting, the red wire acts as a "traveler" between switches. You will frequently see a 14/3 or 12/3 NM-B cable where the black and red wires carry the alternating hot path between the two 3-way switch terminals, while the white wire remains the continuous neutral.
  • Subpanels and Main Panels: In a main service panel, the neutral bar and ground bar are bonded together. In a subpanel, they must be isolated. You will route white wires strictly to the neutral bus and bare/green wires strictly to the ground bus, ensuring that normal return current never flows on the equipment grounding path.

Worked Scenario: The Multi-Wire Branch Circuit (MWBC) Neutral Fire

To understand why home wire colors matter beyond simple organization, we need to look at a Multi-Wire Branch Circuit (MWBC). An MWBC uses a single 3-wire cable (like 12/3 NM-B, containing black, red, white, and bare) to supply two separate 120V circuits that share a single neutral wire.

The Setup: A DIYer is wiring kitchen countertop outlets. They run a 12/3 NM-B cable from the panel to the kitchen. They connect the black wire to a 20A breaker (Circuit A) and the red wire to a second 20A breaker (Circuit B). The white wire is connected to the neutral bar. Both breakers are accidentally installed on the same phase leg (Leg A) in the panel because the DIYer didn't understand split-phase power.

The Numbers: Circuit A (black) powers a toaster drawing 14A. Circuit B (red) powers a coffee maker drawing 12A. The shared 12 AWG white neutral wire is rated for a maximum continuous ampacity of 20A.

The Outcome: The white neutral wire inside the wall melts its insulation, creating an arc fault and a severe fire hazard, while the 20A breakers never trip.

What Went Wrong: Think of the neutral wire as a single-lane return highway for electrical current. Because both breakers were on the same phase leg (Leg A), the AC waveforms were perfectly in sync. The neutral wire had to carry the sum of both circuits: 14A + 12A = 26A. The 12 AWG neutral wire was forced to carry 26A on a 20A-rated path.

If the DIYer had correctly placed the black wire on Leg A and the red wire on Leg B (opposite phases), the AC waveforms would be 180 degrees out of phase. The currents would cancel each other out on the neutral return highway, and the neutral would only carry the difference (14A - 12A = 2A). The red wire color was the visual cue that this was the second phase leg, and the failure to separate them in the panel bypassed the physics that keeps MWBCs safe. (Note: NEC 210.4 now requires handle ties for MWBCs to ensure simultaneous disconnect).

Common Mistakes and Verification Steps

When working with existing home wiring, especially in houses built before the 1980s or modified by previous owners, color codes are often violated. Follow these numbered steps to verify your circuit safely:

  1. Test Before Touching: Use a DMM to measure voltage between the suspected hot (black/red) and the neutral (white). You should read between 114V and 126V.
  2. Check for Switch Loops: If you open a ceiling light box and see a 2-wire cable (black and white) coming from a wall switch, the white wire is likely being used as the hot feed from the switch to the light. Verify this with a voltage tester. If it is hot, it must be re-identified with black electrical tape or marker per NEC 200.7(C)(2).
  3. Verify Ground Integrity: Measure resistance between the bare/green ground wire and a known good ground (like a cold water pipe or the panel ground bus). It should read less than 1 ohm. If it reads infinite (open), your grounding path is broken, regardless of the wire color.
  4. Look for "Bootleg" Grounds: In older homes, someone may have replaced a 2-prong outlet with a 3-prong outlet and jumpered the neutral terminal to the ground screw. This makes the ground wire carry return current, energizing appliance chassis if the neutral fails. Use an outlet tester to check for "False Ground" or "Bootleg Ground" conditions.

Frequently Asked Questions

Can I use a green or bare wire as a hot conductor?

No. OSHA and NEC Article 250.119 strictly prohibit using green, green with yellow stripes, or bare conductors for anything other than equipment grounding. Using a ground wire as a hot creates a lethal shock hazard, as anyone touching the appliance chassis or the grounding system could become the path to earth.

What if I am wiring a 240V appliance and only have 2-wire cable (black and white)?

For a pure 240V load (like a baseboard heater) that does not require a neutral, you can use a 2-wire cable. However, you must re-identify the white wire at both ends with black or red tape to indicate it is an ungrounded (hot) conductor. Both the black and the re-identified white wire will connect to the two hot terminals on the 240V breaker.

Do home wire colors change if I use conduit and THHN instead of Romex?

The core rules remain the same: white/gray is neutral, green/bare is ground. However, for hot conductors in conduit, electricians often use black, red, and blue for 120/208V 3-phase systems, or black, red, and yellow for 120/240V split-phase to keep complex panel wiring organized. The NEC allows any color other than white, gray, or green for hot wires, provided they are consistent throughout the installation.