Device for forming a leno selvedge with an electric motor comprising a rotor (1; 200) and a stator casing (10) accommodating the rotor, whereas the rotor is provided with at least two guiding apertures (3; 216, 216b) for the doup ends and whereas the rotor (1, 200) is provided with several magnetic poles oriented in axial direction, the rotor (1; 200) being provided with two spaced magnetic rings (210, 220) arranged in radial direction, the magnetic rings (210, 220) being provided with several magnet segments (2; 211, 212; 221, 222) each, the magnet segments (2; 211, 212) of the one magnetic ring (2; 210) being locally offset relative to those of the other magnetic ring (2; 210, 220), whereas the rotor (1; 100) is received on both sides in axial direction by the stator casing (10; 225), whereas the stator casing (10; 225) is provided with iron cores (11; 230, 240) with appropriate windings (12; 250), the ends of which being oriented toward the magnetic poles of the rotor.