PurposeIn this fast-changing world, digitization has become crucial to organizations, allowing decision-makers to alter corporate processes. Companies with a higher corporate social responsibility (CSR) level not only help encourage employees to focus on their goals, but they also show that they take their social responsibility seriously, which is increasingly important in today’s digital economy. So, this study aims to examine the relationship between digital transformation and CSR disclosure of Chinese A-share companies. Furthermore, this research investigates the moderating impact of governance heterogeneity, including CEO power and corporate internal control (INT) mechanisms.Design/methodology/approachThis study used fixed effect estimation with robust standard errors to examine the relationship between digital transformation and CSR disclosure and the moderating effect of governance heterogeneity among Chinese A-share companies from 2010 to 2020. The whole sample consists of 17,266 firms, including 5,038 state-owned enterprise (SOE) company records and 12,228 non-SOE records. The whole sample data is collected from the China Stock Market and Accounting Research, the Chinese Research Data Services and the WIND databases.FindingsThe regression results lead us to three conclusions after classifying the sample into non-SOE and SOE groups. First, Chinese A-share businesses with greater levels of digitalization have lower CSR disclosures. Both SOE and non-SOE are consistent with these findings. Second, increasing CEO authority creates a more centralized company decision-making structure (Breuer et al., 2022; Freire, 2019), which improves the negative association between digitalization and CSR disclosure. These conclusions, however, also apply to non-SOE. Finally, INT reinforces the association between corporate digitization and CSR disclosure, which is especially obvious in SOEs. These findings are robust to alternative HEXUN CSR disclosure index. Heterogeneity analysis shows that the negative relationship between corporate digitalization and CSR disclosures is more pronounced in bigger, highly levered and highly financialized firms.Originality/valueDigitalization and CSR disclosure are well studied, but few have examined their interactions from a governance heterogeneity perspective in China. Practitioners and policymakers may use these insights to help business owners implement suitable digital policies for firm development from diverse business perspectives.