Parts
BD139 and BD140: pinout, ratings, a 5 V pin switch, heat, and the push-pull pair
By Bulan Sarkar
The BD139 is E-C-B: with the printed face toward you and the leads down, emitter on the left, collector in the middle, base on the right. The metal back is the collector too. That is the reverse of the B-C-E order on TO-220 parts like the TIP120, so a BD139 dropped into a TIP footprint has its base and emitter swapped.
It is an 80 V, 1.5 A NPN transistor in a small TO-126 body (onsemi calls it TO-225), and its PNP partner is the BD140 with the same pin order. In free air it can shed only 1.25 W at 25 °C; bolted to a heatsink that keeps the case at 25 °C it is rated 12.5 W. Every figure on this page comes from onsemi's two datasheets.
Datasheet: onsemi BD135G, BD137G, BD139G Plastic Medium-Power Silicon NPN Transistors (BD135/D) (PDF)Ask Datasheet Guru about the BD139-16
Pinout by package
Printed face toward you, leads pointing down: E, C, B from left to right.
onsemi calls the body TO-225; it is the same three-lead package most sellers list as TO-126. The metal back (pin 4) is the collector.
Source: onsemi BD135G, BD137G, BD139G Plastic Medium-Power Silicon NPN Transistors (BD135/D), p. 1 (TO-225 Case 77-09 Style 1, marking diagram with leads 1 2 3; collector 2, 4, base 3, emitter 1); onsemi BD135G, BD137G, BD139G Plastic Medium-Power Silicon NPN Transistors (BD135/D), p. 4 (Case 77-09 front view; Style 1: pin 1 emitter, 2 and 4 collector, 3 base)
Printed face toward you, leads pointing down: E, C, B, the same order as the BD139.
onsemi's BD136/D sheet is stamped DISCONTINUED, not recommended for new design. The BD139G sheet is not; only its BD135TG rail pack is.
Source: onsemi BD136 / BD138 / BD140 PNP Epitaxial Silicon Transistor (BD136/D), p. 1 (TO-126 Case 340AS, pins 1 2 3: 1 emitter, 2 collector, 3 base)
Ratings and characteristics
| Parameter | BD139GTO-126 | BD140TO-126 |
|---|---|---|
| Polarity | NPN | PNP |
| Collector-emitter voltage, base open VCEO | 80 V | −80 V |
| Collector-base voltage VCBO | 100 V | −80 V |
| Emitter-base voltage VEBO | 5 V | −5 V |
| Collector current, continuous IC | 1.5 A | −1.5 A |
| Collector current, pulse ICP | not given | −3 A |
| Base current IB | 0.5 A | −0.5 A |
| Power, case held at 25 °C PD | 12.5 W (derate 100 mW/°C) | 12.5 W |
| Power, free air at 25 °C PD | 1.25 W (derate 10 mW/°C) | 1.25 W |
| Thermal resistance RθJC / RθJA | 10 °C/W to case, 100 °C/W to air | not given |
| Junction temperature TJ | −55 to 150 °C | 150 °C max |
| Parameter | BD139GTO-126 | BD140TO-126 |
|---|---|---|
| Collector-emitter sustaining voltage VCEO(sus)IC = 30 mA, IB = 0 | 80 V min | −80 V min |
| DC current gain hFEIC = 5 mA, VCE = 2 V | 25 min | 25 min |
| DC current gain hFEIC = 150 mA, VCE = 2 V | 40 to 250 | 63 to 160 (BD14010), 100 to 250 (BD14016) |
| DC current gain hFEIC = 0.5 A, VCE = 2 V | 25 min | 25 min |
| Saturation voltage VCE(sat)IC = 0.5 A, IB = 50 mA | 0.5 V max | −0.5 V max |
| Base-emitter on voltage VBE(on)IC = 0.5 A, VCE = 2 V | 1 V max | −1 V max |
| Collector cut-off current ICBOVCB = 30 V | 0.1 µA max (10 µA at 125 °C) | −0.1 µA max |
- The gain is high only in the middle of the range. At 150 mA onsemi guarantees 40 to 250; at 5 mA and at 0.5 A the floor drops to 25.
- The BD140 comes in two gain grades, BD14010 and BD14016. Sellers often print the grade as a suffix (BD140-10, BD140-16).
- ST's BD139 sheet would have been the second source, but it timed out from our server, so this page uses onsemi's figures only.
Switching a load from a 5 V pin
Say a 5 V microcontroller pin has to switch a 150 mA load on a 12 V rail: a small fan, a relay coil or a short LED strip.
- Base current: with the minimum gain of 40, 150 mA needs at least 3.8 mA. Double it for a firm switch: 7.5 mA.
- Base resistor: take the worst-case base-emitter drop of 1 V, so R ≤ (5 − 1) ÷ 7.5 mA = 533 Ω. The next standard value down is 470 Ω, which gives at least 8.5 mA of base current, a forced gain of about 18.
- That is inside what an ATmega328P pin is specified for (20 mA; see the ATmega328P page).
The trouble starts near the top of the BD139's current range. At 0.5 A the gain floor is 25, so the base needs at least 20 mA, and onsemi specifies the 0.5 V saturation limit with 50 mA of base drive. No microcontroller pin supplies that. Above a couple of hundred milliamps, drive the BD139 from a small transistor such as a BC547, or use a logic-level MOSFET.
When it needs a heatsink
Switched fully on, the BD139 stays cool: at 0.5 A and 0.5 V it makes at most 0.25 W. Used as a linear pass element it runs hot. Say it drops 12 V to 5 V at 0.3 A inside a box at 40 °C:
- It turns (12 − 5) × 0.3 = 2.1 W into heat.
- In free air onsemi allows 1.25 W at 25 °C, less 10 mW for each degree above, so 1.1 W at 40 °C. Without a heatsink, 100 °C/W would put the junction at 250 °C, far past the 150 °C limit.
- With a heatsink, the whole path from junction to air may total (150 − 40) ÷ 2.1 = 52.4 °C/W. The junction-to-case part takes 10 °C/W, so the heatsink and its insulating pad together must stay under 42 °C/W. A small clip-on TO-126 or TO-220 sink is usually in that range; check its own data.
BD140 and the push-pull pair
The BD140 is the PNP mirror: −80 V, −1.5 A (−3 A pulsed), the same 12.5 W and 1.25 W ratings, and the same E-C-B pin order. Its collector-base rating is 80 V where the BD139 has 100 V. onsemi has stamped its BD136/D sheet DISCONTINUED, not for new design; the BD139G sheet carries no such mark.
A BD139 on the low side and a BD140 on the high side make a push-pull output stage for audio or a motor. Say it runs on ±15 V into an 8 Ω speaker:
- A full 15 V peak would need 1.88 A, past the 1.5 A rating. Keep the peak under 12 V (1.5 A × 8 Ω), which is about 9 W of sine output.
- The transistor that is off sees up to 30 V, well inside 80 V.
- In a class-B stage the worst case for each transistor is about Vcc² ÷ (π² × R) = 2.85 W, more than the 1.25 W free-air rating. Both need a heatsink.
Worked example in numbers
- Pin order
- E-C-B
- Base resistor, 150 mA from 5 V
- 470 Ω
- Free-air limit at 25 °C
- 1.25 W
- Heatsink for 2.1 W at 40 °C
- ≤ 42 °C/W
Substitutes
| Part | Pins | Verdict |
|---|---|---|
| BD137 / BD135 | E-C-B | The same transistor graded for less voltage: 60 V and 45 V against 80 V. Same pins, current and gain limits, so a BD139 can replace either, not the other way round.onsemi BD135G, BD137G, BD139G Plastic Medium-Power Silicon NPN Transistors (BD135/D), p. 1 |
| BD140 (PNP partner) | E-C-B | The PNP complement, for the high side of a push-pull pair or a high-side switch. Same pin order, mirrored polarity. Its collector-base rating is 80 V, not 100 V.onsemi BD136 / BD138 / BD140 PNP Epitaxial Silicon Transistor (BD136/D), p. 1 |
| TIP31C / TIP120 (TO-220) | B-C-E | Not a drop-in: the TO-220 parts run B-C-E, so the base and emitter swap places. Rewire, or turn the part only if the board allows it.onsemi BD135G, BD137G, BD139G Plastic Medium-Power Silicon NPN Transistors (BD135/D), p. 4 |
Tips and checks
- Check the pin order before soldering. Hold the part with the printed face toward you and the leads down: E, C, B from the left. A meter on diode test reads a junction from B to C and B to E (red probe on B for the BD139, black on B for the BD140).
- Fit a flyback diode across a relay coil or motor. The diode comparison says which one.
- Put a resistor of about 10 kΩ from base to emitter when the drive can float, so the transistor stays off while a microcontroller boots.
- For anything that needs more than about 1.25 W, plan the heatsink first: the transistor is small, so the limit is usually heat rather than current.
What we'd do
We'd use a BD139 for loads from about 100 mA to 1 A where a TO-92 part like the BC547 is too small and a TO-220 is more than needed, with a BC547 in front of it above a couple of hundred milliamps. For a new push-pull design we'd check the BD140 is still made by the maker we buy from, since onsemi has discontinued its own.
Questions people ask
What is the BD139 pinout?
E-C-B: emitter, collector, base from the left with the printed face toward you and the leads down. The metal back is the collector.
Can an Arduino pin drive a BD139 directly?
For loads up to about 150 mA, yes, through a resistor of about 470 Ω. At 0.5 A the base needs 20 to 50 mA, more than a pin is specified for, so add a small driver transistor.
Does the BD139 need a heatsink?
Not as a switch: fully on at 0.5 A it makes at most 0.25 W. Used linearly it does once the heat passes about 1 W, since its free-air rating is 1.25 W at 25 °C.
What is the difference between the BD135, BD137 and BD139?
Only the voltage grade: 45, 60 and 80 V. A BD139 replaces either of the others.
Is the BD140 the same transistor?
It is the PNP complement with the same pin order, the same current and power ratings, and an 80 V collector-base rating.
Where to go next
The BJT as a switch lesson works through base resistors from the start, transistor packages and heat covers the heatsink sum, and the push-pull output stage explains the BD139/BD140 pair. For a bigger part, see the TIP120.
One email a month from the bench
New circuits, lessons, part guides and calculators, on the first Sunday of each month.
Used in these lessons
Lessons that go deeper
Datasheets this page was checked against
- onsemi, BD135G, BD137G, BD139G Plastic Medium-Power Silicon NPN Transistors (BD135/D) (Rev. 18, June 2024)
- onsemi, BD136 / BD138 / BD140 PNP Epitaxial Silicon Transistor (BD136/D) (Rev. 2, May 2024)
Makers revise datasheets. If the copy you download has a newer revision and a number here disagrees with it, the datasheet wins, and we would like to hear about it.