We present a model in which shadow banking arises endogenously and undermines marketdiscipline on traditional banks. Depositors' ability to re-optimize in response to crisesimposes market discipline on traditional banks: these banks optimally commit to a safeportfolio strategy to prevent early...