Trailer Wiring Diagrams: 4, 5, 6 and 7-Pin Guide

Trailer wiring diagrams for 4-pin, 5-pin, 6-pin and 7-pin connectors. RV blade, round and flat plug pinouts.

7-pin trailer wiring diagram showing color-coded wire connections

Hooking up trailer lights shouldn’t take all afternoon. But if you’re staring at a bundle of colored wires with no idea what goes where, that’s exactly what happens.

This guide covers the four main trailer connector types: 4-pin, 5-pin, 6-pin and 7-pin. Each section includes a trailer plug diagram showing wire colors, pin positions and what each circuit does. Print this out, keep it in your truck and never guess at wiring for trailer lights again.

Quick Reference: Trailer Wire Color Codes

Trailer wire color codes for 4, 5, 6 and 7-pin connectors

Before getting into specific connectors, here’s the standard color coding used by most trailer manufacturers:

Wire ColorFunction
WhiteGround
BrownRunning lights (tail, marker, license)
YellowLeft turn signal / Left brake light
GreenRight turn signal / Right brake light
BlueElectric trailer brakes
Red or Black12V auxiliary power (battery charge)
Purple or OrangeReverse lights

These colors follow SAE J1128 standards but not every manufacturer sticks to them. Asian imports and older trailers sometimes use different schemes. When in doubt, use a multimeter or circuit tester to test each wire.

Complete trailer wiring color reference showing all wire functions

4-Pin Trailer Wiring Diagram (Four Pin / Four Prong / Four Wire)

The 4-pin flat connector (also called a 4 way flat trailer wiring harness, four wire trailer plug or 4 prong trailer connector) is the most common trailer plug in North America. Whether you call it a four pin trailer wiring diagram, 4 plug trailer wiring diagram or four prong trailer wiring diagram, they all refer to this same 4 way trailer wiring setup. It’s standard on utility trailers, small boat trailers, cargo haulers and lawn equipment trailers. For simpler trailers, a 4-pin setup handles basic lighting. Need more? Check our 5-pin, 6-pin or 7-pin guides for trailers with brakes or aux power.

What Each Pin Does

PinWire ColorFunction
1WhiteGround
2BrownRunning lights
3YellowLeft turn / Brake
4GreenRight turn / Brake

4 pin trailer connector wiring diagram with color-coded connections showing four wire trailer harness

This four pin trailer connector diagram works for car trailer plug wiring, utility trailers and basic boat trailers. The 4 way trailer plug diagram below shows the same pinout in schematic form.

4 way flat trailer wiring showing trailer side vs car side

4-Pin Wiring Notes (Four Way Trailer Wiring)

The 4-pin setup uses combined brake and turn signal circuits. When you hit the brakes, both yellow and green wires get power. When you signal left, only the yellow wire flashes. This works because most trailer lights use dual-filament bulbs or LEDs that can handle both functions.

Ground is critical. The white wire must make solid contact with bare metal on both the trailer frame and tow vehicle. A bad ground causes dim lights, flickering or no lights at all. If your lights act weird, check ground first with a voltage tester.

4-wire trailer schematic showing complete circuit

4-pin trailer circuit diagram with complete wiring schematic

Troubleshooting 4-Pin Connections

Lights work on one side only: Check the ground on the dead side. Trailer frames can corrode where the light mounts, breaking the ground path. Run a dedicated ground wire from each light to the connector.

Running lights work but turn signals don’t: The tow vehicle’s turn signal circuit might be overloaded. This happens when towing with a car that wasn’t designed for trailers. Install a trailer wiring converter or relay pack.

All lights dim when brakes are applied: Ground problem. Current is finding a path back through the running light circuit instead of the ground wire.

If you need to rewire a trailer from scratch, the Oyviny 4-way flat trailer wiring harness comes in a 22ft length with nylon tube protection.

5-Pin Trailer Wiring Diagram

The 5-pin connector adds one circuit to the basic 4-pin setup. That extra wire is typically for electric brakes or a separate brake light circuit.

