In this paper, we using Mexican-hat wavelet transform to detect characteristic points of ECG signal based on the characteristic points corresponding with the extremes of Mexican-hat wavelet transform. It offers a new detection method of ECG signal analysis. This method is simple and it is proved to be accurate and reliable. The correct rate of QRS detection rate examined by the MIT-BIT arrhythmia database rises up to 99.9%.