Relay Switch Diagram: Circuit Operation, Wiring, and Practical Reference

Relay Switch Diagram — circuit diagram showing component connections+-12V SupplyControl SwitchKRelay CoilFlyback DiodeRelay Contact (NO)Lamp (Load)Relay Control CircuitFlyback diode protects coilNO contact closes when coil energized
Relay Switch Diagram: Circuit Operation, Wiring, and Practical Reference — interactive diagram. Open it in the editor to customise components and wiring.

This is a free printable relay switch diagram: download the diagram as SVG or open it and print to paper or PDF.

A relay switch diagram shows how a low-current control signal energises an electromagnetic coil to open or close a separate, higher-power switching circuit.

A relay is an electrically operated switch. At its core, a relay consists of two electrically isolated circuits: the control circuit and the load circuit. When a voltage is applied across the coil terminals, current flows through the coil winding, generating a magnetic field. This field attracts a ferromagnetic armature, which physically moves a set of contacts from their resting position.

The contacts have defined states: Normally Open (NO) contacts are open when the coil is de-energised and close when the coil is activated. Normally Closed (NC) contacts are closed at rest and open when the coil is activated. The Common (COM) terminal connects to either NO or NC depending on coil state. A single-pole double-throw (SPDT) relay exposes all three terminals, giving the designer full flexibility to switch between two circuit paths.

The primary reason relays exist is isolation. A microcontroller, a PLC output, or a simple switch rated at milliamps can control a motor, heater, or lamp drawing tens of amperes — without any electrical connection between the control and load sides. This isolation also protects sensitive electronics from voltage spikes on inductive loads.

Coil voltage is a key specification. Common DC coil voltages are 5 V, 12 V, and 24 V; AC coil relays operate at 24 V AC, 120 V AC, and 230 V AC. The coil resistance determines current draw. A 12 V relay with a 360 Ω coil draws approximately 33 mA — within the capability of a transistor driver but too much for most logic pins alone.

A freewheeling diode (flyback diode) placed across the coil in reverse bias is essential in DC relay circuits. When the coil is de-energised, the collapsing magnetic field induces a voltage spike that can be several times the supply voltage, destroying transistors or microcontrollers. The diode clamps this spike by providing a return path for the induced current.

Contact ratings — expressed as voltage and current at a given power factor — must never be exceeded. AC contact ratings differ from DC ratings for the same physical relay because AC current crosses zero (aiding arc extinction), while DC arcs are sustained. Always derate contacts to 75–80% of their rated capacity in continuous-duty applications.

How to wire relay switch diagram

  1. Identify coil voltage and contact ratings Confirm the relay coil voltage matches your control supply (e.g., 12 V DC) and that the contact voltage and current ratings exceed your load requirements. Apply a 75–80% derating factor for continuous-duty applications. Record the NC, NO, and COM pin numbers from the relay datasheet.
  2. Wire the control circuit Connect the positive supply rail to one coil terminal (often marked A1 or pin 1). Connect the second coil terminal (A2 or pin 2) through your switching device — transistor collector, switch, or PLC output — to the negative rail. If using a transistor driver, place a flyback diode across the coil terminals in reverse bias (cathode to positive, anode to negative).
  3. Wire the load circuit Connect the supply for the load to the COM terminal. Connect the load to the NO terminal if you want the load active when the coil is energised, or to the NC terminal if you want the load active at rest. Keep load wiring physically separated from coil wiring to avoid interference.
  4. Add fusing to the load circuit Fit an appropriately rated fuse in series with the load supply line, sized to protect the wiring (not the relay contact). Fuse selection follows the minimum wire ampacity rating for the gauge used. Never rely solely on the relay's contact rating as overcurrent protection.
  5. Test with the load disconnected first Apply coil voltage and verify the relay clicks and the contacts switch using a continuity tester or multimeter in resistance mode. Confirm NO reads open and COM-to-NO reads closed when energised. Confirm NC reads closed when de-energised. Only then connect the full load.
  6. Connect and test under load Reconnect the load. Apply coil control voltage and verify the load operates correctly. Monitor contact temperature under rated load for several minutes. Warm contacts are normal; hot contacts indicate overloading or high-resistance joints — investigate immediately.

Specifications

