A flyback diode protects a transistor or driver from the voltage generated when a DC relay coil is switched off. Choosing one requires more than matching the coil's nominal voltage: the diode must tolerate the actual reverse voltage, current pulse, repetition rate, temperature, and the effect its clamp has on relay release time. Begin with the relay and driver datasheets, then choose a suppression method that fits the load's timing and safety requirements.

Flyback diode connected antiparallel across a relay coil
A diode across a DC coil is reverse-biased during normal energization.

What happens when a coil turns off

Stored energy creates a turn-off transient

A relay coil stores magnetic energy while current flows. When the driver opens, the current cannot instantly become zero; the coil produces a voltage that attempts to keep current flowing. Without a controlled path, that voltage can exceed the switch's rating, cause avalanche, create electromagnetic interference, or damage nearby circuitry. A diode connected across a DC coil provides a circulating path for the current and limits the voltage across the winding to the diode's forward drop plus wiring effects.

That protection changes the release behavior. The low clamp voltage lets coil current decay relatively slowly, so the magnetic field and armature may take longer to collapse than with a higher-voltage clamp. This can delay contact release. In an ordinary non-safety-critical relay circuit, that may be acceptable; in a fast interlock or switching sequence, the delay may matter. Use the relay maker's release-time guidance and validate the actual circuit.

Confirm whether a diode is needed

Check whether the relay already contains a diode, resistor, LED, or other suppression component. Some DC relays are polarity-sensitive because a diode is built across the coil. The datasheet, wiring diagram, and marked coil polarity take priority over appearance. AC coils require a different suppression approach; a single rectifier diode across an AC coil would conduct during part of each cycle and is not a suitable generic solution.

Identify the switching device too. A bipolar transistor, MOSFET, integrated driver, and relay module can have different clamp ratings and internal protection. If a driver already has a specified clamp or recirculation path, adding another component may alter current decay or conflict with the design. Do not assume every module needs an external diode or that the silkscreen shows the internal circuit.

Wire the diode with the correct polarity

For a low-side N-channel MOSFET or NPN transistor driving a DC coil, the usual simple arrangement is a diode in parallel with the coil: cathode toward the positive coil supply, anode toward the transistor side of the coil. While the coil is energized, the diode is reverse-biased. When the switch turns off, the induced current circulates through the coil and diode. If reversed, the diode can become a near-short across the supply when the driver turns on and may fail catastrophically.

The physical pin orientation depends on the package and circuit. Confirm the cathode band or datasheet symbol before soldering. For high-side switches, H-bridges, polarity-reversing coils, or multi-channel modules, use the exact protection topology specified by the driver manufacturer; a diode drawn for a low-side circuit cannot simply be copied without checking current paths.

Relay coil and candidate suppression diodes with component datasheets
Compare diode ratings with the coil and switch documentation, not just package size.

Read the ratings that matter

Check voltage, current, temperature, and repetition

  • Reverse-voltage rating: Choose a diode whose repetitive reverse-voltage rating exceeds the maximum voltage it can see in the actual circuit, including supply tolerance and transients. The coil supply voltage alone may not describe every switching-node event. Some relay manufacturers publish conservative selection guidance for their product families; apply it only where it matches the exact relay and circuit.
  • Forward current: At turn-off, the diode initially carries approximately the coil current that was flowing immediately beforehand. Check the diode's pulse-current and thermal ratings for the pulse duration, repetition rate, ambient temperature, and mounting. A printed average-current value is not, by itself, proof that every repetitive pulse is safe.
  • Surge and recovery: Check non-repetitive surge ratings and reverse-recovery characteristics when switching is frequent or the circuit is fast. A general-purpose rectifier can be adequate for many slowly switched relay coils, but a high-frequency driver or PWM load may call for a different part.
  • Temperature and package: Verify dissipation, derating, soldering conditions, spacing, and the manufacturer's thermal notes. A small axial diode and an SMD part with similar headline ratings may not have the same thermal performance on the real board.

