Skip to content
🔗 DIY TOWING & FLAT TOWING

Trailer Wiring Diagram: Complete Guide to 4-Pin, 5-Pin, 6-Pin, and 7-Pin Connectors

Published · Updated · 12 min read
MarkUpdated Nov 22, 2026SAE International — J2863 Automotive Trailer Tow Connector

Key Takeaways

  • ✓4-pin handles basic lights; 7-pin adds brakes, 12V power, and reverse lights
  • ✓4-way colors: white=ground, brown=tails, yellow=left, green=right; blue=brakes on 6- and 7-way
  • ✓Corroded ground connections cause over 70% of trailer wiring failures
  • ✓Electric trailer brakes require a 7-pin connector — 4-pin cannot carry brake signals
  • ✓Always test with a 12V test light before your first tow — not at the boat ramp

Key Takeaways

  • 4-pin handles basic lighting; 7-pin adds brakes, 12V power, and reverse lights
  • 4-way colors: white=ground, brown=tails, yellow=left, green=right; blue=electric brakes on 6- and 7-way plugs
  • Corroded ground connections cause over 70% of trailer wiring failures
  • Electric trailer brakes require a 7-pin connector and brake controller
  • Always test every function with a 12V test light before your first tow

Trailer wiring looks intimidating until you understand the pattern. Every connector — whether it has 4 pins or 7 — follows the same color-coded logic established by SAE standards. Once you know what each color does, you can wire, troubleshoot, or upgrade any trailer connector in your driveway. This guide covers every standard connector type with pinout diagrams, wire colors, and step-by-step troubleshooting for the most common failures.

If you're setting up a tow vehicle from scratch, start with the right hitch type and then match your wiring connector to your trailer's needs.


💰
DIY TOWING & FLAT TOWING

What Are the Standard Trailer Wiring Colors and What Do They Mean?

The trailer wiring color code starts with four colors that almost every plug shares: white is ground, brown is tail/running lights, yellow is left turn/brake, and green is right turn/brake. Blue is electric brakes on 6-way and 7-way plugs. The 7-way RV blade, however, comes in two color schemes, so identify 7-way wires by pin position, not color alone.

CURT's trailer wiring diagram guide lists both 7-way schemes. The "traditional" RV blade colors are used on most fifth wheels, travel trailers, and campers. The SAE J2863 layout, the SAE standard for the 7-position RV-style connector, is more common on gooseneck and utility trailers and reuses the 4-way colors.

What Are the Standard Trailer Wiring Colors and What Do They Mean? — data table
Function 4-Way Flat 7-Way RV Blade (Traditional) 7-Way RV Blade (SAE J2863) 7-Way Pin
Ground White White White 1
Electric Brakes — Blue Blue 2
Tail / Running Lights Brown Green Brown 3
12V Auxiliary Power — Black Orange 4
Left Turn / Brake Yellow Red Yellow 5
Right Turn / Brake Green Brown Green 6
Reverse Lights / Auxiliary — Yellow Grey 7 (center)

Sources: CURT Manufacturing wire-color charts; pin numbers from the California Governor's Office of Emergency Services 7-pole wiring diagram.

The ground wire is white on every plug type, and blue is always the electric brake wire. The trouble spot is the traditional RV blade, where green, red, and brown move to different functions than on a 4-way plug. That mismatch is the most common way tail lights and turn signals end up crossed when someone replaces a 7-way plug. Other harnesses vary again: CURT's 7-way round plug uses red for auxiliary power and black for reverse. If your trailer only has basic lighting with no brakes or battery, a 4-pin connector using the white, brown, yellow, and green wires is all you need.

Pro Tip: Wire colors on the tow vehicle side sometimes differ from the trailer side, especially on European vehicles. German and Japanese vehicles may use different color codes. Always use a 12V test light on the vehicle's harness to confirm which wire carries which signal before connecting — don't rely on color alone.


