2N7002 Guide: Pinout, Gate Drive and Switching Limits
A small MOSFET can make a prototype work while leaving the production design without a defensible current margin. The 2N7002 is a good example: its gate threshold may sit below a microcontroller's output voltage, yet the resistance specification that matters to your load may be measured at a higher gate voltage. Reading those two rows as if they describe the same operating point is an expensive shortcut.
This guide separates threshold, usable gate drive and load current. It compares named manufacturer documents, shows a low-side connection and gives a practical replacement checklist. The calculations are design examples, not bench measurements, and a familiar part number never substitutes for the approved manufacturer's exact datasheet.
1. Where a 2N7002 belongs
The useful starting point is a modest switching job: pulling a signal low, enabling a control input or switching a small load with a common ground. These applications benefit from a compact N-channel MOSFET and straightforward gate control. They still require a defined output-low voltage, leakage allowance, transient environment and acceptable power dissipation.
Write the load requirement before selecting the transistor. An input that needs only a few milliamps pulled to ground is a different problem from a relay, a capacitive power rail or a pulsed emitter. A device that handles the first task convincingly may fail the second because of startup current, heating or an inductive voltage spike.
Search the 2N7002 catalogue by full manufacturer and ordering code. Treat a listing as a sourcing lead until the package, electrical limits and lot documentation are confirmed. This article makes no promise that every listed 2N7002 has the same silicon or is a qualified substitute.
2. 2N7002 pinout: confirm the viewing direction
The Nexperia reference assigns gate to pin 1, source to pin 2 and drain to pin 3 in SOT23. In the simplified top view, the single lead is drain and the opposite pair is gate and source. Rotate the drawing to match the PCB orientation before comparing it with a footprint or probing a fitted device.

Check the schematic symbol's numbered pins against the footprint, not just its letter labels. An apparently correct G-S-D symbol can still be connected to the wrong pads. Record which face the manufacturer drawing shows and whether the assembly view has been mirrored. This is especially important when replacing a through-hole transistor with a surface-mount design.
A body-diode reading can help investigate an unpowered assembly, but other board components may affect the result. It does not authenticate the transistor or establish its resistance rating. Use electrical inspection alongside the reel label, purchase traceability and approved package information.
3. Why threshold is not the fully-on voltage
Nexperia's threshold row uses a drain current of 0.25 mA. At a junction temperature of 25 C, the listed range is 1 V to 2.5 V. That condition identifies the start of measurable conduction; it does not promise low resistance at the current required by your load. The test current is central to the meaning of the number.
Imagine a circuit drawing 75 mA. It asks for 300 times that threshold-test current. This ratio does not predict the necessary gate voltage, because a MOSFET is nonlinear, but it exposes the mistake in treating the threshold test as a load-switch qualification. The relevant evidence is the on-resistance specification and its complete conditions.

A typical transfer curve is useful for understanding behaviour and planning measurements. It is not a production guarantee for every device across temperature. Do not read a favourable curve, ignore the table limits and then describe the resulting choice as a guaranteed 3.3 V replacement.
4. Same name, different resistance conditions
The table below deliberately keeps each resistance value beside its manufacturer and test conditions. Nexperia and Diodes Incorporated publish different limits for their named 2N7002 devices. The numbers are not interchangeable, and this is not a ranking measured under identical conditions. It is a reminder to qualify the actual approved source.
| Manufacturer reference | Gate voltage | Drain current | Maximum resistance | Temperature |
|---|---|---|---|---|
| Nexperia 2N7002, Rev. 7 | 4.5 V | 75 mA | 5.3 ohm | Tj = 25 C |
| Nexperia 2N7002, Rev. 7 | 10 V | 500 mA | 5 ohm | Tj = 25 C |
| Diodes 2N7002, DS11303 Rev. 40-2 | 5 V | 50 mA | 7.5 ohm | Tj = 25 C |
| Diodes 2N7002, DS11303 Rev. 40-2 | 10 V | 500 mA | 5 ohm | Tj = 25 C |
A pulsed electrical test at 500 mA is not permission to run that current continuously on a small PCB. Continuous operation is constrained by the limiting-values section, thermal conditions and safe operating area. Keep the electrical-characteristics row and the absolute-maximum table separate in the component approval record.
When purchasing a second source, ask whether the alternative satisfies the board's actual drive and load conditions. A lower typical resistance elsewhere in the datasheet does not close a missing guaranteed limit. If the engineering approval depends on a particular manufacturer's row, carry that manufacturer restriction into the BOM.
5. Check the GPIO voltage at the transistor
A supply marked 3.3 V does not prove that the gate receives 3.3 V under every condition. Check the controller's guaranteed output-high specification, the source voltage and any series components. The transistor responds to gate-to-source voltage, so ground offset or a lifted source reduces the effective drive even when the gate looks correct relative to another ground point.
For the references in the table, no maximum on-resistance is provided at 3.3 V. That does not prove that every 3.3 V application fails. It means that a design requiring a guaranteed resistance at that voltage needs additional qualification or a device with an appropriate low-voltage specification. A favourable single prototype is evidence about that sample only.
Measure gate and source together during startup and switching. Check the controller's reset behaviour, disconnected cables and power sequencing. A circuit that operates normally after boot may still produce an unwanted pulse while the GPIO is high impedance. An explicit off-state is part of the design, not a firmware assumption.
6. Build a deliberate low-side switch
Connect the load between its positive supply and the drain. Connect source to the relevant return and drive gate relative to that source. A gate-to-source pull-down establishes an off-state while the controller is inactive. Select its value using leakage, startup timing, interference and controller loading rather than copying a universal resistor value.

