Usually, the waiting period to buy a home after foreclosure is 5 years to 7 years. If you had a a deed-in-lieu, your waiting period would be about 4 years to 7 years. You can also but through Fannie Mae (America's largest mortgage buyer). If you had foreclosure with extenuating circumstances, 3 years to 7 years. After a deed-in-lieu of foreclosure, with extenuating circumstances 2 years up to 7 years.