Digital economy policies, acting as a sturdy cornerstone for the development of the digital economy, play a pivotal role in stimulating entrepreneurial vitality of the logistics industry. This study leverages panel data from 277 cities in China spanning the period from 2009 to 2022 to conduct an in-depth exploration of the impact of digital economy policies on entrepreneurial vitality of the logistics industry, their underlying operational mechanisms, and their heterogeneous effects across different cities. The empirical findings indicate that digital economy policies DEPs exert a positive and lagged impact on the entrepreneurial vitality of the logistics industry. The results of the mechanism tests reveal that digital economy policies can elevate entrepreneurial vitality of the logistics industry through three crucial channels: promoting the construction of digital infrastructure, fostering digital innovation vitality, and providing talent support. The heterogeneity analysis uncovers that digital economy policies exhibit more pronounced positive effects in advanced cities and e-commerce demonstration cities. This study not only deepens our understanding of the relationship between digital economy policies and entrepreneurial vitality of the logistics industry but also provides a scientific basis for policymakers to implement targeted and precise policies, while simultaneously facilitating the high-quality development of logistics enterprises.