Credit risk is the risk that a security will default or that its credit rating will be downgraded, resulting in a decrease in value for the security. The measurement of credit risk usually considers the risk of default, credit downgrade, or change in credit spread.