All articles

    The Zener Diode: A Fixed Voltage and Protection from Overvoltage

    How a zener works in reverse to hold a voltage, reading its datasheet specifications, calculating the series resistor and zener power with a 12 V to 5.1 V example, when it works as a regulator and when it doesn't, boosting current with a transistor, protecting microcontroller inputs and MOSFET gates, and how to test it.

    Updated 6 min read

    An ordinary diode blocks when you reverse it. A zener, however, is designed to work in reverse: when the reverse voltage reaches a certain value (Vz), it starts conducting and stops the voltage rising further. That makes it the simplest way to create a fixed voltage or protect an input from overvoltage.

    The input rises, and the output across the zener stops at the zener voltage
    The input rises, and the output across the zener stops at the zener voltage

    Wiring

    • The cathode (the stripe side) to positive, meaning it's connected in reverse.
    • A series resistor is essential to limit the current. Without it, the zener draws a large current and burns out.
    • Common values: 3.3, 5.1 and 12 V and others, in 0.5 and 1 W ratings.
    • In the forward direction it behaves like any ordinary diode: about 0.7 V.

    See diode types.

    Reading its specifications

    SpecificationMeaning
    VzThe zener voltage, at a specific test current
    IztThe test current Vz was measured at (e.g. 49 mA for a 5.1 V 1 W zener)
    IzkThe minimum current that must flow for the voltage to hold (the "knee")
    ZzThe dynamic impedance: how much the voltage changes with current
    PMaximum power

    And there's tolerance: a 5.1 V zener at 5% can be anywhere from about 4.85 to 5.35 V. If you need accuracy, voltage reference chips such as the TL431 are far more precise.

    Common part numbers: the 1N47xx family at 1 W (1N4728A = 3.3 V, 1N4733A = 5.1 V, 1N4742A = 12 V), and the BZX55 family at half a watt, with the voltage in the name: BZX55C5V1 = 5.1 V (the V stands for the decimal point).

    Calculating the resistor

    R = (Vin − Vz) ÷ (Iz + I_load)

    Example: a 12 V input, a 5.1 V zener, a 10 mA load, and you want the zener to carry at least 5 mA:

    • R = (12 − 5.1) ÷ 0.015 ≈ 460 Ω → use 470 Ω.
    The resistor drops the extra voltage, and the zener holds the node at its voltage, taking whatever current the load doesn't need
    The resistor drops the extra voltage, and the zener holds the node at its voltage, taking whatever current the load doesn't need

    Zener power: calculate the worst case

    The worst case is when the load is removed: all the current flows through the zener.

    • I = (12 − 5.1) ÷ 470 ≈ 14.7 mA.
    • P = 5.1 × 0.0147 ≈ 75 mW → a 0.5 W zener is comfortable.
    • And the resistor: (12 − 5.1)² ÷ 470 ≈ 0.1 W → a ¼ W resistor is enough.

    If the input varies (a battery, for example), calculate with the highest voltage. And if the load draws more than calculated, the zener current falls below Izk and the voltage drops. So the calculation must cover the highest input with the lowest load (for the zener's power), and the lowest input with the highest load (so the voltage holds). The zener resistor calculator handles both cases.

    Does it work as a voltage regulator?

    For small currents only:

    • Poor efficiency: current flows through the resistor and zener all the time, even when the load doesn't need it.
    • The voltage shifts a little with current and temperature.
    • Suitable for: a simple voltage reference, powering a small sensor, or a comparator's Vref.
    • Not suitable for: running an Arduino or a motor. Use a 7805 or LDO regulator or a buck.

    Boosting the current with a transistor

    If you need a bit more current (hundreds of milliamps) without a regulator: the zener and its resistor set the voltage on the base of an NPN transistor, with the load on the emitter. The transistor carries the current, and the zener only a small current. The output is about Vz − 0.7 V, so for a 5 V output use a 5.6 or 5.7 V zener. This is in fact the idea inside all linear regulators, and the transistor's heat is calculated like any linear regulator. See the heatsink article.

    Protection: the most important use

    Protecting a microcontroller input

    A signal from outside might exceed 3.3 V?

    • A series resistor (say 1k–10k) + a 3.3 V zener (or 3.0 V) from the pin to ground.
    • If the voltage rises, the zener clips it and the resistor limits the current.
    • Watch out: a small zener leaks a little current before its voltage, which can affect a high-impedance ADC reading.

    Protecting a MOSFET gate

    A zener between gate and source so the gate voltage doesn't exceed its limit (usually ±20 V). See what is a MOSFET.

    Protecting the load if the regulator fails

    Some regulators, when they fail, put the full input voltage on the output. A zener a little above the output voltage (say 5.6 V on a 5 V rail) with a fuse before it: if the voltage rises, the zener conducts hard and blows the fuse before the load is harmed. This is a simple form of a crowbar, and it's explained alongside the LM2596 module.

    Protection from momentary high voltage

    For high-energy pulses (ESD or automotive transients) there are dedicated diodes called TVS, stronger than an ordinary zener. See static electricity.

    A zener or a TL431?

    The TL431 looks like a small three-legged transistor, but it behaves like a zener whose voltage you choose with two resistors, from 2.5 V up to 36 V. Compared with a zener:

    ZenerTL431
    Accuracyusually 5%0.5–2%
    Voltage stability with currentmoderatenearly excellent
    Voltagefixed valuesany value with two resistors
    Minimum currentdepends on the zenerabout 1 mA
    Pricecheaperalso cheap

    So for protection and clipping a zener is enough and simpler, and for an accurate reference voltage (a comparator, measuring a battery voltage, or cutting off a load at a set voltage) the TL431 is far better. And you'll find one inside most phone chargers, controlling the output voltage.

    How do you test it?

    The diode mode on a multimeter only shows the forward direction (about 0.7 V), and won't reach the zener voltage because the meter outputs a low voltage. To really measure Vz:

    1. A power supply a few volts above Vz (say 12 V for a 5.1 V zener).
    2. A 1 kΩ resistor in series, with the zener reversed.
    3. Measure the voltage across the zener: that's Vz at about 7 mA.

    FAQ

    Can I put two zeners in series? Yes, the voltages add: two 6.2 V zeners ≈ 12.4 V. Useful if you can't find the value.

    The zener gets very hot? The power exceeds its limit: the resistor is too small, the input is higher than calculated, or the load was disconnected. Recalculate the worst case.

    Circuits Nerd
    © 2026 Circuits Nerd. All rights reserved.