Connecting a trailer plug: step-by-step guide
Wiring diagrams for 4, 5, 6, and 7-pin trailer plugs, the standard color code, and the right way to attach a connector to a vehicle harness.
The standard SAE color code for trailer wiring in North America:
| Wire color | Function |
|---|---|
| White | Ground |
| Brown | Tail / running / marker lamps |
| Yellow | Left turn and brake |
| Green | Right turn and brake |
| Blue | Electric trailer brakes |
| Red or black | Auxiliary 12V power (battery charge, accessories) |
| Purple (or any extra) | Reverse / backup lights |
Wire up to that chart, match the pin pattern on the plug, and you’re done. The rest of this guide covers the four common plug types, how to terminate the wires, and how to splice into a vehicle that wasn’t pre-wired for towing.
The four plug types
| Plug | Pins | Use case |
|---|---|---|
| 4-pin flat | 4 | Small utility trailers, boat trailers, lightweight campers. No brakes |
| 5-pin flat | 5 | 4-pin functions plus electric brakes or surge-disable on hydraulic brakes |
| 6-pin round | 6 | Older campers, some horse trailers. Adds 12V aux power |
| 7-pin RV blade or round | 7 | Most travel trailers, fifth wheels, larger boat and gooseneck trailers. All functions including backup |
You can plug a 4-pin trailer into a 7-pin truck connector using a $10 adapter. Going the other way (7-pin trailer to 4-pin truck) loses brake and aux functions; only do it if the trailer doesn’t need them.
Pin layouts
4-pin flat
- Pin 1 (white): Ground
- Pin 2 (brown): Tail / running lights
- Pin 3 (yellow): Left turn / brake
- Pin 4 (green): Right turn / brake
5-pin flat
- 4 pins above, plus
- Pin 5 (blue): Electric brakes or hydraulic surge brake disable
7-pin RV blade (the standard one in 2026)
Looking at the truck connector with the locking tab at the top:
- Top center (white): Ground
- Top left (yellow): Left turn / brake
- Top right (green): Right turn / brake
- Center (brown): Tail / marker
- Bottom right (blue): Electric brakes
- Bottom left (red or black): 12V aux power
- Bottom center (purple): Reverse / backup
Some vehicles use slightly different colors at the truck plug than at the wire harness behind the bumper. Confirm with a circuit tester before assuming.
What you need to wire a plug
- A new plug (4, 5, 6, or 7-pin as needed) from Curt, Hopkins, Pollak, or similar
- Cord with the matching number of conductors, 14 or 16 AWG for normal trailers, 12 AWG for heavy electric brake runs
- Wire strippers
- Phillips and small flat screwdrivers
- A test light or multimeter
- Heat-shrink butt connectors and a heat gun, or a solder iron with heat-shrink tubing
- Dielectric grease for the terminals
Skip T-taps unless you have no choice. They corrode and lose contact, especially on a trailer that sits outside.
Wiring a 7-pin plug, step by step
- Loosen the strain relief nut at the back of the plug and slide it onto the cord. Forget this step and you’ll be redoing it.
- Strip the outer jacket back about 1 inch with a sharp utility knife. Be careful not to nick the inner conductors.
- Strip each conductor about 3/8 inch. Twist the strands clockwise so they stay together.
- Loosen the terminal screws inside the plug. Most plugs use small flat-blade screws.
- Match each wire to its pin using the color code above. Slide the bare wire into the terminal and tighten the screw until the wire is firmly gripped. Tug each wire to verify.
- Tuck the wires into the plug housing. Make sure no bare copper touches an adjacent terminal.
- Close the housing. Some plugs snap shut, others have screws.
- Tighten the strain relief nut onto the cord. The cord should not pull out if you yank it.
- Apply dielectric grease to the pins before first connection. It keeps water out of the contacts.
Testing
Plug into the truck (or use a 12V battery with a test rig) and verify each function:
- Park / tail lights with headlights on
- Left signal blinks left output
- Right signal blinks right output
- Brake pedal pressed: both rear lights illuminate full brightness
- Reverse gear (if 7-pin): backup output goes hot
- Aux 12V output reads battery voltage when truck is running
- Blue brake wire: pulse the controller manually, check for voltage
If you don’t have the trailer end wired yet, a circuit tester plug ($15 from any trailer supply or Amazon-equivalent) hangs off the truck connector and lights LEDs for each function. Cheaper than chasing ghosts later.
Wiring the vehicle side
Trucks built for towing usually have a factory 4-pin or 7-pin connector under the rear bumper or in the cargo area. Plug-and-play.
For vehicles without one, three options:
T-connector / vehicle-specific harness: A pre-made harness that taps into the vehicle’s tail light wiring via OEM connectors. Plug-in install on most cars. Brands like Curt, Hopkins, and Tekonsha sell them by model.
Universal converter: Wires into the existing tail light circuits via a small electronics module that isolates the trailer load from the vehicle’s wiring. Splice or solder into the tail light wires.
Direct splice: Cut and crimp directly into the tail light wires. Cheapest, most fragile, can confuse the vehicle’s bulb-out warning systems on modern cars.
For any vehicle with CAN-bus body control (most cars built after roughly 2010), the vehicle-specific harness or a converter is the right path. Direct-splicing can throw bulb-out errors, trip airbag faults, or break the rear cluster.
Brake controller wiring (the blue wire)
The blue wire from a trailer connector runs back to the brake controller in the dash. The controller needs four wires of its own:
- Hot from battery (with fuse)
- Ground
- Brake light switch input (so it knows when the pedal is pressed)
- Output to the blue wire at the connector
Modern trucks (most 2015 and newer half-tons and HD pickups) have a brake controller pre-wired with a four-pin plug under the dash. Brake controllers plug in directly. Older trucks need a manual wiring install.
If you’re towing with a Ford built 2021 or later (F-150, F-Series Super Duty 2022+, Ranger 2024+, Expedition 2022+, Maverick 2022+, Transit 2026, Lincoln Navigator), check whether Ford recall 26C10 / NHTSA 26V104000 applies. The recall covers an Integrated Trailer Module software fault that can affect trailer brake output. The OTA fix was pushed in March 2026. If you wire everything correctly and brakes still misbehave, the truck (not your wiring) may be the cause.
Common mistakes
- Brown and yellow swapped: Tail and turn signals get crossed. The left blinker also turns on the marker lamps. Fix by re-checking the pin order.
- No ground or bad ground: Causes wild symptoms (turn signal makes the marker lights flash, brakes dim, weird voltage drops). Make sure the white wire is solidly bonded to clean metal on the trailer frame.
- Skipping dielectric grease: A year of weather and the contacts corrode. Connector reads good in the driveway, dead on the road.
- Using stranded wire under a set screw without ferrules: Strands flatten and back out. Either tin the wire end with solder or use a ferrule crimp.
- Running cord too tight to the pivot point: When you turn sharp, the cord pulls out of the strain relief. Leave a small loop of slack.
When to replace versus rewire
If a connector is corroded green inside, replace the whole plug. They’re $10 to $25. Trying to clean green corroded pins almost never works long-term.
If the cord has cracks in the jacket or the conductors show bare wire through the jacket, replace the cord. Water gets in and the symptoms come and go with weather.
A 7-pin plug and 8 feet of cord runs $30 to $50 total. Less than the diagnostic time saved by a clean install.