Trailer Plug Wiring Diagrams with Color Codes

Trailer Plug Wiring Diagrams with Color Codes

DFW Campers Team January 31, 2026

Every trailer plug follows the same basic idea — match colored wires to numbered pins. But pin counts vary, wire gauges matter and one crossed connection means no brake lights at 70 mph.

This guide covers every connector you’ll run into: 7-pin, 6-pin, 5-pin and 4-pin. Plus wire gauge sizing, breakaway switch wiring and step-by-step hookup instructions.

7-Pin (7-Way) Trailer Connector

The 7-pin RV connector is standard on travel trailers, fifth wheels and any trailer with electric brakes. It handles everything — lights, turn signals, brakes, battery charging and reverse.

You’ll hear it called “7-way” and “7-pin” interchangeably. Same plug.

7-Pin Wiring Diagram

Looking at the plug face (the side that connects), here’s the pin layout:

PinFunctionWire ColorNotes
1GroundWhiteCommon ground for all circuits
2Tail/Running LightsBrownSide markers and license plate light
3Left Turn/BrakeYellowCombined signal on most trailers
4Right Turn/BrakeGreenCombined signal on most trailers
5Electric BrakesBlueRuns to brake controller
612V Battery/AuxRed or BlackCharges trailer battery
7Reverse LightsPurpleBackup lights and camera trigger

Most manufacturers follow SAE J1128 color coding. Some don’t. Always verify with a multimeter before you start connecting. A $15 test light saves hours of troubleshooting.

7-Pin Connector Types

Two physical styles exist for 7-pin plugs:

RV blade style (most common): Flat blade contacts arranged in a circle. This is what 99% of travel trailers and campers use. The center pin is ground.

Commercial round pin: Round pins instead of flat blades. More common on heavy-duty commercial trailers. Same wiring, different physical shape. The two are not interchangeable without an adapter.

6-Pin Trailer Wiring

The 6-pin connector shows up on some horse trailers, stock trailers and older campers. It drops the reverse light circuit and uses that slot differently.

6-Pin Wiring Diagram

PinFunctionWire Color
1GroundWhite
2Tail/Running LightsBrown
3Left Turn/BrakeYellow
4Right Turn/BrakeGreen
5Electric BrakesBlue
612V Battery/AuxRed or Black

The only difference from the 7-pin is no reverse light circuit. If you’re upgrading a 6-pin trailer to 7-pin (common when adding a backup camera), you just need to run one additional purple wire and swap the connector.

6-Pin to 7-Pin Adapter

These work fine as a temporary solution. The adapter passes all six circuits through and leaves the seventh pin empty. Your trailer lights and brakes work normally — you just won’t have reverse lights.

5-Pin Trailer Wiring

Five-pin connectors appear on some boat trailers and utility trailers that have surge brakes or electric brakes but no battery charging circuit.

5-Pin Wiring Diagram

PinFunctionWire Color
1GroundWhite
2Tail/Running LightsBrown
3Left Turn/BrakeYellow
4Right Turn/BrakeGreen
5Electric BrakesBlue

No 12V auxiliary, no reverse lights. Just the basics plus brake control. If you’re adding a battery to a 5-pin trailer, upgrade to a 7-pin connector — don’t try to jury-rig an extra wire through the existing plug.

4-Pin Flat Connector

The simplest trailer connector. Four flat pins in a row. You’ll find these on utility trailers, small boat trailers and equipment haulers.

4-Pin Wiring Diagram

PinFunctionWire Color
1GroundWhite
2Tail/Running LightsBrown
3Left Turn/BrakeYellow
4Right Turn/BrakeGreen

That’s it. No brakes, no battery, no reverse. If a trailer has surge brakes (hydraulic), they activate mechanically — no electrical connection needed.

Never tow a camper on a 4-pin connector. You’ll have no electric brake control and no battery charging. Use it for utility trailers and boats only.

Trailer Wire Gauge Guide

Wrong wire gauge causes dim lights, blown fuses and voltage drop that kills brake performance. Here’s what to use:

