This thesis examines the optimal mode of financing for banks and financial institutions. The first chapter, which is a joint work with Prof. Jean-Charles Rochet, investigates how Systemically Important Financial Institutions (SIFIs) should be financed. The main specificity of such firms is that their failure imposes negative externalities on the financial system and, more broadly, on the whole economy. Since their shareholders do not internalize these externalities, they tend to provide less capital than what would be socially optimal, generating too many failures. In jurisdictions where they receive tax exemptions, CoCo bonds are a simple means of increasing the resilience of SIFIs while providing large tax benefits to banks' shareholders. However, we show that when tax revenues are properly accounted for, these CoCo bonds are detrimental to social welfare. The second chapter provides a formal model of a bail-in plan, a pre-defined contract that results in self-recapitalization of a financial institution when it is in distress and has no access to equity financing. Bail-ins have the potential to eliminate inefficient bank liquidations and ease financing constraints in bad times. Using a theoretical model of a bail-in contract where banks face time varying financing frictions, taxation and liquidation costs, I show that banks' capital structure decisions and optimal financing and pay-out policies are largely affected by the design of the contingent capital (specifically the conversion ratio). However independent of its design, for an optimal level of debt, bail-in contracts always decrease shareholders incentives to build up liquid buffers and to recapitalize in good times but also eliminate any risk-taking incentives. The third chapter presents a model of bank optimal maturity structure when banks face systemic risk through correlated investments. Banks can privately affect the probability of success of their projects. Risky short-term debt can act as a disciplinary device if it is not rolled over when an adverse interim-date signal on the quality of banks' assets is received. The optimal maturity structure is the result of the trade-off between the disciplinary benefits of short-term debt and the costs of inefficient early liquidations. I show that bank asset commonality affects this trade-off since it reduces the costs of exerting effort through positive information synergies and increases the inefficiency of early liquidations through negative fire-sale externalities. In particular, there is a more important role for the disciplinary effects of short-term debt in high correlation, high fire-sale externalities and low information synergies environments.