The invention provides a rotary electromagnet type separation and reunion mechanism. The mechanism comprises a shell, a stator, a rotor, a separation and reunion push plate, an inner handle shaft, an outer handle shaft, separation and reunion teeth, a separation and reunion pin and steel balls, wherein the stator, the rotor and the separation and reunion push plate are installed in the shell; the inner handle shaft is arranged on one side of the shell, and shift rods respectively extend from the left part and the upper part of the inner handle shaft; the inner handle shaft rotates anticlockwise or clockwise; the separation and reunion teeth are installed on the outer handle shaft, and a first spring is arranged on the lower parts of the separation and reunion teeth; the outer handle shaft is installed on the inner handle shaft and coupled and linked with the separation and reunion teeth; and the separation and reunion pin is installed in a hole in the side surface of the outer handle shaft, the first spring is arranged in the separation and reunion pin, and the steel balls are arranged between the separation and reunion pin and the separation and reunion push plate. The mechanism has the beneficial technical effects that the mechanism has the characteristics of high energy conversion efficiency, good stability, smooth operation, long service life, capability of working under a lock-rotor for a long time, and the working stability of a separation and reunion drive servo system of an electronic lock can be greatly improved and service life of the separation and reunion drive servo system can be greatly prolonged.