In a method and medical device for detecting an ischemic episode and to determine a location of ischemia in a heart of a patient, an impedance measuring circuit measures the impedances in the tissue between electrodes of at least one electrode configuration according to a predetermined measurement scheme and an ischemia detector evaluates the measured impedance values using at least one reference impedance image of the heart to detect changes in the measured impedances that are consistent with an ischemia and to determine a location of the ischemia to at least one region of the image.