CircuitShort Run (<20 ft)Long Run (20-35 ft)Heavy Duty (>35 ft)
Ground12 AWG10 AWG10 AWG
Running/Tail Lights16 AWG14 AWG12 AWG
Turn/Brake Signals16 AWG14 AWG12 AWG
Electric Brakes12 AWG10 AWG10 AWG
12V Auxiliary/Charge10 AWG8 AWG8 AWG
Reverse Lights16 AWG14 AWG14 AWG

Wire Gauge Rules of Thumb

Ground wire is the most important. Undersized ground causes more problems than any other wiring mistake. Use 12-gauge minimum, 10-gauge on trailers over 25 feet.

Electric brake wire needs headroom. Brake magnets draw 3-4 amps per axle. A tandem axle trailer pulls 6-8 amps through the blue wire. Use 12-gauge minimum — 10-gauge if you have three axles.

12V charging circuit carries the most current. This wire charges your trailer battery while towing. If it’s undersized, the battery never fully charges and your converter works overtime at camp. Use 10-gauge for runs under 20 feet, 8-gauge for anything longer.

Voltage drop matters. A 30-foot run of 18-gauge wire drops enough voltage to make LED lights flicker and brake magnets weak. When in doubt, go one gauge heavier.

How to Wire Trailer Lights

Whether you’re building a trailer from scratch or replacing a rotted harness, the process is the same.

What You Need

  • Wire strippers (not a knife — actual strippers)
  • Ratcheting crimping tool
  • Heat shrink butt connectors (waterproof)
  • Multimeter or 12V test light
  • Dielectric grease
  • Split loom tubing
  • Zip ties
  • Self-tapping screws for ground points

Step 1: Plan Your Wire Runs

Map every wire path before cutting anything. Run wires along the frame rail, inside the C-channel if possible. Keep wires away from axles, suspension movement and exhaust heat. Mark where each light mounts.

Step 2: Run Wires from Front to Back

Start at the tongue where the connector mounts. Pull all wires together as a bundle to the rear of the trailer. Split off individual circuits at each light location.

Leave 12 inches of slack at every connection point. You’ll need it for crimping and future repairs.

Step 3: Mount the Lights

Bolt or screw each light housing to the trailer. Seal mounting holes with silicone if the housing isn’t gasketed. Water inside a light housing corrodes the ground connection faster than anything else.

Step 4: Make Your Connections

Strip 3/8 inch of insulation from each wire end. Slide on heat shrink butt connectors — they seal out moisture better than electrical tape ever will. Crimp with a ratcheting tool, not pliers.

Match colors: white to white, brown to brown and so on. If the trailer light has different colors than the harness, check the light’s instruction sheet for its color mapping.

Step 5: Ground Each Light Properly

This step fails more often than any other. Each light needs a dedicated ground wire running back to a clean, bare-metal point on the trailer frame.

Scrape off paint, primer and rust at the ground point. Use a self-tapping screw with a star washer to bite into clean steel. Apply dielectric grease over the connection.

Don’t daisy-chain grounds from light to light. Run individual ground wires. Shared grounds create voltage drop that makes lights dim and flicker.

Step 6: Test Everything

Plug into your tow vehicle. Have someone cycle through every function while you watch at the trailer:

  • Running lights on
  • Left turn signal
  • Right turn signal
  • Brake pedal
  • Reverse
  • Hazard flashers

Check every light. If one side works but the other doesn’t, you probably have the left and right wires swapped somewhere.

Breakaway Switch Wiring

Every trailer with electric brakes needs a breakaway switch. It’s required by law in most states. If the trailer separates from the tow vehicle, the switch locks all brakes using the trailer’s onboard battery.

How a Breakaway Switch Works

A steel cable (lanyard) connects the switch to the tow vehicle frame. If the trailer disconnects, the cable pulls a pin from the switch. This completes a direct circuit from the trailer battery to all brake magnets, locking the wheels.

Breakaway Switch Wiring Diagram

The wiring is simple — two wires:

Wire 1 (from battery): Connect a 12-gauge wire from the trailer battery positive terminal to the breakaway switch input terminal.

Wire 2 (to brakes): Connect a 12-gauge wire from the breakaway switch output terminal to the blue brake wire on the trailer harness. Splice it in downstream of the connector so the switch bypasses the tow vehicle’s brake controller.