Trailer wiring color code diagram showing all seven standard wire colors and functions
📊
DIY TOWING & FLAT TOWING

What Is the 4-Pin Trailer Wiring Diagram?

The 4-pin flat connector is the most common trailer plug in the United States. It handles basic lighting functions for small utility trailers, landscaping trailers, and light-duty boat trailers that don't have electric brakes.

4-Pin Flat Connector Pinout:

What Is the 4-Pin Trailer Wiring Diagram? — data table
Pin Position Wire Color Function
Pin 1 (far left) White Ground
Pin 2 Brown Tail / Running Lights
Pin 3 Yellow Left Turn / Brake
Pin 4 (far right) Green Right Turn / Brake

The 4-pin connector combines the brake light and turn signal into a single wire for each side. When you hit the brakes, both yellow and green wires energize simultaneously. When you signal left, only the yellow wire pulses. This is why the left rear light on your trailer flashes for turns and stays solid for braking. CURT's 4-way connector guide notes that the white wire is the common ground for the whole trailer and should be properly grounded at the trailer tongue or frame.

When to use 4-pin: Small utility trailers under 3,000 lbs GVWR, kayak/canoe trailers, small aluminum boat trailers without brakes, motorcycle trailers, and any trailer that only needs running lights, brake lights, and turn signals.

When NOT to use 4-pin: Any trailer with electric brakes, trailers with onboard batteries, trailers requiring reverse lights, or any trailer over 3,000 lbs GVWR (most states require brakes above this weight).

Common Mistake: Using a 4-pin connector on a trailer that has electric brakes. The 4-pin has no brake circuit — your trailer brakes will not function at all. This is a safety and legal issue. If your trailer has electric brakes, you need at minimum a 6-pin or 7-pin connector.


4-pin flat trailer connector wiring diagram showing ground tail left turn and right turn connections
🔧
DIY TOWING & FLAT TOWING

What Is the 7-Pin Trailer Wiring Diagram?

A 7-pin trailer wiring diagram shows seven circuits: ground, electric brakes, tail lights, 12V auxiliary power, left turn/brake, right turn/brake, and reverse lights on the center pin. The 7-pin RV blade is the standard plug for travel trailers, fifth wheels, larger boat trailers, and any trailer with electric brakes, and it comes factory-installed on most full-size trucks and SUVs.

7-Pin RV Blade Pinout:

What Is the 7-Pin Trailer Wiring Diagram? — data table
Pin Location on the Plug Function Traditional RV Color SAE J2863 Color Typical Wire Gauge
1 Beside the keyway notch Ground White White 10 AWG
2 Beside the keyway notch Electric Brakes Blue Blue 12 AWG
3 Top, opposite the notch Tail / Running Lights Green Brown 14 AWG
4 Top, opposite the notch 12V Auxiliary Power Black Orange 10 AWG
5 Side Left Turn / Brake Red Yellow 14 AWG
6 Side Right Turn / Brake Brown Green 14 AWG
7 Center Reverse Lights / Auxiliary Yellow Grey 14 AWG

The pin locations follow the 7-pole RV connector diagram published by California's Office of Emergency Services, which shows ground (1) and brakes (2) on either side of the keyway, 12V (4) and tail lights (3) opposite it, the turn signals on the sides, and the auxiliary/backup circuit in the center. The trailer plug is a mirror image of the vehicle socket, so left and right swap when you flip from one to the other. The same diagram warns that color coding is not standard among all manufacturers, so wire by function.

Truck makers wire their factory sockets to the same seven functions. The 2026 Ram 1500 Owner's Manual, for example, lists its seven-pin connector circuits as backup lamps, running lamps, left stop/turn, ground, battery, right stop/turn, and electric brakes.

The 7-pin connector carries everything the 4-pin does plus three additional circuits. The blue wire sends the modulated brake signal from your tow vehicle's brake controller to the trailer's electric brakes. The red or black 12V auxiliary wire charges the trailer's battery and powers the breakaway switch. The purple or orange wire activates the trailer's reverse lights when you shift into reverse.

