We analyze the effects of capital regulation on bank stability in a model where banks compete for loans and deposits, and where they face both a portfolio and an optimal contracting problem. In our setup, stricter capital regulation increases the risk of individual loans and may also increase a...