A series gate resistor can limit current peaks and damp ringing, but it also changes switching time. Evaluate its effect with the actual controller and layout. MOSFET gates consume little steady-state current in normal operation, yet charging and discharging their capacitance still requires transient current. Slow transitions can raise switching loss.
For an inductive load, provide an appropriate clamp path. The MOSFET's intrinsic diode is not automatically the flyback diode needed across the load. A clamp chosen for fast release may impose a different drain-voltage stress from a simple diode. Review that stress before accepting a voltage rating as sufficient.
7. Calculate voltage drop before heat
Start with the voltage your load can lose. At the Nexperia resistance-test point of 75 mA, 4.5 V gate drive and 25 C junction temperature, using the maximum 5.3 ohm resistance gives a drain-source drop of 0.3975 V. The corresponding conduction loss is 0.0298125 W, or about 29.8 mW. These follow from voltage equals current times resistance and power equals current squared times resistance.
The loss may look modest while the voltage drop is unacceptable to the load. That is why checking only transistor temperature misses some failures. A circuit feeding a sensitive low-voltage input should establish its maximum permitted low-state voltage and include wiring, source return and device drop in that budget.

Keep temperature dependence and switching loss outside this simple calculation until they are evaluated explicitly. Applying a room-temperature maximum at a hotter junction without supporting data understates uncertainty. Likewise, changing gate drive changes the resistance assumption; the arithmetic cannot repair a missing specification.
8. The board is part of the thermal path
A small package sheds heat through its leads, copper and surrounding environment. A datasheet thermal number belongs to specified test conditions; it is not a universal property of every board. Copper area, nearby heat sources, enclosure temperature and duty cycle all affect the installed result. Check the manufacturer's thermal notes before importing a number into a spreadsheet.
As a deliberately hypothetical example, a 0.15 W loss and an effective thermal resistance of 300 C/W imply a 45 C temperature rise. That is an assumed assembly model, not a 2N7002 rating. Adding the rise to the local ambient gives a first estimate that still needs validation under the actual mounting and load profile.
Short pulses need their own analysis. Average power alone does not establish safe operation during startup, a short circuit or a capacitive charging event. Check pulse duration, repetition, transient thermal behaviour and safe operating area. If the documentation cannot support the operating point, select a more suitable device rather than treating the small average as approval.
9. Level shifting is a separate use case
The familiar discrete MOSFET level shifter is intended for compatible open-drain buses with pull-ups on both sides. Its gate is tied to the lower supply, source to the lower-voltage bus and drain to the higher-voltage bus. The body diode participates in the transition when the higher-voltage side pulls low; orientation is therefore functional, not cosmetic.
Nexperia AN10441 describes the principle for Standard-mode and Fast-mode I2C. That explanation does not make every MOSFET appropriate for every low-voltage bus, nor does it qualify a generic board for an arbitrary clock rate. Device capacitance, pull-up resistance, bus capacitance, low-level voltage and power sequencing still need checking.
Do not substitute this circuit blindly for a push-pull UART or SPI translator. Opposing active drivers create a different problem. For an interface connection, define direction, idle levels, timing and powered-off behaviour first. The MAX3232 interface guide illustrates why voltage-level conversion must also respect the electrical signalling standard.
10. Choose alternatives by the missing guarantee
A useful replacement search begins with the failed requirement. If available gate drive is too low for the specified resistance, look for a device with a maximum resistance at that drive. If the voltage drop is excessive, reduce resistance while retaining adequate voltage rating, package compatibility and switching behaviour. A larger current headline alone does not answer either question.
| Candidate route | What changes | Required check |
|---|---|---|
| Another manufacturer's 2N7002 | Silicon and guaranteed limits may differ | Exact manufacturer, resistance conditions, package and pin mapping |
| BSS138-family device | Different electrical limits and capacitance | Exact suffix and actual gate-drive requirement; no assumed drop-in approval |
| MOSFET specified at lower gate voltage | Drive margin and switching characteristics | Resistance at available drive, leakage, voltage rating and footprint |
| Driver IC or protected load switch | Topology, protection and control behaviour | System redesign and independent qualification |
The BSS138 catalogue is a comparison starting point, not a statement of universal interchangeability. For several inductive loads, the ULN2003A driver guide describes another architecture with different input-current and voltage-drop trade-offs. Do not compare a Darlington output with a MOSFET as if their losses and drive requirements were identical.

