Abstract Based on the top-five supplier/customer data of A-share listed companies from 2007 to 2023, this study constructs supply chain networks and social relationship networks among firms, and examines the impact of enterprise digital transformation on supply chain resilience from the dual perspectives of these two types of interfirm networks. The results show that enterprise digital transformation not only directly enhances supply chain resilience, but also interacts with interfirm supply chain networks and social relationship networks, generating a reinforcing effect that collectively promotes supply chain resilience through indirect mechanisms. Mechanism tests indicate that digital transformation and interfirm networks form a synergistic effect, which enhances supply chain resilience through three channels: the information search mechanism, the supplydemand matching mechanism and the knowledge spillover mechanism. Further analysis reveals that when firms occupy a core position in the supply chain network, exhibit high dependency on supply chain intermediaries, or have a larger scale, the effect of digital transformation and interfirm networks in enhancing supply chain resilience becomes more pronounced. These findings unveil a novel mechanism through which enterprise digital transformation enhances supply chain resilience by strengthening network connectivity and spillover effects within the supply chain, offering insights for improving the resilience and security of domestic supply chains.