This paper shows, for the first time, how liquidity infusions from government bailouts affect loan modification in the mortgage market. The design of the Pooling and Service Agreement leads mortgage servicers to prefer foreclosure to modification when the servicers are liquidity constrained....