If the homeowner pays off the loan, they will be responsible for covering the foreclosure costs. However, if the property is sold, the new owner of the property will cover the costs after buying it at an auction. Sometimes the lender will buy the property at an auction. This means that they will be responsible for covering the foreclosure costs, which they will try to recoup by reselling the property.