Do not select only by “same voltage” or “same physical size.” If the relay datasheet specifies a suppressor, use it as the starting point. If it does not, determine coil current from the part data or a safe measurement, identify the driver limit, and consider how often the coil switches. When the circuit is safety-related, have the complete design reviewed rather than relying on a hobby-level rule.

Suppression choices and their trade-offs
MethodTypical effectDesign question
Ordinary diode across a DC coilLow clamp voltage and simple current recirculation; may lengthen release timeIs the slower release acceptable for this relay and load?
Diode in series with a Zener or TVS clampHigher clamp voltage can make coil current decay fasterCan the switch safely withstand the clamp plus supply and transients?
Resistor or RC networkCan shape the transient and timing, with different losses and voltage stressDoes the exact relay/driver documentation specify values and placement?
Integrated driver clampUses a device-specific internal recirculation pathWhat clamp voltage and current path does the driver datasheet guarantee?

Account for release time and contact behavior

If contacts must open quickly, a simple diode may be too slow. A diode-plus-Zener or a rated TVS can permit a higher coil voltage during decay, increasing the rate at which current falls. That also raises stress on the transistor or driver. Check the maximum drain-source or collector-emitter voltage with supply tolerance and parasitic wiring included. The clamp rating must protect the switch while providing the intended release behavior; there is no universally best clamp.

Relay release time can affect contact arcing and the timing of downstream equipment. Suppression can reduce the turn-off spike but also change armature motion and contact separation. For a contactor or high-current power relay, follow its maker's instructions and verify the actual load. Do not assume that a coil diode protects the switched contacts from load arcs; contact-load suppression is a separate design problem.

Relay coil suppression circuit shown alongside a switching transistor
A faster clamp may protect the switch and shorten release, but must stay inside the transistor ratings.

Installation and verification checklist

  1. Disconnect power and verify the circuit is safe to handle.
  2. Confirm the relay is a DC coil and identify built-in suppression and polarity.
  3. Read the relay and driver datasheets; note coil current, switch voltage limit, and permitted clamp.
  4. Place the diode physically close to the coil or driver path recommended by the design so the recirculation loop is short.
  5. Check for a reversed diode, solder bridge, wrong part, or inadequate spacing before energizing.
  6. Test the coil at the intended supply and control rate, observing switch voltage and release time with suitable instruments.

For high-energy loads or a non-isolated circuit, do not conduct an improvised live test. Use a rated differential or isolated measurement method and qualified supervision. A generated illustration in this article is not a tested wiring result.

Estimate energy and switching stress

A coil's stored magnetic energy is often represented by E = ½LI², where inductance and current must come from the actual coil and operating point. This relationship explains why a larger coil current can increase the energy that the suppressor and switch must handle. It does not let you choose a diode from coil voltage alone: inductance, current at turn-off, repetition, thermal path, clamp voltage, and parasitic wiring all matter.

For a relay switched infrequently, a suitably rated rectifier diode may be adequate when its release delay is acceptable and the datasheet supports the application. For frequent operation, PWM, hot ambient, or a high-energy coil, calculate repetitive heating and review recovery and pulse ratings. If the driver uses an integrated clamp, follow its datasheet rather than placing a second diode by habit.

What a diode can and cannot protect

The coil suppressor limits the turn-off transient at the switching device. It does not make the relay contacts safe for a load that exceeds their voltage, current, inrush, or life rating. It also does not repair a weak coil supply or stop mechanical chatter. Contact suppression may require a separate network designed for the switched load, and AC and DC loads behave differently.

After installation, check the coil voltage when energized, the switch-node peak at turn-off, and the release time under the intended repetition rate. Use an appropriate probe and isolation method. Compare the observed peak to the switch's absolute maximum with margin; do not assume the clamp voltage equals the diode label because wiring inductance and a Zener/TVS dynamic voltage also contribute.

Sources and related diagnosis

If the relay itself clicks repeatedly, first diagnose its supply and coil operation with our relay chatter guide; adding a diode will not fix an undervoltage coil.

Sources consulted 6 November 2026. Verify all component ratings against the exact relay and driver. No universal diode part number or performance value is prescribed.