Electrocardiogram (ECG) signals represent the electrical mobility of the human heart. In recent years, computer-aided systems have helped to cardiologists in the detection, classification and diagnosis of ECG. The aim of this paper is to optimize the number hidden neurons of the traditional Extreme Learning Machine (ELM) using Differential Evolution Algorithm (DEA) and contribute to the classification of ECG signals with a higher accuracy rate. In this paper, publicly ECG records in Physionet was utilized. Pan-Tompkins technique (PTT) and Discrete Wavelet Transform (DWT) approaches were implemented to obtain characteristic properties which are PR period, QT period, ST period and QRS wave of ECG signals. Then, ELM was executed to the ECG samples. Lastly, DEA on software ELM was developed for the assign of the number of hidden neurons, which were used in the ELM algorithm. The performance criterions were used in order to compare the performance of the classification exerted. Concordantly, it was realized that the highest classification achievement values were reached to Accuracy 97.5% and values 93 of number of hidden neurons, with the practice improved with the DEA compared to conventional ELM.