What Each Pin Does

PinWire ColorFunction
1WhiteGround
2BrownRunning lights
3YellowLeft turn
4GreenRight turn
5BlueElectric brakes or separate brake lights

5-pin trailer wiring diagram with brake circuit

When You Need 5-Pin

Most people use 5-pin when they have a trailer with electric brakes but don’t need auxiliary power or reverse lights. It’s less common than 4-pin or 7-pin because it sits in an awkward middle ground. If you’re installing new wiring and think you might need brakes later, just go with 7-pin. For detailed 5-pin installation steps, check out our 5-pin trailer connector wiring guide.

The blue wire connects to a brake controller mounted in the tow vehicle. When you press the brake pedal, the controller sends voltage to the trailer brakes. More pedal pressure means more voltage, which means harder trailer braking.

6-Pin Trailer Wiring Diagram (Six Pin / 6 Way / 6 Prong / 6 Point)

Six-pin connectors (also called 6 prong, six pin, 6 way or 6 point trailer plugs) are common on gooseneck trailers, horse trailers and some RV setups. This 6 pin trailer connector wiring diagram shows the two extra pins compared to 4-pin: electric brakes and auxiliary power. Whether you’re searching for a six pin trailer wiring diagram, 6 way trailer plug wiring diagram or 6 prong trailer wiring diagram, the pinout is the same.

6-Pin Trailer Plug Diagram and Pinout

PinWire ColorFunction
1WhiteGround
2BrownRunning lights
3YellowLeft turn / Brake
4GreenRight turn / Brake
5BlueElectric trailer brakes
6Red or Black12V auxiliary power

6 pin trailer connector wiring diagram schematic showing brakes and aux power

6-Pin Trailer Wiring Schematic Notes

The 12V auxiliary circuit typically runs straight to the trailer battery or interior lights. This wire can carry significant current so make sure it’s fused at the tow vehicle. A short in this circuit can drain your truck battery overnight or worse.

Some 6-pin setups use the sixth wire for reverse lights instead of aux power. Check the trailer documentation or test with a multimeter before connecting. Our 6-pin trailer connector guide covers gooseneck and horse trailer wiring in detail.

If your truck has a 7-pin socket but your trailer uses 6-pin round, the Nilight 7-to-6 pin adapter converts between the two styles without rewiring.

7-Pin Trailer Wiring Diagram (Seven Pin / Seven Way / 7 Wire / 7 Prong)

The 7-pin RV blade connector handles everything: lights, brakes, aux power and reverse lights. Also called a seven pin trailer plug, seven way plug, 7 wire trailer plug or 7 prong connector, it’s the standard for travel trailers, campers, large boat trailers and enclosed cargo trailers. This 7 wire trailer light diagram covers both the seven way plug wiring diagram and seven pin wiring diagram configurations. Our 7-pin trailer connector guide covers equipment trailer specifics in more detail.

What Each Pin Does

Pin PositionWire ColorFunction
CenterWhiteGround
6 o’clockBrownRunning lights
9 o’clockYellowLeft turn / Brake
3 o’clockGreenRight turn / Brake
12 o’clockBlueElectric brakes
8 o’clockRed or Black12V auxiliary power
4 o’clockPurple or OrangeReverse lights

7-pin RV blade trailer wiring diagram with all connections labeled

7-way trailer wiring harness diagram showing SAE standard

7-Pin Connector Types

There are two main 7-pin designs and they’re not interchangeable:

7-way traditional vs RV standard trailer connector comparison

RV Blade (flat pins): The most common seven way trailer plug type. Used on pickup trucks, SUVs and most travel trailers sold in North America. Pins are flat metal blades arranged in a circle.

RV blade 7-pin connector diagram

Round pins: Less common in the US but still found on some commercial and imported trailers. This seven pin round connector uses round pins instead of flat blades. The pinout can differ from RV blade so verify before connecting.

Round 7-pin trailer connector wiring

