Skip to content
Wish lists
Wish lists
Cart
0 items

Keep Truckin’ Blog

8 Step Relay Wiring for DIYers: Keep Lights Bright and Safe

by Frank A. 01 Oct 2026 0 comments

Yes, for most auxiliary or high-current LED lights you should use a relay: it lets a small switch control high current safely while reducing voltage drop and protecting factory wiring. Fusing at the power source and choosing the right wire gauge matter just as much as the relay itself. Skip either one and you risk melted connectors, dim lights, or a fire hazard hiding behind your dash.


TL;DR:

  • Using a relay with a 12V, 30A or higher rating prevents voltage drops, protects wiring, and ensures safe operation for high-current LED lights.
  • A fuse should be installed within a few inches of the battery, sized slightly above the expected load, to protect the entire wiring harness from shorts or damage.
  • Heavy gauge wire, like 10 or 12 AWG depending on load, combined with proper grounding directly to the battery or frame, minimizes voltage drop and dimming issues.
  • Most DIY installations require a four-pin relay wired with the fuse, power source, load, and trigger, with proper pin identification and secure crimped connections.
  • Pre-wired harness kits with matched fuse ratings and heavy-duty wiring simplify installation and reduce the risk of mismatched components or wiring errors.

Allstartruckparts
Choose Lighting Built for Hard Miles
All Star Truck Parts supplies DOT-compliant lighting, wiring, and reflective safety products for demanding truck and trailer conditions.
Explore truck safety products

Table of Contents

Parts and tools you need before you start

A relay wiring job is only as good as the parts behind it. Grab these before you touch a wire.

Start with the relay itself. Most auxiliary lighting uses a standard 4 or 5 pin automotive relay with a 12V coil. A 30A relay covers a single light bar or a pair of driving lights, while anything pulling more current, such as dual high-output light bars, calls for a 40 to 60A relay rated for that load. The PC798 relay datasheet shows contact switching capacity up to 60A with a continuous carrying capacity of 30A, which is a useful benchmark when matching a relay to your lights.

Parts and tools you need before you start — overview diagram

You will also need a fuse to protect the new circuit. Fused relay sockets build the fuse holder right into the relay base, which keeps things compact, while inline fuse holders sit in the wire itself and work well when you are not using a socket. For installs with several accessories, a small fuse distribution block lets you protect each circuit separately from one pickup point.

Wire gauge depends on the load, and the checklist below covers common scenarios:

  • 14 AWG wire for small single-light upgrades pulling under 10A.
  • 12 AWG wire for most headlight relay conversions and mid-size light pods.
  • 10 AWG wire for light bars or combined loads that draw 20A or more.
  • Ring terminals and weatherproof crimp connectors for every wire-to-stud connection.
  • Heat-shrink butt connectors instead of twist-on wire nuts, which vibrate loose over time.

For tools, you want a wire stripper, a ratcheting crimp tool (not the pliers-style crimper that ships with cheap kits), a multimeter, heat-shrink tubing with a heat gun or lighter, and a test light for quick continuity checks. A dedicated relay socket or pre-wired harness saves time and reduces the chance of a loose spade terminal working free on a rough road.

How relay pins work: 85, 86, 30, 87, and 87a

A relay is really two separate circuits sharing one housing: a low-current control side and a high-current load side. Understanding the pins removes most of the guesswork from wiring lights.

  • Pins 85 and 86 form the coil, or control side. One connects to your switch or trigger source, the other to ground, and energizing the coil is what closes the internal contacts.
  • Pin 30 is the common feed, wired to your fused power source (typically the battery).
  • Pin 87 is normally open (NO). It only connects to pin 30 when the coil is energized, which is the pin you want for switched lighting.
  • Pin 87a, found on 5 pin relays, is normally closed (NC). It stays connected to pin 30 until the coil energizes, then disconnects, which is useful for interlocks but the wrong choice for a light you want to turn on.

Most DIY lighting jobs only need a 4 pin relay, since there is no need for the normally closed function. If your relay has five pins, double check you are landing your light’s positive wire on 87, not 87a, or the light will behave backward from what you expect.

Coil polarity on 85 and 86 rarely matters on a standard automotive relay because the coil is not a diode-sensitive component. Label both wires anyway. On a ground-switched vehicle, the factory circuit you are tapping into may supply ground rather than positive voltage to trigger accessories, and relay wiring guidance from Daniel Stern Lighting explains that you need to identify which side is feed and which is ground before landing wires on 85 and 86, or the relay simply will not energize.

Step-by-step wiring: fuse, power, load, and trigger

