Ensuring that the flue gas in the furnace stays within the temperature range of no less than 850 ℃ for at least 2 s contributes to the steady municipal solid waste (MSW) incineration, and the reduction of secondary pollution. However, at present, it is difficult to quantitatively calculate and predict the residence time of flue gas in the high temperature area by only using the thermocouple for qualitative evaluation. Based on the thermodynamic calculation, correlation analysis of practical operation parameters, and a variety of machine learning algorithms (backpropagation neural network, recurrent neural network, and random forest regression), the residence time of flue gas in high-temperature areas (>850 ℃) was calculated, correlation analysis of key operation parameters was conducted, and the prediction model of residence time was constructed, aiming at a typical MSW circulating fluidized bed boiler in China. Results revealed that 10 key operating parameters, e.g. section temperature of the furnace, temperature and pressure of primary air and secondary air, etc., had a strong correlation and predictability with the high-temperature flue gas residence time. Moreover, the model of the recurrent neural network was relatively optimal, with a higher fitting degree and accuracy. Specifically, the mean square error (MSE) was 0.11626, and the average absolute error between the predicted value and real value was 1.174%. Research enabled the prediction of flue gas temperature variation in high-temperature areas, helped optimize the MSW incineration, and contributed to the advanced control of pollutant emission reduction.