The first issue is whether you want it to affect the foreclosure timeline or not. A stay goes into effect with the filing of most bankruptcy cases which would stop the mortgage company from going forward. In a Chapter 13 the Debtor can waive the stay if it not useful for the debtor. If the Debtor wants to keep the stay in a Chapter 13, whether that is possible is a question of the specific factual situation.
If a debtor intends to give up real property to a secured creditor in a bankruptcy case, the debtors plan which provides for this treatment also has the effect of waiving relief from stay. The debtor may effect some small delay pending the filing of a plan or waiting in an abundance of caution for the situation to play out.
Where a debtor has filed previous bankruptcy cases, the stay may be limited. To some extent this is judge and fact specific. An attorney will likely be able to give you a prediction of the likely outcome of a filing in this regard. Generally, the stay becomes more difficult to benefit from with each successive filing. A repeat debtor does not come into court with the same presumption of entitlement to the stay and must be ready to explain the differences in a new case that make it more likely to succeed if earlier cases failed.
In order to allow a debtor to affect the mortgage with respect to land, the Debtor must file a bankruptcy prior to the sale date in a foreclosure case. The sale date is a point near the end of the process, and typically occurs about 30 to 45 days after the hearing on the motion for summary judgment. Notice of the hearing date is typically provided in the summary judgment order or a separate notice and requires publication of legal notices. A filing after the sale date will typically not affect the sale, if it is otherwise sound. An attorney should be consulted early in the process to aid in monitoring the timing of the case and a prompt and timely filing.
In Chapter 13, to keep the primary residence, the debtor must propose a plan that provides for the payment of the regular mortgage payment going forward, as well as an additional amount necessary to cure the default in the mortgage. Most Chapter 13 debtors are eligible to cure the default over up to 60 months. (Under median debtors can file a plan as short as 36 months even if all unsecured creditors are not paid in full.) The default amount is described as a pre-petition arrearage and is determined based upon the date the bankruptcy case is filed. The arrearage is made up of the payments missed before the case was filed, typically including any late charges, costs advanced by the mortgage company such as taxes and insurance for an escrowed mortgage, some costs incurred by the mortgage company which may include inspections and appraisals where reasonable, and attorneys fees and court costs expended.
In most instances the plan is proposed based upon an educated guess as to the amount of the arrearage based upon the information available. The mortgage company is to file a proof of claim which provides for the exact amount of the pre-petition arrearage and what their numbers are based on. If appropriate, the debtors attorney can file an objection to the claim or request more information from the creditor about how the proof of claim amount was determined.
A debtors chapter 13 plan may also have to meet other requirements depending on the debtors other creditors, income, assets and other requirements. A confirmation hearing is held before the court, typically several months into a case at which the court may confirm the case which means that the judge has determined that the case meets all the requirements of the bankruptcy laws and the plan is confirmed.
When the debtor makes all the payments pursuant to the plan, then the default in the debtors mortgage should be resolved. The Debtors mortgage should be current and the debtor able to resume making a regular mortgage payment to the creditor going forward once the plan is complete.