Carbon emission reduction in the construction industry is vital for realizing sustainable development, and the development of the digital economy plays an important role in this process. The impact of the digital economy on reducing carbon emissions in the construction industry is empirically explored through econometric analyses on a sample of panel data from 30 provinces in China from 2012 to 2021. The empirical results show that developing a digital economy can significantly reduce the construction industry's carbon emission intensity. Additionally, this impact has a significant spatial spillover effect and can benefit the neighboring regions. The mechanism test shows that the digital economy can reduce carbon emissions by improving the technological level of the construction industry. Moreover, the inhibiting effects of the digital economy on carbon emissions in the construction industry vary across different regions. They are more pronounced in the eastern and western regions of low coal-consuming regions. These findings offer valuable insights for policymakers to help drive the deeper integration of the digital economy with the construction industry and facilitate its transition to low-carbon development.