Global urbanization and climate change have a profound influence on the ecological quality (EQ) of China. In this study, utilizing the Google Earth Engine, we calculated the spatiotemporal heterogeneity of the China Remote Sensing Ecological Index (RSEI) for the period 2001–2020. We analyzed its drivers using land use, socioeconomic, and climate data. According to the results, the national average RSEI values for 2001, 2010, 2016, and 2020 were 0.39, 0.41, 0.46, and 0.45, respectively, and the proportions of the moderate and upper grades were 54 % in 2001, 64 % in 2010, 76 % in 2016, and 73 % in 2020. The RSEI value in the forest cover area was higher than that in the urban built-up and non-vegetation cover area by 0.1–0.2. The correlation coefficients between each variable and RSEI presented a ladder distribution (along the trend distribution of the Huanyong line). Moreover, maximum temperature (Tmmx) consistently contributed the most to RSEI (the contribution rate was between 35 % and 40 %), followed by precipitation accumulation (Pre, the contribution rate was between 18 % and 28 %), and then DEM, GDP, population (PPP), and wind speed (VS), all with relatively lower contributions around 10 %. Furthermore, temperature surpassing 24 °C, precipitation below 90 mm, population exceeding 50, or GDP above 10,000 showed a negative correlation with RSEI. This study analyzed the regional differences in RSEI drivers in different regions of China, providing a reference for local targeted improvement measures.