The current study aims to explore the relationship between women’s participation in top management (TM) positions and earnings management (EM) practices. Besides, this study aims to examine the impact of corporate environmental sustainability (CES) as a moderating variable in this relationship. The study sample comprised 917 observations related to companies listed on the Saudi Stock Exchange over a seven-year period. Moreover, this study recognised a statistically significant positive correlation between the participation of women in TM and EM practices. Furthermore, the findings indicated a negative correlation between CES practices and EM; however, this correlation was not statistically significant, suggesting that the influence of CES is constrained or indirect in this context. Furthermore, the research suggests that CES does not serve as a moderating factor in the relationship between women’s representation and EM. The study’s novelty and scientific significance stem from its amalgamation of female governance, CES, and accounting methods within a mostly conservative regulatory framework, therefore addressing a critical need in the regional financial and management literature.