Through the lens of credit risk ratings, we investigate how banks determine loan terms under capital constraints. Using … adjustments to banks' internal rating systems, which only alter how outsiders assess the riskiness of borrowers, trigger changes … effects to be strong for smaller, riskier, and capital constrained banks as well as for borrowers with poorer credit quality …