An electromagnetic actuator for a valve of an internal combustion engine, which includes: - an armature defining a magnetic circuit including: ∘ a magnet; ∘ a first external ferromagnetic polar piece (23a, 23b) in contact with the magnet, this polar piece (23, 23b) delimiting a primary bore; ∘ a ferromagnetic primary core housed in the primary bore and defining with the polar piece (23a, 23b) a primary air gap; - a primary mobile assembly including: ∘ a primary casing provided with a tubular body immersed in the primary air gap, ∘ a primary coil (34, 35) wound in the primary air gap on the body of the primary casing; ∘ a valve integral with the primary casing; characterized in that: - the armature includes a second polar piece, between which the magnet is sandwiched, - the polar pieces (23a, 23b) and the magnet delimit the primary bore and a secondary bore close to the primary bore; - the magnetic circuit includes a ferromagnetic secondary core housed in the secondary bore and defining with the polar piece (23a, 23b) a secondary air gap; - the actuator includes a secondary mobile assembly including: ∘ a secondary casing provided with a tubular body immersed in the secondary air gap; ∘ a secondary coil (43, 44) wound in the secondary air gap on the body of the secondary casing; ∘ a valve integral with the secondary casing. - an armature defining a magnetic circuit including: ∘ a magnet; ∘ a first external ferromagnetic polar piece (23a, 23b) in contact with the magnet, this polar piece (23, 23b) delimiting a primary bore; ∘ a ferromagnetic primary core housed in the primary bore and defining with the polar piece (23a, 23b) a primary air gap; ∘ a magnet; ∘ a first external ferromagnetic polar piece (23a, 23b) in contact with the magnet, this polar piece (23, 23b) delimiting a primary bore; ∘ a ferromagnetic primary core housed in the primary bore and defining with the polar piece (23a, 23b) a primary air gap; - a primary mobile assembly including: ∘ a primary casing provided with a tubular body immersed in the primary air gap, ∘ a primary coil (34, 35) wound in the primary air gap on the body of the primary casing; ∘ a valve integral with the primary casing; ∘ a primary casing provided with a tubular body immersed in the primary air gap, ∘ a primary coil (34, 35) wound in the primary air gap on the body of the primary casing; ∘ a valve integral with the primary casing; - the armature includes a second polar piece, between which the magnet is sandwiched, - the polar pieces (23a, 23b) and the magnet delimit the primary bore and a secondary bore close to the primary bore; - the magnetic circuit includes a ferromagnetic secondary core housed in the secondary bore and defining with the polar piece (23a, 23b) a secondary air gap; - the actuator includes a secondary mobile assembly including: ∘ a secondary casing provided with a tubular body immersed in the secondary air gap; ∘ a secondary coil (43, 44) wound in the secondary air gap on the body of the secondary casing; ∘ a valve integral with the secondary casing. ∘ a secondary casing provided with a tubular body immersed in the secondary air gap; ∘ a secondary coil (43, 44) wound in the secondary air gap on the body of the secondary casing; ∘ a valve integral with the secondary casing.