The coloured wires in an electrical plug are a standardized insulation coding system that identifies the line (hot), neutral, and earth (ground) conductors to ensure safe and correct termination at the plug terminals. Getting these colours right dictates whether a fault current safely trips a breaker or energizes the metal chassis of your power tool. What people most commonly confuse is the colour code for flexible appliance cords (like SJTW or IEC H05VV-F) with the colour code for fixed in-wall wiring (like NM-B/Romex or THHN), which follow entirely different standards and physical rules.
The Core Color Codes: US vs. IEC Standards
When you strip back the outer jacket of a 3-core flexible cable, the insulation colours tell you exactly which terminal blade to terminate. The standard you follow depends entirely on the region the plug is designed for and the cord type manufactured.
| Function | US Flexible Cord (NEC 400.23) | IEC / UK / EU (IEC 60446 / BS 7671) | US 240V Split-Phase (e.g., Dryer/Welder) |
|---|---|---|---|
| Line / Hot | Black | Brown | Black (Line 1) |
| Neutral | White | Blue | White (Neutral) |
| Earth / Ground | Green (or Green/Yellow stripe) | Green-Yellow (bi-colour) | Green or Bare |
| Second Hot (if applicable) | Red (for 4-wire 240V cords) | Black (in 4-wire 3-phase) | Red (Line 2) |
For standard 120V US applications, the Black wire always terminates to the brass (hot) screw, the White wire to the silver (neutral) screw, and the Green wire to the green (earth) screw. In the UK and EU, the Brown wire goes to the Live terminal (usually fused), Blue to Neutral, and Green-Yellow to the Earth pin.
What These Colours Change in a Real Circuit
Wiring the colours incorrectly doesn't just mean the appliance won't turn on; it fundamentally alters the safety impedance path. Let's look at a worked numeric example to see why the earth wire colour is critical.
Imagine a 120V, 1440W portable space heater drawing exactly 12A on a 14 AWG SJTW flexible cord. It is plugged into a standard 20A branch circuit. Inside the heater, the internal insulation fails, and the Black (hot) wire touches the metal chassis.
Scenario A (Correct Wiring): The Green earth wire is properly terminated to the plug's earth pin and bonded to the chassis. The fault creates a dead short. Fault current spikes to hundreds of amps, tripping the 20A breaker in milliseconds via its magnetic trip mechanism.
Scenario B (Swapped or Omitted Earth): The builder ignored the Green wire or swapped it with the White neutral wire at the plug. The chassis is now energized at 120V. When a user touches it, their body (assuming ~1000 ohms wet skin resistance) completes the circuit to ground. Current flow = 120V / 1000Ω = 0.12A (120mA). This is well above the 50mA threshold for ventricular fibrillation, but far below the 20A required to trip a standard thermal-magnetic breaker. Without a GFCI, the breaker will not trip, and the shock is potentially lethal.
The colours ensure that the internal switch or fuse of the appliance interrupts the Line conductor, not the Neutral. If you wire a UK plug with Brown and Blue swapped, the appliance's internal fuse will still blow during a short, but the appliance's internal circuitry remains connected to the 230V mains, posing a severe shock hazard during servicing.
Where You Meet This in Practice
You will rarely need to rewire a plug on a modern, factory-molded consumer electronic. However, the coloured wires in an electrical plug become a critical decision point in these specific scenarios:
- Replacing a Damaged Molded Plug: A shop vac or table saw's cord gets run over, severing the molded NEMA 5-15P. You must cut it back, strip the SJTW jacket, and wire a replacement plug using the Black/White/Green mapping.
- Wiring IEC Inlets on Custom Builds: When building a custom server rack, amateur radio power supply, or high-end audio amplifier, you wire the chassis-mounted IEC C14 inlet. The internal wiring from the inlet to the power switch must strictly follow the Brown/Blue/Green-Yellow (or Black/White/Green) mapping.
- Imported Equipment Adaptation: When bringing a European 230V appliance to the US (assuming it has a dual-voltage 120/240V switch), you must cut off the Schuko or BS1363 plug and wire a US NEMA plug, translating the IEC Brown/Blue/Green-Yellow to the US Black/White/Green terminals.
- 240V Split-Phase Tools: Wiring a NEMA 6-50P for a new welder. Here, you deal with Black, White (or Red), and Green. The White/Red acts as the second hot leg, not a neutral, which trips up beginners used to 120V wiring.
Decision Tree: Wiring Your Replacement Plug
Use this decision path to determine exactly how to terminate your wires and which replacement hardware to select. Follow the 'If' conditions down to your concrete pick.
| If Your Cord Insulation Shows... | And Your Target Outlet Is... | Then Terminate Wires As Follows: | Concrete Hardware Pick (2026) |
|---|---|---|---|
| Black, White, Green | US NEMA 5-15R (Standard 120V 15A) | Black to Brass (narrow blade), White to Silver (wide blade), Green to Green (U-pin). | Leviton 5266-C (15A, 125V, Straight Blade) |
| Brown, Blue, Green-Yellow | UK BS 1363 (Standard 230V 13A) | Brown to Live (fused), Blue to Neutral, Green-Yellow to Earth (top pin). | MK Logic Plus 13A Rewirable Plug |
| Black, White, Red, Green | US NEMA 14-50R (240V 50A Range/Welder) | Black to X (Hot 1), Red to Y (Hot 2), White to W (Neutral), Green to G (Earth). | Leviton 931-000 (50A, 125/250V) |
| Black, Black, Green (No White) | US NEMA 6-15R or 6-50R (240V Straight Blade) | Black to X (Hot 1), Black to Y (Hot 2), Green to G (Earth). Polarity between hots does not matter. | Hubbell HBL2600 (for 6-50P config) |
Frequently Asked Questions
What if my cord only has two wires and no green earth wire?
You are dealing with a 'Class II' (double-insulated) appliance cord, often called zip cord or SPT-2. It will only have Black and White (or two black wires with one having a ribbed edge). You must use a 2-prong NEMA 1-15P plug. Never attempt to add a fake earth wire or use a 3-prong plug with the earth pin left floating, as this creates a false sense of safety. The ribbed edge (if present) is the neutral and goes to the silver screw.
Can I use in-wall Romex (NM-B) to wire a plug?
No. NEC Article 400.8 explicitly forbids using flexible cords as a substitute for the fixed wiring of a structure, and conversely, you should never use solid-core NM-B to wire a portable appliance plug. NM-B is designed to be stapled and left stationary; the solid copper conductors will work-harden, snap, and break under the repeated flexing and vibration of a portable tool. Always use stranded flexible cord (SJTW, SJOOW) for plug wiring.
Why is the neutral blade on a US plug wider than the hot blade?
This is a mechanical enforcement of the colour code. The wider blade (5/16 inch) corresponds to the White (neutral) wire, while the narrower blade (1/4 inch) corresponds to the Black (hot) wire. This polarization ensures that the internal switch of the appliance always breaks the hot leg. If you wire Black to the wide blade, the plug physically will not insert into a correctly wired receptacle, acting as a built-in poka-yoke (mistake-proofing) mechanism.
For definitive safety standards on flexible cord usage and termination, always refer to the NFPA National Electrical Code (NEC) Article 400, or for international appliance standards, consult the Electrical Safety First guidelines on plug wiring and flexible cable selection.






