Under the macro background of digital China construction, it is of great practical significance to explore how enterprises can achieve the improvement of ESG performance through effective digital transformation based on the perspective of managers' learning theory. This paper takes China's A-share listed companies in 2009- -2021 as A research sample to empirically test the impact of digital transformation on the ESG performance of enterprises. The study found that the digital transformation of enterprises has significantly promoted the fulfillment of ESG responsibilities. The results of the mechanism of action show that the digital transformation of enterprises is through improving the management Sense perception and decision-making, thereby improving ESG performance. Further research based on the heterogeneity of management characteristics shows that the shadow of digital transformation on the ESG performance of enterprises is more significant among male CEOs, executives without academic background, no financial background and low management shareholding ratio. The research not only improves the learning theory of managers, but also provides empirical evidence for digital transformation to affect enterprise behavior, and provides new ideas for encouraging and guiding enterprises to fulfill ESG responsibilities.