This website requires JavaScript.
Coupons
Ship to
Blog

Relay Pinout Explained: Diagrams, Pin Functions & Multimeter Testing

Published Nov 05, 2026, updated Nov 05, 2026

13 min

Table of Contents
  • Introduction
  • Relay Pinout Diagram: Pin Functions for 4-Pin, 5-Pin, and 8-Pin Relays
  • Relay Pinout: Coil, COM, NO, and NC Functions
  • 5-Pin Relay Pinout: SRD-05VDC-SL-C SPDT Relay
  • 4-Pin Relay Pinout: SPST Form A and Form B Relays
  • 8-Pin Relay Pinout: DPDT PCB and Octal Plug-In Relays
  • Automotive Relay Pinout: Pins 30, 85, 86, 87, and 87a
  • Relay Terminal Numbering: Automotive, Industrial, and PCB Relays
  • Relay Module Pinout: Header Pins and COM, NO, and NC Terminals
  • How to Identify Relay Pins with a Multimeter
  • Conclusion
  • FAQs About Relay Pinout

Key Takeaways

  • Pin functions: A standard electromechanical relay has two coil pins, and each pole adds a common (COM), normally open (NO), and normally closed (NC) pin.
  • Viewing side: Relay footprints are often drawn in bottom view, with the pins facing you. When a drawing does not state its view, confirm NC and NO with a continuity check.
  • Relay Pin Count: A 5-pin relay is typically SPDT, a 4-pin relay is usually SPST, and an 8-pin relay is commonly DPDT. However, pin arrangements can vary between PCB, automotive, and octal relays.
  • Automotive Relay Pins: Car relays use standard terminal numbers: 85 and 86 for the coil, 30 for common (COM), 87 for normally open (NO), and 87a for normally closed (NC).
  • Testing with a Multimeter: Identify the coil pins by measuring their resistance. With the coil off, COM and NC should show continuity. When the coil is energized, COM disconnects from NC and connects to NO.

relay pinout diagram comparing 4 5 and 8 pin relays

Figure: Relay pinout diagram comparing 4-pin, 5-pin, and 8-pin relays, with pins color-coded by function.

Introduction

A relay pinout shows the position and function of each terminal. On common electromechanical relays, these terminals connect to the coil and the switching contacts, such as COM (common), NO (normally open), and NC (normally closed).

Pin layouts vary by relay type and model. PCB relays, automotive relays, and 8-pin plug-in relays may use different layouts and numbering conventions. Before wiring, check the exact model’s pinout diagram and whether it shows a top or bottom view.

In this guide, you will learn:

  • What the coil, COM, NO, and NC terminals do
  • Common 4-pin, 5-pin, and 8-pin relay pinouts
  • Automotive relay terminal numbers and their functions
  • Relay module header and terminal connections
  • How to identify unmarked relay pins with a multimeter

Relay Pinout Diagram: Pin Functions for 4-Pin, 5-Pin, and 8-Pin Relays

A relay pinout has two coil pins, plus a COM pin and an NO pin, an NC pin, or both for each pole. The pin count usually indicates the contact form: 4 pins for SPST, 5 pins for SPDT, and 8 pins for DPDT.

Relay TypePinsCoilCOMNONC
SPST Form A, such as SRD-05VDC-SL-A4Coil endBetween the coil pinsFar-end cornerNone
SPST Form B4Coil endBetween the coil pinsNoneFar-end corner
SPDT, such as SRD-05VDC-SL-C5Coil endBetween the coil pinsFar-end cornerFar-end corner
DPDT PCB relay, such as HK19F81, 82, 74, 53, 6
DPDT octal plug-in relay82, 71, 83, 64, 5
Automotive SPST485, 863087None
Automotive SPDT585, 86308787a

Note

Pin numbering and physical arrangements vary by relay model. The HK19F and octal relay examples use different pin configurations. Always refer to the manufacturer's datasheet and confirm the viewing direction before wiring.

jlcpcb pcb assembly service banner 1
Build Your Relay PCB with JLCPCB
Get a PCB Quote
  • Once you've verified your relay's pinout and footprint and finalized the PCB layout, upload your Gerber files to JLCPCB for a PCB quote.

  • For assembly, add your BOM and CPL files to review component availability and assembly pricing.

Relay Pinout: Coil, COM, NO, and NC Functions

When the relay coil is de-energized, COM is connected to NC. When the rated voltage is applied to the coil, the electromagnetic force moves the armature, switching COM from NC to NO.

The four main relay pin functions are:

  • Coil pins: The two terminals of the electromagnetic winding that energize the relay. They are electrically isolated from the contact circuit.
  • COM (Common): The moving contact that switches between NC and NO.
  • NO (Normally Open): Disconnected from COM when the coil is de-energized; connected to COM when energized.
  • NC (Normally Closed): Connected to COM when the coil is de-energized; disconnected when energized.

The number and arrangement of relay pins depend on the contact configuration. For example, a typical 5-pin SPDT relay has two coil terminals and three contact terminals: COM, NO, and NC.

In circuit schematics, relay pins are represented by a coil and a set of switch contacts. See our relay symbol guide to understand how these components are represented in circuit diagrams. The same pole-and-throw terminology applies to switches, as explained in our switch symbol guide.

