This research examines the hypotheses that macroeconomic variables and environmental factors impact credit risk. This study focuses on the relationship between macroeconomics, environmental issues, and credit risk in ASEAN countries. This study applies a panel Autoregressive Distributed Lag (ARDL) model to data from the World Bank for the 2008-2019 period. The variables studied include non-performing loans (NPLs), Gross Domestic Product (GDP) growth, interest rates, inflation, and carbon emissions. The research results show that environmental factors do not affect NPLs, while macroeconomic factors do. GDP growth and inflation reduce NPLs while rising credit interest rates increase NPLs. The results imply credit risk is not considered sustainable lending. Credit risk does not consider environmental degradation as measured by increases in carbon emissions. From cross-country evidence, the effect of environmental degradation on credit quality is not found in all countries. Indeed, if environmental quality is considered, environmental degradation will be detrimental to operational and financial performance, especially for heavily polluting firms. However, poor ecological quality will harm operational and financial performance. In addition, business entities within the framework of sustainable loans have collateral consequences for business activities aimed at reducing pollution, which has implications for increasing costs. For decision-makers, both regulators and banks, in the future, banking credit distribution must seriously consider implementing sustainable lending through green credit policy schemes. Green credit schemes need to involve collaboration with banks and incorporate environmental factors into the loan portfolio. Empirically implementing green credit can improve bank financial performance and firm environmental, social, and governance (ESG) performance.