In the process of promoting the achievement of carbon peak and carbon neutrality strategic goals,it has received widespread attention from many scholars how enterprises manage the environment and improve environmental performance.A-share listed companies in China's Shanghai and Shenzhen stock markets from 2012 to 2022 are selected as research samples,the text analysis method is used to measure corporate crisis consciousness,the impact of crisis consciousness is empirically tested on environmental performance,the role of corporate innovation is examined in the impact of crisis consciousness on environmental performance,and heterogeneity analysis is conducted.Research has found that there is a significant positive correlation between crisis consciousness and environmental performance,and corporate innovation plays a mediating role in the impact of crisis consciousness on environmental performance;compared to state-owned enterprises,non-state-owned enterprises are more inclined to improve environmental performance through enterprise innovation;compared to development based innovation,exploratory innovation can more effectively promote the improvement of environmental performance.