Sustainability aspects are assuming a key role both in investment decisions and in credit assessment processes. The aim of this research is to investigate the relationship between environmental, social and governance (ESG) variables and credit rating. We conduct an analysis on a sample of 1191 US-listed companies in 2021. We collect S&P credit ratings on Thomson Refinitiv and we regress ESG variables, and the sub-categories of each pillar E/S/G, against credit rating, along with common firm-specific factors affecting credit risk. The result highlights a direct relationship between ESG performance and credit ratings, confirming previous literature (Apergis et al., 2022; Devalle et al., 2017). Companies with good ESG scores achieve better credit ratings of up to three points. Particularly, good social performance is significantly associated with better credit ratings. However, the empirical analysis shows that the current integration of ESG parameters into credit rating assignment processes is only at an early stage because it is still difficult to quantify the impact of these factors by separating them from economic and financial indicators. This study updates previous research with a larger sample and paves the way for improving and strengthening ESG research on environmental, social and governance performance issues. Managers should promote an effective ESG policy and, in particular, social practices to improve a firm’s creditworthiness, while regulators should unify the ESG evaluation criteria for credit rating agencies.