A medical device, such as an extra-cardiovascular implantable cardioverter defibrillator (ICD), senses R-waves from a first cardiac electrical signal by a first sensing channel and stores a time segment of a second cardiac electrical signal acquired by a second sensing channel in response to each sensed R-wave. The ICD determines morphology match scores from the stored time segments of the second cardiac electrical signal and, based on the morphology match scores, withholds detection of a tachyarrhythmia episode. In some examples, the ICD detects T-wave oversensing based on the morphology match scores and withholds detection of a tachyarrhythmia episode in response to detecting the T-wave oversensing.