An opto-isolator is an electronic component that transfers an electrical signal between two circuits using light, with no direct electrical connection between them. Inside a small plastic package, an LED on the input side converts electricity into light, and a light-sensitive detector on the output side converts that light back into electricity. This tiny gap of light creates electrical isolation, protecting sensitive electronics (or people) from dangerous voltages on the other side.
How It Works Inside
The internal structure is straightforward. One side has a small LED. When you apply a signal to the input pins, the LED emits infrared light. That light crosses a transparent barrier, typically a few millimeters of clear silicone or an air gap, and hits a photodetector on the other side. The photodetector generates a corresponding electrical signal on the output circuit. At no point do electrons flow from one side to the other. The only thing crossing the barrier is light.
This light-based handoff is what makes opto-isolators useful. The input and output circuits can operate at completely different voltage levels, different ground references, or different power supplies, and neither side can electrically interfere with or damage the other.
Output Types and What They’re Used For
The input side is always an LED, but the output side varies depending on what the device needs to do. The most common types:
- Phototransistor output: The general-purpose workhorse. Good for isolating digital signals and low-power DC circuits. Devices like the PC817 and 4N25 fall into this category.
- Photo-Darlington output: A higher-gain version of the phototransistor type. It produces more output current for a given input, but switches more slowly, topping out around 100 kilobaud.
- Phototriac or photo-SCR output: Designed specifically for switching AC loads. Components like the MOC3021 let a low-voltage DC control signal switch on a mains-powered lamp, motor, or heater. This configuration forms the basis of simple solid-state relays.
- Photodiode output: Used in high-speed data links where fast switching matters more than raw current output. These can handle data rates up to 25 megabaud with propagation delays as low as 20 nanoseconds.
Current Transfer Ratio
The key performance number for most opto-isolators is the current transfer ratio, or CTR. It tells you how much output current you get relative to the input current, expressed as a percentage. If you push 5 milliamps into the LED and get 10 milliamps out of the phototransistor, the CTR is 200%. A CTR below 100% means the output current is smaller than the input current, which is common in basic devices. Higher-CTR devices (like Darlington types) amplify the signal more but trade off speed.
CTR isn’t fixed. It changes with temperature, input current level, and age. Over thousands of hours, the internal LED gradually dims, which slowly reduces the CTR. Designers typically pick a device with more CTR than they need to account for this degradation over the product’s lifetime.
Speed and Switching Limits
Standard phototransistor opto-isolators are relatively slow. A typical general-purpose device might handle data rates of 1 megabaud with propagation delays around 300 nanoseconds. That’s fine for simple on/off signals or slow serial communication, but it’s a bottleneck for high-speed digital data.
High-speed opto-isolators with photodiode outputs and integrated amplifiers push data rates much higher. Devices in this category reach 10, 15, 20, or even 25 megabaud, with propagation delays dropping to around 20 to 40 nanoseconds. For applications that need even faster isolation, engineers sometimes turn to non-optical alternatives like capacitive or transformer-based digital isolators, which can reach 50 megabaud or more.
Voltage Isolation and Safety Ratings
The whole point of an opto-isolator is to keep dangerous voltages from reaching the other side. How much voltage it can block depends on the device’s construction, particularly the physical distance between the input and output pins and the internal barrier material.
Typical isolation test voltages range from 2,500 to 5,000 volts AC. The working voltage, meaning the continuous supply voltage the device is rated to handle day after day, usually falls between 150 and 600 volts AC. Any voltage above 30 volts AC (or 60 volts DC) is considered hazardous to humans, so isolation ratings well above those thresholds are standard.
Safety certifications matter here. The key component standards are IEC 60747-5-5 (the international standard for optical isolators), VDE 0884-10 (the German/European standard for digital isolators), and UL 1577 (the North American standard covering both optical and digital types). Products sold internationally typically need to meet both IEC/VDE and UL requirements. When selecting an opto-isolator for a safety-critical application, checking for these certifications is more important than looking at the raw voltage number on the datasheet.
Where Opto-Isolators Are Used
The most widespread application is in switch-mode power supplies, the compact power adapters and internal converters found in nearly every electronic device. These supplies need a feedback signal to travel from the output side (where you plug in your device) back to the control circuit on the input side (connected to mains power). An opto-isolator carries that feedback across the safety barrier without creating a direct path for mains voltage to reach the user. As power supplies have gotten smaller and more energy-dense, this isolated feedback loop has become even more critical to maintaining safety.
Industrial control systems rely heavily on opto-isolators too. Programmable logic controllers (PLCs) use them in their input and output modules to protect the processor from the noisy, high-voltage signals coming from sensors, switches, and motors on the factory floor. Medical equipment uses them to isolate patient-connected circuits from line power. Audio equipment uses them to eliminate ground loops that cause hum and buzz.
The AC-switching variants show up in lighting controls, motor drives, and heating systems, anywhere a low-voltage microcontroller needs to turn on or off a device running on mains power without exposing the control circuit to 120 or 240 volts.
Limitations Worth Knowing
Opto-isolators aren’t perfect for every situation. Their LED degrades over time, which means the CTR slowly drops across the life of the product. Temperature swings also affect performance, with CTR shifting noticeably at temperature extremes. For high-speed digital communication, even the fastest opto-isolators are slower than capacitive or transformer-based isolators. And because the LED consumes real current (typically 5 to 20 milliamps), they draw more power than some newer isolation technologies.
Despite these tradeoffs, opto-isolators remain one of the most widely used isolation components in electronics. They’re inexpensive, well understood, available from dozens of manufacturers, and covered by decades of safety certification data. For the vast majority of isolation tasks, from power supply feedback to industrial signal protection, they do the job reliably.

