MOC3021M

onsemi

onsemi MOC3021M, 1-channel optoisolator with triac output, 4170 Vrms isolation, 400 V off-state voltage, non-zero-crossing, through-hole 6-DIP package

onsemi MOC3021M
Download datasheet (PDF)
[IN STOCK] In Stock: 21,995 pcs
$0.52/ pc

Volume pricing

Buy Now

Subtotal:$2.60

MOQ 5 · Tube · RoHS · EIA-481 · DAP/DDP · T/T

Technical specifications

MOC3021M specifications
Parameter / AttributeSpecification / Value
Output typeTriac
MountingThrough Hole
Voltage - isolation4170Vrms
Voltage - off state400 V
Voltage - forward (Vf)1.15V
Current - hold100µA (Typ)
Current - DC forward (If)60 mA
Current - LED trigger (Ift)15mA
Operating temperature-40°C ~ 85°C
Approval agencyUL
PackageTube
Case6-DIP (0.300\", 7.62mm)
Channels1
Zero crossing circuitNo
100% Footprint Match · Solder-Ready (No PCB Redesign Needed)

Need Stock or a Drop-in Second-Source for MOC3021M?

Package: DIP-6 · Pin-compatible replacements with immediate Shenzhen spot stock

Footprint Match 98%
Supply Chain & Allocation Reality:

The MOC3021 is the little six-pin bridge between logic and mains in dimmers, speed controls, heater regulators and appliance boards: an LED driving a light-triggered triac, packaged with 7500V isolation. The family divides on two axes buyers conflate at their cost. Phase-control circuits (dimmers, motor speed) need the random-phase parts (MOC302x); on/off switching of resistive loads wants the zero-cross parts (MOC304x) so switching happens near the mains zero to tame inrush and EMI. And within each family, only the LED trigger current differs across the ladder (30 / 15 / 10 / 5mA from 3020 to 3023) - a substitution that ignores the trigger grade fails only on cold boards and marginal drive circuits.

Verified Pin-Compatible Replacements (4 verified alternatives)

MOC3023 onsemi / Lite-On DIP-6
100% Drop-in (Zero Code Change)
Availability & Target Pricing:

Same Function, Tighter Trigger

Shenzhen Spot Stock (24-48h Dispatch)

Electrical & Core Specs:

Random-phase optotriac identical to the MOC3021 but triggering at 5mA LED current instead of 15mA - the sensitive end of the ladder (3020 is 30mA, 3022 is 10mA).

400V peak blocking, the 240V-AC class; 7500V isolation common to the family.

Compatibility & Drop-In Notes: The ladder direction to remember: a more sensitive trigger (3023) substitutes anywhere a 3021 worked, because the circuit was designed to deliver at least 15mA. Going the other way (15mA part where a 5mA grade was specified) asks the driving logic for three times the current it was designed to give - it may pass on the bench and fail cold.
Package & Solder Footprint: DIP-6 standard optotriac pinout, 1:1 with the family.
Shenzhen Warehouse Stock & MOQ: Volume stock; the grade letters documented on the reel label.
MOC3041 onsemi / Lite-On / multiple DIP-6
Functional Equivalent
Availability & Target Pricing:

The Zero-Cross Sibling - Different Job

Shenzhen Spot Stock (24-48h Dispatch)

Electrical & Core Specs:

The zero-cross version: output inhibits until the mains voltage is near zero (5V typical, 20V max), producing full-wave on/off rather than phase control, with a far higher guaranteed dv/dt (1000V/us minimum) for noisy loads.

400V class; grades 3041/3042/3043 across 15/10/5mA trigger currents.

Compatibility & Drop-In Notes: The substitution rule: zero-cross parts do not do phase control - the detector caps the firing angle, so a dimmer fitted with one behaves as a switch that misses low-brightness settings. In the other direction, a random-phase part in an on/off circuit switches at arbitrary points: inrush and EMI come back, and resistive loads with high cold current suffer.
Package & Solder Footprint: Same DIP-6 pinout as the 302x family - the board cannot tell them apart.
Shenzhen Warehouse Stock & MOQ: Stocked as the pair with 302x; label the drawer, not the bag.
MOC3052 Lite-On / Vishay / multiple DIP-6
Functional Equivalent
Availability & Target Pricing:

Random-Phase at 600V

Shenzhen Spot Stock (24-48h Dispatch)

Electrical & Core Specs:

The higher-voltage random-phase member: 600V peak blocking for 380-415V-class lines and noisier mains, with the same phase-control behavior as the 3021.

600V peak against the 400V class of the 302x - the reason it exists.

Compatibility & Drop-In Notes: Match the voltage class to the actual line and transient environment: on 415V three-phase-derived circuits and noisy industrial mains, the 600V part is the honest choice and the 400V one is a countdown.
Package & Solder Footprint: DIP-6 standard pinout.
Shenzhen Warehouse Stock & MOQ: Stocked for industrial phase-control repairs.
MOC3063 onsemi / Lite-On DIP-6
Functional Equivalent
Availability & Target Pricing:

Zero-Cross at 600V

Shenzhen Spot Stock (24-48h Dispatch)

Electrical & Core Specs:

Zero-cross switching at 600V peak and 5mA trigger - the sensitive end of both ladders at once.

600V class for higher-voltage on/off switching.

Compatibility & Drop-In Notes: Same zero-cross rule applies: on/off duty only. Grade and voltage both matter - read both from the orderable number.
Package & Solder Footprint: DIP-6 standard pinout.
Shenzhen Warehouse Stock & MOQ: Stocked with the rest of the 30xx row.
Buyer & Quality Checklist for Sourcing Alternatives
  • Decide the duty before the part number: phase control (dimmers, speed) takes random-phase (MOC302x / MOC3052); on/off switching takes zero-cross (MOC304x / MOC3063). Mixing the duty and the detector is the most common appliance-board repair mistake.
  • Within a family only the trigger current changes: 30mA / 15mA / 10mA / 5mA across the 3020-3023 ladder (and 3041-3043). Substitute toward more sensitivity freely; toward less only with the drive current verified cold.
  • Voltage classes: 250V (301x), 400V (302x / 304x), 600V (3052 / 3063). Mains transients decide the class, not the nominal line voltage.
  • The optotriac drives a power triac - it never carries the load. In field failures, check the power triac and the snubber network before condemning the coupler: it is usually the messenger.
  • dv/dt ratings differ by an order of magnitude between the random-phase and zero-cross families: replacing a zero-cross part with a random-phase one in an inductive-load circuit invites false triggering.
  • Gate resistor sizing is per-grade: the resistor that fed 15mA of LED current wastes efficiency with a 5mA part and starves a 30mA part - match the letter to the circuit.
Frequently Asked Technical Questions

Q: Can MOC3041 replace MOC3021?

A: Functionally it triggers and isolates, but the behavior changes: the 3041 is zero-cross, so phase-control circuits (dimmers) lose their firing-angle control and act as on/off switches. Match the family to the duty first; the pinout will agree either way.

Q: What do the numbers after MOC30 mean?

A: The LED trigger current grade: 3020 is 30mA, 3021 15mA, 3022 10mA, 3023 5mA; the 304x zero-cross series repeats the ladder. More-sensitive grades substitute upward; check drive current before substituting downward.

Q: Why does my dimmer only work at full brightness after a repair?

A: A zero-cross part (MOC304x) was likely fitted where a random-phase part (MOC302x) belonged - the zero-cross detector refuses to trigger at low conduction angles. Match the family letter: 302x for phase control.

Technical details

What this optotriac does on the board

The MOC3021M is a 1-channel optoisolator with a triac output from onsemi, built to switch AC loads from a low-voltage logic or microcontroller signal while keeping the two sides galvanically separated. The 4170 Vrms isolation rating means it can sit across the mains isolation barrier in equipment like solid-state relays, motor starters, or lighting controls without flashover. Because it has no zero-crossing circuit, the triac fires at whatever point in the AC cycle the LED turns on. That makes it a fit for phase-angle dimming or soft-start applications where you need to trigger partway through the half-cycle, not just at the zero crossing.

Key ratings for your BOM decision

Off-state voltage is 400 V, so the triac blocks line voltage up to 400 V peak when off. That covers 120 VAC and 240 VAC mains with margin. The LED trigger current is 15 mA max — a standard 20 mA LED drive from a 5 V logic rail through a 220 Ω resistor will fire it reliably. Forward voltage is 1.15 V typical, and the LED can take up to 60 mA continuous without damage. Hold current is 100 µA typical — once the triac latches, it stays on as long as the load current stays above that threshold. Below 100 µA the triac drops out at the next zero crossing, which is normal for resistive loads. Inductive loads need a snubber network to keep the dV/dt below the triac's commutating limit.

onsemi lists the MOC3021M as Active and ROHS3 compliant.

MOC3021M
[ALLOC] verified
Quote