This paper presents an improved whale optimization algorithm (IWOA) for optimizing the model predictive torque control (MPTC) of brushless DC motor (BLDCM) to further reduce the problems of strong torque pulsation and high ripple caused by the special structure of BLDCM. IWOA adds a randomized convergence factor strategy to the original algorithm, enabling the parameter weights to be adjusted in time. The relative error between the training set and the predicted values is reduced, and a suitable interval is selected for the target. The proposed method takes into account the switching frequency loss factor in the MPTC system of BLDCM, discarding the traditional trial-and-error method and choosing to control the parameter adjustment by the degree of deviation. The IWOA is compared with the popular whale optimization algorithm (WOA), dragonfly algorithm (DA), ant colony optimization (ACO) algorithm, and grey wolf optimization (GWO) algorithm on the MATLAB SIMULINK platform to verify the effectiveness of the method in dealing with improved chain tracking, reduced torque pulsation, and reduced speed error. The simulation results show that IWOA performs well, with an efficiency of 94.32%.