Abstract: Prolongation of the ECG QT-interval is a risk factor as it can cause the development of ventricular tachyarrhythmias such as Torsade de Points and ventricular fibrillation often leading to sudden cardiac death. Thus there is a large interest in analysing the QT-interval in the ECG. One major part of ECG QT-analysis is T-end detection. A method for automatic T-end detection is presented and validated by the Physionet QT-database. The delineation algorithm presented here is based on a correlation method. Results have been compared to hand marked T-waves in the Physionet QT-database. The algorithm produced significantly better results than using the standard wavelet method.