12V Relay Wiring: Understanding Every Pin and How the Circuit Works
This is a free printable 12v relay wiring: download the diagram as SVG or open it and print to paper or PDF.
A complete reference to 12V automotive relay wiring covering the ISO 280 five-pin layout, coil energisation, and switched contact paths for reliable low-current switching of high-current loads.
A 12V relay is an electromechanical switch that lets a low-current control circuit operate a high-current load circuit without running heavy cable to the control switch. Inside the relay body, a wound coil (pins 85 and 86) creates a magnetic field when energised. That field pulls a ferrous armature, mechanically moving the contact blade from its resting position.
The standard ISO 280 footprint — also referenced as DIN 72552 in automotive contexts — places five pins in a blade-type housing. Pin 30 is the common contact: it connects to your power source (typically a fused battery feed). Pin 87 is the normally open (NO) contact, which connects to the load when the coil is energised. Pin 87a is the normally closed (NC) contact, which carries current to the load when the coil is at rest — useful for failsafe or changeover applications. Pins 85 and 86 are the coil terminals; the coil is not polarity-sensitive in a simple resistive coil relay, but some modern relays with built-in suppression diodes require correct polarity.
A flyback diode (also called a freewheeling or suppression diode) must be fitted across the coil terminals (cathode to the positive coil terminal, anode to negative) whenever the relay is driven by a transistor, microcontroller output, or sensitive ECU. When the coil is de-energised, the collapsing magnetic field induces a voltage spike that can destroy semiconductor devices. A 1N4007 diode is the standard fit; connect it in reverse bias across the coil so it only conducts during the spike.
Coil resistance on a standard 12V relay is typically 70–100 ohms, drawing 120–170 mA. Contact ratings are printed on the relay body — a common rating is 30A resistive or 20A inductive for motor loads. Never exceed the contact rating; inductive loads (fans, motors) demand derating to roughly 70% of the resistive figure due to the inrush current and arc energy at switching. Always protect pin 30 with an appropriately rated inline fuse positioned as close to the battery as practical.
A 12 V relay is the cornerstone of automotive and marine auxiliary circuits, letting a low-current switch control high-current loads such as horns, lighting bars, and cooling fans. The standard ISO mini relay exposes five terminals: 85 and 86 for the coil, 30 for battery positive, 87 for the normally-open contact, and 87a for the normally-closed contact. Understanding negative-trigger vs positive-trigger configurations, and knowing the correct Bosch pin layout, makes relay wiring straightforward. Build and annotate your relay circuit for free at Circuit Diagram Maker.
How to wire 12v relay wiring
- Identify and label each pin Locate the pin number moulded into the relay body or printed on the top. Confirm the 30/85/86/87/87a layout against the relay's datasheet before soldering or crimping anything.
- Run the fused battery feed to pin 30 Route a cable from a fused point on the battery positive (or the main fuse box) to pin 30. Use a blade fuse holder rated for the load current, positioned within 300 mm of the battery terminal.
- Connect pin 87 to the load's positive terminal Run a wire from pin 87 to the load (fan, horn, light bar, etc.). Size this wire to the load current — use the appropriate wire gauge for the current and cable run length to keep voltage drop under 0.5V.
- Connect the coil circuit Run pin 86 to the switched 12V signal from your control switch or ECU output. Connect pin 85 to a clean chassis ground point — a bolt that makes metal-to-metal contact with the body, not a painted surface.
- Fit the flyback diode if required If the control signal comes from a semiconductor output, solder a 1N4007 diode directly across pins 85 and 86 in reverse bias (cathode stripe to pin 86 if 86 is positive, anode to pin 85). Insulate with heat-shrink tubing.
- Verify the load ground path The load also needs a return path to ground. Connect the load's negative terminal to a chassis ground independently — do not daisy-chain through the relay's coil ground.
- Test with a multimeter and load Before applying full load, verify pin 30 to 87 continuity when the control signal is applied, and verify it is open when the signal is removed. Then run the load and measure voltage at the load terminals to confirm acceptable voltage drop.
Specifications
| Coil nominal voltage | 12V DC |
|---|---|
| Coil resistance (typical) | 70–100 ohms |
| Coil current draw | 120–170 mA at 12V |
| Minimum pull-in voltage | Approximately 8–9V DC |
| Contact rating (resistive) | 20–30A (per relay body marking) |
| Contact rating (inductive, derated) | ~70% of resistive rating |
| Pin layout standard | ISO 280 / DIN 72552 |
| Flyback diode specification | 1N4007 (1A / 1000V) or equivalent |
Safety warnings
- Disconnect the vehicle's negative battery terminal before making any wiring connections to prevent accidental short circuits and potential fire.
- Always fuse the supply side (pin 30) as close to the battery positive as practicable — unfused wiring between the battery and the relay is a fire risk if the cable chafes against the chassis.
- Do not exceed the relay's contact current rating. Inductive loads (motors, fans) draw surge current on start-up; derate to 70% of the resistive contact rating for inductive loads.
- Ensure all ground connections are made to clean, bare metal. A poor ground bond causes high resistance, heat buildup, and unreliable switching.
- Keep wiring away from heat sources such as exhaust pipes and away from moving parts such as steering linkages and throttle cables. Use grommets wherever wiring passes through body panels.
Tools needed
- Digital multimeter (DC voltage, continuity, and resistance functions)
- Wire strippers sized for the cable gauges being used
- Crimping tool compatible with the terminal type (insulated or non-insulated blade)
- Soldering iron and rosin-core solder (for diode installation)
- Heat gun for heat-shrink tubing
- Inline fuse holder punch or drill for panel mounting if required
- Cable ties and loom tape for wiring management
Common mistakes
- Connecting pin 87 to the battery and pin 30 to the load — the relay still works electrically but violates the intended circuit convention and makes troubleshooting confusing.
- Grounding the coil (pin 85) to a painted body surface, introducing resistance that prevents reliable coil energisation, especially as the vehicle ages and the contact oxidises.
- Omitting the flyback diode when the relay coil is driven by an ECU or microcontroller output, risking damage to the driving circuit from inductive voltage spikes.
- Using the relay socket's plastic housing as the only mechanical retention, allowing the relay to vibrate loose in harsh off-road or high-vibration environments — use a relay cover or secure the socket.
- Sizing the fuse to the relay's contact rating (30A) rather than to the actual load and wire size, which defeats the purpose of the fuse as cable protection.
Troubleshooting
- Relay clicks but load does not operate
- Cause: Open circuit between pin 87 and the load, or missing/poor load ground connection Fix: With the relay energised, probe pin 87 with a multimeter; confirm 12V is present. Then check continuity from the load's negative terminal to chassis ground. Repair any open connections.
- Relay does not click when control signal is applied
- Cause: No voltage at pin 86 (control signal absent or wiring fault) or inadequate ground at pin 85 Fix: Measure voltage at pin 86 relative to chassis ground. If 12V is present, check pin 85 ground resistance — should be under 0.1 ohm to a known good chassis point. Replace relay if coil resistance is outside 70–120 ohm range.
- Load operates continuously without control signal (relay contacts welded)
- Cause: Exceeded contact rating causing arc welding of contacts; inductive load without adequate derating Fix: Replace relay. Review load current against relay rating. For inductive loads add a properly rated relay. Consider an arc-suppression snubber across the load terminals if switching is frequent.
Frequently asked questions
Which pins are the relay coil and which are the contacts?
Pins 85 and 86 are the coil (control) terminals. Pin 30 is the common contact, pin 87 is normally open (load connects here when coil energises), and pin 87a is normally closed (load connects here when coil is at rest).
Do I need a flyback diode on every relay?
You need one when the coil is driven by a transistor, relay module, or any semiconductor output. If the coil is switched directly by a conventional mechanical switch, the switch contacts can absorb the spike, but a diode is still good practice and costs almost nothing.
Can I use pin 87a for a second load?
Yes. Pin 87a and pin 87 together form a changeover (SPDT) contact. When the coil energises, pin 87 is live; when the coil is off, pin 87a is live. Both share the common pin 30, so only one can carry current at a time.
Why does my relay chatter or click repeatedly?
Chattering usually indicates insufficient coil voltage (below roughly 9V for a 12V relay), a poor ground on the coil circuit, or a supply voltage that is sagging under load. Check the coil supply voltage with a multimeter while the relay is commanded on.
What fuse rating should I use on pin 30?
Match the fuse to the load, not the relay's maximum contact rating. If your load draws 15A, use a 20A fuse as the next standard size up. The fuse protects the wiring, so size it to the wire's ampacity, not just the load.
How do I wire a 12V relay for a horn?
Connect the horn button between battery positive and relay coil terminal 85; ground coil terminal 86 to chassis. Wire relay terminal 30 to battery positive (via a fuse), and terminal 87 to the horn. When the button is pressed, the coil energises and connects 30 to 87, supplying full battery current to the horn without that current passing through the switch.
How do I wire a 12V relay with a negative trigger?
In a negative-trigger setup, coil terminal 85 is permanently connected to battery positive (or a switched 12 V source), and the triggering device — such as an alarm output, ECU ground, or grounding switch — pulls terminal 86 to earth to energise the coil. This is common in factory alarm and central-locking circuits. The load side wiring (terminals 30, 87) remains the same as a standard relay.
How do I wire a 12V relay with a switch?
Run a fused 12 V supply to relay terminal 30. Connect terminal 87 to your load (light, fan, etc.) with the load's other terminal going to ground. Wire one terminal of your switch to 12 V and the other to relay coil pin 85; ground pin 86 to chassis. Pressing the switch energises the coil and closes the 30-to-87 contact, powering the load.
What is the wiring diagram for a Bosch 12V relay?
Bosch-standard ISO mini relays follow the DIN/ISO numbering: pin 85 – coil negative (ground), pin 86 – coil positive (control signal), pin 30 – common (battery supply), pin 87 – normally open (load), pin 87a – normally closed. This numbering is printed on the relay body. Many aftermarket relays use the same footprint and numbering, but always verify with the relay's datasheet before wiring.
What does a typical 12V relay wiring diagram look like?
A typical diagram shows: a fuse between the battery positive and relay pin 30; a short lead from pin 87 to the load; the load's return going to chassis earth; a control switch between ignition 12 V and pin 86; and pin 85 going to chassis earth. A flyback diode across pins 85-86 (cathode to 86) is optional but suppresses voltage spikes that can damage sensitive electronics.
Related diagrams
- 12v 5 pin relay wiring diagram
- 12v latching relay wiring diagram
- 12v relay module circuit diagram
- 12v relay pinout
- 12v relay wiring diagram 4 pin
- 12v timer relay wiring diagram