All else equal, yes, a higher interest rate increases risk of default. However, that increased risk of default is more than offset by the increase in interest. The value of the loan is determined by both the default risk and the interest rate. These two factors impact one another, but not proportionally with their impact on the return.
Basically, increasing the interest rate can raise the value of the loan more than the resultant increase in default risk decreases it.
Latest Answers