Ground wire gauge matters. The center ground pin carries the return current for all seven circuits simultaneously. A thin 16 AWG ground wire will create voltage drop that dims your lights and weakens your brake signal. Always use 10 AWG minimum for the ground — 8 AWG is better for trailers over 25 feet.

Key Insight: The 12V auxiliary power circuit (Pin 5) is live whenever the tow vehicle is running. It typically supplies 30-40 amps and charges the trailer's deep-cycle battery through the umbilical cord. If your trailer battery isn't charging while towing, this wire or its fuse is usually the culprit.

How Do You Test a 7-Pin Trailer Plug?

Test a 7-pin trailer plug at the vehicle socket with a 12V test light or a 7-way circuit tester, one pin at a time. Clip the test light's ground lead to the ground pin (pin 1) or clean frame metal, then have a helper work each function while you probe the matching pin.

  1. Tail lights (pin 3): Turn the headlights on. The light should stay on steadily.
  2. Left and right turn (pins 5 and 6): Signal each way. Only the matching pin should flash.
  3. Brake lights (pins 5 and 6): Press the brake pedal. Both turn pins should light at once.
  4. 12V auxiliary (pin 4): Check with the engine running. No power usually means a blown fuse or relay for the trailer battery charge circuit.
  5. Reverse (pin 7, center): Set the parking brake, then shift into reverse.
  6. Electric brakes (pin 2): Slide the brake controller's manual lever. Some controllers send no output until they detect a trailer, so if the pin stays dead, retest with the trailer plugged in.

If every pin tests good at the socket but a trailer light still fails, the fault is on the trailer side: check the plug's ground wire and the lamp grounds first.



Try Our Free Truck Towing Capacity Lookup


7-pin RV trailer connector wiring diagram showing all seven pins with wire colors and functions
🛡️
DIY TOWING & FLAT TOWING

How Do 5-Pin and 6-Pin Connectors Differ from 4 and 7?

The 5-pin and 6-pin connectors fill the gap between basic 4-pin lighting and full-featured 7-pin setups. They're less common but serve specific needs.

5-Pin Flat Connector adds one wire to the 4-pin layout:

How Do 5-Pin and 6-Pin Connectors Differ from 4 and 7? — data table
Pin Wire Color Function
1-4 Same as 4-pin Ground, Tails, Left, Right
5 Blue Reverse signal / hydraulic surge brake lockout (electric brakes on some trailers)

The 5-pin is most common on boat trailers with hydraulic surge brakes. The blue wire connects to a solenoid that locks out the surge brakes when the tow vehicle reverses — preventing the trailer brakes from engaging when you're backing down the boat ramp.

6-Pin Round Connector adds two wires to the 4-pin base:

How Do 5-Pin and 6-Pin Connectors Differ from 4 and 7? — data table
Pin Wire Color Function
1-4 Same as 4-pin Ground, Tails, Left, Right
5 Blue Electric brakes
6 Red/Black 12V auxiliary power

The 6-pin provides electric brake control and battery charging but skips the reverse light circuit. It's common on older horse trailers, livestock trailers, and some enclosed cargo trailers from the 1990s and 2000s. Most newer trailers in this category have switched to the 7-pin RV standard.

Pro Tip: If your trailer has a 6-pin connector and your truck has a 7-pin, you can buy a 6-to-7 pin adapter for under $15. You'll lose reverse lights on the trailer, but brakes and charging will work. For full functionality, rewire the trailer to 7-pin — it's a one-afternoon job.


Trailer connector comparison showing 4-pin 5-pin 6-pin and 7-pin capabilities side by side

📋
DIY TOWING & FLAT TOWING

How Do You Wire a Trailer Connector Step by Step?

Wiring a trailer connector from scratch requires basic tools and about 2-3 hours for a first-timer. Here's the process for a 7-pin installation — scale down for 4-pin by skipping the brake, auxiliary, and reverse circuits.

