An implant with magnetic field recognition, such as an implant that recognizes fields generated by a magnetic resonance imaging (MRI) device. The implant includes at least one voltage source, at least one control unit, at least one communication coil and an optical structure with a Faraday element. The optical structure includes at least one first and second polarization filters and at least one light detector.