In recent years, the analysis of surface electromyography (sEMG) signals by feature engineering and machine learning has developed rapidly. However, when feature engineering is applied to feature extraction of sEMG signals, important feature information in the signals will inevitably be omitted, which will reduce the performance of signal analysis and recognition. Therefore, this paper proposes a method to complete classification of sEMG hand movements based on convolutional neural network (CNN) and stacking ensemble learning. In this method, a primary classifier based on CNN is designed to extract sEMG data features, which avoid omission of important feature information. A secondary classifier based on the stacking method is designed to integrate three primary classifiers trained with time domain, frequency domain and time-frequency domain data of the sEMG signal respectively. Then, several experiments on NinaPro DB5 dataset is performed to evaluate the proposed models. When the window length is 200ms, primary classifier is trained and tested with the sEMG signal data divided by the 80ms, 100ms, and 125ms sliding length. The best accuracy can reach 71%. The primary classifier and the secondary classifier trained and tested with sEMG signal data divided by window lengths of 200ms and 300ms in the case of a sliding length of 100ms. When the window length is 200ms, the best primary classifier accuracy and the best secondary classifier accuracy can be 70.92% and 72.09%, respectively. On the window length of 300ms, the best primary classifier accuracy and the best secondary classifier accuracy can reach 75.02% and 76.02%, respectively. Finally, the model designed is compared with Linear Discriminant Analysis (LDA), Long Short Term Memory-CNN (LCNN), Support Vector Machine (SVM), and Random Forests. Under the same conditions, the average accuracy of the secondary classifier is 11.5%, 13.6%. and 10.1% higher than LDA, SVM, and LCNN, respectively. Also, the average accuracy rate is 3.05% higher than SVM and Random Forests.INDEX TERMS Surface electromyography, movements classification, convolutional neural network, ensemble learning.