A standard 5-pin relay wiring diagram uses pins 85 and 86 for the low-current control coil, and pins 30, 87, and 87a for the high-current SPDT (Single Pole Double Throw) load switching. Whether you are wiring automotive auxiliary lights, an ESP32-driven home automation contactor, or a 12V DC water pump, the ISO 7588 mini relay (commonly called a Bosch-style relay) is the industry workhorse. This guide skips the abstract theory and walks you through the exact terminal mapping, a node-by-node circuit trace, and the bench tests required to verify your connections before applying main power.
Decoding the 5-Pin Relay Wiring Diagram: Symbols and Terminals
Before tracing the wires, you must understand the schematic symbols. In IEC standard diagrams, the relay coil is drawn as a rectangle with a diagonal line through it, while NEMA diagrams often use two overlapping semicircles. The switch mechanism is drawn as a Single Pole Double Throw (SPDT) symbol: a single input line (Common) branching to a Normally Open (NO) and a Normally Closed (NC) contact. If you see a triangle pointing at a line across the coil symbol, that indicates an internal flyback diode, which strictly enforces coil polarity.
Below is the definitive terminal mapping for a standard ISO mini 5-pin relay (e.g., Song Chuan 895 or Tyco V23086 series). Wire colors listed follow standard US automotive and low-voltage DC hobbyist conventions.
| Pin Number | Terminal Name | Internal Function | Typical Wire Color | Recommended AWG (12V DC) |
|---|---|---|---|---|
| 86 | Coil Input | Start of the electromagnetic coil winding | Yellow or Blue | 18 AWG |
| 85 | Coil Output | End of the coil winding (usually to ground) | Black | 18 AWG |
| 30 | Common (COM) | Main high-current power input feed | Red | 12 AWG (up to 20A continuous) |
| 87 | Normally Open (NO) | Load output (closed only when coil is energized) | Orange | 12 AWG |
| 87a | Normally Closed (NC) | Load output (closed when coil is de-energized) | White | 12 AWG |
Node-by-Node Trace: From Power Source to Load
To wire this correctly, we must trace the two isolated circuits—the low-current control side and the high-current load side—from source to ground.
Trace 1: The Control Circuit (Low Current)
- Node 1 (Source): 12V DC leaves the battery positive terminal through an inline fuse (e.g., 5A for the control circuit).
- Node 2 (Switch): The wire passes through a dashboard toggle switch, a microcontroller GPIO (via a driver transistor), or a sensor output.
- Node 3 (Coil Input): Switched 12V enters Pin 86.
- Node 4 (Coil Output): Current travels through the internal copper winding, generating a magnetic field, and exits at Pin 85.
- Node 5 (Ground Path): Pin 85 connects directly to the battery negative terminal or a verified chassis ground. Ground path integrity is critical here; a poor ground on Pin 85 will result in a weak magnetic field, causing the relay to chatter or fail to pull the contacts closed.
Polarity Callout: On a standard electromagnetic relay, Pins 85 and 86 are non-polarized. You can swap them without affecting operation. However, if your relay wiring diagram includes an internal suppression diode (or if you add an external 1N4007 flyback diode to protect an Arduino/ESP32 from inductive kickback), Pin 86 must be positive and Pin 85 must be ground. Reversing polarity on a diode-equipped relay will instantly blow your control circuit fuse.
Trace 2: The Load Circuit (High Current)
- Node 6 (Main Source): Heavy-gauge wire carries 12V from the battery through a high-amperage fuse (e.g., 30A) to Pin 30 (Common).
- Node 7A (NO Path): When the coil is energized, the internal armature pulls away from Pin 87a and connects Pin 30 to Pin 87. Current flows to the primary load (e.g., a 100W LED light bar).
- Node 7B (NC Path): When the coil is de-energized, the spring pushes the armature back, connecting Pin 30 to Pin 87a. Current flows to the secondary load (e.g., an indicator LED or a default-open valve).
- Node 8 (Load Ground): After passing through the load, the current must return to the battery negative terminal. Do not rely on the relay for grounding; the relay only switches the positive (high-side) leg.
Bench Verification: Testing Connections with a Multimeter
Never install a relay in a final harness without bench-testing it first. Set your digital multimeter (DMM) to the Ohms (Ω) and Continuity settings. According to Fluke's electrical testing guidelines, verifying coil resistance and contact isolation prevents catastrophic short circuits.
- Test the Coil (Pins 86 and 85): Place your DMM probes on Pins 86 and 85. A healthy 12V relay coil (like the Song Chuan 895) should read between 60 and 120 ohms. If it reads 0.0 ohms, the coil is shorted. If it reads OL (Open Loop), the internal winding is broken.
- Test Normally Closed (Pins 30 and 87a): With the relay unpowered, place probes on 30 and 87a. You should read near-zero resistance (typically < 0.5 ohms). This confirms the armature is resting on the NC contact.
- Test Normally Open Isolation (Pins 30 and 87): With the relay still unpowered, place probes on 30 and 87. The meter must read OL (Over Limit). Any resistance reading here means the contacts are pitted, welded, or contaminated with carbon tracking.
- Energized Verification: Apply 12V DC to Pins 86 (+) and 85 (-). You should hear a distinct, sharp click. While holding the 12V connection, re-test Pins 30 and 87 for continuity (< 0.5 ohms) and Pins 30 and 87a for OL. Release the 12V; the relay should click back, reversing the continuity states.
Relay Wiring Diagram FAQ
Does polarity matter on a standard relay wiring diagram?
For the high-current load side (Pins 30, 87, 87a), polarity does not matter; the mechanical contacts pass current equally in both directions. For the low-current control side (Pins 85 and 86), polarity does not matter on a bare-bones electromagnetic relay. However, if the relay has an internal suppression diode, or if you are adding an external flyback diode to protect solid-state components, Pin 86 must be positive and Pin 85 must be negative. Reversing it will create a dead short across your control power supply.
Why is my relay wiring diagram clicking but the load won't turn on?
If you hear the click but the load remains dead, the control circuit is working, but the load circuit is failing. The most common culprit is high contact resistance due to carbon buildup or pitting on the internal silver contacts, which chokes the high-current flow. Another frequent issue is a voltage drop on Pin 30; if the wire feeding Pin 30 is too thin (e.g., using 18 AWG for a 15A load), the voltage at the relay will sag under load. Finally, verify that your load has a dedicated, clean ground path back to the source negative terminal.
How do I wire a 5-pin relay to control two different loads?
Because it is an SPDT (Single Pole Double Throw) device, a 5-pin relay naturally controls two distinct loads with opposite logic. Connect your main power to Pin 30. Wire Load A (e.g., a cooling fan) to Pin 87 (NO), and wire Load B (e.g., an interior warning light) to Pin 87a (NC). When the relay is off, Load B runs and Load A is off. When you energize the coil, the internal switch flips: Load B turns off and Load A turns on. Ensure the combined amperage of both loads does not exceed the relay's continuous current rating, and that each load has its own appropriately sized inline fuse.
What does the diode symbol mean on some relay wiring diagrams?
A diode symbol drawn parallel to the relay coil indicates a flyback (or snubber) diode. When the magnetic field in the coil collapses, it generates a high-voltage reverse spike (inductive kickback) that can destroy sensitive switching transistors or microcontrollers. The diode provides a safe recirculation path for this spike. If your diagram shows this symbol, the diode's cathode (the side with the stripe) must point toward the positive supply (Pin 86), and the anode must point toward ground (Pin 85).






