All charts →

Automotive Reference

Trailer Wiring Color Codes

What each wire does and which pin it lands on — for the 4-pin flat, the 5-pin, and the 7-pin RV blade. Labeled connector diagrams, not a wall of text.

4-pin flat (basic lights)

The light-duty standard — lights only, no brakes or power. Four wires do everything.

White Ground Brown Tail / running Yellow Left turn / brake Green Right turn / brake FLAT-4 CONNECTOR

5-pin adds one wire — usually Blue for reverse lights or surge-brake lockout.

7-pin RV blade (brakes + power)

The heavy-duty round connector: adds electric brakes, 12V power and reverse to the four lighting wires.

7-WAY RV BLADE Blue — Electric brakes White — Ground Center — 12V+ (battery) Brown — Tail / running Yellow — Left turn / brake PurpleReverse GreenRight turn

Pin layout is representative — always match by function, and confirm with a tester.

Colors vary — verify before you cut. Lighting wires (white, brown, yellow, green) are consistent almost everywhere. But the 12V, reverse and aux colors differ between manufacturers and older standards. Use a circuit tester to confirm any power or brake wire before wiring it.

Full color code

Wire colorFunction4-pin7-pin
WhiteGround
BrownTail / running / marker lights
YellowLeft turn & brake
GreenRight turn & brake
BlueElectric brakes (brake controller)
Black12V+ constant power (battery / aux charge)
PurpleReverse / backup lights✓*

* 12V, reverse and aux colors are the ones that vary by brand — the lighting four are the reliable constants.

Common questions

What are the 4 trailer wire colors?

White is ground, brown is tail/running lights, yellow is left turn & brake, and green is right turn & brake. That's the flat-4 connector — the light-duty standard used on most small trailers.

Which wire is the trailer brake wire?

Blue, on a 7-pin connector — it runs from your brake controller to the trailer's electric brakes. Black is the constant 12V+ power. Always verify both with a tester, since these are the colors that vary between manufacturers.

What's the difference between 4-pin and 7-pin?

A 4-pin (flat) handles lights only: ground, tail, and the two turn/brake signals. A 7-pin (RV blade) adds three heavy-duty circuits — electric brakes, 12V power, and reverse — for larger trailers with their own brakes and battery.

Is yellow left or right on a trailer?

Yellow is left turn and brake; green is right. Easy mnemonic: the colors are alphabetical with the sides — Green/right, and yellow takes left.