We present an equilibrium model of financial institutions to examine the optimal regulation of risk taking. Shareholders set compensation incentivizing management to increase risk to excessive levels. Regulators use caps on asset risk and compensation to achieve the socially optimal risk level....