Relay wiring fundamentally splits into two electrically isolated circuits: the low-power control side (the coil) and the high-power switching side (the contacts). The direct answer to "how do I wire a relay" is to treat these as completely separate loops. The coil circuit (typically terminals A1/A2 or 85/86) receives the command signal, while the contact circuit (COM/NO/NC or 11/12/14) carries the actual load current. Mixing these up or misjudging the contact rating for your specific load type is the leading cause of welded contacts and burnt driver boards.
Decoding Relay Wiring: Coil vs. Contact Side Fundamentals
Before stripping wires, identify your relay's pinout. Standard industrial relays (like the ubiquitous Omron G7L or Finder 55 series) follow IEC/EN 60947 numbering conventions.
The Coil Side (Control Circuit)
The coil is an electromagnet. When energized, it pulls the armature to switch the contacts. Terminals are usually marked A1 and A2 (or 85 and 86 on older automotive/ICE cube styles). AC coils will hum slightly and have a shading ring on the core to prevent chatter; DC coils are silent and rely on a solid magnetic pull.
The Contact Side (Load Circuit)
The contacts carry the load. Standard SPDT (Single Pole Double Throw) relays use three terminals:
- COM (Common / 11): The moving contact. This is where your load's hot/line wire typically connects.
- NO (Normally Open / 14): Connects to COM only when the coil is energized.
- NC (Normally Closed / 12): Connects to COM when the coil is de-energized.
For DPDT (Double Pole) relays, the second pole mirrors the first (21/22/24). Always torque terminal screws to the manufacturer's spec (usually 0.5 to 0.8 Nm for standard DIN relays) to prevent high-resistance heating.
Relay Rating Table and Load Selection Decision Path
A common bench mistake is looking only at the maximum amp rating on the relay cover. A relay rated for "30A" might handle 30A of resistive heating, but will weld its contacts shut trying to start a 10A motor. You must know which rating column governs your specific load.
| Parameter | Resistive (AC-1 / DC-1) | Inductive/Motor (AC-3 / DC-3) | Breaking Capacity (Short Circuit) |
|---|---|---|---|
| Governing Physics | Steady-state heat. Inrush is minimal (1x to 1.2x nominal). | Locked Rotor Amps (LRA) and inductive kickback. Inrush is 6x to 10x nominal. | Maximum fault current the contacts can interrupt without welding or exploding. |
| Typical 30A Relay Rating | 30A at 250VAC | 10A to 12A (approx. 1 HP at 120VAC) | Often only 100A to 300A for 10ms |
| Example Applications | Space heaters, incandescent lighting, resistive dummy loads. | HVAC compressors, conveyor motors, solenoid valves, transformers. | Branch circuit fault clearing coordination. |
Load Selection Decision Tree
Use this decision path to select the correct relay and branch protection:
| Load Type | Sizing Rule of Thumb | Required Protection / Snubber |
|---|---|---|
| Resistive | Size relay at 125% of continuous load current. | Standard thermal breaker. No snubber needed. |
| Inductive (Solenoids/Coils) | Size relay at 200% to 300% of nominal current. | MOV or RC snubber across the load to suppress turn-off arc. |
| Motor (AC-3) | Check LRA on motor nameplate. Relay AC-3 rating must exceed LRA. | Motor-rated breaker or overload relay. Contacts must withstand LRA stall. |
Bench and Jobsite Testing: Dead and Live Diagnostics
When a circuit fails, you need to isolate whether the relay coil is pulling in and whether the contacts are passing current. Here is how to test it dead and live.
Dead Testing (Power Off & Locked Out)
- Verify Dead: Use a non-contact voltage tester and a multimeter to confirm zero voltage on both coil and contact terminals.
- Coil Resistance Test: Set your multimeter to Ohms (Ω). Place probes on A1 and A2. A healthy 24VDC Omron G7L coil will read around 650Ω. A 120VAC Finder 55.34 coil will read roughly 4.4kΩ. If it reads OL (open), the internal coil wire is broken. If it reads near 0Ω, it's shorted.
- Contact Continuity: Set meter to continuity/beep. Place probes on COM and NC. It should beep. Place probes on COM and NO. It should be silent. Manually press the relay's test lever (if equipped); the states should swap instantly.
Live Testing (Energized & Under Load)
- Coil Voltage: Set meter to AC or DC Volts. Measure across A1 and A2 while the circuit is commanded ON. It must be within ±10% of nominal (e.g., 21.6V to 26.4V for a 24VDC system). Voltage drop here means a bad upstream driver or undersized control wire.
- Contact Voltage Drop: This is the ultimate test of contact health. Set your multimeter to Millivolts (mV). With the relay energized and the load running, place your probes directly on the COM and NO terminal screws. A healthy contact will show a drop of less than 50mV. If you read 200mV or higher, the contacts are pitted, carbon-tracked, or oxidized and are generating dangerous heat.
When to Repair vs. Replace
For standard plug-in "ice cube" relays, DIN-mount electromechanical relays (under $20), and PCB-mounted relays, always replace. The cost of labor to disassemble, clean, and re-tension contacts far exceeds the part cost, and reliability is permanently compromised once arcing begins.
Repair is only economically viable for heavy-duty industrial contactors (e.g., 100A+ Allen-Bradley 100-C series or Schneider TeSys). On these massive units, you can replace the arc chutes, swap the main contact tips, and clean the magnetic armature faces. If the coil on a large contactor burns out, you can usually unbolt and replace just the coil assembly without scrapping the entire frame.
Relay Wiring FAQ: Troubleshooting and Installation Edge Cases
Why is my DC relay coil burning out the driving transistor or microcontroller?
This is almost always caused by inductive kickback. A relay coil is an inductor. When you interrupt the current, the magnetic field collapses and induces a reverse voltage spike (V = -L di/dt) that can easily exceed 300V. If you are driving a 12VDC or 24VDC relay directly from a BJT, MOSFET, or ULN2003 darlington array, you must solder a 1N400x flyback diode across the coil terminals, with the diode's stripe (cathode) facing the positive supply. For further reading on inductive kickback physics, refer to the All About Circuits relay chapter.
How do I wire a relay to control a 120V AC motor from a 3.3V ESP32 GPIO?
You cannot wire an ESP32 directly to a 120VAC relay coil, nor can you drive a standard 5V/12V relay coil directly from a 3.3V GPIO pin (the GPIO can only source ~40mA max, and a 5V coil often requires 70mA+). The correct wiring path is: ESP32 3.3V GPIO → current-limiting resistor (e.g., 1kΩ) → base of a 2N2222 NPN transistor or gate of a logic-level MOSFET → transistor switches the ground path for a 5VDC relay coil. Ensure you use an optocoupler (like a PC817) if you want galvanic isolation to protect the ESP32 from mains noise. Alternatively, use a pre-built 3.3V-compatible Solid State Relay (SSR) module with a built-in optical isolator.
What causes relay contacts to weld shut on an inductive load, and how do I fix it?
Contact welding happens when the inrush current (like a motor starting or a transformer energizing) or the breaking arc generates enough heat to melt the silver-alloy contact tips together. If your relay is welding on an inductive load, you have likely exceeded the AC-3 (motor) or AC-15 (control circuit) rating, even if you are under the AC-1 (resistive) rating. To fix this, first, upgrade to a relay with a higher AC-3 rating or switch to a solid-state contactor. Second, if the welding happens during turn-off (breaking), install an RC snubber network (e.g., 0.1µF capacitor in series with a 100Ω resistor) across the load or the contacts to absorb the inductive energy and extinguish the arc faster. For comprehensive application guidelines on contact protection, consult Schneider Electric's contactor and relay application FAQs.
Can I wire multiple relay coils in series to save power supply outputs?
Never wire electromechanical relay coils in series. Because the coil resistance changes slightly as it heats up, and the mechanical pull-in threshold varies by fractions of a millimeter, the voltage will not divide equally. One relay will pull in first, dropping the voltage below the pull-in threshold for the second relay, leaving it chattering or failing to engage entirely. Always wire relay coils in parallel, ensuring your DC power supply has the amperage headroom to handle the combined inrush and steady-state current of all coils firing simultaneously.






