The invention discloses a vertical electric separation mechanism for an electric connector, and the mechanism comprises a supporting seat (1), a pin rod (11), a yoke (12), a lining sleeve (13), a coil (14), an armature pasting sleeve (15), a spring washer (16), a slotted cheese-head screw (17), an armature (18), a fastening nut (19), a steel ball (20), a coil cover sleeve (21), a prepressing spring (22), a hexagon thin nut (23), a wave spring sheet (24), a flat washer (25), a wiring piece (26), a wiring block (27), a slotted cheese-head screw (28), a rivet (29), a magnet sleeve (30), a steel ball limiting sleeve (31), a top cap (2), a movable sleeve (3), a steel ball positioning sleeve (4), an external sleeve (5), a jacking spring (6), a separation spring (7), a protection sleeve (8), a push rod (9), and a steel ball (10). The mechanism employs an electromagnetic drive system, achieves the automatic locking and unlocking through an electric signal, and saves the use space.