A method includes sensing a cardiac electrogram (EGM) signal of a patient via one or more electrodes on at least one implantable medical lead. An asystolic EGM signal is detected from the patient, and a lead integrity test of the at least one implantable medical lead is initiated in response to the asystolic EGM signal.