Purpose — This study aims to examine the extent to which corporate governance influences the relationship between audit fees, institutional ownership, and tax avoidance. It seeks to determine whether corporate governance mechanisms act as deterrents or facilitators in tax avoidance. Design/methodology/approach — This study aims to examine the impact of audit fees and institutional ownership on tax avoidance with good corporate governance as a moderating variable in the mining sector of Indonesia. The main focus is to understand how the implementation of tax policies and internal supervision can reduce tax avoidance practices. This study aims to provide insights into the effectiveness of fiscal policies and tax transparency in publicly listed companies in Indonesia in 2020-2023. Finding — This study uses a quantitative approach with multiple regression analysis. The data used are secondary data obtained from the annual reports and financial statements of mining sector companies listed on the Indonesia Stock Exchange for the period 2020–2023. Tax avoidance is measured using accounting-based methods, and good corporate governance will be tested as a moderating variable affecting the relationship between audit fees, institutional ownership, and tax avoidance. Practical Implication — This study can contribute to reducing tax avoidance practices, which, although legal, still harm government revenue. The findings of this study can serve as recommendations for company management and shareholders to be more compliant in fulfilling their tax obligations and reducing tax avoidance practices that impact the country. This study also provides insights to improve oversight related to tax avoidance practices in the context of fiscal policy. Originality/value — This study examines how audit fees and institutional ownership influence tax avoidance, with good corporate governance moderating the relationship, particularly in high-risk industries like mining in Indonesia.