MOSFET vs Relay: Which Switch Should Your Project Use?
MOSFET vs relay comes down to isolation, switching rate, and heat. Official 12 mΩ and 62.5 °C/W figures show how a cool-looking MOSFET warms up.

The MOSFET versus relay choice often ends on one question that is not a performance number: does the load have to be electrically isolated from the control circuit? Where that isolation is required, a relay remains the switch that provides it. Where it is not, the next numbers that decide the design are dissipation and drive, and those can be worked from a datasheet. On the official Good-Ark AGMN12010LD datasheet (Rev. A), maximum RDS(on) is 12 mΩ at VGS = 10 V and ID = 20 A, and typical RθJA is 62.5 °C/W on 1 square inch of FR4 with 2 oz single-sided copper in still air at 25 °C. Those two figures, not the 100 V and 79 A headlines, tell you whether a “low on-resistance” MOSFET will stay cool on your board.
(Last modified date: November 19, 2026)
A relay is an electromagnet operating a set of contacts, so the coil circuit and the load circuit can sit at different voltages with no electrical connection between them. A MOSFET is a semiconductor switch: a gate voltage creates a conducting channel, load current flows through that channel, and there is no moving contact and no galvanic separation between the control node and the load. Use the checklist below in order. The isolation question can finish the discussion before any power calculation starts.
A checklist for choosing between a MOSFET and a relay
- Write down whether the load must be galvanically isolated from the control circuit. If a low-voltage controller has to switch a mains load, or any circuit that must not share a conductive path with the operator or the logic supply, a relay’s isolated contacts are the feature that answers the question. A MOSFET does not provide that isolation unless some other component does, such as an optocoupler or a separate isolated supply.
- Write down the load voltage and whether the work is covered by local electrical regulations. This article does not provide instructions for mains wiring. Mains work belongs to qualified people and to the rules that apply at the installation.
- Write down how often the switch must operate, and whether you need pulse-width control. A relay’s contacts wear with each operation and are not a PWM element. A MOSFET has no moving contact and is the usual choice for dimming, speed control, or any converter that regulates by switching. If the project only needs occasional on/off and isolation, a relay may still be the simpler part.
- If a MOSFET remains in the running, calculate conduction loss from the official RDS(on) at the gate voltage you will actually use, then convert that loss into a temperature rise with the official thermal resistance that matches your board. The derivation is shown in the next section. Do not treat a 79 A package headline as the current your layout can carry.
- Confirm that the gate can be driven to the voltage used in the RDS(on) row. Official VGS(th) for AGMN12010LD is 1.4 V to 2.2 V, but the 12 mΩ maximum is specified at 10 V, and the 14 mΩ maximum is specified at 4.5 V. A 3.3 V GPIO is not automatically that 4.5 V or 10 V condition. Logic-level drive is discussed in logic-level power MOSFETs.
- Provide a flyback path for any inductive load, including a relay coil if you use a transistor to drive the coil. Placement and the release-time trade are covered in flyback diodes on relays.
- Write down what should happen if the switch fails. A MOSFET can fail as a short, leaving the load on. That is one more reason isolation and a defined fail-safe matter more than a headline current rating.
Working the MOSFET heat numbers from the official row
Take a 10 A low-voltage load that does not need isolation, so a MOSFET is still a candidate. Official maximum RDS(on) for AGMN12010LD is 12 mΩ at VGS = 10 V and ID = 20 A. Using that official maximum as the conduction resistance, P = I²R = 10² × 0.012 = 1.2 W. This is a model with a stated assumption: the 12 mΩ figure is specified at 20 A, not at 10 A, and it does not include switching loss. On the official RθJA of 62.5 °C/W, the rise is 1.2 × 62.5 = 75 °C. Starting from the 25 °C still-air condition in that note, the estimated junction temperature is about 100 °C, before any switching loss and only if the copper matches the 1 square inch, 2 oz, still-air setup.
If the gate is driven at 4.5 V instead of 10 V, the official maximum at ID = 10 A is 14 mΩ. Then P = 10² × 0.014 = 1.4 W and the same official RθJA gives a 87.5 °C rise, or about 112 °C from a 25 °C starting point. Official continuous current is 79 A at TC = 25 °C and 56 A at TC = 100 °C, with VGS = 10 V; official power dissipation is 150 W at TC = 25 °C. Those case-temperature figures assume a thermal path that a small TO-252 footprint on a small pad will not provide by itself. Official RθJC is 1 °C/W. Package and copper details are in TO-252 / DPAK thermal design, and the way on-resistance rises with temperature is in MOSFET thermal reality and why MOSFETs get hot.
A relay still wins the projects where those calculations are beside the point: isolated mains switching, occasional actuation, and contacts that can carry current with very little semiconductor drop. Its costs are equally specific. The coil draws current while the relay is held on, the contacts have a finite mechanical life, switching is too slow for pulse-width control, and the coil needs a flyback diode when it is driven from a transistor. A first-project checklist is also in choosing a MOSFET: beginner checklist and in the power MOSFET selection guide.
TO-252 is the official outline for AGMN12010LD. The product page is AGMN12010LD; low- and medium-voltage MOSFET listings start at the LV/MV MOSFET catalog. Official drain-source breakdown is 100 V minimum, total gate charge is 20 nC typical to 10 V, and the operating junction range is −55 °C to +175 °C. Those figures describe one official device used here as a worked example, not a recommendation that this MOSFET replaces every relay.
The four questions that actually decide it
Most of these arguments are settled before any dissipation number is calculated. Answer these in order and the choice usually makes itself.
| Question | Points to a relay | Points to a MOSFET |
|---|---|---|
| Must the load be galvanically isolated? | Yes, and nothing else provides the barrier | No, or an optocoupler already does |
| How often does it switch? | Occasional on/off, long dwell times | Thousands of cycles, or PWM dimming and speed control |
| What does the drive cost? | A coil current held on for the whole on-time | Gate charge only, but the drive must reach the rated VGS |
| What should happen on failure? | Contacts can weld, but the coil circuit stays separate | A shorted die leaves the load energised |
The failure row is the one most often skipped. A switch that fails closed is a design decision, not an accident, and it belongs in the same review as the thermal calculation.
FAQ
Why use a MOSFET instead of a relay?
Use a MOSFET when you need fast or repeated switching, pulse-width control, or very low control current, and when the load does not require galvanic isolation from the control circuit. If isolation is required and those speed features are not, a relay is the switch that provides the isolation.
Can a MOSFET be used as a relay?
It can replace a relay wherever the load shares a common ground with the control circuit, or where isolation is provided by something else. It cannot replace a relay’s isolation. A MOSFET has a conductive path between its control side and its load.
Is a MOSFET just a transistor?
Yes. It is one of the main transistor families, controlled by a voltage at an insulated gate rather than by a base current. The mechanism is explained in what a MOSFET is.
Do the 12 mΩ and 79 A ratings mean the part will run cool at 10 A?
No. Official maximum RDS(on) of 12 mΩ is specified at 10 V and 20 A. Using that value at 10 A gives 1.2 W of conduction loss; official RθJA of 62.5 °C/W then implies a 75 °C rise on the stated 1 square inch board. The 79 A figure is a TC = 25 °C current, not a small-pad, still-air current.
Which switch should a first low-voltage project use?
If the load is a low-voltage LED, motor, or fan that shares a ground with the controller, a MOSFET lets you try on/off and pulse-width control without a coil. If the load plugs into mains, do not treat this article as wiring guidance; isolation and safety rules come first, and that work belongs to qualified people.
