Filing a bankruptcy petition stops all mortgage foreclosure actions currently underway, as well as preventing them from beginning in the future.
Chapter 13 bankruptcy cases also allow you to force your mortgage lender to give you up to five years to catch up on your back mortgage payments.