What is a Deed in Lieu of Foreclosure?

A deed in lieu of foreclosure is a way of giving back the property when you know foreclosure is imminent. Some critics maintain that this method allows the borrower to minimize the impact on their credit score, but this is debatable.