This paper tries to uncover the corporate governance effects of digital finance based on the corporate tax avoidance perspective. We find strong evidence that digital finance is negatively associated with corporate tax avoidance. The governance role digital finance plays is primarily mediated through the mechanisms of resource allocation and information governance effects. Further analysis shows that the negative effects of digital finance are more pronounced among higher profitability and non-state-owned firms. Additionally, multiple major shareholders and stronger internal control quality(corporate internal governance) as well as higher institutional investor shareholding and more analyst attention(corporate external governance) can strengthen their negative connection, manifesting the complementarity between digital finance and modern corporate governance mechanisms. Overall, this paper reveals the spillover effects of changes in the financial development environment on corporate tax avoidance strategies. It also contributes to enriching the literature on the corporate governance value of digital finance and the factors influencing corporate tax avoidance.