A method for operating a magnetic resonance apparatus by a safety unit, taking into account persons fitted with an implant, a safety unit, a safety system, a magnetic resonance apparatus, and a computer program product are provided. The magnetic resonance apparatus includes a first part and a second part. The first part is operated separately from the second part and includes the safety unit. During an examination of a person fitted with an implant, the safety unit checks that the magnetic resonance apparatus, in a restricted operating mode, is complying with implant-conformant limit values.