Relay Pinout Explained: Diagrams, Pin Functions & Multimeter Testing
13 min
- 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.

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 Type | Pins | Coil | COM | NO | NC |
|---|---|---|---|---|---|
| SPST Form A, such as SRD-05VDC-SL-A | 4 | Coil end | Between the coil pins | Far-end corner | None |
| SPST Form B | 4 | Coil end | Between the coil pins | None | Far-end corner |
| SPDT, such as SRD-05VDC-SL-C | 5 | Coil end | Between the coil pins | Far-end corner | Far-end corner |
| DPDT PCB relay, such as HK19F | 8 | 1, 8 | 2, 7 | 4, 5 | 3, 6 |
| DPDT octal plug-in relay | 8 | 2, 7 | 1, 8 | 3, 6 | 4, 5 |
| Automotive SPST | 4 | 85, 86 | 30 | 87 | None |
| Automotive SPDT | 5 | 85, 86 | 30 | 87 | 87a |
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.
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.

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.

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.

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.

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.

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 Function | PCB Relay (Typical Labels) | Automotive Relay (DIN 72552) | Industrial Relay (EN 50005) |
|---|---|---|---|
| Coil terminal 1 | Coil | 86 (typically positive) | A1 |
| Coil terminal 2 | Coil | 85 (typically negative) | A2 |
| Common | COM | 30 | 11 |
| Normally closed | NC | 87a | 12 |
| Normally open | NO | 87 | 14 |
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.

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.

Figure: Identifying relay pins with a multimeter: coil resistance, COM to NC at rest, and COM to NO with the coil energized.
- Isolate the relay: remove it from the circuit or test a loose part to prevent other components from affecting the readings.
- 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.
- Find COM and NC: With the coil unpowered, find the contact pair that shows continuity. One pin is COM, and the other is NC.
- 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.
- 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.
- Confirm the result by removing the coil voltage. COM should return to NC.
| Pin Pair | Coil Off | Coil Energized |
|---|---|---|
| Coil to coil | Coil resistance | Coil resistance |
| COM to NC | Continuity, near 0 Ω | Open |
| COM to NO | Open | Continuity, near 0 Ω |
| NC to NO | Open | Open |
| Coil to any contact | Open | Open |
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.
Popular Articles
• The Comprehensive Guide to Circuit Symbols: Key to Understanding Electrical and Electronic Diagrams
• Understanding Electrical Schematics: A Comprehensive Guide
• PCB Board Design: A Step-by-Step Guide for Beginners
• Design Guidelines for PCB Using FR4 Substrates
• Choosing the Best PCB Color-Enhancing Aesthetics and Functionality
Keep Learning
Arduino Uno Pinout Guide: Complete Pin Diagram, Lookup Table & Electrical Limits
The Arduino Uno pinout is all printed on the board, but it still catches people out. A pin you might think was free might turn out to be the SPI clock, or the I2C bus, or just the line your sketch uploads through. This arduino pinout guide covers the Arduino Uno R3 and Arduino Uno R4 only. Every spec says which revision it applies to, because the two boards share a footprint but not their electrical limits. The Arduino PWM pins and interrupt lines sit differently on the Mega, the Leonardo and ESP32 bo......
The Comprehensive Guide to Circuit Symbols: Key to Understanding Electrical and Electronic Diagrams
Note Need a quick reference while reading schematics? Download our free, printable Circuit Symbols Cheat Sheet (PDF), featuring the most common IEC and ANSI symbols organized by category. Keep it on your desktop or print it for easy reference at your workbench. ⬇ Download the Free Circuit Symbols Cheat Sheet (PDF) Every electronic diagram is written in a visual language, and circuit symbols are its alphabet. From your first electrical schematic to a multi-layer board, knowing circuit symbols can make ......
Understanding Electrical Schematics: A Comprehensive Guide
Key Takeaways Core Definition: An electrical schematic maps exact components and connections using standardized symbols (IEC 60617 / IEEE 315) and reference designators. Schematics vs. Block Diagrams: Schematics detail exact components and pin-level connections for PCB layout, whereas block diagrams only show high-level functional blocks. Clean Layout & Flow: Read schematics left to right, using modular blocks and net labels (VIN, GND) to eliminate visual clutter. Mark Polarity: Clearly marking compon......
How to Read and Design Effective Schematics
Design schematics with hands are a bit outdated nowadays; everyone is using EDA software to do so. There are a lot of tools available nowadays, but a simpler and easier-to-use one is EasyEDA. Mastering schematics makes working with circuits simpler or safer, and more efficient for turning complex designs into understandable diagrams. Here we are taking an example of an Arduino circuit and a power supply regulation circuit. The schematics for them are completed and read step-wise. This unlocks the pote......
PCB Board Design: A Step-by-Step Guide for Beginners
Key Takeaways 10-Step Beginner Guide: Covers EasyEDA schematic capture, DRC checks, and Gerber export for a 3A IP2312 charger. 3A High-Current Routing: Upgrades the 1A TP4056 design with 1.3–1.8 mm traces (1 oz copper) and stitched ground planes. Thermal & DFM Ready: Applies ESOP-8 thermal vias and JLCPCB 2-layer standard rules for reliable prototyping. Printed Circuit Boards (PCBs) form the backbone of most modern electronic devices, providing a platform to connect electronic components. For beginner......
Design Guidelines for PCB Using FR4 Substrates
Material substrate concerns are necessary while designing electrical circuit boards. This is due to the fact that printed circuit boards cannot be manufactured without the appropriate PCB materials. When developing and producing circuit boards, the substrate material must be taken into account just as much as the copper layers, silkscreen, and surface polish. Generally speaking, non-conductive materials like porcelain, Marlon, FR4, and the like must be used for PCB substrates. Depending on its intende......