If you have had a bankruptcy or foreclosure in the past, it may affect your ability to get a new mortgage. Unless the bankruptcy or foreclosure was caused by situations beyond your control, we will generally require two to four years have passed since the bankruptcy or foreclosure. Equally important is your ability to re-establish an acceptable credit history with new loans or credit cards.