Starting from the Chinese city level, combined with the panel data of 281 cities in China from 2011 to 2019, this paper empirically examines the spatial impact of digital economy development on urban carbon emissions, and the results show that there is a significant spatial dependence and spatial spillover effect between digital economy and urban carbon emissions, and the region-wide inspection finds that the digital economy shows a significant promotion effect on local carbon emission levels, while the adjacent effect of digital economy shows "U" shaped characteristics. There is a "U" shaped relationship between the digital economy and the carbon emissions of the region, and the "U" relationship between the digital economy and the carbon emissions of neighboring areas is only within a specific distance. This paper grasps the general laws of digital economy development and urban carbon emissions from the medium and micro scales, and provides policy suggestions for solving the carbon emission reduction problems faced by high-quality development.