We study how optimal bank capital and bond risk are influenced by deposit insurance, implicit guarantees, depositor preference, asset encumbrance, and bail-in resolution frameworks. We find that these features of bank financing change the optimal amount of bank capital. The net effect on bond...