We study secured lending contracts using a novel, loan-by-loan database of bilateral repurchase agreements in which borrower quality is fixed and collateral quality is known. Holding all risk factors constant except collateral quality, we show that loans on riskier collateral have higher...