With the frequent occurrence of corporate environmental incidents and the intensification of bank credit risks, the banking industry urgently needs to strengthen the prevention, control and management of corporate environmental risks. Based on the analytic hierarchy process, this paper takes the three enterprises that have been granted credit by IB as samples, selects the enterprise environmental risk model of four sub-indicators: carbon emissions, basic environmental management, environmental risk management measures, and environmental risk emergency management, and selects the appropriate green credit objects according to the calculation results. It also puts forward suggestions on environmental risk management to improve the collection and transmission of enterprise environmental information, strengthen the supervision of enterprise risk management measures, and formulate a unified enterprise environmental risk rating standard, so as to provide reference for the banking industry to carry out enterprise environmental risk management.