IntroductionAtmospheric temperature affects the growth and development of plants and has an important impact on the sustainable development of forest ecological systems. Predicting atmospheric temperature is crucial for forest management planning.MethodsArtificial neural network (ANN) and deep learning models such as gate recurrent unit (GRU), long short-term memory (LSTM), convolutional neural network (CNN), CNN-GRU, and CNN-LSTM, were utilized to predict the change of monthly average and extreme atmospheric temperatures in Zhengzhou City. Average and extreme atmospheric temperature data from 1951 to 2022 were divided into training data sets (1951–2000) and prediction data sets (2001–2022), and 22 months of data were used as the model input to predict the average and extreme temperatures in the next month.Results and DiscussionThe number of neurons in the hidden layer was 14. Six different learning algorithms, along with 13 various learning functions, were trained and compared. The ANN model and deep learning models were evaluated in terms of correlation coefficient (R), root mean square error (RMSE), and mean absolute error (MAE), and good results were obtained. Bayesian regularization (trainbr) in the ANN model was the best performing algorithm in predicting average, minimum and maximum atmospheric temperatures compared to other algorithms in terms of R (0.9952, 0.9899, and 0.9721), and showed the lowest error values for RMSE (0.9432, 1.4034, and 2.0505), and MAE (0.7204, 1.0787, and 1.6224). The CNN-LSTM model showed the best performance. This CNN-LSTM method had good generalization ability and could be used to forecast average and extreme atmospheric temperature in other areas. Future climate changes were projected using the CNN-LSTM model. The average atmospheric temperature, minimum atmospheric temperature, and maximum atmospheric temperature in 2030 were predicted to be 17.23 °C, −5.06 °C, and 42.44 °C, whereas those in 2040 were predicted to be 17.36 °C, −3.74 °C, and 42.68 °C, respectively. These results suggest that the climate is projected to continue warming in the future.