2N3904 alternatives & equivalent parts
onsemi (formerly Fairchild) NPN general-purpose small-signal transistor, VCEO 40V, collector current about 200mA, TO-92 package. Commonly used for switching and small-signal amplification. — common packages: TO-92 (onsemi version pinout is E-B-C). Each candidate below cites its manufacturer datasheet; check the relationship badge before substituting.
4 verified alternatives for 2N3904
Swipe horizontally to compare all columns and request a quote.
| Alternative | Manufacturer | Relationship | Key differences | Source | RFQ |
|---|---|---|---|---|---|
| PN2222ABU | onsemi | Pin-compatibleDrop-in: same footprint and pinout. | NPN switching transistor from the same manufacturer, TO-92, the pinout in the datasheet is also 1=Emitter, 2=Base, 3=Collector. Can directly replace it. Differences: Ic 1.0A (about 5 times the 200mA of 2N3904), VCEO also 40V, transition frequency about 300MHz. Distributor channels show it as Active. In-production ordering code: PN2222ABU (bulk). Note that some legacy Fairchild suffixes (such as _D81Z, _J61Z) are shown as obsolete at DigiKey; order an in-production packing code. | Datasheet (third-party hosted; check against the manufacturer before buying) | Quote |
| 2N4401 | onsemi | Pin-compatibleDrop-in: same footprint and pinout. | NPN general-purpose switching transistor from the same manufacturer, TO-92, the pinout in the datasheet is also E-B-C. Differences: Ic about 600mA, VCEO 40V, hFE grades are close to 2N3904. For high-speed or high-current uses, recheck the saturation voltage. | Third-party mirror (datasheet4u) of the onsemi datasheet | Quote |
| BC547B | onsemi | Functional alternativeSame function: board or design change needed. | NPN general-purpose transistor from the same manufacturer, 45V, about 100mA. Key difference: the onsemi version TO-92 pinout is C-B-E, the reverse of the E-B-C of 2N3904. It cannot be inserted directly; the collector/emitter traces must be crossed or the PCB changed. Ic is only about 100mA (less than the 200mA of 2N3904), so it is not suitable for high-current uses. Functional replacement only, not pin-to-pin. | Third-party mirror (akizukidenshi) of the onsemi datasheet | Quote |
| MMBT3904LT1G | onsemi | Functional alternativeSame function: board or design change needed. | SOT-23 surface-mount version of 2N3904 from the same manufacturer, with the same electrical parameters (40V, about 200mA). Difference: the package is SOT-23 (pins 1=Base, 2=Emitter, 3=Collector per the onsemi datasheet - a different pin order from the TO-92 E-B-C arrangement), so it cannot be soldered to TO-92 PCB pads and a board change is needed. Suitable when a new design moves to surface-mount. | Third-party mirror (hosted by Verical) of the onsemi datasheet | Quote |
Pre-replacement checklist
- Check pin by pin against the onsemi datasheet: TO-92 1=Emitter, 2=Base, 3=Collector (note that some manufacturers or part numbers have a C-B-E difference)
- Confirm VCEO ≥40V and that the collector current meets the load (2N3904 is only about 200mA)
- Confirm the in-production packing code (such as the bulk or T&R suffix), to avoid buying a discontinued suffix
- For higher 300 mA–800 mA collector loads in the same E-B-C TO-92 pinout, step up to PN2222A
Frequently asked questions about replacing 2N3904
Why check TO-92 lead order before replacing 2N3904 with BC547B?
American JEDEC 2N3904, PN2222A, and 2N4401 use E-B-C pin order across the flat face, whereas European Pro-Electron BC547B uses reversed C-B-E pin order — inserting BC547B unrotated swaps collector and emitter.
When is PN2222ABU or 2N4401 better than 2N3904?
When load current exceeds ~100 mA: 2N3904 saturates poorly above 100 mA (200 mA max), whereas 2N4401 (600 mA) and PN2222A (1 A rating) maintain gain at relay and lamp currents in the same E-B-C TO-92 pinout.
What is the SOT-23 SMD equivalent of 2N3904?
MMBT3904LT1G packages the identical 40 V / 200 mA NPN small-signal die in 3-pin SOT-23 for automated surface-mount boards.
Need the exact lot, date code or a second source quoted?
Send the original MPN and the approved alternative. Sourceics reconfirms source, stock, date code and commercial terms before any order — no substitution without your engineering approval.
Request a quote for 2N3904Source part reference: MCC 2N3904 datasheet (hosted by Mouser): E-B-C pinout, 40V/200mA, the same pinout as the onsemi version. The onsemi datasheet has been checked pin by pin by a sub-agent.. Equivalence notes are reference guidance, not a guarantee of fit — always verify against your schematic and layout.