This utility model relates to the field of optocoupler technology, and in particular to an anti-interference optocoupler packaging structure. By placing the fifth pin completely inside the
package, the creepage distance between the fifth pin and the adjacent high-
voltage fourth and sixth pins is greatly increased. Under high-
voltage conditions, the
voltage difference between the fourth and sixth pins or the
electric field generated by their voltage to ground must travel a longer distance through the interior of the
package insulation material (such as
epoxy resin) or along its outer surface to reach the fifth pin. This significantly increases the effective electrical insulation creepage distance and electrical clearance, thereby significantly improving the working stability and safety of the product. It solves the technical problem that the creepage distance between the fourth and sixth pins and the fifth pin in existing 6-pin optocouplers is too short, which makes the fifth pin and the circuit components mounted on its surface susceptible to interference or even leakage.