Relay Diagram Explained: Coil, Contacts & Wiring

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
Relay Diagram Explained: Coil, Contacts & Wiring — interactive diagram. Open it in the editor to customise components and wiring.

This is a free printable relay diagram: download the diagram as SVG or open it and print to paper or PDF.

A relay is an electrically operated switch that uses a small control current to switch a larger load circuit on or off. Understanding the relay diagram—coil terminals, normally-open contacts, normally-closed contacts, and common—is fundamental to automotive, industrial, and home automation wiring.

A relay separates an electrical circuit into two loops: a low-current control loop that energizes the relay coil, and a high-current power loop through the relay contacts that switches the actual load. The relay coil is a wire winding around an iron core; when current flows through it, the resulting magnetic field pulls a movable armature against spring tension, which mechanically moves the contact set. When the coil de-energizes, the spring returns the armature to its rest position. Standard automotive relays follow the ISO 7588 / Bosch 5-pin layout with terminals numbered 30 (common contact, connected to load power), 85 (coil negative/ground), 86 (coil positive/control voltage), 87 (normally-open contact—closes when coil energized), and 87a (normally-closed contact—opens when coil energized). The 4-pin version omits the normally-closed terminal 87a. In a schematic, the coil is drawn as a rectangle or circle labeled K1, with the contact set drawn separately as a switch symbol labeled with the same designator. Wires connect at pin numbers. The inductive coil generates a voltage spike—potentially hundreds of volts—when the control current is interrupted; a flyback suppression diode (cathode toward the positive coil terminal, anode toward ground) clamps this spike and protects the control circuit transistor or ECU. Without the diode, the spike damages microcontroller outputs and can corrupt data in CAN-bus systems. Relay contact ratings specify maximum switching current, voltage, and whether the rating is for resistive (purely ohmic) or inductive (motor, solenoid) loads. Inductive loads generate their own arc-producing spikes on contact opening; contacts must be derated by 50-75% for inductive duty compared to resistive ratings.

How to Read a Relay Wiring Diagram: Terminals 85, 86, 30, 87, and 87a

Automotive and industrial relay wiring diagrams use standardised DIN 72552 terminal numbers. Once you know what each number means, any relay diagram becomes straightforward to read. The circuit divides cleanly into two isolated sides: the control (coil) side and the load (contact) side.

Terminals 85 and 86 are the coil — the electromagnet that operates the relay. Applying 12V to pin 86 (coil positive) and grounding pin 85 (coil ground) energises the coil, which magnetically closes the internal switch contacts. The coil typically draws less than 200 mA, so it can be triggered by a switch, a transistor, or an ECU output without risk of damage to the control circuit. Pin 85 is coil ground and pin 86 is coil positive, though most relays are not polarity-sensitive on the coil side unless they contain an internal flyback diode.

Terminals 30, 87, and 87a are the contact (switch) side and handle the high-current load circuit. Pin 30 is the common input — always connected to the load power source (typically battery positive or a fused supply rail). Pin 87 is the normally open (NO) contact: it is disconnected at rest and connects to pin 30 when the coil is energised. A 4-pin relay has only pins 30, 85, 86, and 87, making it an SPST (single-pole single-throw) switch. Pin 87a is the normally closed (NC) contact, present only on 5-pin (SPDT) relays: it connects to pin 30 at rest and disconnects when the coil energises. This allows changeover applications — for example, switching a load between two power sources or selecting high/low beam.

The Flyback Diode: Why It Belongs in Every Relay Circuit

When the coil de-energises, the collapsing magnetic field generates a brief voltage spike (inductive kickback) that can reach 60–100V. This spike can damage transistors, ECU outputs, or logic circuits connected to the control side. A flyback diode (also called a freewheeling or suppression diode) is wired in reverse across the coil terminals to absorb this spike. Cathode connects to pin 86 (coil positive), anode to pin 85 (coil ground). The diode conducts only when the spike voltage exceeds supply voltage in reverse, clamping it safely. Many modern automotive relays include a flyback diode internally — check the relay datasheet before adding an external one to avoid a double-diode conflict.

Relay wiring diagrams cover a wide range of applications — from simple automotive relays switching headlights or horns to industrial control relays in thermostat panels and motor starter circuits. Understanding the relay's coil terminals (85 and 86 on standard ISO mini relays), the normally-open contact (30 to 87), and the normally-closed contact (30 to 87a) is fundamental to wiring any relay correctly. Negative-trigger and positive-trigger circuits require different wiring strategies, and relay bases must match the relay footprint. Draw and test your relay circuit layout in the free online editor before committing to the installation.

