How to Wire a 5-Way Trailer Plug for Your Enclosed Trailer
The 5-way trailer plug looks small, but it carries every signal that keeps your enclosed trailer legal and visible on the road. Tail lights, brake lights, left and right turn signals, and a shared ground all run through those five pins. When one of them stops working, you risk a ticket, a missed turn warning to traffic behind you, or worse, a rear-end collision on a rainy night.
This guide walks an owner or weekend hauler through everything needed to wire a 5-way trailer plug correctly the first time. We will cover pin assignments, color codes, tools, the step-by-step procedure, common mistakes, and how to test the finished job before you ever roll out of the driveway.
What the 5-Way Trailer Plug Actually Does
A 5-way flat plug is the standard wiring connector used on most small and mid-size enclosed trailers in the United States. It carries five separate circuits between the tow vehicle and the trailer: ground, tail and running lights, left turn and brake, right turn and brake, and an auxiliary wire usually reserved for backup lights or a hydraulic disc brake reverse-lockout. Each circuit terminates at a flat blade pin inside the plug body.
The 5-way is one step up from the basic 4-way flat that only handles ground, tail, and turn signals. If your enclosed trailer has reverse lights or a surge brake that needs to disengage when you back up, you almost certainly have a 5-way. Vehicles with electric brakes use a 7-way round plug instead, which adds a brake controller wire and a 12-volt battery charge line.
Color Codes and Pin Assignments
Every 5-way flat plug follows the same SAE J1239 color standard. Learning the codes once saves you from miswiring forever after. Match the wire color in your trailer harness to the pin position in the plug, and the same colors should land on matching pins inside the tow vehicle's plug.
| Pin Position | Wire Color | Circuit | Typical Amp Draw |
| 1 (widest) | White | Ground (common) | Return path for all |
| 2 | Brown | Tail and running lights | 1 to 3 amps |
| 3 | Yellow | Left turn and brake | 2 to 4 amps |
| 4 | Green | Right turn and brake | 2 to 4 amps |
| 5 | Blue or Purple | Auxiliary (reverse or hydraulic disc lockout) | 1 to 6 amps |
Tools and Materials You Will Need
You do not need a workshop to rewire a 5-way plug. A modest hand-tool kit handles every job correctly. Gather these items before you start so you do not stop halfway through with stripped wire ends exposed.
- Replacement 5-way flat plug (with matching trailer-side socket if needed)
- 16-gauge multi-conductor trailer wire (length to reach from tow point to rear of trailer)
- Wire strippers and crimpers
- Heat-shrink butt connectors and a heat gun
- Dielectric grease
- 12-volt test light or multimeter
- Small zip ties and self-fusing electrical tape
Step-by-Step: Wiring a 5-Way Plug
Step 1: Disconnect Power
Unhook the trailer from the tow vehicle. With no 12-volt source connected, there is no risk of shorting a circuit while you strip and splice wires.
Step 2: Remove the Old Plug
Cut the wire harness an inch or two behind the failed plug. Strip back the outer jacket about three inches to expose the individual conductors. Inspect each conductor; if you see green or black corrosion creeping up the copper, cut back further until you reach bright copper.
Step 3: Strip and Match
Strip each conductor about a quarter inch. Lay the new plug next to the harness and match every wire to its color-coded pin per the table above. Twist the bare conductor lightly to avoid stray strands.
Step 4: Crimp and Heat-Shrink
Slide a heat-shrink butt connector over each wire end, push the conductor fully into the barrel, and crimp with the proper jaw of your crimping tool. After all five are crimped, run a heat gun across the connectors until the insulation shrinks tight and the internal adhesive seals against moisture.
Step 5: Test Each Circuit
Reconnect the trailer to the tow vehicle. With the parking brake set, turn on the running lights, then have a helper press the brake pedal, then test each turn signal. Confirm the auxiliary circuit if your trailer uses it. Any failure points you back to the most recently completed crimp or the ground pin.
Step 6: Seal and Secure
Apply a small dab of dielectric grease inside the plug socket, then close the cover. Zip-tie the harness up under the trailer's frame so it cannot drag, snag, or chafe against a moving part.
Common 5-Way Plug Wiring Mistakes
Even experienced trailer owners trip on the same handful of errors when rewiring a 5-way plug. Knowing what to avoid is half the job.
NeighborsTrailer.com
The biggest single offender is a poor ground. The white wire on pin 1 has to carry the return current for every other circuit; if it corrodes or backs out of its crimp, the lights dim, flicker, or stop working entirely. Always sand the contact patch on the trailer frame where the ground bolts down, and use a star washer to keep the connection tight.
Testing the Finished Wiring Without a Helper
If you live alone or work at odd hours, a simple 12-volt circuit tester turns this into a one-person job. Clip the tester's ground to the trailer frame, then probe each pin in the plug while the appropriate light or signal is active on the tow vehicle. A solid glow on the tester confirms power. No glow means the circuit between the tow vehicle and that pin is broken, usually right at the new crimp.
When to Replace the Whole Harness
If the trailer wiring is more than 8 to 10 years old and you have repaired three or more sections, stop patching and replace the harness. Pre-made replacement harnesses for common enclosed trailer sizes run 30 to 60 dollars and include the 5-way plug already installed. A fresh harness eliminates hidden corrosion, sun-baked insulation, and mystery shorts you would otherwise chase for months.
Frequently Asked Questions
Can I run a 5-way plug into a 4-way socket?
Yes, with an adapter or by simply leaving the fifth wire disconnected. Functions tied to that pin (reverse lockout, etc.) will not work, but tail, brake, and turn signals operate normally.
Why do my trailer lights flicker after rewiring?
Flickering almost always means a marginal ground. Re-check the white wire's crimp, the chassis ground bolt, and the contact area between the plug and socket.
How long should new trailer wiring last?
Properly installed harnesses with heat-shrink connections and dielectric grease typically last 10 to 15 years. UV exposure and road salt are the two biggest enemies; trailers stored under cover age much slower.
Do I need to fuse the trailer side of the wiring?
The fuses in the tow vehicle protect each circuit, so a separate trailer-side fuse is not required for lights. Auxiliary circuits drawing significant current (like an electric winch) should have their own inline fuse near the battery.
Conclusion
Wiring a 5-way trailer plug is one of the most rewarding maintenance jobs an enclosed trailer owner can take on. The color codes are standard, the tools are inexpensive, and a careful afternoon of work delivers years of reliable lighting. Take your time on the ground connection, use heat-shrink connectors over plain electrical tape, and test every circuit before you hit the road. Done right, a fresh 5-way plug will outlast many trailers it serves.
Related Articles
- How to Identify Your Trailer's Light Plug Configuration
- Horse Trailer 7-Way Plug Wiring Guide
- Cargo Trailer Wiring Guide
- Car Trailer Wiring Troubleshooting
Content updated May 2026
