12V Relay Wiring Diagram

12 V Relay Diagram — circuit diagram showing component connections+-12V SupplyControl SwitchKRelay CoilFlyback DiodeRelay Contact (NO)Lamp (Load)Relay Control CircuitFlyback diode protects coilNO contact closes when coil energized
12V Relay Wiring Diagram — interactive diagram. Open it in the editor to customise components and wiring.

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

  1. 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.
  2. 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.
  3. 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.
  4. 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.
  5. 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.
  6. 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).
  7. 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 voltage12V 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 standardDIN 72552: 30 = common, 85 = coil ground, 86 = coil positive, 87 = normally open, 87a = normally closed
Flyback diode specification1N4007: 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

Tools needed

Common mistakes

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

Free electrical calculators

Edit this diagram free in the online editor