I embed shadow banks in a quantitative general equilibrium model in which limited liability and deposit insurance can lead regulated banks to provide socially inefficient risky loans. Higher capital requirements can eliminate excessive risk at the cost of lower liquidity provision. In general...