Taking into account both financial development and digital technology, digital finance is an important driving force for the development of green finance, and has great significance for the long-term mechanism of air pollution control. Based on the panel data of 13 cities in the Beijing-Tianjin-Hebei region from 2014 to 2020, this paper constructs a dynamic GMM model to examine the dynamic impact of digital finance development on air quality level. The results show that the air quality development in Beijing-Tianjin-Hebei region is obviously divided; Digital finance can significantly improve air quality, and this influence process is effective for a long time; There are significant differences in the air pollution control effects of the three sub-dimensions of digital finance, the coverage breadth of digital finance and the degree of digitalization can effectively improve the air quality, the depth of use of digital finance has an insignificant inhibitory effect, and the degree of digitalization > breadth of coverage > use depth in terms of the degree of impact.