ABSTRACT Excessive earnings management can significantly reduce the quality of accounting information, consequently harming the interests of investors and creditors. In the Chinese market, research on earnings management focuses primarily on corporate governance and external environmental viewpoints, with limited literature addressing debt governance. This paper centers on exploring the protective impact of bond covenants, revealing their inhibitory effect on both accrual and real earnings management through two potential mechanisms (agency conflicts and risk-taking). Furthermore, this study conducts a heterogeneous analysis from various perspectives, identifying how bond covenants influence earnings management in different ways and underscoring the moderating role played by underwriters. The findings offer theoretical insights for the development of a high-quality information disclosure system.