logo elektroda
logo elektroda
X
logo elektroda

How to Wire a 5 Pin Relay: 85 86 30 87 87a Pinout

User question

How to wire a 5 pin relay?

Artificial Intelligence Response

Direct answer to the question

A standard 5-pin relay is usually wired as follows:

  • 85, 86 = relay coil
  • 30 = common contact
  • 87 = normally open (NO) contact
  • 87a = normally closed (NC) contact

For the most common use, where a load turns on only when the relay is energized:

  • Pin 30 → fused power source
  • Pin 87 → load
  • Other side of load → ground/return
  • Pin 85 → ground
  • Pin 86 → control signal or switch output
  • Pin 87a → leave unused unless you need the NC function

A simple text diagram:

Control side:
85 -> Ground
86 -> Switch / trigger voltage
Power side:
Battery + -> Fuse -> 30
87 -> Load +
Load - -> Ground
87a -> unused

Detailed problem analysis

What a 5-pin relay actually is

A 5-pin relay is typically an SPDT device: Single Pole, Double Throw.

That means:

  • One common terminal (30)
  • Two possible outputs:
    • 87 = connected to 30 only when the coil is energized
    • 87a = connected to 30 when the coil is not energized

So the relay changes the connection of pin 30 depending on whether the coil is powered.

Standard pin functions

Pin Function Typical use
85 Coil terminal Usually ground
86 Coil terminal Usually trigger voltage
30 Common contact Main input power
87 Normally Open (NO) Output that turns on when relay energizes
87a Normally Closed (NC) Output that is on when relay is idle

Important note about 85 and 86

  • On a plain relay coil, 85 and 86 can often be swapped
  • If the relay has an internal suppression diode, polarity matters:
    • 86 = positive
    • 85 = negative/ground

So always check the markings or datasheet if available.


Supporting explanations and details

Most common wiring: switch a device on with a small control signal

This is used for lights, fans, pumps, horns, heaters, and similar loads.

Wiring steps

  1. Connect pin 30 to the power source

    • Use the supply voltage appropriate for the load
    • Add a fuse close to the source
  2. Connect pin 87 to the load

    • This becomes live only when the relay coil is energized
  3. Connect the other side of the load to return

    • In DC automotive systems, that is usually chassis ground or battery negative
  4. Wire the coil

    • Pin 85 → ground
    • Pin 86 → switched trigger voltage

When the trigger is applied to the coil, the relay clicks and connects 30 to 87.

Example

For a 12 V lamp:

Battery +12 V -> Fuse -> Pin 30
Pin 87 -> Lamp positive
Lamp negative -> Ground
Pin 85 -> Ground
Pin 86 -> Dashboard switch -> +12 V

Operation:

  • Switch OFF: lamp is off
  • Switch ON: coil energizes, 30 connects to 87, lamp turns on

Using pin 87a

Pin 87a is the normally closed contact.

This means:

  • When the relay is off, 30 is connected to 87a
  • When the relay is on, that connection opens and 30 moves to 87

Use 87a if you want something powered by default and turned off when the relay activates.

Example applications:

  • Changeover between two devices
  • Fail-safe circuits
  • Default-on / active-off logic

If you do not need that behavior, simply leave 87a unconnected.


Current information and trends

For modern practical wiring, several points are worth emphasizing:

  • Automotive-style Bosch/ISO relays still commonly use pin numbers 30, 85, 86, 87, 87a
  • Many newer relays include internal diodes or resistors across the coil, so polarity checking is increasingly important
  • In electronic control systems, relay coils are often driven by:
    • transistor stages
    • MOSFET low-side drivers
    • ECU outputs
    • microcontrollers through a driver stage

Because of this, coil suppression is more important now than in older purely mechanical switch systems.


Practical guidelines

1. Always fuse the power feed to pin 30

Place the fuse as close as possible to the source.

Good rule:

  • fuse for the wire and load
  • do not exceed relay contact rating

2. Use suitable wire gauge

Typical guidance for short automotive runs:

  • control wiring to 85/86: 18-20 AWG is often sufficient
  • load wiring to 30/87/87a:
    • up to about 10 A: 18 AWG
    • 10-20 A: 16-14 AWG
    • 20-30 A: 14-12 AWG

Actual wire size depends on:

  • current
  • wire length
  • temperature
  • allowable voltage drop

3. Add flyback protection if needed

If your relay does not already include suppression and it is driven by electronics, add a diode across the coil:

  • diode cathode to 86
  • diode anode to 85

This suppresses the inductive voltage spike when the coil turns off.

4. Verify the contact rating

A relay may be marked 30 A or 40 A, but that does not mean every load is safe. Motors, solenoids, and lamps can have high inrush current.

5. Check whether you are switching positive or ground

You can switch either side of the load:

  • High-side switching: 30 carries positive supply
  • Low-side switching: 30 carries ground/negative return

Both are valid if designed correctly.


Possible disclaimers or additional notes

  • Not all 5-pin relays use identical internal layouts, even if the numbering is similar
  • Some relays have dual 87 outputs instead of 87 + 87a
  • Some miniature PCB relays use completely different pin numbering
  • Therefore, always verify:
    • relay case diagram
    • datasheet
    • continuity with a multimeter

Quick multimeter check

With the relay unpowered:

  • 30 to 87a should show continuity
  • 30 to 87 should be open

When the coil is energized:

  • 30 to 87 should show continuity
  • 30 to 87a should be open

Brief summary

To wire a 5-pin relay in the usual way:

  • 85 → ground
  • 86 → trigger voltage
  • 30 → fused supply
  • 87 → load you want on when energized
  • 87a → optional normally-closed output

The key ideas are:

  • 30 is the common input
  • 87 is on when the relay is energized
  • 87a is on when the relay is idle
  • 85/86 power the coil
  • use a fuse, proper wire gauge, and coil suppression where appropriate

If you want, I can also draw you:

  1. a 12 V automotive wiring diagram,
  2. a 5 V Arduino/transistor relay wiring diagram, or
  3. a specific diagram for your load.

Ask additional question

Wait...(2min)
Disclaimer: The responses provided by artificial intelligence (language model) may be inaccurate and misleading. Elektroda is not responsible for the accuracy, reliability, or completeness of the presented information. All responses should be verified by the user.