With parts in hand and pin functions clear, wiring the circuit is a sequence you can follow in order and test at each stage.

  1. Install the fuse at the battery. Mount a fuse holder within a few inches of the positive battery terminal, before the wire runs anywhere else. This protects the entire length of new wiring from a dead short, and it is the single change that does the most to keep an aftermarket lighting circuit safe.
  2. Choose the fuse rating. Size the fuse slightly above your expected continuous draw so it protects the wire, not just the light. A pair of 55W lights pulling roughly 9A combined works fine with a 15A fuse; a single 30A-rated light bar circuit typically runs a 40A fuse on the load side, per the wiring example from Circuit Diagram Maker.
  3. Run heavy gauge wire from the fuse to relay pin 30. Use 10 or 12 AWG wire depending on load, crimp a properly sized ring terminal, and route it away from hot exhaust components and moving parts.
  4. Connect pin 87 to the light’s positive lead. This is the switched output: power flows here only when the relay coil is energized.
  5. Ground the light directly to the battery negative terminal or a clean spot on the frame or alternator housing. Avoid tapping into thin factory ground wires meant for low-draw sensors or dash bulbs.
  6. Wire the coil, pins 85 and 86, to your trigger source. On most vehicles this means one pin to a dashboard switch and the other to ground. On a ground-switched vehicle, run the existing feed to 86 and the existing ground to 85, following the same logic described by Daniel Stern Lighting.
  7. Secure every connection with heat-shrink, not electrical tape, and route the harness along factory wiring looms using zip ties, keeping it clear of the exhaust and steering components.
  8. Test before buttoning up the install. Flip the trigger switch and confirm the light works, then wiggle every connector by hand to check for a loose crimp.

Pro Tip: Mount the relay itself as close to the fused pickup point as the harness allows. Shorter runs of heavy wire mean less voltage drop and less unprotected wire exposed to chafing.

A tidy install matters as much as a correct one. Bundle the control wires separately from the load wires where possible, label both ends of every run with tape and a marker, and leave a little slack at each connector so vibration does not stress the crimp over time.

Fusing rules that protect your new lighting circuit

The fuse is not optional, and where you put it matters more than most DIYers realize. A fuse at the light itself only protects the light. A fuse at the battery protects the entire wire run behind it, which is the wire most likely to chafe against a frame rail or get pinched in a door jamb.

A fused automotive relay can handle contact switching capacity up to 60A, according to the PC798 relay datasheet, which means the relay itself is rarely the weak link. The wire and the fuse holder around it are what need sizing attention.

  • Place the fuse within a few inches of the battery or alternator pickup, not further down the harness.
  • Size the fuse a little above the expected continuous draw of the connected lights, not the relay’s maximum rating.
  • Use a fused relay socket for a compact single-circuit install, or a distribution block when running multiple accessories off one pickup point.
  • Skip auto-reset circuit breakers on lamp circuits. Daniel Stern Lighting notes that a self-resetting breaker will keep reapplying power to a persistent short, turning a simple blown fuse into a repeated arcing hazard. A standard fuse or a manual-reset breaker is the safer choice.

Think of the fuse as insurance for the wire, not the light bulb. A $2 fuse holder installed correctly is the difference between a five-minute roadside fix and a wiring harness fire.

Wire gauge and voltage drop: what actually causes dim lights

Undersized wire is the most common reason an otherwise correctly wired relay circuit underperforms. Every foot of wire adds resistance, and resistance under load shows up as heat and voltage drop, which you see as a dimmer light than the bulb is rated for.

  • 14 AWG wire is usually adequate for small single-bulb upgrades under roughly 10A.
  • 12 AWG wire covers most headlight relay conversions and mid-size auxiliary lights without issue.
  • 10 AWG wire is the right call for light bars or combined loads in the 20 to 30A range, and oversizing further is rarely worth the added bulk, per wire gauge guidance from Daniel Stern Lighting.
  • A light bar rated near 30A needs a minimum of 10 AWG wire to stay within safe current density, according to the wiring example from Circuit Diagram Maker.

Length matters as much as gauge. A wire run that doubles in length effectively doubles its resistance, so a relay mounted near the battery with a short run to the light will always outperform the same gauge wire stretched the length of the vehicle. Separate guidance on matching off-road light wire gauge to expected amperage backs up this same point: bigger loads and longer runs both push you toward the next gauge up.

Grounding causes just as many dim-light complaints as undersized positive wire. A ground returned to a thin factory wire meant for a dome light will bottleneck current just like a skinny positive wire does. Run your ground straight to the battery negative terminal or a clean, bare metal spot on the frame or alternator housing, and avoid daisy-chaining new grounds onto factory grounds that were never sized for the extra load.

Testing and troubleshooting your relay circuit

