PurposeThis study aims to see the moderating effect of board diversity on the relationship between ownership structure and real earnings management.Design/methodology/approachThis study uses unbalanced panel data of 75 listed energy firms (346 firm-year observations) from three South Asian emerging economies (Bangladesh, India, and Pakistan) from 2015 to 2019. The two-step system GMM estimation is used for data analysis. This study also uses fixed effect regression to obtain robust findings.FindingsThe findings show that firms with a greater ownership concentration and managerial ownership significantly reduce real earnings management. In contrast, the data refute the idea that institutional and foreign ownership affect real earnings management. We also find that board diversity interacts significantly with ownership concentration and managerial ownership, meaning that board diversity moderates the negative link of the primary relationship that reduces real earnings management. On the other hand, board diversity has no interaction with institutional and foreign ownership, implying no moderating effect exists on the primary relationship.Originality/valueTo the best of the authors’ knowledge, this is unique research investigating how different ownership structures affect real earnings management in the emerging nations’ energy sector, which the earlier studies overlook. More specifically, this research focuses on how board diversity moderates the relationships between ownership structure and real earnings management, which could be helpful for future investors.