This paper examines the coupling coordination degree between digital economy and green technology innovation in 19 urban agglomerations across China from 2011 to 2020. Through the analysis of the coupling coordination degree model, spatial autocorrelation, multi-distance spatial clustering analysis, kernel density analysis and grey correlation model, this study uncovers the mechanism of coupling between digital economy and green technology in Chinese urban agglomerations. Data analysis revealed a significant increase in the coupling coordination between the digital economy and green technology innovation within urban agglomerations. However, there are noticeable spatial imbalances in this trend. Additionally, the multi-distance spatial distance analysis highlights a shift from a random distribution to a clustered distribution of spatial characteristics. The polarization features vary among each urban agglomeration and exhibit a significant positive spatial correlation. Factors such as economic sustainability, creative talent, policy support, digital impetus, and technological support will affect the coupling mechanism of green technology innovation and the digital economy in China's urban agglomerations. Policy recommendations are proposed to foster the development of the digital economy, promote coordinated growth within and beyond urban clusters, and ultimately build a digital ecological civilization that is both green and intelligent.