Excellent air quality is important for China to achieve high quality economic development. The paper analyses the spatial and temporal distribution characteristics of the air quality index (AQI) in 288 Chinese cities, and further investigates the driving factors affecting air quality using the spatial Durbin model (SDM) based on the panel data of 288 Chinese cities from 2014 to 2021. The results of the study show that: (1) China's air quality level has improved in general, but there are large differences in air quality between regions; (2) China's AQI has significant spatial positive autocorrelation, and the Moran's scatter plot shows a high-high and low-low agglomeration; (3) The driving factors of air quality have different effects, and regional heterogeneity is obvious. Some developed regions in China have already crossed the inflexion point of the environmental Kuznets curve (EKC); promoting industrial upgrading and reducing pollutant emissions can significantly improve urban PM2.5 concentrations; and the "Three-Year Strategy for Conquering the Blue Sky War" policy has lowered the AQI in North China and improved PM2.5 concentrations nationwide. Based on the above findings, the paper puts forward corresponding policy recommendations.