Coil Operating Voltage RangeTypically 75–120% of rated coil voltage (refer to datasheet pick-up and drop-out values)
Contact Voltage Rating (AC)Commonly 250 V AC for general-purpose relays
Contact Current RatingTypical range 5 A to 30 A depending on relay class
Coil Power Consumption0.36 W to 1.8 W typical for miniature 12 V DC relays
Operate Time (Pickup)5–15 ms typical for general-purpose relays
Release Time2–8 ms typical (without flyback diode); 5–30 ms with flyback diode (diode slows release)
Mechanical Life10 million operations minimum (no load)
Electrical Life100 000 operations at rated load (typical)

Safety warnings

Tools needed

Common mistakes

Troubleshooting

Relay does not click when control voltage is applied
Cause: Insufficient coil voltage, open coil winding, or driver transistor not saturating Fix: Measure voltage across coil terminals directly with a multimeter. Verify it meets or exceeds the relay's minimum pickup voltage. Measure coil resistance (should match datasheet). Check transistor base drive voltage and base resistor value. Replace relay if coil is open-circuit.
Relay clicks but load does not operate
Cause: Wiring connected to NC instead of NO terminal, blown fuse in load circuit, or welded contacts on NO terminal Fix: Measure continuity between COM and NO with coil energised. Verify load fuse integrity. Check that load wiring is connected to the intended contact set. Measure load supply voltage at the load terminals.
Relay contacts weld or stick in closed position
Cause: Load current exceeding contact rating, high inrush current from capacitive or motor loads, or insufficient arc suppression Fix: Replace the relay with a higher-rated type or use a contactor for motor loads. Add a snubber network (RC across contacts) for AC inductive loads. For DC motor loads, add a freewheeling diode across the motor terminals.
Driver transistor or microcontroller destroyed when relay coil de-energises
Cause: Missing or incorrectly wired flyback diode allowing back-EMF spike to exceed driver breakdown voltage Fix: Install a 1N4007 or equivalent diode across the coil with cathode to the positive rail and anode to the driver side. Verify polarity before powering on.
Relay contacts causing interference or noise in control electronics
Cause: Load circuit arcing or radiated EMI from relay switching coupled into control wiring Fix: Route control and load wiring separately. Add RC snubbers across contacts for AC loads. Use shielded cable for sensitive control signals. Consider solid-state relays for noise-critical applications.

Frequently asked questions

What is the difference between a relay and a contactor?

A contactor is a heavy-duty relay designed for high-current loads such as motors and HVAC compressors. Contactors typically feature arc-quenching chambers, replaceable contact tips, and auxiliary contact blocks. Standard relays are rated for lighter loads (generally below 30 A) and lack arc suppression hardware. The operating principle — an electromagnetic coil moving a set of contacts — is identical.

Why does my relay chatter or buzz?

Relay chatter on a DC relay usually indicates the coil supply voltage is too low to hold the armature fully seated. On AC relays, chattering is commonly caused by a faulty shading ring on the pole face — the shading ring creates a phase-shifted flux that prevents the armature from releasing on every AC half-cycle, eliminating the characteristic 50/60 Hz hum.

Do I always need a flyback diode on a relay coil?

For any DC relay driven by a transistor, MOSFET, or microcontroller output, a flyback diode is mandatory to prevent the back-EMF voltage spike from damaging the driver. For relays driven directly by mechanical switches or robust relay driver ICs with built-in clamping, the diode may be unnecessary but remains good practice and costs virtually nothing.

What does the coil voltage rating mean for an AC relay versus a DC relay?

For a DC relay, the coil voltage is the steady-state supply voltage. For an AC relay, the rated voltage is the RMS voltage at which the coil is designed to operate. AC relays cannot simply be replaced with DC coils at the same RMS voltage: DC coil resistance is specified to limit current, whereas AC coil impedance is largely inductive and changes with frequency.

Can I use a relay to switch DC loads at its full AC contact rating?

No. DC contact ratings are significantly lower than AC ratings for the same relay. Because DC current does not cross zero, arcing is sustained during contact opening and DC loads erode contacts faster. Always consult the manufacturer's DC derating table, and consider solid-state relays or contactors designed specifically for DC loads at higher voltages or currents.

Related diagrams

Free electrical calculators

Edit this diagram free in the online editor