The usual advice for switching an LED strip, a fan or a solenoid from an Arduino or a Raspberry Pi is “use a MOSFET,” and a part that turns up again and again in those guides is the IRFZ44N. On a 5 V Arduino it often works badly, and on a 3.3 V Pi it may not work at all. The reason is printed on page two of the datasheet, in a line most people read the wrong way. This post compares two real parts, the IRFZ44N and the logic-level IRLZ44, using the numbers in their datasheets.
The low-side switch
Where the MOSFET goes
The simplest arrangement puts an N-channel MOSFET between the load and ground:
+12 V ──── load (LED strip, fan, solenoid) ──── drain
│
MOSFET (N-channel)
│
GPIO ──── 100 Ω ──── gate source
│ │
10 kΩ │
│ │
GND ───────────────────┴──────────────────────────┘
The load’s positive side connects to its own supply. The MOSFET’s source sits at ground, shared with the microcontroller. When the gate is driven high relative to the source, the channel between drain and source conducts and current flows through the load.
Why low-side
Texas Instruments’ application note on common MOSFET mistakes explains why this layout is the easy one. With the load on the drain and the source at ground, the gate only needs to be driven to the minimum value of VGS where RDS(on) is specified in the datasheet. Put the same N-channel part on the high side, between the supply and the load, and the gate has to go higher than the supply itself. The note’s example is a 24 V input with a 4.5 V gate requirement, which means a gate near 28.5 V. A microcontroller pin cannot do that without extra circuitry.

What VGS(th) actually measures
250 microamps
Every MOSFET datasheet lists a gate threshold voltage, VGS(th). It looks like the answer to “how much voltage turns this on.” It is not.
The test condition is printed next to it. On the IRFZ44N datasheet from Infineon (the automotive-qualified AUIRFZ44N version of the part), the threshold is 2.0 V minimum, 4.0 V maximum, measured with VDS = VGS and a drain current of 250 µA. The Vishay IRLZ44 datasheet uses the same 250 µA condition. That is a quarter of a milliamp. The threshold is the gate voltage at which the transistor just barely starts to conduct.
The mistake, as TI describes it
The TI note names the error directly. The common mistake is “assuming as long as VGS≥ VGS(th), the FET is on and operates as intended in the application.” To get the on-resistance the datasheet promises, it says, the gate voltage must be at least the minimum value at which RDS(on) is specified.
Its own example part has a typical threshold of 1.75 V, but its on-resistance is only specified from 4.5 V upward. The note describes a customer who had to redesign because the application drove the gate at 3.3 V instead of 4.5 V. Below the specified voltage, the curve of resistance against gate voltage goes nearly vertical, so small changes cause very large changes in RDS(on).
Two parts, same package, different gate
Reading the right line
The number that matters is the gate voltage at which RDS(on) is specified. Side by side:
| IRFZ44N (Infineon) | IRLZ44 (Vishay) | |
|---|---|---|
| Drain-source rating | 55 V | 60 V |
| VGS(th) at 250 µA | 2.0 to 4.0 V | 1.0 to 2.0 V |
| RDS(on) max | 17.5 mΩ at VGS = 10 V | 28 mΩ at 5 V, 39 mΩ at 4 V |
| Lowest gate voltage with an RDS(on) spec | 10 V | 4 V |
| Gate-source absolute max | ±20 V | ±10 V |
| Total gate charge, max | 63 nC at 10 V | 66 nC at 5 V |
The IRFZ44N has the lower on-resistance on paper, 17.5 milliohms against 28. But its data sheet specifies that resistance only at 10 V on the gate, and the static table gives no value at any lower voltage. From a 5 V pin, nothing in the document says how hard it will be on.
The IRLZ44’s datasheet puts “Logic-level gate drive” in its opening list and specifies on-resistance at 4 V and 5 V. That is what “logic level” means on a MOSFET: a part whose datasheet guarantees low resistance at the gate voltages a logic chip can supply.
On a 5 V Arduino
A 5 V output pin meets the IRLZ44’s 5 V specification directly: at most 28 mΩ. With the IRFZ44N, 5 V sits inside the range where the part has started conducting but where no resistance figure is promised. Depending on the individual transistor it may run cool or it may run hot. A part whose threshold happens to land near the 4 V maximum will barely be on.
On a 3.3 V Raspberry Pi
Raspberry Pi’s documentation is clear about its pins: they operate at 3.3 V and aren’t 5 V tolerant. 3.3 V is below the IRFZ44N’s maximum threshold of 4.0 V, so a given IRFZ44N may not turn on in any useful sense. It is also below the 4 V at which the IRLZ44’s on-resistance is specified. The IRLZ44’s threshold of 1 to 2 V means it will conduct at 3.3 V, but the datasheet does not say how well, which is exactly the situation in TI’s redesign story. For a 3.3 V controller, the part to look for is one whose RDS(on) is specified at 2.5 V or lower, or a small driver stage in front of the MOSFET.