7-Pin Trailer Socket Wiring Diagram (Vehicle Side)

The tow vehicle side has female sockets instead of male pins but follows the same layout. Most trucks with factory tow packages have a 7-pin trailer socket pre-wired in the bumper or hitch receiver. This trailer socket diagram shows the seven way connector wiring diagram from the vehicle perspective.

7-way RV trailer and truck plug wiring comparison

If your truck only has a 4-pin factory connector, you’ll need a wiring harness to add the extra circuits. Use an automotive circuit tester to identify existing wires before splicing. This involves tapping into the brake controller circuit, reverse light wire and running a fused 12V line from the battery.

Wiring a 7-Pin Plug From Scratch

Here’s the process if you’re installing a new 7-pin connector:

  1. Run your wires. Use a 7-conductor trailer cable from the hitch area to your trailer tongue. Leave extra length for turns. The Nilight 7-way trailer extension cord is a solid choice with heavy-duty copper terminals.

  2. Strip and tin the ends. Strip about 3/8” of insulation and apply solder to prevent fraying.

  3. Connect ground first. The white wire goes to the center pin. On the trailer side, bolt it directly to the frame with a star washer.

  4. Connect each circuit. Follow the pinout diagram. Use dielectric grease inside the connector to prevent corrosion.

  5. Test before you tow. Have someone watch the trailer while you test each function: running lights, left turn, right turn, brakes and reverse.

Converting Between Connector Types

Sometimes the trailer has a different connector than your tow vehicle. Here’s what works and what doesn’t.

4-Pin to 7-Pin Adapters

A 4-pin to 7-pin adapter lets you plug a 4-pin trailer into a 7-pin vehicle socket. The adapter passes through the four basic circuits (ground, running, left, right) and leaves the other three pins unconnected.

This works fine because you’re only using circuits that exist on both ends. The trailer doesn’t have electric brakes or aux power so it doesn’t need those wires.

The Seamaka 4-Pin to 7-Pin Trailer Adapter is a solid budget option with a mounting bracket and dual outputs.

4-pin to 7-pin trailer hitch wiring harness

7-Pin to 4-Pin Adapters

Going the other direction is trickier. A 7-pin to 4-pin adapter plugs into your trailer’s 7-pin connector and provides a 4-pin plug for the vehicle.

This only works for basic lighting. You lose electric brakes, aux power and reverse lights because the 4-pin vehicle socket doesn’t have those circuits. If your trailer has electric brakes, this adapter makes them non-functional—dangerous on a heavy trailer.

When Adapters Won’t Work

If you need electric brakes or aux power, adapters aren’t the answer. You need to add those circuits to the tow vehicle:

  • Electric brakes: Install a brake controller and run a wire to the trailer connector
  • Aux power: Run a fused 12V line from the battery to the trailer connector
  • Reverse lights: Tap into the vehicle’s reverse light circuit

Trailer Wiring Problems and Fixes

Most trailer wiring issues fall into a few categories. Here’s how to diagnose and fix them.

No Lights at All

Start at the vehicle. Plug in the trailer connector and check for voltage at each pin with a multimeter. Set the meter to DC volts, touch the black probe to a good ground and test each pin while activating that circuit. A 12V battery analyzer can verify your tow vehicle’s electrical system is supplying proper voltage. If you’re dealing with trailer batteries, see our guide on wiring batteries in series vs parallel.

If you get voltage at the vehicle connector but no lights on the trailer, the problem is on the trailer side. Check the ground connection at the trailer frame and inspect the wiring for damage.

If you don’t get voltage at the vehicle connector, check the fuses. Many trucks have separate fuses for trailer lighting. Also verify the wiring harness connector behind the bumper is plugged in—they can vibrate loose.

Lights Work Intermittently

Nine times out of ten this is a ground issue. Trailer grounds corrode over time, especially on boat trailers that get dunked in water. The connection works when everything is cool and dry but fails when it heats up or gets wet.

