All articles

    Reverse Polarity Protection: 4 Ways to Protect Your Circuit

    How to protect a circuit if someone connects the power backwards: a series diode and its drawback in numbers, the Schottky diode, a P-channel MOSFET with almost no voltage drop, its circuit and choosing the part, the fuse with a parallel diode, protection in the ground leg, a comparison, and how to test the protection safely.

    Updated 5 min read

    Every one of us has connected a battery or adapter backwards at some point. If the circuit isn't protected, the chips can burn out in a second. Reverse polarity protection is very cheap, and worth including in any design.

    When the connection is correct the diode conducts and the circuit works, and when it's reversed the diode blocks and the circuit stays safe
    When the connection is correct the diode conducts and the circuit works, and when it's reversed the diode blocks and the circuit stays safe

    What happens without protection?

    Most chips contain protection diodes between each pin and the supply and ground. If the supply is reversed, those diodes all conduct together and draw a very large current, so the chip heats up and burns out within seconds. And electrolytic capacitors reversed bulge and can pop. So the loss isn't one part; usually it's the whole board.

    1. A series diode

    The simplest thing: a diode such as the 1N4007 in the positive line.

    • Connected correctly → it conducts.
    • Reversed → it blocks, and no current flows.
    • The drawback: a drop of about 0.7 V that always wastes power. At 1 A = 0.7 W of heat. And with a 3.7 V battery, that 0.7 is a lot.

    In numbers: a lithium battery runs from 4.2 down to 3.3 V. After the diode: from 3.5 to 2.6 V. So nearly half the battery's capacity is lost, because the circuit will cut out early. And with a 3.3 V regulator that needs more than 3.5 V in, it won't work at all. That's why an ordinary diode suits a 9 or 12 V adapter and small currents, not batteries.

    2. A Schottky diode

    Like the first, but with a lower drop (about 0.3–0.5 V depending on the current), such as the 1N5819 or SS34.

    • Better efficiency.
    • Be careful: a Schottky leaks more reverse current, especially when hot.
    • Choose its current above the circuit's current with a margin: 1N5819 up to 1 A, SS34 up to 3 A, and SS54 up to 5.

    3. A P-channel MOSFET (usually the best)

    A P-channel MOSFET in the positive line:

    The drain faces the input, the source faces the circuit, and the gate goes to ground through a resistor
    The drain faces the input, the source faces the circuit, and the gate goes to ground through a resistor
    • The drain towards the input, the source towards the load, and the gate to ground (usually through a resistor).
    • Connected correctly → the body diode conducts first, the source rises, so the MOSFET turns on, and the drop is almost zero (the current × the MOSFET's internal resistance).
    • Reversed → the MOSFET is off and the body diode is blocking.
    • If the voltage exceeds the gate limit (usually ±20 V), add a Zener between the gate and source and a resistor on the gate.

    This arrangement looks odd the first time (the drain towards the input), but it's the correct one.

    Choosing the MOSFET

    • Vds: above the input voltage with a margin (for example 30 V for a 12 V circuit).
    • Rds(on) small at the gate voltage it will get. If the input is a 3.7 V battery, you need a logic-level MOSFET that turns on well at −2.5 or −3 V. See the logic-level MOSFET.
    • Examples: the AO3401 (small SOT-23, up to about 3 A), and the IRF9540 for larger currents at higher voltage.

    The calculation: a MOSFET with 0.05 Ω resistance at 2 A → a drop of 0.1 V and 0.2 W of heat. Compare that with 1.4 W in an ordinary diode.

    4. A fuse + a parallel diode (crowbar)

    A diode reversed across the supply terminals after a fuse:

    • Connected correctly → the diode is off and does nothing.
    • Reversed → the diode conducts and creates a short, the fuse blows.
    • No voltage drop in normal operation.
    • The drawback: you have to replace the fuse (or use a self-resetting PTC), and the diode must withstand the current until the fuse blows.

    With batteries, be careful: a lithium battery can deliver tens of amps into a short. The fuse must blow quickly, and the diode must survive that current momentarily (such as a 1N5408 or larger). This also protects you from an ordinary short in the circuit.

    An alternative: an N-MOSFET in the ground

    The same idea as the P-MOSFET, but N-channel in the ground line: the source towards the battery negative, the drain towards the circuit ground, and the gate to the positive through a resistor.

    • ✅ N MOSFETs are cheaper and lower in resistance than P for the same size.
    • ❌ The circuit's ground isn't the same as the battery negative (the MOSFET sits between them). If the circuit is connected to something else with its own ground (USB or a measuring instrument), the protection may be bypassed or cause problems.

    A quick comparison

    MethodDropCostNotes
    Ordinary diode~0.7 VCheapestSmall currents
    Schottky~0.3–0.5 VCheapThe most common in projects
    P-MOSFETNearly zeroMediumBatteries and high currents
    Fuse + diodeZeroCheapNeeds a fuse replacement

    Solutions without electronics

    A connector that can't be fitted backwards (such as a JST or DC jack) prevents the problem in the first place. See connectors.

    But note: even a one-way connector can have its wires fitted wrongly during manufacture (such as JST batteries with a different order). That's why electronic protection + the connector = complete safety.

    Test the protection safely

    1. Use a bench power supply with a small current limit (for example 100 mA).
    2. Connect it reversed, and confirm the current is almost zero (or that the fuse blew with the crowbar method).
    3. Measure the voltage on the circuit with the multimeter: it must be zero, not negative.
    4. Connect it correctly, and measure the drop across the protection part at the real load.

    FAQ

    Why is the P-MOSFET fitted "backwards"? So its internal body diode conducts in the right direction and gives the source a voltage to turn the MOSFET on. If you fitted it in the "normal" orientation, the body diode would always conduct and the protection wouldn't work.

    Is the Arduino Uno protected? There's a diode on the DC jack input, so it's protected on that side. But the 5V pin and VIN aren't protected in the same way, so if you power it through them in reverse the board may be damaged. See powering the Arduino.

    Circuits Nerd
    © 2026 Circuits Nerd. All rights reserved.