How to wire a 4-pin trailer plug
Wire a 4-pin flat trailer connector the right way: color code, ground, and how to terminate without future corrosion problems.
A 4-pin flat trailer plug uses four wires: white ground, brown for running and tail lights, yellow for left turn and brake, green for right turn and brake. Connect the colors to the matching functions, ground the white wire to bare metal on the trailer frame, and seal every termination with adhesive heat-shrink butt connectors. The whole job is 60 to 90 minutes on a small utility or boat trailer.
A 4-pin plug handles the bare-minimum functions: tail/running lights, two turn signals, and ground. There is no brake circuit, no auxiliary power, no reverse. Most trailers under 3,000 lb GVWR use a 4-pin. Anything with electric brakes or a battery needs a 5-pin, 6-pin, or 7-pin.
Wire color code
| Wire | Function | Minimum gauge |
|---|---|---|
| White | Ground (negative return) | 16 AWG |
| Brown | Tail, running, and side marker lights | 18 AWG |
| Yellow | Left turn signal and left brake | 18 AWG |
| Green | Right turn signal and right brake | 18 AWG |
For longer trailers (more than 20 ft) or runs that carry heavy current to lots of lights, jump everything to 16 AWG. Voltage drop on smaller wire makes dim lights at the back.
If the trailer is from a manufacturer using the old red/black scheme, red is usually the combined turn/brake signals and black is the running lights. Modern US trailer harnesses follow the brown/yellow/green/white convention.
Tools and parts you need
- 4-pin flat trailer connector kit (one trailer-end plug, sometimes a matching vehicle-end). The 25 to 30 ft pre-made harnesses run $10 to $20.
- Wire strippers and cutters.
- Crimping pliers, ratcheting type if you can, $20 to $50.
- Adhesive-lined heat-shrink butt connectors, 18 to 22 AWG and 14 to 16 AWG sizes. Skip the dry-shrink ones, they let water in.
- Heat gun.
- Multimeter or 12V test light.
- Self-tapping screws and a small drill bit for the ground connection.
- Dielectric grease.
- Zip ties.
Wiring the trailer side
- Lay out the harness. Route it along the trailer’s main tongue, then split where it reaches the first cross-member. Two wires go down the left side (yellow turn, brown common with green if you splice them later) and the green goes down the right side. The white grounds at the front.
- Ground the white wire. Pick a spot on the trailer’s steel frame, near the tongue and behind the coupler. Sand the paint off down to bright metal, drill a small pilot hole, attach the white wire’s ring terminal with a self-tapping stainless screw, and apply a dab of dielectric grease to slow corrosion. The ground is the single most common failure point. A bad ground turns into half-lit lights, weird crossover (brake lights come on with turn signals), and intermittent flickers.
- Run wires to the rear lights. Route along the inside of the frame rail, secured every 18 to 24 in with zip ties. Avoid sharp edges, hot brake lines, and pinch points. Use grommets where the wire passes through metal.
- Splice the green to the right tail light. Strip 3/8 in of green wire and 3/8 in of the light’s signal wire (usually a colored wire, see the light’s instructions). Slide a heat-shrink butt connector over one wire, push both into the connector, crimp each end. Shrink with the heat gun until the adhesive squeezes out.
- Splice the yellow to the left tail light. Same method.
- Splice the brown to both tail lights’ running-light wires. This is a three-way splice. Run a brown lead to each side. At each tail light, splice brown into the running light wire with a butt connector.
- Ground each tail light. Each light should have a ground lead that connects to bare frame metal at its mounting point. Do not rely on the white wire alone, ground each light independently for reliability.
- Connect the plug. At the trailer-side plug, screw or crimp each wire to its color-matched pin. Most plugs are screw terminals: strip 3/8 in, insert into the terminal hole, tighten the screw. Confirm pin order by looking at the plug face and matching the small letter or color on each terminal.
- Seal the plug. Pack dielectric grease into the back of the plug before sliding the strain relief boot into place. This single step prevents 90 percent of corrosion problems.
- Test. Plug the trailer into the tow vehicle. With a helper or a 7-pin test box, cycle running lights, left turn, right turn, and brakes. Each function lights only its expected light. If brakes light only one side, you swapped a wire. If everything is dim or flickering, the ground is bad.
Wiring the vehicle side
If the tow vehicle does not already have a trailer plug, you have two options:
- Plug-and-play T-connector. Most modern vehicles have a wiring harness behind the rear bumper that a T-connector splices into without cutting any factory wires. $25 to $80 for the part, 30 to 45 minutes to install. This is the right answer almost every time.
- Hardwire. Splice into the tail-light wiring at each rear corner. Find the brake/turn wire and the running light wire on each side, splice in matching colors for the trailer harness. Old method, still works on older vehicles without a T-connector available.
If you hardwire, identify the wires with a multimeter or test light by activating each function and probing for power. Never assume colors match the factory wiring diagram, especially on imported vehicles.
Common problems and fixes
| Problem | Likely cause |
|---|---|
| All lights dim or flicker | Bad ground (white wire connection) |
| Brake lights come on with turn signals | Green and yellow swapped, or shared brake-turn wire fault |
| One side dead | Open circuit between plug and tail light, or bad light ground |
| Nothing works | Plug pins corroded, or fuse blown in tow vehicle |
| Works sometimes, fails on bumps | Loose connection, often at the plug’s strain relief |
A multimeter on each pin in the plug face tells you fast: power on the right pins when the tow vehicle cycles its lights means the trailer side is the problem. No power on a pin means the tow vehicle side is the problem.
Sealing for the long haul
Trailer wiring lives in salt spray, mud, and submerged water if it is a boat trailer. The difference between a connector that lasts 10 years and one that fails in two seasons is sealing:
- Every butt connector adhesive-lined and heat shrunk fully.
- Dielectric grease in the plug body before assembly.
- Loom or split-conduit over the wires anywhere they could rub.
- Strain relief on the plug seated firmly, not loose.
A 4-pin plug stowed in a small ziplock bag with a silica gel packet between trips lasts almost forever. Left open and dragging in the dirt, it lasts a season.
When to step up to 5-pin or 7-pin
- 5-pin adds a blue wire for electric brakes or reverse.
- 6-pin adds 12V auxiliary power.
- 7-pin adds all of the above plus dedicated reverse lights.
If you might add brakes, a battery charger, or a power cooler later, run a 7-pin from the start. The extra wires can be capped off in the meantime and you save yourself a re-wire.