11. Use a repeatable validation sheet
Write down what passes before measuring. Record the controller rail, minimum effective gate drive, load envelope, temperature range and acceptable output voltage. Include the exact manufacturer document revision. Without these boundaries, two engineers can test the same board and reach different conclusions simply because they exercised different conditions.
| Test | Capture | Reject or investigate when |
|---|---|---|
| Power-up and reset | Gate-source voltage and load response | Uncommanded conduction or undefined off-state |
| Steady load | Drain-source drop, current and board temperature | Voltage or thermal budget exceeded |
| Switching and release | Drain overshoot, gate ringing and transition time | Rating exceeded or load response unacceptable |
| Temperature and supply corners | Worst-case drive and load behaviour | Margins disappear beyond room-temperature prototype |
Use a probe arrangement that measures the local circuit rather than a long ground-loop artefact. Separate measurement uncertainty from real overshoot. Preserve waveforms and test conditions with the BOM approval, then repeat the relevant checks when the source, package or manufacturing process changes. Qualification should be recoverable from records, not from somebody remembering that a sample worked.
12. Make the purchasing request technically useful
A replacement request should contain the full ordering code, manufacturer restriction, package, required quantity and delivery window. Add the gate-drive voltage, load requirement and any critical leakage or transient constraint. That lets a sourcing team distinguish an electrical alternative from a part that merely shares a search keyword.
Keep stock ownership and lead-time evidence separate from engineering approval. Ask whether a quantity is confirmed inventory, a partner offer or a planned supply. Availability changes; this guide does not present an unverified stock count as a current commitment. Likewise, a supplier's sample approval does not establish the authenticity of every later lot.
For incoming inspection, compare packaging, labels and traceability with the approved documentation. A tiny top marking may include manufacturer-specific information and cannot by itself prove origin. Preserve discrepancies for review instead of guessing a manufacturer from a short code or accepting a visually similar package as proof of interchangeability.
13. Frequently asked questions
Can a 2N7002 be driven directly by 3.3 V?
Some applications may work, but suitability depends on the exact device, load and temperature. The resistance rows compared here use higher gate voltages. If your design needs a guaranteed resistance at 3.3 V, obtain supporting qualification or select a device explicitly specified for the available drive.
Does a 2.5 V maximum threshold mean fully on at 2.5 V?
No. The threshold is measured at a small stated current, not at your application's full load. Use the on-resistance specification with its gate voltage, current and temperature conditions. A threshold value alone cannot establish the load voltage drop or conduction loss.
Are source and drain interchangeable?
Do not treat them as interchangeable in this design. The intrinsic diode has a defined direction, which affects reverse current and level-shifter behaviour. Follow the manufacturer's pin mapping and the circuit topology. A transistor that appears to conduct in one test can still be incorrectly installed.
Can BSS138 replace 2N7002?
Only after checking the exact two parts against the board requirements. Review voltage rating, resistance at available drive, leakage, capacitance, thermal behaviour and package mapping. A successful substitution in a low-current signal circuit does not establish suitability for a different power-switching load.
Why does a MOSFET switch run hot?
Investigate inadequate effective gate drive, excessive current, slow transitions, repetitive transients and the actual thermal path. Measure gate relative to source and capture drain behaviour. Do not assume the transistor is counterfeit before checking the operating point, layout and measurement method.
Is the cover a photograph of an identified 2N7002?
No. It is a real SOT-23 package photograph used to illustrate the physical format. Its device identity is not established by the source. The numbered pin diagram and electrical discussion use the named manufacturer documents, not the photograph or a claim about current stock.
14. Sources and the next purchasing step
Manufacturer sources checked on October 30, 2026: Nexperia 2N7002 Rev. 7; Diodes Incorporated DS11303 Rev. 40-2; Nexperia AN11158, interpreting MOSFET parameters; Nexperia AN10441, open-drain level shifting.
Cover photograph: Leapfrog, SOT23.jpg, public domain. The original package and marking are retained; Chip-seek added the layout and labels. All body diagrams are original explanatory artwork.