Tools needed: Wire strippers, crimping tool, heat shrink connectors (not electrical tape), 12V test light, zip ties, a 7-pin connector kit, and the correct gauge wire (10 AWG for ground and 12V power, 12 AWG for brakes, 14 AWG for lights).

Step 1: Run wires from the tow vehicle to the hitch. Mount the 7-pin socket on the hitch or bumper area. Route wiring along the frame rail, secured with zip ties every 12-18 inches. Keep wires away from exhaust components, moving suspension parts, and the driveshaft.

Step 2: Connect the ground wire first. Attach the white ground wire to a clean, bare-metal point on the vehicle frame near the hitch. Sand or grind the mounting point to remove paint and rust. Use a ring terminal with a self-tapping screw or existing bolt. A bad ground causes more problems than all other wiring issues combined.

Step 3: Tap into the vehicle's lighting circuits. Use a T-connector harness specific to your vehicle (available from Curt, Hopkins, or Tekonsha) rather than splicing into factory wires. T-connectors plug into the existing taillight harness and provide a separate output for the trailer without modifying the vehicle's wiring.

Step 4: Connect the brake controller wire. Run the blue wire from the 7-pin socket to the brake controller inside the cab. Most brake controllers mount under the dash and tap into the vehicle's brake light switch circuit. Use 12 AWG wire for runs over 15 feet.

Step 5: Connect 12V auxiliary power. Run the red or black wire from the 7-pin socket to the tow vehicle's battery through a 40-amp circuit breaker or fuse. This wire charges the trailer battery and must handle sustained current — don't tap into an existing circuit.

Step 6: Connect reverse lights. Tap into the tow vehicle's reverse light wire (usually at the taillight harness) and run to Pin 6. Use a 14 AWG wire and a heat-shrink butt connector.

Step 7: Test every circuit. With the trailer connected, test each function: running lights, left turn, right turn, brakes (all lights on), reverse, and trailer brakes using the manual override on the brake controller.

Common Mistake: Using electrical tape instead of heat shrink connectors. Electrical tape unravels in heat and moisture — the two things trailer wiring encounters constantly. Heat shrink with adhesive lining creates a waterproof seal that lasts years. The $10 difference in materials saves you from troubleshooting corroded connections later.


⚙️
DIY TOWING & FLAT TOWING

How Do You Troubleshoot Trailer Wiring Problems?

Trailer wiring fails more than any other towing component. Road spray, salt, mud, and vibration take a toll on connectors and splices. Here's a systematic approach to finding and fixing the most common failures.

Problem: All trailer lights are dead. Check the ground first. Disconnect the trailer plug and test the vehicle-side socket with a test light. If the socket has power on all pins but the trailer lights don't work, the trailer's ground connection is corroded or broken. Find where the white wire grounds to the trailer frame and clean or replace the connection.

Problem: One side isn't working (left or right). This is almost always a bad bulb or a corroded ground on that specific light housing. Trailer lights ground through the mounting bolts into the frame. If corrosion builds up between the light housing and the frame, that side loses its ground path. Remove the light, sand the mounting surface, and reinstall.

Problem: Turn signals work but brake lights don't (or vice versa). On a 4-pin system, these share the same wire, so the issue is likely a bad bulb with only one filament burned out. On vehicles with separate brake and turn circuits, check whether the converter module (required for some European vehicles) is functioning.

Problem: Electric brakes not working. Test the blue wire at the 7-pin socket with a test light while someone presses the brake pedal. If there's no signal, the brake controller has lost power or the wire between the controller and socket is broken. Check the brake controller fuse first — it's the most common cause.

Check your trailer sway control system if brakes are intermittent — some sway control systems interact with the brake circuit.

Key Insight: Carry a spare 7-pin connector, a test light, and a small bag of heat-shrink butt connectors in your tow vehicle. These three items solve 90% of roadside trailer wiring failures. A $20 kit can save you a $150+ roadside assistance call.


