A medical device is configured to deliver anti-tachycardia pacing (ATP) in the presence of T-wave alternans. The device is configured to detect a ventricular tachyarrhythmia from a cardiac electrical signal received by the medical device. In response to the detected ventricular tachyarrhythmia, the device delivers a plurality of ATP pulses at alternating time intervals. The alternating time intervals comprise at least a first ATP time interval separating a first pair of the ATP pulses and a second ATP time interval different than the first ATP time interval. The second ATP time interval consecutively follows the first ATP time interval and separates a second pair of the ATP pulses.