PurposeThis paper proposes an intelligent fault diagnosis method, which aims to obtain the outstanding fault diagnosis results of the gearbox.Design/methodology/approachAn intelligent fault diagnosis method based on energy entropy-weighted complementary ensemble empirical mode decomposition (EWCEEMD) and support vector machine (SVM) optimized by whale optimization algorithm (WOA) is proposed. The raw signal is first denoised by the wavelet noise reduction method. Then, complementary ensemble empirical mode decomposition (CEEMD) is used to generate several intrinsic mode functions (IMFs). Next, energy entropy is used as an indicator to measure the sensibility of the IMF and converted into a weight coefficient by function. After that, IMFs are linearly weighted to form the reconstruction signal, and several features are extracted from the new signal. Finally, the support vector machine optimized by the whale optimization algorithm (WOA-SVM) model is used for gearbox fault classification using feature vectors.FindingsThe fault features extracted by this method have a better clustering effect and clear boundaries under each fault mode than the unimproved method. At the same time, the accuracy of fault diagnosis is greatly improved.Originality/valueIn most studies of fault diagnosis, the sensitivity of IMF has not been appreciated. In this paper, energy entropy is chosen to quantify sensitivity. In addition, high classification accuracy can be achieved by applying WOA-SVM as the final classification model, improving the efficiency of fault diagnosis as well.