How to Wire a Trailer Plug: 4-Pin and 7-Pin Installation
This is a free printable wiring a trailer plug: download the diagram as SVG or open it and print to paper or PDF.
Wiring a trailer plug correctly ensures brake lights, turn signals, running lights, and electric brakes work every time you hitch up. This step-by-step guide covers both 4-pin flat and 7-pin RV blade plugs using the SAE J560 color code.
A trailer plug is the male connector on the trailer side that mates with the vehicle's socket. Wiring a trailer plug from scratch requires matching each wire from the trailer harness to the correct pin inside the plug body. For a 4-pin flat plug, the four positions correspond to ground (white), tail/running lights (brown), left brake/turn (yellow), and right brake/turn (green). The plug body is keyed so it can only insert one way, with the ground (white) wire always in the known reference position. For a 7-pin RV blade plug, seven conductors must be matched: ground (white, pin 1), tail lights (brown, pin 2), left brake/turn (yellow/blue depending on manufacturer, pin 3), right brake/turn (green, pin 4), electric brakes (blue, pin 5), 12 V auxiliary/battery charge (red, pin 6), and backup lights (black, pin 7). Inside the plug body each terminal is numbered or color-coded; use a pick or small screwdriver to push conductor ferrules into the correct terminal and tighten the set screws. Strip wire insulation back 5/16 inch for screw terminals—too long causes shorts to adjacent pins; too short results in a high-resistance or open connection. After wiring, gently tug each wire to confirm it is locked. Apply a small bead of dielectric grease inside the plug cover before snapping it closed to seal the terminals from moisture. The most common source of wiring errors is misidentifying the pin positions when the plug body is rotated—always reference the numbered pin diagram printed on the plug or in the manufacturer's instructions. Re-test all functions with a tow vehicle before the first trip. If a trailer wiring harness is color-coded differently from SAE J560, use a multimeter to identify each wire function at the trailer's existing connector before cutting and reterminating.
How to wire wiring a trailer plug
- Open the plug body Unscrew the rear shell of the trailer plug. Lay the two halves flat and identify each numbered terminal or color-coded slot by referencing the diagram on the shell or manufacturer instructions.
- Feed the harness wires Pass the trailer harness through the plug's strain-relief grommet before terminating wires—you cannot thread the cable through after the wires are connected to terminals.
- Strip each wire Strip 5/16 inch of insulation from each conductor. Twist the strands tightly and optionally tin with solder for screw-terminal connections. Do not leave more than 1/4 inch bare beyond the terminal.
- Connect wires to correct terminals Following the SAE J560 color code (white=GND, brown=tail, yellow=L-turn, green=R-turn, blue=brakes, red=aux, black=backup), insert each wire into its terminal and tighten the set screw firmly. Tug each wire to confirm it is captured.
- Apply dielectric grease and close Apply a thin film of dielectric grease to the terminal block. Reassemble the plug shell and tighten the strain-relief grommet so the cable cannot pull loose at the plug body.
Specifications
| 4-pin flat pin count | 4 (GND, tail, L-turn, R-turn) |
|---|---|
| 7-way RV blade pin count | 7 (adds brakes, aux 12V, backup) |
| Strip length for screw terminals | 5/16 inch (8 mm) |
| Ground circuit max resistance | < 1 Ω from plug to trailer frame |
Safety warnings
- Disconnect the trailer from the vehicle before opening the plug body—live 12 V wiring inside a metal-body plug can short against the outer shell and blow fuses.
- Never solder trailer plug connections without also applying heat-shrink tubing—bare solder joints in the plug cavity corrode and crack from vibration within one season.
- Verify pin polarity with a meter before securing wires in the plug body—reversed connections blow bulbs, damage brake controllers, or prevent braking.
Tools needed
- Wire stripper set to 18 or 14 AWG
- Flathead screwdriver (small, for terminal set screws)
- Digital multimeter (continuity and voltage)
- Dielectric grease and heat-shrink tubing assortment
Common mistakes
- Stripping too much insulation—exposed conductor contacts the plug shell or an adjacent pin, creating a short circuit that blows the lighting fuse.
- Rotating the plug body when referencing pin positions—always orient the plug in its connected (mated) position when matching pin numbers to wire colors.
- Skipping dielectric grease—moisture enters the plug cavity within weeks of road use, corroding the terminal contacts and creating intermittent lighting faults.
Troubleshooting
- No trailer lights at all after re-wiring the plug
- Cause: Ground wire (white) not connected or open-circuit—all functions require a complete ground path Fix: Verify white wire is seated in pin 1 (ground terminal) and measure resistance from white pin to trailer frame. Must read under 1 Ω.
- Brake lights and tail lights illuminate simultaneously
- Cause: Short between brown (tail) and yellow/green (brake) wires inside the plug body Fix: Open plug, inspect for excess stripped wire touching adjacent terminals, trim bare ends, re-seat, and retest.
- Left and right signals reversed on trailer
- Cause: Yellow and green wires swapped at the plug terminals Fix: Swap the yellow and green wires in the plug body terminals; confirm with a helper watching trailer lamps while you operate turn signals.
Frequently asked questions
How do I identify which pin is which on a 7-way trailer plug?
Hold the plug as it would be installed on the trailer (so you are looking at the flat face with terminals visible). Pin 1 (top center) is ground (white). Numbering proceeds clockwise: pin 2 (upper right) is tail/running, pin 3 (right) is left brake/turn, pin 4 (lower right) is right brake/turn, pin 5 (lower left) is electric brakes, pin 6 (left) is 12 V auxiliary, pin 7 (upper left) is backup lights. When in doubt, use the diagram printed on the back of the plug body.
Can I use any wire gauge for trailer plug wiring?
No—wire gauge must match the current carried. Lighting circuits (brown, yellow, green) use 18 AWG for runs up to 25 feet. Electric brakes (blue) require 14 AWG to handle up to 12 A brake current without excessive voltage drop. The 12 V auxiliary charging circuit (red) requires 12 AWG if carrying up to 20 A for battery charging. Using undersized wire causes voltage drop, overheating, and breaker/fuse trips.
My trailer had a damaged plug—can I cut and re-terminate the wiring?
Yes—cut back the damaged plug and strip the individual conductors inside. Identify each wire function using a multimeter: at the trailer, ground the white wire and test continuity to each trailer lamp while activating functions at the existing socket. Once identified, insert each wire into the correct terminal of the new plug following the SAE J560 color-to-function mapping. Confirm all functions before the first trip.
Do I need a separate fuse for the trailer plug?
The tow vehicle's OEM trailer wiring fuse protects the lighting circuits (typically 10-15 A). If you add a 12 V auxiliary feed for battery charging, install an additional inline 30 A fuse within 18 inches of the vehicle battery positive terminal on that circuit. The electric brake circuit is protected by the brake controller's internal fuse. Never add fuses larger than the wire gauge rating.
Why does my trailer brake light come on even with the signal on?
North American trailers typically combine stop and turn signals on the same circuit, which is normal for most trailers—when you signal left, the left lamp flashes; when you brake, both lamps illuminate solid. If the wrong lamp is illuminating (e.g., left signal activates right lamp), yellow and green wires are swapped at the plug. If brake lights come on with the running lights, brown and yellow/green wires are bridged—check for a short in the plug body from excess stripped insulation.
Related diagrams
- 12 pin trailer plug wiring
- 13 pin trailer plug wiring diagram
- 4 prong trailer plug wiring diagram
- 4 way trailer plug
- 5 pin trailer plug wiring diagram
- 5 wire trailer plug