Foreclosure is a legal process that allows the mortgage company to recover the money loaned to you, by selling your home on the courthouse steps at auction. The legal process varies from state to state. It can take anywhere from 90 days to 2 years. Once the home is auctioned off, the Sheriff can physically throw you and your possession out of the property.