7 Pin Trailer Wiring Diagram: Pin Colors, Functions and How to Wire It

Quick Answer

A 7 pin trailer plug (the flat-blade “RV style” connector) carries seven circuits: ground, tail/running lights, left turn/brake, right turn/brake, electric brakes, 12V auxiliary power and reverse lights. On the common RV color code, white is ground, green is tail lights, red is left turn, brown is right turn, blue is electric brakes, black is 12V power and yellow is reverse (the center pin). Many utility trailers use a different color code, so always confirm each wire with a tester before you connect anything.

7circuits in one plug
Whiteis always ground
Center pinusually reverse lights

The 7 pin connector is the standard plug for travel trailers, boat trailers with surge brakes, horse trailers and most trailers that have electric brakes. It looks complicated, but each pin does one simple job. Once you know the functions, wiring or fixing a plug is a calm 30-minute job.

This guide gives you the 7 pin trailer wiring diagram by function, both common color codes, a step-by-step wiring method, and a quick fix list for when the lights or brakes stop working.

7 pin trailer plug wiring chart: function, RV color code and utility color code for each pin
The 7 functions with the two color codes you will see most often.

7 Pin Trailer Wiring Diagram: Pin Functions and Colors

FunctionRV color codeUtility color codeWhat it powers
GroundWhiteWhiteReturn path for every circuit
Tail / running lightsGreenBrownTail, side marker and license plate lights
Left turn and brakeRedYellowLeft stop and turn light
Right turn and brakeBrownGreenRight stop and turn light
Electric brakesBlueBlueSignal from the brake controller to the trailer brakes
12V auxiliary / battery chargeBlackBlackBreakaway battery, RV battery charging, interior lights
Reverse lights (center pin)YellowPurpleBackup lights or surge-brake lockout

The RV code is what most travel trailers and fifth wheels use. The utility code follows the old 4-pin flat plug colors, so a boat or cargo trailer often has yellow for left, green for right and brown for tail lights. Ground, brakes and 12V power usually stay the same in both.

⚠️ Do Not Trust Colors Alone

Trailer builders and previous owners often use whatever wire was on hand. Before you crimp anything, test each wire with a circuit tester or multimeter and wire by function, not by color. The pin positions are also marked on the back of most plugs.

What Each Circuit Does

  • Ground (white): The most important wire. A weak ground causes dim, flickering or “crazy” lights where one signal turns on another light. Run it to clean bare metal on the trailer frame.
  • Tail lights: On whenever the tow vehicle’s headlights or parking lights are on.
  • Left and right turn/brake: Each side flashes for a turn and stays on for braking. Most U.S. trailers combine stop and turn on one bulb per side.
  • Electric brakes (blue): Carries a variable signal from the brake controller in the tow vehicle. Without a working controller, the trailer brakes will not work.
  • 12V auxiliary (black): Live battery power from the tow vehicle. It charges the trailer’s breakaway or house battery and can run small interior loads.
  • Reverse (center pin): Turns on backup lights, or switches off surge brakes on boat trailers when you reverse.
Read Also  Where Can I Sell Used Car Seats

How to Wire a 7 Pin Trailer Plug

This method works for replacing the plug on the trailer side. Disconnect the trailer from the vehicle before you start.

1
Cut off the old plug

Cut the cable just behind the damaged plug, leaving as much good wire as possible.

2
Slide on the new housing

Put the plug’s back cover and cable boot over the cable first. It is easy to forget and then you have to start again.

3
Strip each wire

Remove about 1.5 inches of the outer jacket and strip about 3/8 inch from each wire. Twist the strands so none stick out.

4
Identify each wire by function

Use a test light or multimeter, or follow each wire back to the light it feeds, and write the function on a piece of tape.

5
Connect wires to the right terminals

Match each function to the terminal marked on the plug: ground, tail, left, right, brake, 12V and reverse. Tighten each screw firmly.

6
Seal and close the plug

Add dielectric grease on the terminals, close the housing and tighten the cable clamp so the wires cannot pull out.