5-Pin Relay Pinout: SRD-05VDC-SL-C SPDT Relay

On the SRD-05VDC-SL-C, COM sits between the two coil pins at one end of the relay, and NC and NO sit at the two corners of the opposite end. The datasheet drilling plan fixes their positions.

5 pin relay pinout srd 05vdc sl c spdt relay

Figure: SRD-05VDC-SL-C relay pinout, with COM between the coil pins, NC and NO at the far end.

  • Coil pins: Two pins 12 mm apart at the coil end.
  • COM: Midway between the coil pins, offset 2 mm toward the outer edge of the relay.
  • NC and NO: One at each far-end corner, 12.2 mm from the coil pins.

The part number also encodes the contact form. In SRD-05VDC-SL-C, "05VDC" is the coil voltage, "L" is the 0.36 W coil, and "C" is Form C, the 5-pin changeover version.

The SRD datasheet shows its drilling plan and wiring diagram without stating whether they are top or bottom views. The pin pattern is symmetric about the line through COM, so the relay also fits a footprint drawn from the other side, but NC and NO then swap positions. Confirm which far-end pin is NC by performing a continuity check before finalizing the footprint.

4-Pin Relay Pinout: SPST Form A and Form B Relays

A 4-pin SPST relay keeps the coil pins and COM of the 5-pin layout but drops one contact pin. A Form A relay keeps NO, and a Form B relay keeps NC.

srd 05vdc sl a and srd 05vdc sl c on the same footprint

Figure: SRD-05VDC-SL-A and SRD-05VDC-SL-C on the same footprint, with the unused NC position grayed out.

The last letter of an SRD part number names the contact form:

  • Form A, SPST-NO: The SRD-05VDC-SL-A has 4 pins. COM connects to NO only while the coil is energized, which suits loads that should stay off by default.
  • Form B, SPST-NC: COM stays connected to NC until the coil is energized, which suits loads that should stay on by default.
  • Form C, SPDT: The 5-pin SRD-05VDC-SL-C carries both NO and NC.

Because the remaining pins keep their Form C positions, a board laid out for the 5-pin footprint typically accepts the 4-pin version, with one hole left unused.

8-Pin Relay Pinout: DPDT PCB and Octal Plug-In Relays

Most 8-pin relays are DPDT: two coil pins plus COM, NO, and NC for each of two poles. The numbering is not universal. An 8-pin PCB relay and an 8-pin octal relay use the same pinout for different functions.

8-Pin PCB Relay Pinout — HK19F

The HK19F datasheet draws a bottom view with two rows of four pins. The coil pins are at one end, and each row carries one pole in the order COM, NC, and NO.

hk19f 8 pin dpdt relay pinout in bottom view

Figure: HK19F 8-pin DPDT relay pinout in bottom view, with coil, COM, NC, and NO pins numbered 1 to 8.

Numbering the pins 1 to 8 around the package, starting at a coil pin, gives:

  • Coil: Pins 1 and 8.
  • Pole 1: COM on pin 2, NC on pin 3, and NO on pin 4.
  • Pole 2: COM on pin 7, NC on pin 6, and NO on pin 5.

The HK19F drawing itself does not print PINs, and footprint libraries number the pins in different orders. The EasyEDA footprint for the HK19F-DC5V-SHG numbers them column by column. The coil is 1 and 2; COM is 3 and 4; NC is 5 and 6; and NO is 7 and 8.

8-Pin Octal Relay Pinout

An octal relay plugs into a round 8-pin socket with a keyed center post, and the pins are numbered 1 to 8 around the key. Most general-purpose octal DPDT relays, such as the Finder 60.12, use this assignment:

  • Coil: Pins 2 and 7.
  • Pole 1: COM on pin 1, NO on pin 3, and NC on pin 4.
  • Pole 2: COM on pin 8, NO on pin 6, and NC on pin 5.

8 pin octal relay socket pinout

Figure: 8-pin octal relay socket pinout, showing pins 1 to 8 around the keyed center post with both poles shaded.

Pin 1 is COM on an octal relay, but a coil pin on the HK19F. Check the diagram printed on the relay case before you reuse a pin assignment from another 8-pin relay.

Automotive Relay Pinout: Pins 30, 85, 86, 87, and 87a

On an automotive relay, 85 and 86 are the coil, 30 is the common contact, 87 is normally open, and 87a is normally closed. The numbers come from DIN 72552 and are printed beside each blade terminal or on the case diagram.

  • 85 and 86: DIN 72552 assigns 86 to the coil positive and 85 to the coil negative.
  • 30, common: The contact input, typically fed from the supply.
  • 87, normally open: Connects to 30 while the coil is energized.
  • 87a, normally closed: Connects to 30 while the coil is off.

automotive iso mini relay pinout in bottom view

Figure: Automotive ISO mini relay pinout in bottom view, showing pins 30, 85, 86, 87, and 87a, with a dual-87 inset.

On a typical ISO mini relay, such as the Omron G8JN, the bottom view places 87 and 30 at opposite ends. 87a sits in the center, and 85 and 86 sit on the two remaining sides. Some variants move terminals, so read the number beside each blade rather than relying on position alone.

