We propose a model that delivers endogenous variations in term spreads driven by banks' portfolio decision while facing the risk of maturity transformation. First, we show that fluctuations of the future profitability of banks' portfolios affect their ability to cover for any liquidity needs and...