Skip to main content
PartAndStock
Blog

What Is the 4N25? Transistor-Output Optocoupler and Uses

December 2, 2026 4 min read
Quick answer

The 4N25 is a transistor-output, general-purpose optocoupler (opto-isolator, DIP-6). It transfers a signal by light while isolating the input LED from the output phototransistor; used to isolate an MCU from high voltage. The input LED needs a series resistor, and CTR varies part to part. It is relatively slow; for fast digital the 6N137 is needed.

The 4N25 is a transistor-output, general-purpose optocoupler (opto-isolator). It transfers a signal by light while providing electrical isolation between the input (LED) and output (phototransistor). For the concept, see what is an optocoupler.

What is the 4N25 used for?

Isolating a microcontroller from high voltage, signal isolation, separating stages in noisy environments. It is a transistor-output optocoupler like the PC817; with its DIP-6 body and classic status it is used in teaching and general isolation.

Specifications

ParameterValue
TypeTransistor-output optocoupler
InputInfrared LED
OutputPhototransistor (collector/emitter)
BodyDIP-6

Watch out

The input LED needs a current-limiting series resistor. The output speed is relatively slow (for fast digital signals a fast opto like the 6N137 is needed). The CTR (current transfer ratio) varies part to part; leave margin in the design. For AC mains switching a triac-output opto (MOC series) is needed.

Equivalents

  • PC817: a common transistor-output optocoupler.
  • CNY17: a similar optocoupler with graded CTR.
  • 4N35: a relative in the same family.

Find it in our catalog

Use the 4N25 search.

Frequently Asked Questions

What is the 4N25?+
The 4N25 is a transistor-output, general-purpose optocoupler (opto-isolator, DIP-6). It transfers a signal by light while providing electrical isolation between the input LED and the output phototransistor; it is used to isolate an MCU from high voltage.
How is the 4N25 connected?+
A current-limiting series resistor is placed on the input LED; on the output the phototransistor drives a load or a pull-up. Because CTR varies part to part, leave some current margin.
Is the 4N25 suitable for fast signals?+
It is relatively slow; for fast digital signals faster optocouplers like the 6N137 are preferred. The 4N25 suits general isolation and lower speeds.
What is a 4N25 equivalent?+
The common PC817; the graded-CTR CNY17; the same-family 4N35.