Extension cord wiring colors are the standardized insulation jackets on flexible copper conductors that identify the hot, neutral, and grounding paths in a portable power cable. Getting these colors right changes a circuit from a safe, polarized system where the switch breaks the hot leg, to a hidden shock hazard where the device chassis or lamp socket remains energized even when turned off. Makers and DIYers commonly confuse flexible cord colors with DC electronics wiring (where red is positive and black is ground), or they assume the white wire in a flexible cord behaves exactly like the white neutral in rigid NM-B (Romex) wall wiring, missing the physical ribbed and smooth identifiers used on ungrounded 2-wire cords.

The Core Standard: US Flexible Cord Color Codes

In North America, flexible cords like SJTW, SOOW, and SVT are governed by the National Electrical Code (NEC) Article 400. Unlike solid wall wiring, flexible cords must withstand bending, oil, and moisture, which dictates their jacket materials. However, the internal conductor colors remain strictly standardized to ensure safe termination at NEMA plugs and receptacles.

Safety Callout: Never assume a wire's function purely by color if the cord has been previously modified. Always perform a continuity test with a multimeter from the plug blades to the stripped wire ends before energizing a repaired cord.
Cord TypeConductor FunctionInsulation ColorPhysical ID (2-Wire)Plug Terminal
3-Wire (e.g., SJT)Hot (Line)BlackSmooth jacketBrass (Gold) Screw
3-Wire (e.g., SJT)Neutral (Grounded)WhiteRibbed jacketSilver Screw
3-Wire (e.g., SJT)Equipment GroundGreenN/AGreen Screw
2-Wire (e.g., SPT-2)Hot (Line)Black or CopperSmooth jacketBrass (Gold) Screw
2-Wire (e.g., SPT-2)Neutral (Grounded)White or TinRibbed jacketSilver Screw

When working with 2-wire flat cords (SPT-1 or SPT-2), the insulation is often transparent or uniform, making the physical ribbing your primary identifier. The wire with the ridges or ribs molded into the insulation is always the neutral. The smooth wire is always the hot.

Where You Meet This in Practice

You will encounter these color codes most often when repairing a damaged plug, splicing a cord for a custom DIY fixture, or testing a suspect cable from a thrift store. The physical construction of flexible cord makes it trickier to strip than solid THHN wire. The outer jacket often contains paper or cotton fillers that must be carefully teased away without nicking the thin stranded copper underneath.

When terminating a replacement NEMA 5-15P plug, follow this exact sequence to ensure the colors map to the correct physical blades:

  1. Strip the outer jacket: Remove about 1.5 inches of the outer PVC jacket using a cable ripper or careful diagonal cutter snips. Do not score the inner wire insulation.
  2. Identify the ground: Isolate the green wire immediately. Loop it around the green grounding screw (which corresponds to the round U-shaped pin) and tighten.
  3. Identify the neutral: Find the white wire (or the ribbed wire on a 2-wire cord). Loop it around the silver screw. The silver screw internally connects to the wider vertical blade on the plug.
  4. Identify the hot: Find the black wire (or the smooth wire). Loop it around the brass screw. The brass screw connects to the narrower vertical blade.
  5. Verify: Before plugging in, use a multimeter in continuity mode. Place one probe on the narrow blade and the other on the black wire. You should read less than 1 ohm. Repeat for the wide blade and white wire.

IEC vs. NEMA: The International Color Clash

The confusion around extension cord wiring colors spikes when you import equipment or work on international machinery. European and UK equipment uses IEC 60446 standards for flexible cords (like H05VV-F), which use a completely different color palette. Plugging a European cord into a US device, or rewiring a US plug onto a European cord without adjusting for the color swap, is a frequent cause of bench accidents.

FunctionUS / NEMA (NEC Art. 400)Europe / IEC (IEC 60446)
Hot (Line)BlackBrown
NeutralWhiteBlue
Equipment GroundGreen (or Green/Yellow)Green with Yellow Stripe

If you are replacing a plug on an IEC cord for use in a US 120V AC system, the brown wire must go to the brass (hot) screw, and the blue wire must go to the silver (neutral) screw. Never connect the blue wire to a hot terminal, as future technicians will assume it is a neutral and may touch it expecting 0V relative to ground. For more on global color code variations, the Electrical Safety Foundation International (ESFI) provides excellent safety primers on identifying non-standard cords.

