The L and N wires color code is a standardized insulation coloring system used to identify the current-carrying 'Line' (hot) conductor and the return-path 'Neutral' conductor in an alternating current (AC) circuit. If you are working in the US, the Line wire is typically black (or red/blue for multi-wire setups) and the Neutral is white or gray; in the UK and EU, Line is brown and Neutral is blue. Getting these right is the difference between a safe, code-compliant installation and a lethal shock hazard.

The Core Difference: What Line and Neutral Actually Do

Understanding the colors is useless if you do not understand the physics. In a standard single-phase AC circuit, the Line (L) conductor carries the full source voltage relative to ground, pushing current to the load. The Neutral (N) conductor completes the circuit, carrying the exact same current back to the electrical panel. However, because the neutral is bonded to the grounding electrode system at the main service entrance, its voltage potential relative to the earth is kept near zero.

What this changes in a real installation is how we handle fault protection and switching. Because the Line wire holds the dangerous voltage potential, all single-pole switches, fuses, and breakers must be installed exclusively on the Line side. If you interrupt the Neutral instead, the device stops working, but the internal circuitry remains fully energized at the source voltage.

The Water Loop Analogy: Think of a pressurized water loop. The Line wire is the pressurized supply pipe pushing water to a turbine (the load), while the Neutral is the gravity-fed drain pipe returning water to the pump. The drain pipe handles the exact same volume of water (current), but it is not under high pressure (voltage).

Standard L and N Wires Color Codes by Region

Wire colors are not universal. A ceiling fan manufactured for the European market will have completely different internal wiring colors than one built for North America. Always verify the standard for your region before terminating connections. The following table outlines the primary standards governed by the National Electrical Code (NEC) in the US and the International Electrotechnical Commission (IEC) globally.

Region / Standard Line (L) Colors Neutral (N) Colors Protective Earth / Ground
US / Canada (NEC / CEC) Black, Red, Blue (120/208V or 120/240V) White, Gray Bare Copper, Green, or Green/Yellow
UK (BS 7671) Brown, Black, Gray (Single phase L1, L2, L3) Blue Green/Yellow Stripe
EU / AU / NZ (IEC 60446 / AS/NZS 3000) Brown, Black, Gray Blue Green/Yellow Stripe

Note: In the US, if you are working with 277/480V three-phase systems, the Line colors shift to Brown, Orange, and Yellow, but the Neutral remains white or gray.

Where You Meet This in Practice

You will encounter L and N color coding most frequently when terminating branch circuit wiring to devices. Here is how to apply the colors correctly in the field:

  1. Receptacles (Outlets): Standard 120V duplex receptacles use brass screws for the Line wire and silver screws for the Neutral wire. Brass is for Black (Line), Silver is for White (Neutral). The green screw is strictly for the equipment grounding conductor.
  2. Single-Pole Switches: A standard switch only breaks the Line wire. The black (Line) wire from the panel enters one terminal on the switch, and a black (or red) wire leaves the other terminal to feed the light fixture. The white (Neutral) wires from the panel and the fixture are simply spliced together in the back of the switch box; they do not touch the switch itself.
  3. GFCI Devices: Ground Fault Circuit Interrupters have distinct 'LINE' and 'LOAD' terminals. The incoming black and white wires from the breaker panel must connect to the LINE terminals. If you reverse Line and Load, the GFCI will still provide power to downstream outlets, but it will fail to protect them from ground faults.

Real-World Scenario Walkthrough: The Switched Neutral Disaster

Safety Warning: Always de-energize the circuit at the breaker panel and verify it is dead with a tested non-contact voltage tester or multimeter before opening any junction box. Local codes may require a licensed electrician for new branch circuit installations.

The Setup: A DIY homeowner decides to install a hardwired LED shop light in their garage on an existing 15A, 120V branch circuit using 14/2 NM-B cable.
The Numbers: The circuit is protected by a 15A breaker, and the 14 AWG copper wire is rated for 15A at the 60°C column per NEC 310.16. The LED driver pulls a nominal 0.8A.
The Outcome: The homeowner flips the wall switch, and the light turns off. However, when they reach up to adjust the fixture's mounting bracket and touch the exposed white wire nut, they receive a sharp 120V shock. A non-contact voltage tester held near the fixture screams, indicating the fixture is still live.

What Went Wrong: The installer accidentally created a 'switched neutral.' Instead of routing the black (Line) wire through the wall switch, they routed the white (Neutral) wire to the switch and tied the black (Line) wire directly to the fixture's hot input.
Because the switch successfully breaks the return path, current flow drops to 0A, and the light turns off. However, the entire internal circuitry of the LED fixture remains energized at 120V RMS relative to ground. When the homeowner touched the 'neutral' side of the fixture while standing on a concrete floor (which acts as a ground), their body completed the circuit. According to the Electrical Safety Foundation International (ESFI), reversed polarity and switched neutrals are leading causes of residential electrical shocks because the user assumes the device is safe when it is merely 'off'.

Common Confusions and Troubleshooting

Even experienced makers and apprentices trip up on a few specific edge cases regarding L and N wires:

  • Confusing Neutral with Ground: Neutral and Ground are bonded together at the main service panel, which leads people to believe they are interchangeable. They are not. Neutral is a current-carrying conductor designed to handle the normal return load. Ground is a non-current-carrying safety path designed only to handle massive fault currents long enough to trip a breaker. Never use a ground wire as a neutral.
  • The 'White is Always Neutral' Trap: In older homes or specific switch-loop configurations, a white wire might be used to carry Line voltage down to a switch. Per NEC 200.7(C), if a white wire is used as an ungrounded (Line) conductor, it must be permanently re-identified with black tape or paint at both ends. If you see a white wire with black tape on it, treat it as a hot Line wire.
  • Multimeter Phantom Voltages: When testing L and N with a high-impedance digital multimeter, you might read 40V to 90V on a disconnected Neutral wire running parallel to a hot Line wire in the same conduit. This is capacitive coupling (induced voltage), not a live fault. Use a low-impedance tester or a solenoid voltage tester (like a Wiggy) to confirm if the voltage can actually deliver current.

Frequently Asked Questions

Can I use green insulation for a neutral wire?
No. Green, or green with a yellow stripe, is globally reserved exclusively for the Protective Earth (Ground). Using it for a neutral violates electrical codes and creates a massive shock hazard for anyone working on the panel later.

What if I am working in an old house with no color codes?
Pre-1940s knob-and-tube or early cloth-sheathed wiring often used identical colors (usually black or white cotton braid) for both Line and Neutral. You must use a multimeter to measure the voltage between the suspect wire and a known ground. The wire reading ~120V (or ~230V in Europe) is the Line; the wire reading ~0V is the Neutral.

Does it matter if I swap Line and Neutral on a 240V appliance?
For pure 240V loads (like a baseboard heater or well pump) in the US, both wires are Line conductors (L1 and L2), and swapping them generally does not affect operation. However, for 120/240V appliances (like dryers or ranges) that require a neutral for 120V control boards, you must strictly follow the manufacturer's L1, L2, N, and G terminal designations.