As the digital economy becomes the core driving force for global economic development, digital infrastructure, as its key support and foundation, is of great significance in promoting regional balanced development. The development level of the rural digital economy in western China is relatively lagging behind, and its rural revitalization process relies more on the improvement of digital infrastructure. Therefore, based on a combination of theoretical analysis and empirical testing, this paper systematically studies the impact of digital infrastructure on rural revitalization in western regions. The study used panel data from 12 provinces, autonomous regions, and municipalities in western China from 2003 to 2022, and employed a fixed effects model to empirically test the relationship between digital infrastructure and rural revitalization. The results indicate that:(1) Digital infrastructure significantly promotes the overall level of rural revitalization in the western region and has a significant improvement effect on all dimensions of rural revitalization;(2)The empowering role of digital infrastructure shows significant heterogeneity in the urban-rural income gap and digital inclusive finance, manifested as a differentiation effect. That is, the promotion effect is stronger in areas with smaller urban-rural income gaps, and more pronounced in areas with higher levels of digital inclusive finance development. This study provides an empirical basis and policy inspiration for formulating differentiated digital economy development policies and promoting rural revitalization in western regions through digital infrastructure.