Enhancing urban ecological resilience (UER) is crucial for mitigating soil erosion, improving land use efficiency, and preventing ecological degradation. The digital–real economy integration (DRI) plays a pivotal role in strengthening UER, offering a vital pathway for modernizing ecological governance systems and capabilities in the Yellow River Basin (YRB). Based on ecological resilience theory, this study establishes a three-dimensional evaluation framework centered on “resistance–recovery–adaptation”. Using panel data from 78 cities in the YRB from 2011 to 2023, we empirically examine the impact of DRI on UER. The results indicate that DRI significantly improves UER in the YRB, with notably strong positive effects on recovery and adaptation capacities, although there is no significant effect on resistance capacity. Mechanism analysis reveals that DRI promotes UER primarily through three channels: upgrading the industrial structure, strengthening government governance, and spurring green technological innovation. Heterogeneity analysis further shows that the positive impact of DRI on UER is more pronounced in downstream cities, urban agglomerations, non-resource-based cities, key environmental protection cities, green data center pilot cities, and informatization–industrialization integration pilot cities. Spatial analysis confirms DRI generating positive spatial spillover effects on the UER of neighboring cities. This study provides a theoretical basis for understanding the ecological governance potential of DRI and offers policy insights to support coordinated digital and green transformation in the YRB.
Xu et al. (2026) studied this question.