Corporate financing decisions increasingly take non-financial information into account, particularly environmental, social, and governance (ESG) disclosures. This study analyzes the relationship between ESG disclosure and capital structure, and examines whether financial constraints alter this relationship within the basic materials sector—an industry highly sensitive to environmental issues. The model integrates perspectives from signaling, pecking order, and trade-off theories. As audited ESG panel data for the 2021–2025 period were not included in the scope of this request, the statistical analysis utilizes a calibrated, balanced simulated panel consisting of 45 companies over five years (225 firm-year observations), with all underlying figures derived from the Indonesia Stock Exchange. A firm- and year-fixed effects regression—employing robust standard errors clustered at the firm level—reveals a negative baseline relationship between ESG disclosure and book leverage (β = -0.116), alongside a positive interaction effect between ESG and financial constraints (β = 0.134; p = 0.012). Financial constraints are positively correlated with leverage, while profitability and liquidity reduce leverage, and asset tangibility increases it. The interaction effect indicates that ESG disclosure is more strongly associated with lower leverage in firms with fewer financial constraints; this negative relationship weakens as financial constraints intensify. Robustness checks using the debt-to-equity ratio confirm a consistent moderating pattern. The study contributes by establishing financial constraints as a boundary condition that links sustainability transparency to corporate financing decisions.