PurposeThe present work aimed to identify the impact of accrual-based earnings management on the cost of equity (KE) through corporate social responsibility (CSR) as a moderating variable on European Environmental, Social, and Governance (ESG) companies.Design/methodology/approachThe authors used data from a sample of 366 European firms over the 2012–2022 period. The data were collected from the Thomson Reuters Asset 4 and I/B/E/S database and analyzed using STATA 17 as a statistical software package.FindingsAs expected, the results showed a negative relationship between accruals, CSR and KE. Moreover, they suggest that the moderating variable negatively affects the relationship between accruals and the KE.Practical implicationsThe results are pertinent to stakeholders and investors, who would pressure companies to enhance the quality of disclosed information and mitigate risks facing the company.Originality/valueThe main contribution lies in examining the relationship between accruals and KE through CSR in the European ESG context.