Some 5-pin relays carry two 87 terminals instead of 87a. Both are normally open outputs, so this relay cannot supply a circuit that must remain on while the coil is off. Read the second number before assuming it is 87a.

If the case shows a diode across the coil, connect 86 to positive and 85 to ground. Reversed polarity forward-biases the diode and can draw excessive current from the coil supply.

Relay Terminal Numbering: Automotive, Industrial, and PCB Relays

Relay terminal markings vary depending on the application and identification convention. Automotive relays commonly use DIN 72552 terminal numbers, while industrial control relays often follow EN 50005 markings. PCB relays typically use pin numbers or functional labels such as COM, NO, NC, A1, and A2, depending on the manufacturer.

Pin FunctionPCB Relay (Typical Labels)Automotive Relay (DIN 72552)Industrial Relay (EN 50005)
Coil terminal 1Coil86 (typically positive)A1
Coil terminal 2Coil85 (typically negative)A2
CommonCOM3011
Normally closedNC87a12
Normally openNO8714

In EN 50005 numbering, the first digit denotes the pole, and the second denotes the function: 1 for COM, 2 for NC, and 4 for NO. So 21, 22, and 24 are the COM, NC, and NO pins of the second pole.

Relay Module Pinout: Header Pins and COM, NO, and NC Terminals

A relay module has two groups of pins. The VCC, GND, and IN headers provide power and control to the board, while the COM, NO, and NC screw terminals connect to the relay contacts.

relay module pinout

Figure: Relay module pinout, showing the VCC, GND, and IN header, the COM, NO, and NC screw terminals, and the JD-VCC jumper.

  • VCC: The module supply, usually equal to the relay coil voltage, such as 5 V for a 5 V relay.
  • GND: The supply and signal ground.
  • IN: The control input, labeled IN1, IN2, and so on for multi-channel boards. On many optocoupler-isolated modules, the input is active-low: pulling IN low energizes the relay.
  • COM, NO, and NC: The relay contacts are brought out to the screw terminal and isolated from the header pins.

On optocoupler-isolated modules, a jumper links VCC to JD-VCC. Removing it allows a separate supply on JD-VCC to power the relay coils, keeping the coil current off the controller's supply.

How to Identify Relay Pins with a Multimeter

Find the coil by resistance first, then find COM and NC by continuity with the coil off, and confirm NO with the coil energized. You need a multimeter and a bench supply set to the rated coil voltage.

identifying relay pins with a multimeter

Figure: Identifying relay pins with a multimeter: coil resistance, COM to NC at rest, and COM to NO with the coil energized.

  1. Isolate the relay: remove it from the circuit or test a loose part to prevent other components from affecting the readings.
  2. Find the coil pins: Measure resistance between each pin pair. The coil is the pair that reads a fixed resistance, typically in the tens to thousands of ohms range, such as 70 Ω on the SRD-05VDC-SL-C. Contact pairs read near zero or open.
  3. Find COM and NC: With the coil unpowered, find the contact pair that shows continuity. One pin is COM, and the other is NC.
  4. Energize the coil: Apply the rated coil voltage across the coil pins. If the case shows a diode symbol or a polarity mark such as 86, A1, or +, connect the positive supply to that pin. The relay typically clicks as the armature moves.
  5. Find NO: The COM–NC pair now opens. The pin that connects to one of them is NO, and the pin it connects to is COM.
  6. Confirm the result by removing the coil voltage. COM should return to NC.
Pin PairCoil OffCoil Energized
Coil to coilCoil resistanceCoil resistance
COM to NCContinuity, near 0 ΩOpen
COM to NOOpenContinuity, near 0 Ω
NC to NOOpenOpen
Coil to any contactOpenOpen

Conclusion

Most relays share the same pin functions: two coil pins, plus COM, NO, and NC for each pole. Before connecting a relay to your circuit, use a multimeter to identify the coil pins and check contact continuity in both energized and de-energized states. Always compare your findings with the datasheet and verify the viewing orientation, especially when designing a PCB footprint.

FAQs About Relay Pinout

Which Pin Is COM on a Relay?

COM is the pin that connects to NC with the coil off and to NO with the coil energized. On the SRD relay, it sits between the coil pins; on a car relay, it is pin 30.

Are Relay Coil Pins Polarized?

Usually not. A plain coil works in either direction, but a coil with a built-in suppression diode needs the marked polarity, typically 86 or A1 positive.

What Is 87a on a Relay?

87a is the normally closed contact on an automotive relay. It connects to pin 30 while the coil is off and opens when the coil is energized.

How Do I Find the Coil Pins Without a Datasheet?

Measure resistance between every pin pair. The coil pair reads a fixed resistance, typically tens to thousands of ohms, while the contact pairs read near zero or open.

Is a 5-Pin Car Relay the Same as a 5-Pin PCB Relay?

No. Both are usually SPDT, but a car relay uses plug-in blades numbered 30, 85, 86, 87, and 87a, while a PCB relay, such as the SRD, has unnumbered solder pins.

Keep Learning