If you’ve 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 a situation beyond your control, we will generally require that two to four years have passed since the bankruptcy or foreclosure. It is also important that you’ve re-established an acceptable credit history with new loans or credit cards.