How to wire relay diagram

  1. Choose the correct relay Match the relay coil voltage (12 V DC, 24 V DC, 120 VAC) to your control circuit. Select contact current rating at least 25% above the maximum load current. For inductive loads (motors), use a relay derated to 50% of its resistive rating.
  2. Mount the relay Insert relay into a relay socket for easy serviceability, or use DIN-rail mount for panel installations. Position the relay with the contact pins accessible for wiring. Avoid mounting adjacent to high-heat sources.
  3. Wire the coil circuit Connect your control signal (switch, transistor output, or MCU GPIO through a driver) to pin 86 (coil positive). Connect pin 85 (coil negative) to ground. Install a 1N4007 flyback diode with cathode to pin 86 and anode to pin 85.
  4. Wire the contact circuit Connect load power to pin 30 (common). Connect pin 87 (NO) to the load if it should be active when the relay fires. Connect pin 87a (NC) to any circuit that should be active in the relay's rest state.
  5. Test operation Apply control voltage to the coil. You should hear a distinct click and the load circuit should activate. Remove control voltage—the relay should release with a second click and the load should de-energize.

Specifications

Typical coil resistance (12 V)60 – 200 Ω
Coil pull-in voltage (typical)9 – 10 V (for 12 V relay)
Contact current rating (resistive)20 – 40 A (automotive SPDT)
Flyback diode recommended1N4007 (1 A, 1000 V)

Safety warnings

Tools needed

Common mistakes

Troubleshooting

Relay clicks but load does not operate
Cause: Load power not connected to pin 30, or load wire connected to 87a (NC) instead of 87 (NO) Fix: Verify 12 V at pin 30 with relay energized. Confirm load wire is at pin 87, not 87a.
Coil energizes but contact does not switch
Cause: Welded or corroded contact preventing mechanical movement Fix: Replace relay. Check that contact current was within rated limits.
Control circuit device (transistor, MCU) fails repeatedly
Cause: No flyback diode on coil—inductive spike destroys semiconductor output Fix: Install 1N4007 diode with cathode at pin 86, anode at pin 85. Replace damaged control device.
Relay clicks but load does not operate
Cause: Pin 30 (common power input) is not connected or not fused, or the load wire is connected to pin 87a (NC) instead of pin 87 (NO). Fix: Confirm pin 30 is connected to a fused supply with adequate amperage for the load. Verify the load wire is on pin 87 (NO). Use a multimeter to confirm continuity between pins 30 and 87 when the relay is energised.
Control circuit component (transistor, ECU output) fails or behaves erratically when relay switches
Cause: Inductive kickback from the relay coil is spiking back into the control circuit because no flyback diode is installed. Fix: Install a flyback diode across pins 85–86 (cathode to 86, anode to 85). Confirm the relay does not already have an internal diode before adding an external one.

Frequently asked questions

What is the difference between normally open and normally closed relay contacts?

A normally-open (NO) contact is open (circuit broken) when the relay coil is de-energized. When the coil energizes, the contact closes and current flows through the load. A normally-closed (NC) contact is closed (circuit complete) when the coil is de-energized and opens when the coil energizes. NO contacts (pin 87) are used for circuits that should be active only when the relay is triggered. NC contacts (pin 87a) are used for fail-safe circuits that should remain active until the relay fires.

How do I test a relay with a multimeter?

First test the coil: measure resistance between pins 85 and 86. A 12 V automotive relay coil should read 60-200 Ω; open or near-zero indicates a failed coil. Next test contacts at rest: between pins 30 and 87 should read open (OL); between 30 and 87a should read continuity (near 0 Ω). Apply 12 V to pin 86 and ground to pin 85. The relay should click; now 30-87 should read continuity and 30-87a should read open. Any deviation indicates a failed relay.

What does a SPDT relay mean?

SPDT stands for Single-Pole Double-Throw. It describes a relay with one common contact (pin 30) that can connect to either of two positions: pin 87 (normally open, closes when energized) or pin 87a (normally closed, opens when energized). This is the standard 5-pin automotive relay. A DPDT relay doubles this to two independent SPDT contact sets switched simultaneously by one coil.

Why does my relay chatter or rapidly click?

Relay chatter occurs when the coil voltage hovers near the pull-in threshold—the relay energizes enough to partially close but the voltage then drops (due to coil resistance or load inrush) and the relay releases, repeating the cycle. Causes include: insufficient supply voltage, excessive coil circuit resistance (corroded connection), or the relay coil being fed from a circuit where a large load causes voltage sag. Check supply voltage at pins 85-86 directly under load conditions.

Can I use a relay to switch AC loads?

Yes—many relays have both AC and DC contact ratings. Use a relay with contacts rated for your AC voltage (120 VAC or 240 VAC) and current. The coil can be DC (12 V or 24 V) controlled while the contacts switch AC power. Ensure the contact gap is sufficient for AC arc interruption—relays rated for AC loads have wider contact separation than DC-only relays. Never use a DC-only rated relay on AC loads.

