Abstract:Due to the different central position, scale and location of cities in China, the development of digital resource endowment and digital ecological elements is heterogeneous, which has different effects on the scientific and technological innovation of cities. In view of this, from the perspective of “politics-economy-society-science and technology”(PEST), based on co-evolution theory and resource-based theory, taking 226 cities in China as samples, using regression and configuration research methods, this paper explores the PEST digital ecology, that is the path of digital politics, digital economy, digital society and digital technology to drive urban scientific and technological innovation. The research shows that there is a positive “U” effect between PEST digital ecology and urban scientific and technological innovation. The “U” inflection point digital ecology index is 62.12, of which 69.03 % of the sample cities are on the left side and 30.97 % of the sample cities are distributed on the right side. In general, there is no necessary condition for urban high-tech innovation. The configuration paths of high-tech and non-high-tech innovation driven by digital ecology are 6 (such as digital society and digital technology-driven, digital industrialization, digital society and digital infrastructure-led, digital politics, digital society and digital technology-driven, etc.) and 1 (digital politics, digital society, digital technology and digital industrialization missing type) ; the configuration path of digital ecology driving urban high-tech innovation has central position, scale and location heterogeneity. Therefore, the digital ecological construction of each city should be practical and implement a differentiated development strategy.