ABSTRACT Digital finance presents new opportunities for enterprise development. This study develops a digital finance index utilizing data from Chinese prefecture-level cities and listed companies between 2011 and 2021, employing the OP and LP methods to assess resource allocation efficiency. The impact of digital finance on efficiency was analysed using a two-way fixed-effects model alongside an instrumental variable approach, while a two-step methodology was adopted to explore the underlying mechanisms. The findings demonstrate that digital finance significantly enhances resource allocation efficiency by broadening financing channels, improving corporate fund utilization, and reducing information asymmetry. Furthermore, the improvement in resource allocation efficiency attributed to digital finance is particularly pronounced in regions with higher per-capita income, larger urban populations, and state-owned enterprises. This study contributes a novel perspective on resource allocation efficiency and provides policy implications for effectively harnessing the opportunities afforded by digital finance in the contemporary era, thereby maximizing the benefits of the digital age and improving resource allocation efficiency.