Trailer wiring troubleshooting flowchart for dead lights one side failure and brake issues

Sources & Methodology

  1. 1.
    SAE International — J2863 Automotive Trailer Tow Connector: The SAE standard for the 7-position, self-draining RV-style trailer connector interface. SAE J2863 standard page
  2. 2.
    CURT Manufacturing — Trailer Wiring Diagram and Installation Help: Wire colors and functions for 4-way, 5-way, 6-way, 7-way round, traditional 7-way RV blade, and SAE J2863 RV blade connectors. CURT trailer wiring diagram guide
  3. 3.
    California Governor's Office of Emergency Services — 7-Way Trailer Wiring Diagram: Pin numbers and positions for 7-pole RV connectors at the vehicle and trailer ends. Cal OES 7-way trailer wiring diagram (PDF)
  4. 4.
    Stellantis — 2026 Ram 1500 Owner's Manual: Factory four-pin and seven-pin connector circuit lists. 2026 Ram 1500 Owner's Manual (PDF)
  5. 5.
    FMCSA — 49 CFR 393.11, Lamps and reflective devices: Federal lamp and reflector requirements for commercial trailers. 49 CFR 393.11
  6. 6.
    NHTSA — FMVSS No. 108: Federal Motor Vehicle Safety Standard for lamps, reflective devices, and associated equipment, including trailers. FMVSS No. 108, 49 CFR 571.108
  7. 7.
    Hopkins Towing Solutions: Wiring guides and connector specifications for standard trailer plug types.

TowingServiceHub is reader-supported: we may earn money from ads and from some links on this page. See our editorial policy.

Mark — Founder & Editor

Mark

Founder & Editor

Mark is the founder and editor of TowingServiceHub, which he launched in 2026 after struggling to find clearly sourced towing costs and truck specs. He works in enterprise technology and tows his own boats, trailers, and equipment, so he knows the questions drivers actually ask.

Read full bio →

Need a tow truck right now?

Browse vetted local providers in your area. Real Google ratings, verified business info, free to use.

Or browse all 50 states from our directory

Frequently Asked Questions

On a 4-way plug, white is ground, brown is tail/running lights, yellow is left turn/brake, and green is right turn/brake. On 7-way plugs, white is ground and blue is electric brakes, but the other colors vary between the traditional RV and SAE J2863 schemes, so identify wires by pin position and confirm with a test light.

A 4-pin connector handles basic lighting: ground, tail lights, left turn/brake, and right turn/brake. A 7-pin adds electric brake control, 12V auxiliary power for charging trailer batteries, and reverse lights. Use 4-pin for small utility trailers and 7-pin for travel trailers, boat trailers with brakes, or any trailer with electric brakes.

Yes. You can install a 4-to-7 pin adapter for basic lighting functions, but the adapter won't provide electric brake power, 12V auxiliary, or reverse light signals. For full 7-pin functionality, you need to run additional wires from the tow vehicle's brake controller, battery, and reverse light circuit to the 7-pin connector.

The most common causes are corroded ground connections, blown fuses, damaged wiring from road debris, or mismatched connector pins. Start by cleaning the ground wire connection on the trailer frame, then check each pin with a 12V test light. Corroded grounds cause more trailer lighting failures than any other single issue.

Yes. Electric trailer brakes require the dedicated blue wire in a 7-pin connector to receive the brake signal from your tow vehicle's brake controller. A 4-pin connector does not include a brake circuit. If your trailer has electric brakes, you must have a 7-pin connector and a brake controller installed in the tow vehicle.

The center pin (pin 7) on a 7-way RV blade plug carries the reverse light or auxiliary circuit. Ground is pin 1, which sits beside the keyway notch next to the blue electric brake pin. If your trailer has no reverse lights, the center pin is often left unused.

Related Articles

Explore More Towing Guides

Browse all 157 expert guides and 10 free tools.