Ground: The brake magnets ground through the trailer frame, same as normal braking. No additional ground wire needed for the switch itself.

Testing the Breakaway Switch

Pull the pin while the trailer is chocked on flat ground. You should feel the brakes lock immediately. If the wheels still roll, check the battery charge and all connections.

Replace the breakaway battery every 2-3 years. A dead battery means the switch does nothing in an emergency. Most breakaway batteries are sealed 12V 5Ah units — about $20.

Troubleshooting Trailer Wiring

No Lights at All

Check ground first. A bad ground kills every circuit. Clean the main ground point at the connector and test again. If lights work when you clip a jumper wire from the trailer frame to the tow vehicle frame, you’ve confirmed a ground problem.

Check the fuse. Most tow vehicles have a dedicated trailer fuse in the under-hood fuse box. Pull it and inspect.

Lights Work on One Side Only

Left and right wires are swapped somewhere. Trace the yellow and green wires from the connector to each light. One of them is crossed.

Brake Lights Stay On

The brake and turn signal circuits share wires on most trailers. A short in the turn signal circuit can backfeed into the brake circuit. Disconnect each light one at a time to isolate which fixture has the short.

Running Lights Dim

Voltage drop from undersized wire or corroded connections. Measure voltage at the connector and again at the light. More than 0.5V difference means you’ve got resistance in the circuit — corroded splice, bad ground or wire that’s too thin.

Electric Brakes Don’t Engage

Check voltage at the blue wire while someone presses the brake pedal. You should see 2-12V depending on brake controller gain setting. No voltage means the brake controller isn’t sending signal — check the controller wiring at the tow vehicle, not the trailer.

If you have voltage at the blue wire but brakes don’t grab, the brake magnets are worn or the drums need cleaning. That’s a mechanical problem, not electrical.

Battery Not Charging While Towing

The 12V auxiliary circuit (pin 6) charges the trailer battery. Many factory tow packages don’t include this wire — the pin exists on the connector but nothing feeds it. Run a 10-gauge wire from the tow vehicle battery to pin 6, with a 30-amp inline fuse at the battery end.

Intermittent Flickering

Water intrusion and corrosion. Unplug the connector and look at the pins. Green or white buildup means corrosion is increasing resistance. Clean pins with electrical contact cleaner and coat with dielectric grease.

Also check for chafed wires where the harness passes over frame edges or near suspension components. Road vibration wears through insulation over thousands of miles.

Connector Adapters

Adapters let you tow different trailer types without rewiring your truck. Here’s what works and what doesn’t:

AdapterWorks ForLoses
7-pin to 4-pinUtility trailers, boatsBrakes, battery charge, reverse
7-pin to 5-pinBrake trailers without batteryBattery charge, reverse
4-pin to 7-pinNothing usefulCan’t add circuits that don’t exist
6-pin to 7-pinOlder campers on new trucksReverse lights only

You can always go down in pin count. A 7-pin truck can tow a 4-pin trailer with an adapter. You just lose the circuits that don’t exist on the smaller connector.

You can never go up. A 4-pin truck can’t magically gain electric brake control by plugging in a 7-pin adapter. The circuits aren’t wired on the vehicle side. You’d need a full 7-pin wiring kit installed.

Connector Maintenance

Corroded pins cause 90% of trailer light failures. Two minutes of maintenance before each trip prevents roadside headaches.

Before every trip:

  • Unplug the connector and inspect all pins
  • Spray contact cleaner on corroded pins
  • Apply dielectric grease to all contact surfaces
  • Plug in and test all circuits

Every 6 months:

  • Inspect wire routing for chafing or heat damage
  • Check all ground connections for rust
  • Test breakaway switch by pulling the pin
  • Verify brake magnets engage with a voltmeter

Replace the connector if you see melted plastic, green pin corrosion that won’t clean off or loose pins that wobble in their sockets. A new 7-pin connector costs $15-30 and takes 20 minutes to rewire.

7 pin trailer plugtrailer wiring diagram6 pin trailer wiring7 way trailer plugtrailer wire gaugebreakaway switch wiringhow to wire trailer lights