7
Test every function

Plug into the tow vehicle and check tail lights, both turn signals, brake lights, reverse and the trailer brakes before you drive.

7 pin trailer plug troubleshooting: common light and brake problems with causes and fixes
Most trailer light problems come down to one of these causes.

Trailer Lights or Brakes Not Working? Quick Fixes

ProblemMost likely causeFix
All lights deadBad ground or blown vehicle fuseClean the ground point, check the tow vehicle’s trailer fuses
Lights dim or flickerWeak ground or corroded pinsClean pins with contact cleaner, add dielectric grease
Wrong light comes onWires swapped or bad groundRe-check functions with a tester
One side not workingBulb, socket or broken wire on that sideSwap the bulb, check the wire along the frame
Trailer brakes not workingNo brake controller signal or bad blue wireCheck the controller reads “connected”, test the blue pin
Trailer battery not charging12V circuit not active in the vehicleCheck the vehicle’s trailer battery fuse or relay

If your truck has a trailer setting in its menu, make sure it is switched on. Some vehicles also need the trailer lighting module or fuse installed by the dealer. For brand-specific help, see how to activate trailer lights on a Jeep Grand Cherokee.

7 Pin vs 4 Pin Trailer Plugs

A 4 pin flat plug only carries ground, tail lights and the two turn/brake circuits. That is fine for a small utility trailer with no brakes. You need a 7 pin plug when the trailer has electric brakes, a battery to charge, or reverse lights. Adapters are cheap, but a 7-to-4 adapter will not give you brakes or 12V power on the trailer.

Read Also  1 Best ATV Oils of 2026 – Expert Quality Picks
💡 Pro Tips
  • Buy a cheap plug-in 7 way tester. It shows each circuit on the vehicle side in seconds.
  • Keep a dust cap on the plug when it is not connected to stop corrosion.
  • Use heat-shrink butt connectors for any splices under the trailer.
  • Check the breakaway battery and switch at the start of every towing season.
  • Before a long trip, check tire pressure and load. Our guide to RV trailer tires covers what to look for.
🔑 Final Takeaway

A 7 pin trailer plug has seven simple jobs: ground, tail lights, left and right turn/brake, electric brakes, 12V power and reverse. White is always ground, but other colors vary between RV and utility trailers, so test every wire and connect by function. Most problems are a bad ground or corroded pins, which take minutes to fix.

7 Pin Trailer Wiring FAQs

What color wire goes where on a 7 pin trailer plug?

On the common RV code: white is ground, green is tail lights, red is left turn/brake, brown is right turn/brake, blue is electric brakes, black is 12V power and yellow is reverse. Utility trailers often use yellow for left, green for right, brown for tail and purple for reverse.

What is the center pin on a 7 pin trailer plug?

The center pin is usually the reverse light circuit. On boat trailers it can switch off surge brakes when backing up. If the trailer has no reverse lights, it can be used as an extra auxiliary circuit.

Which wire is the ground on a 7 pin trailer plug?

The white wire is ground on almost every 7 pin plug. It should be bolted to clean, bare metal on the trailer frame.

Why do my trailer lights work but not the brakes?

The lights use different circuits from the brakes. Check that a brake controller is installed and shows the trailer as connected, then test the blue brake wire and the brake magnets.

Do I need a 7 pin plug for my trailer?

You need a 7 pin plug if your trailer has electric brakes, a battery that charges from the tow vehicle, or reverse lights. A small trailer with only lights can use a 4 pin plug.

Can I use a 7 pin to 4 pin adapter?

Yes, for lights only. The adapter passes ground, tail and turn/brake signals, but not electric brakes, 12V power or reverse.

📋 Quick Recap
  • 7 circuits: ground, tail, left, right, brakes, 12V, reverse.
  • White is ground. Blue is brakes. Black is 12V.
  • Turn and tail colors differ between RV and utility trailers.
  • Test each wire and wire by function, not color.
  • Bad grounds and corroded pins cause most problems.