A deed in lieu of foreclosure is basically a voluntary foreclosure, where the homeowner agrees to surrender the property to the bank, and the bank, in exchange for not having to incur the legal expenses of going through the foreclosure process, in some cases agrees to not pursue any deficiency against the seller.