The 8-Pin Relay Pinout: Coil vs. Contact Side Wiring
The standard 8-pin octal relay separates its coil (control) circuit from its contact (load) circuit to maximize physical isolation. The base features an index notch between pins 1 and 8 to ensure it only plugs into the socket in one orientation.The Coil Side (Control Circuit)
On a standard IEC/NEMA octal relay, the electromagnetic coil is wired to Pins 2 and 7. These pins are placed on opposite sides of the circular base. This physical distance is intentional: it maximizes the creepage and clearance distances between your low-voltage control logic (like an Arduino or PLC) and the high-voltage AC load switching on the other pins, preventing internal arcing.
If you are driving Pins 2 and 7 with a DC voltage (e.g., 12VDC or 24VDC), the coil acts as an inductor. When the control circuit opens, the collapsing magnetic field induces a high-voltage reverse spike (inductive kickback) that will fry your driving transistor or microcontroller GPIO. You must wire a flyback diode (like a 1N4007) in reverse bias across Pins 2 and 7 (cathode to the positive pin). AC coils do not require a flyback diode because the AC waveform naturally crosses zero, but they may benefit from an RC snubber if switching highly inductive loads.
The Contact Side (Load Circuit)
The remaining six pins form two independent SPDT (Single Pole Double Throw) switches, ganged together mechanically:
- Pole A: Pin 3 is the Common (COM). Pin 1 is Normally Closed (NC). Pin 4 is Normally Open (NO).
- Pole B: Pin 6 is the Common (COM). Pin 8 is Normally Closed (NC). Pin 5 is Normally Open (NO).
When the coil at Pins 2 and 7 is de-energized, COM connects to NC (Pins 3-to-1 and 6-to-8). When the coil is energized, the armature pulls in, and COM connects to NO (Pins 3-to-4 and 6-to-5). For a deeper look at the physics of the armature movement and magnetic circuits, refer to the Electronics Tutorials guide on electrical relays.
Rating Table: Which Column Governs Your Load?
The most common mistake makers and junior technicians make is looking at the "10A" printed on the relay cover and assuming it can switch any 10A load. That number is almost always the resistive rating. Switching motors or solenoids requires checking entirely different columns.
| Parameter | Typical Value (e.g., Omron MY2N) | Governing Rule & Application |
|---|---|---|
| Coil Voltage | 24 VDC / 120 VAC | Must match control source exactly. AC coils will hum and overheat on DC; DC coils will burn out instantly on AC. |
| Contact Rating (Resistive) | 10A at 250VAC / 30VDC | Governs heaters, incandescent bulbs, and purely resistive dummy loads. No inrush current or phase shift. |
| Contact Rating (Inductive) | 5A at 250VAC / 0.4A at 30VDC | Governs solenoids, contactor coils, and transformers. Notice the massive derating for DC due to the lack of a zero-crossing to extinguish the arc. |
| Contact Rating (Motor) | 1/4 HP at 120VAC / 1/2 HP at 240VAC | Governs compressors, fans, and pumps. Dictated by the motor's Locked Rotor Amps (LRA), which can be 6x the running current. |
| Breaking Capacity (DC) | 0.4A at 125VDC | The absolute maximum DC load the contacts can safely interrupt without sustaining a continuous, melting arc. |
Which column governs? Always match your load type to its specific column. If you are switching a 120VAC solenoid valve that draws 4A, the Inductive column governs. Since 4A is under the 5A inductive limit, the relay is safe. If you used the 10A resistive column to justify the design, the contacts would pit and weld shut within a few hundred cycles.
Selection Decision Path: Matching Relay to Load Type
Use this decision tree to select the right relay configuration and protection scheme for your specific application.
| Load Type | Inrush / Arcing Characteristic | Required Action & Protection |
|---|---|---|
| Resistive (Heaters, LED drivers) | Low inrush, minimal arcing on break. | Use nominal resistive rating. No extra snubbing required. |
| Inductive (Solenoids, Valves) | High voltage spike on break (L di/dt). | Derate to 50% of resistive rating. Place an RC snubber (e.g., 100 ohm + 0.1uF) across the load terminals. |
| Capacitive (Switching power supplies) | Massive inrush current on make (up to 40x nominal). | Use relays specifically rated for 'TV' or high-inrush loads (e.g., tungsten ratings). Standard relays will weld on the first make. |
| Motor (Compressors, Pumps) | High LRA on start, inductive kick on stop. | Use the HP rating column. If LRA exceeds 15A, do not use an 8-pin relay to switch the motor directly; use the relay to switch a definite-purpose contactor instead. |
Stop guessing for general-purpose control panels. For 95% of DIY automation, PLC output interfaces, and 24VDC control circuits switching up to 5A inductive loads, buy the Omron MY2N-D2 DC24 (or the Finder 55.32.9.024.0000 equivalent) paired with a PYF-08A DIN rail socket. It provides a 24VDC coil with built-in LED indication, 10A resistive / 5A inductive contacts, and the socket accepts standard 14 AWG ferrules for rock-solid terminations.
Testing Dead and Live: Bench and In-Circuit Verification
When a circuit fails, you need to know if the relay is dead or if the control signal is missing. Grab your multimeter and follow this sequence. For more on practical relay circuit troubleshooting, check out the All About Circuits relay experiment guide.
Dead Testing (Power Removed)
- Test the Coil: Set your multimeter to Ohms (Ω). Place probes on Pins 2 and 7. A healthy 24VDC coil typically reads between 600Ω and 700Ω. A 120VAC coil will read roughly 4,000Ω to 5,000Ω. If you read 'OL' (Open Line), the coil wire is broken internally. If you read 0.0Ω, the coil is shorted.
- Test the Flyback Diode: If a DC relay has an internal or external flyback diode, set your meter to Diode Test mode. Probes one way across Pins 2 and 7 should read ~0.6V (silicon drop). Reversing the probes should read 'OL'. If it reads 0.0V both ways, the diode is shorted and will blow your control fuse.
- Test the Contacts: Set meter to Continuity. Probe Pin 3 (COM) and Pin 1 (NC). It should beep (near 0Ω). Probe Pin 3 and Pin 4 (NO); it should read 'OL'. Repeat for Pole B (Pins 6, 8, 5).
- Bench Energize: Apply the rated coil voltage to Pins 2 and 7 using a bench power supply. You should hear a sharp click. Re-test the contacts; the continuity states should now be reversed.
Live Testing (In-Circuit, Under Load)
- Verify Coil Voltage: With the circuit powered and the control signal active, measure AC or DC voltage directly across the socket terminals for Pins 2 and 7. The voltage must be at least 85% of the nominal coil rating (e.g., >20.4V for a 24V relay) to guarantee the armature pulls in fully. A weak pull-in causes contact chatter and rapid arcing.
- Measure Contact Voltage Drop: With the load running, measure the voltage difference between the COM pin and the active NO pin. A healthy, clean contact will drop less than 50mV. If you read 200mV or higher, the contacts are pitted, oxidized, or carbon-fouled, and the relay is nearing the end of its life.
Repair vs. Replace: When to Trash the Relay
Electromechanical relays are consumable components. They have a finite mechanical life (usually 10 million operations) and a much shorter electrical life (often 100,000 operations at rated load). Knowing when to replace them prevents catastrophic failures.
When to Replace Immediately
- Welded Contacts: If you remove power from the coil and the NO contacts still pass continuity (or the load stays on), the contacts have welded together due to excessive arcing. This is a severe safety hazard. Trash the relay immediately.
- High Voltage Drop: As noted in the live testing section, a voltage drop >100mV across closed contacts indicates severe pitting. The increased resistance will cause the relay to overheat and melt the plastic socket.
- Coil Burnout: An 'OL' reading across Pins 2 and 7 means the fine copper wire inside the spool has snapped. The relay is dead.
- Scorched Socket Terminals: If the relay failed, inspect the PYF-08A socket. If the metal terminals inside the socket are blackened or the plastic is warped, replace the socket too. A bad socket will ruin a new relay in minutes due to poor connection resistance.
Why You Should Never 'Repair' Contacts
A common myth in old-school maintenance is that you can pull the plastic cover off an 8-pin relay and 'clean' the contacts with a file or sandpaper. Never do this. Relay contacts are not solid metal; they are plated with specialized alloys like silver cadmium oxide (AgCdO) or silver tin oxide (AgSnO2) designed to resist welding and arc erosion. Filing or sanding the contacts strips this microscopic plating, exposing the base copper or brass. The next time the relay switches an inductive load, the bare metal will instantly melt and weld shut, potentially causing a fire or destroying the driven equipment. When a relay fails, throw it in the bin and snap in a new $6 replacement.






