This document presents a new algorithm for the automatic classification of ECG arrhythmias using discrete wavelet transform (DWT) and multi-layer perceptron (MLP) neural networks, achieving a classification accuracy of 96.5%. The proposed system extracts significant features from ECG recordings to improve the accuracy of diagnosing cardiac abnormalities. The methodology includes preprocessing to eliminate baseline noise and a classification phase utilizing a carefully structured neural network architecture.