12V Relay Wiring Diagram
This is a free printable 12 v relay diagram: download the diagram as SVG or open it and print to paper or PDF.
Understand how to wire a standard 12V automotive relay using DIN 72552 pin numbering, including the flyback diode required to protect control circuits from inductive voltage spikes.
A 12V relay is an electromechanical switch that uses a low-current control circuit to switch a high-current load circuit. In automotive and 12V DC applications, the relay is defined by DIN 72552, which assigns standardised pin numbers used universally across the industry.
Pin 30 is the common terminal — the main supply input connected directly to the battery positive or a fused supply line. Pin 87 is the normally open (NO) contact, which completes the circuit to the load when the relay coil is energised. Pin 87a is the normally closed (NC) contact, which carries current when the relay is at rest and breaks when the coil energises. Pins 85 and 86 are the coil terminals. Pin 85 is conventionally wired to ground (earth), and pin 86 receives the switched positive signal that activates the coil, though the coil has no polarity — current through it in either direction will energise the relay.
When the coil is de-energised, the magnetic field collapses rapidly and generates a back-EMF voltage spike — sometimes called inductive kickback — that can reach hundreds of volts and destroy transistors, microcontrollers, or ECU outputs. A flyback diode (also called a freewheeling diode or suppression diode) is connected in reverse-bias across the coil terminals (cathode to pin 86, anode to pin 85) to provide a safe path for this spike to dissipate. A 1N4007 rectifier diode is the most common choice for 12V automotive relay suppression.
Relays are rated by coil voltage, coil resistance, and contact current capacity. A typical mini ISO relay draws approximately 150–200 mA through the coil and can switch 20–30 A through its contacts. Always size the relay contacts for the actual load current, not the coil current. Wire gauge on the switched side must match the contact rating, and the supply circuit should be protected by a fuse sized just above the load current.
How to wire 12 v relay diagram
- Identify relay pin numbering Locate the DIN 72552 pin numbers moulded into the relay body or printed on its datasheet: 30 (common), 85 (coil ground), 86 (coil positive), 87 (normally open), 87a (normally closed). Confirm the relay socket or harness connector matches these positions before wiring.
- Install the flyback diode across the coil Solder or connect a 1N4007 diode across the coil terminals with the cathode (banded end) to pin 86 and the anode to pin 85. This ensures the diode is reverse-biased during normal operation and only conducts during the kickback spike. Insulate all connections with heat-shrink tubing.
- Wire the coil control circuit Connect pin 85 to a clean chassis ground point with a short, low-resistance path. Connect pin 86 to the switched positive signal from the control device — a switch, transistor output, or ECU pin. Confirm the control device can supply at least 200 mA continuously.
- Connect the supply to pin 30 Run an appropriately rated wire from the fused battery positive supply to pin 30. Insert an in-line fuse holder as close to the battery terminal as possible — within 300 mm is best practice. Select fuse rating based on the load current, not the relay rating.
- Connect the load to pin 87 or 87a Wire the positive feed to your load (lamp, motor, solenoid, etc.) from pin 87 for a normally-open circuit that activates with the relay. Use pin 87a if you need the load to be on by default and switch off when the relay energises. Return the load to chassis ground.
- Verify operation before final installation Apply 12V to pin 86 while monitoring with a multimeter. Confirm continuity between pins 30 and 87 when energised, and continuity between pins 30 and 87a when de-energised. Check that the flyback diode is reverse-biased (no forward-bias reading across coil in normal operation).
- Secure and weatherproof the installation Mount the relay in a sealed relay box or use a relay with an IP-rated housing if the location is exposed to moisture. Secure all wiring with loom tape or conduit, keep high-current wires away from signal wires, and label every wire at both ends for future diagnosis.
Specifications
| Coil operating voltage | 12V DC (nominal); typically operates 9–16V DC |
|---|---|
| Coil resistance (typical mini relay) | 70–90 Ω, drawing approximately 130–170 mA at 12V |
| Contact current rating (typical) | 20–30 A at 12V DC (refer to specific relay datasheet) |
| Pin numbering standard | DIN 72552: 30 = common, 85 = coil ground, 86 = coil positive, 87 = normally open, 87a = normally closed |
| Flyback diode specification | 1N4007: 1 A forward current, 1000 V reverse voltage; reverse-biased across coil |
| Operate time (typical) | 5–15 ms from coil energisation to contact closure |
| Release time (typical) | 3–8 ms from coil de-energisation to contact open |
Safety warnings
- Always disconnect the vehicle battery negative terminal before making wiring changes in an automotive electrical system. Even with the ignition off, many circuits remain live and short circuits can cause fires or damage ECUs.
- Never exceed the relay contact current rating. Running a relay at or above its maximum contact rating causes arcing, contact welding, and eventual fire risk. Derate contacts to 80% of the rated maximum for continuous loads.
- Install a fuse in the supply wire to pin 30 as close to the battery positive as possible — within 300 mm is best practice. An unfused high-current wire running through a vehicle is a significant fire hazard.
- Verify polarity and diode orientation before energising the circuit. A forward-biased flyback diode will short the control supply, potentially damaging the ECU output or blowing a fuse.
- This diagram is provided as an illustrative reference only. Consult the vehicle's OEM wiring diagram and a qualified auto-electrician for safety-critical applications such as braking, airbag, or engine management systems.
Tools needed
- Multimeter (DC voltage and continuity/diode test functions)
- Wire strippers sized for the cable gauges used
- Ratcheting crimping tool for insulated terminals
- Soldering iron and electrical solder (for diode connections)
- Heat-shrink gun or lighter
- Screwdrivers (flat and Phillips)
- Cable ties and loom tape
Common mistakes
- Omitting the flyback diode: This is the single most common mistake. Without it, the inductive spike on de-energisation can destroy ECU outputs, switches, or transistors — damage that may not appear immediately but degrades components over time.
- Confusing pin 87 and pin 87a: Wiring the load to 87a when 87 is intended causes the load to run continuously and switch off when the relay activates — the opposite of the intended behaviour. Always confirm which contact state you need.
- Using undersized wire on pin 30 or pin 87: The control-side coil wires are low current, but pins 30 and 87 carry the full load current. Using the same thin wire throughout the relay wiring is a common and potentially dangerous error.
- Placing the fuse in the wrong location: A fuse fitted at the relay rather than at the battery does not protect the long run of wire between the battery and the relay — the section most likely to chafe and short in a vehicle.
- Grounding pin 86 instead of pin 85 for the switched control: While the coil operates either way, reversing 85 and 86 means the flyback diode is forward-biased in normal operation, which shorts the control signal and prevents relay activation.
Troubleshooting
- Relay clicks but load does not activate
- Cause: Open circuit on the load side — broken wire, blown fuse on the load, or failed connection at pin 87 Fix: Check continuity between pin 30 and pin 87 with relay energised using a multimeter. Inspect the fuse protecting the load circuit and check all crimp or solder connections on the load wiring.
- Relay does not click when control signal applied
- Cause: No current through coil — missing ground on pin 85, no voltage on pin 86, or internal coil failure Fix: Measure DC voltage between pins 85 and 86 with the control signal active. Should read approximately 12V. If voltage is present but relay does not energise, the coil is open-circuit — replace the relay.
- Control device (ECU, switch, transistor) fails or burns out intermittently
- Cause: Flyback diode missing or incorrectly installed, allowing inductive kickback to damage the control output Fix: Verify the flyback diode is present, correctly oriented (cathode to pin 86 positive coil terminal), and functional using the diode test function of a multimeter. Replace any damaged control device after fitting the diode.
- Relay contacts weld together — load stays on permanently
- Cause: Excessive current through relay contacts, often due to a load fault (stalled motor, short circuit) or relay undersized for the load Fix: Replace the relay and check the load for faults. Ensure the relay contact rating exceeds the load current with adequate headroom. Add a fuse on the load side to protect against future overload.
Frequently asked questions
What does pin 30 connect to on a 12V relay?
Pin 30 is the common terminal and connects to the main power supply — typically a fused positive line from the battery. It is the input that is switched to either pin 87 (when energised) or pin 87a (when at rest).
Why is a flyback diode necessary across a relay coil?
When the relay coil is de-energised, the collapsing magnetic field generates a high-voltage inductive spike. A flyback diode connected in reverse-bias across the coil terminals clamps this spike and protects any transistors, switches, or control modules driving the coil.
Can I use pin 87a and pin 87 at the same time?
Yes. Pin 87 (normally open) and pin 87a (normally closed) can both be used simultaneously to control different loads, as long as the total current through each contact does not exceed the relay's contact rating. They will simply switch in opposite states.
Does it matter which way round I wire pins 85 and 86?
Electrically, the relay coil has no polarity and will operate regardless of which direction current flows through it. However, if you fit a flyback diode, polarity matters — the diode cathode goes to the positive coil terminal (pin 86 when 85 is earthed) to ensure correct reverse-bias orientation.
What fuse rating should I use for a 12V relay circuit?
Fuse the supply to pin 30 at a value just above the maximum expected load current. For a 20 A rated relay switching a 15 A load, a 20 A fuse is appropriate. Never fuse based on relay coil current — fuse the load side. Place the fuse as close to the battery positive terminal as practical.
Related diagrams
- 12 volt relay wiring diagram
- 11 pin relay wiring diagram
- 12 lead motor wiring
- 12 pin caravan plug wiring diagram
- 12 pin plug wiring
- 12 pin trailer plug wiring