What do the numbers 85, 86, 30, 87, and 87a mean on a relay wiring diagram?

These are DIN 72552 standardised terminal numbers. Pins 85 and 86 are the coil (electromagnet): 86 is coil positive, 85 is coil ground. Pin 30 is the common power input on the contact side. Pin 87 is the normally open output — it connects to pin 30 only when the relay is energised. Pin 87a (5-pin relays only) is the normally closed output — it connects to pin 30 at rest and opens when energised.

How do I wire a flyback diode on a relay?

Connect the diode in reverse across the coil terminals: cathode (the banded end of the diode) to pin 86 (coil positive), anode to pin 85 (coil ground). The diode conducts only during the inductive spike when the coil de-energises, safely clamping the voltage. If the relay datasheet states an internal diode is present, do not add an external one.

What is the difference between a 4-pin and 5-pin relay?

A 4-pin relay (SPST) has pins 30, 85, 86, and 87. It is a simple on/off switch: load power enters pin 30 and exits through pin 87 when energised. A 5-pin relay (SPDT) adds pin 87a, the normally closed contact, allowing it to switch a load between two outputs or provide a default-on circuit that opens when the relay fires.

How do I wire a bypass relay?

A bypass relay is used to route power around a faulty or high-resistance switch. Connect the relay coil (terminals 85 and 86) across the existing switch so the coil energises when the switch closes. Wire terminal 30 to a fused power supply and terminal 87 to the load. When the switch activates, the relay coil pulls in and the contacts carry full current to the load, bypassing the switch's contact resistance entirely.

How do I wire a relay to a relay base?

A relay base (socket) provides screw or push-in terminals that correspond to each relay pin. Match the base footprint to the relay body — common formats include 8-pin octal, 11-pin, and ISO mini-relay sockets. Connect your supply, load, and control wires to the numbered terminals on the base, which are labelled to correspond to the relay's coil and contact pins. The relay then plugs into the base and can be replaced without re-wiring.

How does a current relay work and how is it wired?

A current relay (or current-sensing relay) operates when the current through a monitored circuit reaches a set threshold, rather than responding to a voltage control signal. The monitored conductor passes through or connects to the relay's current-sensing element; the relay's output contacts then switch a separate control circuit. Current relays are used to detect motor running status, pump operation, or overload conditions without tapping into the control circuit directly.

How do I wire a JD1914 relay?

The JD1914 is a standard 4-pin or 5-pin ISO mini-relay commonly used in automotive applications. Pin 85 is the coil negative (connect to chassis ground or a switched ground for negative-trigger operation); pin 86 is the coil positive (connect to ignition-switched 12V or the control signal); pin 30 is the common contact (connect to fused battery positive); and pin 87 is the normally-open contact (connect to the load). Pin 87a, if present, is the normally-closed contact. Always fuse the circuit at pin 30.

How do I wire a REJ601 relay?

The REJ601 is an ABB protection relay used in industrial and utility power systems. It connects via a rear terminal block to current transformer (CT) and voltage transformer (VT) inputs, a DC auxiliary supply (typically 48 V, 110 V, or 220 V DC), and output contacts for trip and alarm circuits. Wiring should follow the relay's application guide and single-line diagram for the specific protection function (overcurrent, earth-fault, etc.). Circuit breaker trip coil connections go to the designated output relay contacts.

How do I wire a thermostat relay?

A thermostat relay in an HVAC system bridges the low-voltage (24 V) thermostat control circuit and the line-voltage (120 V or 240 V) equipment. The relay coil connects to the thermostat's switched output wire (commonly the Y, G, or W terminal) and the common (C) terminal. The relay's line-voltage contacts switch power to the compressor contactor coil, fan motor, or heating element. Ensure the relay's coil voltage and contact rating match the system design.

How does relay wiring work — explained simply?

A relay is an electrically-operated switch. A small control current through the coil (terminals 85 and 86) creates a magnetic field that pulls the armature and closes (or opens) the main contacts. This allows a low-current signal — from a thermostat, ECU, or push-button — to switch a high-current load like a motor, solenoid, or lighting circuit without the control signal carrying the full load current.

How do I wire a relay for a negative-trigger circuit?

In a negative-trigger relay circuit, the coil energises when the control wire is pulled to ground (0 V) rather than to positive. Connect the relay coil terminal 86 to a permanent +12 V supply and terminal 85 to the switching device (transistor, ECU output, or switch that connects to ground when activated). When the control device grounds terminal 85, current flows through the coil and the relay contacts close. This is common in vehicle ECU outputs and factory alarm systems.

Full written guides

Related diagrams

Free electrical calculators

Edit this diagram free in the online editor