We develop a model of interbank lending and borrowing with counterparty risk. The model has two key ingredients. First, liquidity in the banking sector is endogenous, which means that there is an opportunity cost of holding liquid assets. Second, banks are privately informed about the risk of...