What Is a Freewheeling Diode? Purpose and Function

A freewheeling diode is a diode placed in parallel with an inductive load (like a motor, relay, or solenoid) to safely absorb the voltage spike that occurs when power to that load is suddenly cut. Without it, the energy stored in the inductor’s magnetic field has nowhere to go, producing a voltage spike that can easily destroy transistors, MOSFETs, and other switching components in the circuit. You’ll also see it called a flyback diode, snubber diode, or suppression diode.

Why Inductive Loads Create Voltage Spikes

Any component with a coil of wire, such as a relay, solenoid, or motor, is an inductor. When current flows through it, energy gets stored in a magnetic field around the coil. The key property of an inductor is that it resists sudden changes in current. When you flip a switch or turn off a transistor, the current tries to drop to zero almost instantly, and the inductor fights back by generating a voltage spike in the opposite polarity. The size of that spike follows a simple relationship: voltage equals the inductance multiplied by how fast the current changes. The faster the cutoff, the higher the spike.

These spikes can be enormous relative to the supply voltage. A Renesas application note documents a case where a transistor switching just 400 milliamps through a 70 millihenry solenoid was exposed to 420-volt spikes on a 150-volt circuit. Transients exceeding ten times the normal circuit voltage have been observed across power semiconductors during inductive switching. That kind of overvoltage will punch through and permanently damage most transistors and MOSFETs. If the spike doesn’t kill the component outright, repeated exposure degrades it over time, reducing its performance until it fails.

Without any protection, the voltage can climb so high that current arcs through the air across mechanical switch contacts. That arc generates intense heat and causes premature erosion of the contacts, shortening the life of relays and switches.

How a Freewheeling Diode Solves the Problem

The fix is simple: place a diode across the inductive load, oriented so that it blocks current during normal operation but conducts when the voltage spike occurs. During normal operation, the diode is reverse-biased (current flows the “wrong way” for it), so it sits there doing nothing. The moment the switch opens and the inductor generates its reversed-polarity spike, that voltage forward-biases the diode, and it starts conducting.

This creates a temporary loop. The inductor and diode form their own little circuit, and the current that was flowing through the coil now “freewheels” through the diode instead. The inductor’s stored magnetic energy dissipates gradually as heat in the coil’s own wire resistance, and the current decays smoothly to zero rather than stopping abruptly. The voltage across the inductor gets clamped to the diode’s forward voltage drop, typically 0.7 to 1.5 volts for a standard silicon diode. That’s a far cry from the hundreds of volts the spike would otherwise produce.

Where Freewheeling Diodes Are Used

Any circuit that switches an inductive load on and off needs one. The most common applications include:

  • Relay driver circuits: When a microcontroller or transistor drives a relay coil, the freewheeling diode protects the driving transistor from the coil’s voltage spike at turn-off.
  • Solenoid controls: Solenoids in home appliances, printers, HVAC systems, irrigation valves, and engine or transmission controls all require freewheeling diodes. Texas Instruments notes that any circuitry driving a solenoid must never abruptly stop current flow, or the resulting voltage spike can damage the driving MOSFET.
  • Motor drivers: DC motors are inductive, and motor driver circuits include freewheeling paths to handle the energy released during braking or direction changes.
  • PWM-controlled loads: When you use pulse-width modulation to regulate current through a solenoid or motor (a common technique for power savings), the load is being switched on and off rapidly, sometimes thousands of times per second. The freewheeling diode provides a current path during every “off” phase of the PWM cycle, smoothing the current waveform and preventing repeated voltage spikes.

Many modern transistor modules, particularly IGBTs used in power electronics, come with a freewheeling diode built in. This integrated “antiparallel” diode provides current bidirectionality, handling the freewheeling function without requiring an external component.

Choosing the Right Diode

Not every diode works well in every freewheeling application. The two most important ratings are the maximum reverse voltage the diode can withstand and the maximum forward current it can carry. The reverse voltage rating needs to exceed the supply voltage of your circuit, since the diode sees the full supply voltage across it during normal operation. The forward current rating needs to handle the peak current flowing through the inductive load at the moment of switch-off.

For low-frequency switching (like turning a relay on and off a few times per second), a standard silicon rectifier diode works fine. The 1N4001 through 1N4007 family is the classic choice for small relay and solenoid circuits.

Speed becomes critical in higher-frequency applications. Every diode takes a small amount of time to transition from conducting forward current to blocking reverse voltage. This is called the reverse recovery time. Conventional rectifiers take 1 to 20 microseconds to make this transition. That delay causes extra power loss and can allow brief shoot-through currents in switching circuits. Fast recovery diodes cut this to 150 to 200 nanoseconds, and ultra-fast types get down to 20 nanoseconds.

Schottky diodes are another popular option, especially in low-voltage circuits and switch-mode power supplies. They offer two advantages: a lower forward voltage drop (around 0.3 volts compared to 0.6 to 0.7 volts for silicon) and extremely fast switching, even faster than dedicated fast-recovery silicon diodes. The lower voltage drop means less energy is wasted as heat in the diode itself, and the speed makes them suitable for switching frequencies up to about 1 MHz. The tradeoff is higher reverse leakage current, which means a small amount of current flows through the diode even when it should be blocking. This matters more at higher voltages, so Schottky diodes are generally preferred for lower-voltage applications.

What Happens Without One

Omitting a freewheeling diode from an inductive circuit is one of the most common beginner mistakes in electronics, and the consequences are predictable. The voltage spike at turn-off can destroy the switching transistor or MOSFET immediately, or degrade it over repeated cycles until it fails unpredictably. In circuits with microcontrollers, the spike can propagate through the power supply and cause resets, data corruption, or permanent damage to the controller. With mechanical switches, the arcing erodes contacts and generates electromagnetic interference that can disrupt nearby electronics.

The diode itself costs pennies and adds almost no complexity to a circuit. In exchange, it clamps a potentially destructive hundreds-of-volts spike down to under two volts, protecting everything downstream. For any circuit that switches current through a coil, it’s a non-negotiable component.