Fix it by running dedicated ground wires from each light fixture back to the main connector. Don’t rely on the trailer frame as a ground path.

Turn Signals Flash Fast on Tow Vehicle

This happens when the trailer lights draw less current than the flasher expects. LED trailer lights are the usual culprit—they use so little power that the flasher thinks a bulb is burned out.

Fix it by installing a load resistor on the trailer or replacing the tow vehicle’s flasher with an LED-compatible unit. The resistor is easier but wastes power as heat. The flasher replacement is cleaner.

Trailer Brake Wiring Diagram Troubleshooting

This trailer brake wiring diagram section covers electric brake issues. If you need a trailer brake control wiring diagram, the blue wire is the key circuit.

If brakes lock up, the brake controller gain is set too high or there’s a short in the blue wire. Reduce the gain setting and check for bare wire contacting the frame.

If brakes don’t work at all, verify the blue wire has voltage when you press the brake pedal. If it does, the problem is in the trailer brake magnets or wiring. If it doesn’t, check the brake controller and its connection to the vehicle’s brake switch.

How to Wire a 5 Pin Relay for Trailer Circuits

Adding auxiliary circuits to your trailer setup often requires a 5 pin relay. This 5 pin relay wiring method lets you control high-current loads (like trailer brake controllers or aux lighting) from a low-current switch.

5-Pin Relay Pinout

PinLabelFunction
85Coil (-)Ground for relay coil
86Coil (+)12V trigger from switch
30CommonPower input from battery
87Normally OpenOutput when relay is ON
87aNormally ClosedOutput when relay is OFF

Wiring a 5 Pin Relay Step by Step

  1. Connect pin 30 to your 12V power source through an inline fuse
  2. Connect pin 85 to a good chassis ground
  3. Connect pin 86 to your trigger source (switch, brake signal, ignition)
  4. Connect pin 87 to your load (lights, brake controller, accessory)
  5. Leave pin 87a disconnected unless you need a normally-closed circuit

Common uses in trailer setups include automatic brake light activation, auxiliary battery charging circuits and switched accessory power for trailer jacks or winches. The irhapsody 5-pin relay kit includes waterproof housings and pre-wired pigtails for easy installation.

Tractor Trailer and Semi Trailer Wiring Diagram

Commercial tractor trailer wiring diagrams and semi trailer wiring use the same 7-pin concepts but with heavier-gauge wire and weatherproof connectors. A semi trailer plug wiring diagram follows the standard 7-way pinout—the difference is in connector durability and wire capacity.

Semi truck trailer plug wiring diagram configurations typically use SAE J560 standard connectors instead of RV blade. The pinout is similar but the connector is round with larger pins rated for commercial duty cycles. If you’re wiring a semi truck trailer wiring setup, use 10-gauge minimum for all circuits.

Trailer Wiring Best Practices

A few tips from years of trailer repairs:

Use dielectric grease. Fill the connector with dielectric grease before plugging it in. This keeps moisture out and prevents corrosion. Reapply it once a year.

Inspect wiring annually. Look for cracked insulation, worn spots where wires rub on frame edges and corroded connections. Fix small problems before they leave you stranded.

Run wires inside conduit. Exposed trailer wiring takes abuse from road debris and weather. Split loom or wire conduit protects it and makes the installation look professional.

Keep a spare bulb kit. A burned-out brake light will get you pulled over. Keep spare bulbs, fuses and a basic wiring repair kit in the tow vehicle.

Test before every trip. Takes 30 seconds. Have someone watch the trailer while you cycle through running lights, left turn, right turn, brakes and reverse. Way easier than getting a fix-it ticket.

Trailer Light Diagram Summary

Whether you need a trailer light diagram, trailer electrical connector diagram or diagram for trailer plug connections, the color codes stay consistent across 4, 5, 6 and 7-pin setups. White is always ground, brown is running lights, yellow is left and green is right. The extra pins add brakes (blue), aux power (red/black) and reverse (purple/orange).