We present a model of central bank collateralized lending to study the optimal choice of the haircut policy. We show that a lending facility provides a bundle of two types of insurance: insurance against liquidity risk as well as insurance against downside risk of the collateral.