12V Relay Wiring Diagram 4-Pin
This is a free printable 12v relay wiring diagram 4 pin: download the diagram as SVG or open it and print to paper or PDF.
Wire a 4-pin 12V SPST relay correctly using ISO terminal numbers 30, 85, 86, and 87 — with worked examples for automotive, marine, and 12V DC switching applications.
A 4-pin 12 V relay is a Single-Pole Single-Throw (SPST) electromechanical switch. It consists of two distinct circuits sharing a single housing: the coil circuit and the contact circuit. Understanding that these two circuits are electrically isolated from each other — unless the coil is energised — is fundamental to correct wiring.
The ISO mini relay uses a standardised terminal numbering system that is consistent across virtually all automotive and 12 V DC relay manufacturers. The four terminal numbers are:
- Terminal 30: Common (the switched load supply input — feeds from the battery or fuse) - Terminal 85: Coil negative (connected to ground or to the switching device's ground output) - Terminal 86: Coil positive (connected to the control signal, typically 12 V from a switch, ECU output, or timer) - Terminal 87: Normally-open contact (the load output — delivers current to the load when the relay is energised)
When 12 V is applied to terminal 86 and terminal 85 is grounded, the coil generates a magnetic field that pulls the relay armature, closing the contacts between terminals 30 and 87. The load then receives current from terminal 30 via the now-closed 87 contact.
The coil draws approximately 150–200 mA, well within the current capacity of most automotive switches, ECU outputs, and timer modules. The contacts are rated to carry the full load current — typically 30 A for a standard ISO mini relay. This means a single relay can switch a 360 W load at 12 V, or a 30 A motor, on behalf of a switch that can only handle 200 mA.
A flyback diode (also called a freewheeling or snubber diode) connected in reverse bias across the coil terminals (anode to 85, cathode to 86) suppresses the inductive voltage spike that occurs when the coil is de-energised. Without this diode, the spike can reach 100 V or more, damaging ECU outputs and causing radio interference.
How to wire 12v relay wiring diagram 4 pin
- Identify your load and its current requirements Determine the maximum current drawn by the device you want to switch. Divide the load's wattage by 12 V to get amperes (W ÷ V = A). A 240 W auxiliary lamp draws 20 A. The relay contacts must be rated above this figure — a standard 30 A mini relay is suitable for loads up to 30 A.
- Connect the fused supply to terminal 30 Run a cable from the battery positive terminal (or a suitable fused fusebox feed) through an inline fuse holder to relay terminal 30. Size the fuse at 125–150% of the load's rated current. Use the correct wire gauge to keep voltage drop acceptable — 2.5 mm² for up to 20 A over short runs.
- Connect the load to terminal 87 Run a cable from relay terminal 87 to the positive terminal of the load (lamp, motor, solenoid, etc.). Connect the load's negative terminal to a clean chassis ground point with a suitable cable. Ensure all connections are secure and protected from vibration with appropriate terminal connectors.
- Ground the relay coil at terminal 85 Connect terminal 85 to a clean chassis ground point. This can be the same earthing point used for the load, or a dedicated earthing stud. The connection must be to bare metal — any paint, rust, or corrosion adds resistance and may cause unreliable relay operation.
- Connect the control signal to terminal 86 Connect terminal 86 to your control switch, ECU output, timer, or other control signal that supplies 12 V when you want the relay to activate. The control wiring only needs to carry the coil current (typically 150–200 mA), so 0.5–1.0 mm² cable is adequate.
- Install a flyback diode across the coil terminals Connect a diode (such as 1N4007) across terminals 85 and 86, with the cathode (banded end) to 86 and the anode to 85. This diode is reverse-biased during normal operation and conducts only during the voltage spike when the relay de-energises, clamping the spike to approximately 0.7 V above the supply voltage.
- Test the circuit before finalising installation Apply 12 V to terminal 86 and ground terminal 85. Listen for a clear, single click as the relay energises. Measure voltage at the load with a multimeter — it should be within 0.5 V of supply voltage. Release the control signal and confirm the relay clicks off and the load de-energises.
Specifications
| Relay type | SPST (Single-Pole Single-Throw), normally open |
|---|---|
| Coil nominal voltage | 12 V DC |
| Coil resistance (typical) | 70–120 Ω (yields approximately 100–170 mA coil current) |
| Contact rating (standard ISO mini relay) | 30 A continuous resistive load |
| Pick-up voltage (typical) | 8–9 V DC minimum for reliable engagement |
| Drop-out voltage (typical) | 1–2 V (relay remains closed until voltage falls very low) |
| Terminal identification | 30 = common, 85 = coil −, 86 = coil +, 87 = NO contact |
| Operating temperature range (typical) | −40 °C to +85 °C (verify relay datasheet) |
Safety warnings
- Always disconnect the vehicle battery negative terminal before working on automotive electrical circuits. High short-circuit currents from automotive batteries can cause fires, explosive battery gas ignition, or severe burns within seconds.
- Install the supply fuse as close as possible to the battery or fusebox — within 300 mm — to protect the maximum length of supply cable from short-circuit damage.
- Never connect a relay to carry a load exceeding the contact current rating. Exceeding the rated contact current causes contact welding, leaving the load permanently energised or destroying the relay.
- In marine, RV, or off-grid battery systems, verify that all wiring and relays are rated for the specific chemistry's potential short-circuit current. Lithium battery systems in particular can deliver extremely high short-circuit currents that destroy standard automotive wiring.
- Do not install relays in sealed, unventilated enclosures without verifying the relay's ambient temperature rating. Relay contacts generate heat under continuous high-current loads — ensure adequate ventilation to prevent thermal runaway.
Tools needed
- Digital multimeter
- DC clamp meter (for measuring load current without breaking circuit)
- Wire strippers and ratchet crimp tool
- Heat gun (for heat-shrink insulation)
- Cable ties and loom tape
- Soldering iron (for diode installation, if not using crimp connectors)
Common mistakes
- Confusing terminal 87 (normally-open, load active when energised) with terminal 87a (normally-closed, load active when de-energised on 5-pin relays). Connecting the load to the wrong contact results in the logic being inverted — load on when it should be off and vice versa.
- Fusing the control circuit (terminal 86) at a high rating instead of fusing the power circuit at terminal 30. The fuse protects the wiring, not just the relay.
- Running the load's earth directly from the relay body or relay socket rather than from a dedicated clean chassis ground point, causing high-resistance earth paths.
- Omitting the flyback diode, leading to inductive spike damage to ECU outputs and radio frequency interference in the vehicle.
- Using stranded cable with loose-strand compression terminals (not crimped or soldered), which leads to high resistance, heat, and connection failure over time due to vibration.
- Installing the relay in a location exposed to water or extreme heat without a weatherproof relay cover, causing corrosion of the contacts and coil over time.
Troubleshooting
- Relay clicks but load does not work
- Cause: Open circuit between terminal 87 and the load, or the load itself has failed Fix: Measure voltage at terminal 87 with the relay energised — it should be close to supply voltage. If 87 has voltage but the load does not operate, the fault is between 87 and the load (open wire, bad connector) or the load itself. Test the load by applying supply voltage directly.
- Relay does not click when control signal is applied
- Cause: Insufficient voltage at terminal 86, no earth at terminal 85, or failed relay coil Fix: Measure voltage at terminal 86 relative to chassis ground: it must be at least 8–9 V. Measure resistance at terminal 85 to chassis: it should be near 0 Ω. If both are correct, measure resistance across the relay coil (85 to 86 with relay out of circuit): a typical 12 V automotive coil reads 70–120 Ω. Open circuit (OL) indicates a failed coil.
- Relay energises but clicks off again immediately, repeatedly
- Cause: Supply voltage collapsing when the relay energises, due to insufficient wiring or a failing battery Fix: Measure battery voltage before and during relay energisation. Measure the voltage at terminal 30 while the relay is energised. A significant voltage drop indicates high resistance in the supply path — check the fuse, cable connections, and battery terminal condition.
Frequently asked questions
What are the four terminal numbers on a 4-pin 12V relay and what does each do?
Terminal 30 is the common (load supply input, connected to the fuse). Terminal 85 is the coil negative (typically grounded). Terminal 86 is the coil positive (control voltage input, typically 12 V switched). Terminal 87 is the normally-open contact (load output, active when the relay is energised). These ISO numbers are standard across virtually all automotive mini relays.
What is the difference between a 4-pin and 5-pin relay?
A 4-pin relay is SPST: it has only a normally-open contact (87) — it either connects or disconnects the load. A 5-pin relay is SPDT (Single-Pole Double-Throw): it adds terminal 87a, the normally-closed contact, which is connected to the load when the relay is NOT energised and disconnects when it IS. This allows the relay to switch between two different loads.
Does it matter which way round I connect terminals 85 and 86 on the relay coil?
For a standard electromagnetic relay coil without a built-in flyback diode, polarity does not affect relay operation — the coil is not polarity-sensitive. However, if a flyback diode is installed (either external or built into the relay), polarity is critical: the diode must be oriented with cathode to 86 (the positive terminal) and anode to 85 (the negative terminal). Always check the relay datasheet.
How do I select the correct fuse rating for a 4-pin relay circuit?
The fuse in the supply to terminal 30 must be rated based on the load current, not the relay contact rating. Size the fuse at 125–150% of the maximum load current drawn by the device connected to terminal 87. The fuse must be positioned as close as possible to the supply source — typically within 300 mm of the battery or fusebox output.
Why does my relay buzz or chatter instead of clicking solidly?
Buzzing or chattering indicates the coil voltage is marginal — too low to fully close the contacts, so the armature oscillates between open and closed. Check the supply voltage at terminal 86 under load: it must be at least 8–9 V for a standard 12 V relay to hold closed reliably. Investigate voltage drop in the control circuit wiring and connectors.
Related diagrams
- 12v 5 pin relay wiring diagram
- 4 pin flasher relay wiring diagram
- 4 pin fuel pump relay diagram
- 4 pin horn relay wiring diagram
- 4 pin relay wiring
- 4 pin relay wiring diagram for lights