Once everything is wired, a multimeter and a short checklist will confirm the circuit works and catch problems before they strand you on the road.

  1. Test the coil side first. With the trigger switch on, check for roughly 12V between pins 85 and 86. No voltage there means the problem is upstream of the relay, in the switch or its wiring.
  2. Listen for the click. A relay that clicks when triggered has a working coil. As the wiring example from Circuit Diagram Maker explains, a click with no light means the fault is on the load side, not the trigger side.
  3. Test the load side. With the relay energized, check for battery voltage between pin 30 and pin 87. Voltage at 30 but not at 87 points to a bad relay or a dirty socket contact.
  4. Check the fuse and the ground last. A blown fuse is the most common failure and the easiest to rule out; a corroded or undersized ground is the second most common, and it often shows up as flickering rather than a dead light.
  5. Confirm you landed the light on 87, not 87a. On a 5 pin relay, wiring the light to the normally closed pin makes it run backward, staying on until the relay is triggered rather than turning on with it.

Most faults trace back to one of three things: a blown fuse, a bad ground, or a wire landed on the wrong pin. Working through them in that order saves time on nearly every troubleshooting call.

A pre-wired harness takes most of the guesswork out of the steps above, since the relay, fuse holder, and wire gauge are already matched to the load.

2-Headlight H4 Headlamp Light Bulb Ceramic Socket Plugs Relay Wiring Harness Kit

The 2-Headlight H4 Headlamp Light Bulb Ceramic Socket Plugs Relay Wiring Harness Kit follows the exact single or dual headlight relay upgrade pattern described in the wiring steps above, with the relay, fuse, and ceramic sockets already matched to the circuit. For vehicles running sealed rectangular or round headlights instead of an H4 bulb, the 4X6 Inch Rectangle LED Headlights and the 5x7/7x6 inch 55W LED Headlight Assembly both pair with the same relay harness layout for high and low beam circuits.

Kits like these generally save a DIYer from sourcing individual parts separately:

  • A prewired relay already matched to the headlight or auxiliary light load.
  • An inline fuse holder positioned correctly at the power pickup.
  • Heavy-gauge copper wiring sized for the rated current draw.
  • Heat-resistant, sealed connectors built for engine bay temperatures and road moisture.

Buying the harness and the headlights as a matched set removes one of the most common install mistakes: mismatching wire gauge or fuse rating to the actual bulb or light bar being installed.

When to DIY and when to call a pro

Standalone auxiliary lights and simple relay harness upgrades, like the headlight conversions covered above, are squarely in DIY territory if you are comfortable with a multimeter and a crimp tool.

Hand the job to a professional when your vehicle has CAN-bus warnings tied to lighting, adaptive headlight systems that adjust beam angle electronically, or multiple fused circuits that interact with body control modules. Tapping into those systems incorrectly can throw dashboard fault codes or disable safety features that have nothing to do with the light you are installing.

A quick gut check: if the job is a relay, a fuse, and two new wires to a standalone light, you can handle it. If it involves touching a factory harness connector near a computer module, that is the point to stop and call someone who works on that system daily.

— All

Get the harnesses and kits built for this exact wiring job

Sourcing parts one at a time is where most relay installs go wrong, with mismatched fuse ratings or undersized wire causing the problems this guide just walked you through avoiding. Harnesses built with thicker copper wiring, sealed connectors, and prewired fuse holders positioned at the power pickup point allow this wiring pattern to come preassembled rather than assembled from separate parts.

2-Headlight H4 Headlamp Light Bulb Ceramic Socket Plugs Relay Wiring Harness Kit

The 2-Headlight H4 Headlamp Relay Wiring Harness Kit matches the exact relay and fuse layout described in the wiring steps, and the full catalog of DOT-compliant lighting, wiring, and reflective products covers everything from headlight assemblies to the copper wiring and grommets needed to finish the job right.

Sources

FAQ

Do all LED lights need a relay?

Not every LED light needs one, but any light pulling meaningful current, such as a light bar or a pair of driving lights, should run through a relay to keep that current off the factory switch and wiring. Small accent lights drawing well under an amp can sometimes run without one, though a relay is still the safer default.

How should a relay be wired?

Wire the fused power feed to pin 30, the light’s positive lead to pin 87, and the coil pins (85 and 86) to your trigger switch and ground. Ground the light itself to the battery negative terminal or a clean chassis point, following the layout described by Daniel Stern Lighting.

How do you wire a 4 wire relay?

A 4 pin relay has pin 30 for fused battery power, pin 87 for the switched output to your light, and pins 85 and 86 for the coil trigger circuit, one to your switch and one to ground. There is no normally closed pin on a 4 pin relay, which makes it the simpler and more common choice for straightforward lighting circuits.

What does a relay do for lights?

A relay lets a small, low-current switch control a much larger current draw safely, so your factory switch or wiring never carries the full load of a light bar or auxiliary lights. It also keeps the power wire run short between the battery and the relay, which reduces voltage drop and keeps the lights running at full brightness.

Prev post
Next post

Leave a comment

Please note, comments need to be approved before they are published.

Thanks for subscribing!

This email has been registered!

Shop the look

Choose options

Edit option
Back In Stock Notification

Choose options

this is just a warning
Login
Your Cart Good Picks!
Free shipping in all us ORders