Heat: the cost of resistance
Current squared times resistance
A MOSFET that is fully on still has some resistance, and the power it turns into heat is the current squared times that resistance. TI’s note puts it in one line: conduction or I2R loss is directly proportional to RDS(on).
Using the IRLZ44’s maximum figures:
| Load current | At 5 V gate (28 mΩ) | At 4 V gate (39 mΩ) |
|---|---|---|
| 2 A | 0.11 W | 0.16 W |
| 5 A | 0.70 W | 0.98 W |
| 10 A | 2.8 W | 3.9 W |
Doubling the current quadruples the heat. Two amps through a fully driven logic-level part is a fraction of a watt. Ten amps is several watts, and whether that needs a heat sink is a question for the thermal section of the datasheet and the room around the part.
The rating on the box is not the operating point
The IRLZ44’s continuous current rating is 50 A, with the case held at 25 °C. That condition describes a case clamped to a large, ideally cooled heat sink. In free air on a breadboard, the limit is set by how much heat the package can shed, not by that number.
A MOSFET that is only partly on is worse still. If the gate voltage leaves the channel at several times its rated resistance, the heat rises by the same factor. A standard part driven from a logic pin is the usual cause when a MOSFET runs hot at a modest load.
Two resistors on the gate
The pull-down
When a microcontroller resets or boots, its pins usually float for a moment. A floating MOSFET gate is not neutral. TI calls it a common cause of failure: the gate can charge up to a voltage that unintentionally causes drain current to flow. The fix in the same note is a resistor from gate to source, somewhere between 10 kΩ and 1 MΩ. It holds the gate at ground whenever nothing is driving it, so the load stays off during boot.
The series resistor
The gate behaves like a capacitor. Charging it all at once can briefly draw more current than a pin should supply. A Raspberry Pi pin, for example, is rated at 16 mA, with 50 mA for all GPIO pins combined.
The IRLZ44’s maximum gate charge is 66 nanocoulombs. At a steady 16 mA, moving that much charge would take about 4 microseconds. That is a rough figure, since the real current varies during switching, but it shows the scale: for turning a fan or a light on and off, the gate charges almost instantly. A series resistor of around 100 Ω is a common choice to soften the peak current. It is a convention, not a datasheet figure.

Motors, relays and solenoids
The voltage spike at turn-off
Anything with a coil stores energy in its magnetic field. When the MOSFET switches off, that energy has to go somewhere. Analog Devices describes what happens without protection: the voltage across the drain and the source (VDS) increases until the MOSFET breaks down. Its most common solution is a free-wheeling diode across the load, often called a flyback diode.
The diode goes across the coil, pointing toward the positive supply, so it does nothing while the load is on. At turn-off it gives the coil’s current a loop to decay through, and the spike never reaches the drain.
For an LED strip or a heater the diode is not needed. For a motor, a relay coil, a solenoid valve or a door strike, it is part of the circuit.
Do not exceed the gate rating
One last line from both datasheets: the absolute maximum gate-source voltage. The IRLZ44’s is ±10 V. The IRFZ44N’s is ±20 V. TI’s advice is plain: never operate the part with VGS above its absolute maximum. A logic-level part fed from a 12 V gate driver meant for a standard MOSFET will not survive.
Picking a part
The order of checks
- Find the lowest gate voltage at which RDS(on) is specified. It has to be at or below the microcontroller’s output voltage.
- Check the drain-source rating against the load supply, with margin.
- Work out current squared times resistance at the real load current with the RDS(on) for that gate voltage, and decide whether the heat is acceptable.
- Add the gate pull-down, and a flyback diode for anything with a coil.
The threshold voltage tells when conduction starts. The RDS(on) line tells when the part is actually a switch.
Sources
- Texas Instruments, SLPA021, “Avoid Common Mistakes When Selecting And Designing With Power MOSFETs,” November 2024 (PDF): https://www.ti.com/lit/pdf/slpa021
- Texas Instruments, SLPA021, section 4.2, “Gate-to-source Threshold Voltage” (HTML): https://www.ti.com/document-viewer/lit/html/SLPA021/GUID-D1AE114D-4949-4F46-88AA-5873336BA879
- Vishay Siliconix, IRLZ44 / SiHLZ44 Power MOSFET datasheet, Rev. D, October 25, 2021: https://www.vishay.com/docs/91328/irlz44.pdf
- Infineon, AUIRFZ44N datasheet (2017 revision, via Mouser): https://www.mouser.com/datasheet/2/196/Infineon_AUIRFZ44N_DS_v01_02_EN-3160058.pdf
- Raspberry Pi documentation, “Raspberry Pi hardware,” 40-pin GPIO header: https://www.raspberrypi.com/documentation/computers/raspberry-pi.html
- Analog Devices, “Switching Inductive Loads With Safe Demagnetization”: https://www.analog.com/en/resources/technical-articles/switching-inductive-loads-with-safe-demagnetization.html

[…] the board’s 5 V rail, and switch it from the 3.3 V pin with a transistor. The earlier post on using a MOSFET as a switch covers that circuit. The resistor is then calculated for the 5 V supply, as in the table […]