Real-World Scenario: The Polarized Plug Mistake

To understand why these colors and physical identifiers matter, let us walk through a common bench failure.

The Setup: A hobbyist is repairing a vintage desk lamp. The original 2-wire SPT-2 cord was crushed by a rolling chair, so they cut it back and install a new polarized NEMA 1-15P replacement plug from a hardware store. The cord has a smooth black wire and a ribbed white wire. The hobbyist wires the smooth black wire to the silver screw and the ribbed white wire to the brass screw, reasoning that 'black is hot and brass is hot, but they just want it to work.' They plug it in.

The Numbers: The lamp uses a standard 120V nominal supply and a 60W incandescent bulb, drawing 0.5A. The cord is 6 feet long, meaning voltage drop is negligible (less than 0.1V).

The Outcome: The hobbyist flips the switch on the lamp base. The bulb lights up perfectly. They assume the repair is a success.

What Went Wrong: In a standard lamp socket, the switch is wired in series with the wire that connects to the center brass tab of the bulb socket. The wire that bypasses the switch connects directly to the outer threaded metal shell of the socket. By reversing the plug, the hobbyist made the ribbed (white) wire the hot leg. This means the outer threaded shell of the bulb socket is now constantly energized at 120V relative to ground. The switch is now breaking the neutral leg. When the hobbyist turns the lamp 'off' and reaches in to unscrew the bulb, their knuckle brushes the outer threaded shell. Because the shell is tied to the hot blade, they receive a 120V shock. According to Penn State Extension's electrical safety guidelines, reverse polarity is one of the most common causes of household electrical shocks because the device appears to function normally while harboring a lethal trap.

Worked Numeric Example: Voltage Drop and Conductor Heating

Let us look at what happens electrically inside the colored wires when a cord is pushed to its limits. Suppose you are running a 50-foot, 14 AWG SJTW extension cord to power a 15A portable table saw on a jobsite.

The resistance of 14 AWG stranded copper at 20°C is approximately 2.525 ohms per 1,000 feet.
For a 50-foot cord, the hot (black) wire is 50 feet long, and the neutral (white) wire is 50 feet long, creating a 100-foot total circuit loop.

  • Resistance per conductor: 50 ft × (2.525 Ω / 1000 ft) = 0.126 Ω
  • Total loop resistance: 0.126 Ω (black) + 0.126 Ω (white) = 0.252 Ω
  • Voltage Drop: V = I × R → 15A × 0.252 Ω = 3.78V drop
  • Power Dissipated as Heat: P = I² × R → (15A)² × 0.252 Ω = 56.7 Watts

That 56.7 watts of heat is generated purely within the black and white insulation. The green ground wire carries exactly 0A under normal operation, so it generates 0W of heat and its resistance is irrelevant to the voltage drop calculation. This is why the black and white wires feel warm to the touch after running a heavy saw, while the green wire remains at ambient temperature. If you had used a 16 AWG cord instead, the loop resistance would jump to 0.402 Ω, dropping 6V and dissipating 90W of heat—enough to soften the PVC jacket and create a fire hazard.

Frequently Asked Questions

Can I use the green wire in an extension cord as a hot or neutral conductor?
Absolutely not. NEC Article 250.119 strictly prohibits using a green (or green/yellow) insulated wire for anything other than an equipment grounding conductor. Even if you are in a pinch and only need two wires for a 120V circuit, you must cap off the green wire and use the black and white. Repurposing the ground wire as a current-carrying conductor destroys the safety reference of the entire cable and will cause any downstream GFCI or inspector to flag it immediately.

What if my extension cord has a blue and brown wire?
You are holding an IEC-standard cord, common in European appliances or imported power supplies. If you are wiring this to a standard US 120V NEMA plug, map the brown wire to the brass (hot) screw, the blue wire to the silver (neutral) screw, and the green/yellow wire to the green (ground) screw. Always label the cord with tape indicating it has been modified for North American voltages.

Does the ground wire carry current during normal operation?
No. The green ground wire only carries current during a fault condition (like a short circuit inside the tool you are powering). Under normal operation, the current flows out on the black wire, does the work, and returns entirely on the white wire. If your multimeter measures current flowing on the green wire during normal use, you have a ground fault or a neutral-to-ground bond error downstream, and the cord should be unplugged immediately.