Green development is crucial for promoting high-quality and sustainable economic and social development. In China, green development is key to achieving the national goals of building a beautiful China and rejuvenating the nation. In this study, we employed a slacks-based measure data envelopment analysis method to calculate the green development efficiency value of panel data from Anhui Province, China, from 2005 to 2020. Moreover, the Malmquist Index was used to dynamically analyze the green total-factor productivity and decomposition index of 16 cities in Anhui Province. Exploratory spatial data analysis was used to measure the spatial relationship of the green development efficiency value for each province in Anhui Province. Then, we established the spatial lag model according to the spatial correlation and perform a comprehensive analysis of the impact and spillover effects. The results show that: The overall green development efficiency of all urban areas in Anhui Province showed a fluctuating trend, but most cities exhibiting medium of higher green development efficiency.Various cities exhibited spatial aggregation, with high, high, and low values of green development efficiency.The industrial structure, digital economy development, and the urbanization level showed relatively significant positive correlations with the regional economic development level, whereas the energy structure and level of opening up showed a significant negative correlation.The influence of environment management and scientific and technological development was not significant.the industrial structure, and the urbanization rate showed positive effects on local green development but negative spillover effects on surrounding areas, whereas the energy structure, relative economic development, and level of opening up produced positive spillover effects.