An exemplary implantable medical device includes an electrode lead connector having at least one electrical contact for connection of an electrode lead, and an analyzing unit which is connected to the electrode lead connector and is designed to detect and evaluate a response signal present at the at least one electrical connector in response to known electromagnetic irradiation. The analyzing unit may compare a signal modulation resulting from an electromagnetic irradiation of the electrode lead with a reference signal modulation. The electrode lead may be classified as defective if the deviation exceeds a threshold deviation. If a second antenna is available, the analyzing unit may compare response signals resulting from electromagnetic irradiation of the electrode lead and the second antenna. If the ratio of response signals exceeds a threshold, the electrode lead may be classified as defective.