Consumer bankruptcy is one of the largest social insurance programs in the United States, but little is known about its impact on debtors. We use 500,000 bankruptcy filings matched to administrative tax and foreclosure data to estimate the impact of Chapter 13 bankruptcy protection on subsequent outcomes. Exploiting the random assignment of bankruptcy filings to judges, we find that Chapter 13 protection increases annual earnings by $5,562, decreases five-year mortality by 1.2 percentage points, and decreases five-year foreclo-sure rates by 19.1 percentage points. These results come primarily from the deterioration of outcomes among dismissed filers, not gains by granted filers. (JEL D14, I12, J22, J31, K35)