The jacketed active magnetic bearing is applied to a rotary machine having a rotor in contact with a process gas and placed in a leaktight enclosure. The magnetic stator is protected by a first jacket of magnetic anti-corrosion material that constitutes a portion of the leaktight enclosure and that is secured to the bearing stator, and the detector stator is protected by a second jacket of non-magnetic anti-corrosion material that constitutes a portion of the leaktight enclosure and that is secured to the detector stator. The bearing armature and the detector armature can be made of a laminated magnetic identical to that of the first jacket.