We investigate determinants of lenders' choice to securitize loans, focusing on the quality of loans they sell to investors in the secondary mortgage market relative to ones they retain on their balance-sheets. Using several large datasets of mortgage loans originated between 2004 and 2007, we...