In this paper, the original RSEI model (including greenness index, humidity index, heat index and dryness index) and their contribution rate (%) are used to evaluate the change of ecological environment. To study how natural and anthropogenic changes in ecological environment affect ecosystem function and how these factors interact, CASA model was used to estimate the correlation between the net primary productivity of vegetation (NPP), population density and land use. This could reveal the influence factors of ecological environment change in the Wanjiang River Basin from 2000 to 2022. The results show that the combing RSEI and CASA models can effectively show the spatial-temporal variation and spatial distribution of NPP of vegetation in Wanjiang Basin. During this period, RSEI of the basin showed an overall upward trend, and the RSEI increased by about 0.1/10 a. The vegetation productivity in most areas was gradually improved, the ecological environment was restored, and the ecological environment quality was gradually improved. The average annual NPP simulated by CASA was 266.81 g C·m-2·a-1. The variation trend of NPP in vegetation showed a slight decrease, but the overall NPP level was basically unchanged. There is a significant correlation between NPP and population density, a negative correlation between NPP and population density areas such as city centers, and a positive correlation between NPP and population density in areas with frequent agricultural activities. From 2010 to 2020, there is a significant positive correlation between population density and land use.