In this paper, we study the optimal design of financial safety nets under limited private credit. We ask when it is optimal to restrict ex ante the set of investors that can receive public liquidity support ex post. When the government can commit, the optimal safety net covers all investors....