Can bankruptcy stop a foreclosure? Chapter 13, Chapter 7 and the automatic stay

Bankruptcy is the only thing that halts a foreclosure sale automatically, immediately, and without the lender agreeing to anything. That power is real and it is federal. It is also narrower than the billboards suggest: the chapter you file decides whether you keep the home or simply buy time to leave it.
What the automatic stay actually does
The moment a petition is docketed, section 362 of the Bankruptcy Code imposes an automatic stay. Collection stops, lawsuits pause, and a scheduled foreclosure sale must be halted — no hearing, no judge’s signature, no notice period. A sale conducted after the filing is generally void or voidable. This is why filings sometimes happen the morning of a trustee sale, and why the case number has to reach the foreclosing trustee or attorney and the servicer immediately, in writing, with proof of transmission. The stay is automatic in law; in practice, a sale gets stopped because somebody was told in time.
The stay is a pause, not an eraser. It freezes the foreclosure while the case runs. What happens after that depends entirely on the chapter.
Chapter 13: the chapter built for mortgage arrears
Chapter 13 is a court-supervised repayment plan for people with regular income. You propose a plan lasting three years if your income is below your state median and five years if it is above, pay a trustee every month, and the plan does two things with the mortgage at once: it cures the arrears over the life of the plan while you resume the regular monthly payment going forward. Arrears the servicer wanted in a lump sum become a line item spread over 36 to 60 months, and the lender cannot refuse.
Two limits define the chapter. First, a mortgage secured only by your principal residence is protected from modification: no reduction of the principal, no rewriting of the rate. Second — and this is the feature that saves houses — a wholly unsecured junior lien, a second mortgage or HELOC with no equity behind it at all, can in most courts be stripped off and treated as ordinary unsecured debt in Chapter 13. Nothing outside bankruptcy does that.
The plan only works if the going-forward payment is affordable. Chapter 13 solves an arrears problem; it does not solve an income problem. Debt limits also apply and are adjusted for inflation on a fixed cycle, so ask an attorney for the figures in force this year rather than trusting a number in an old article. Research on Chapter 13 outcomes consistently finds that a substantial share of cases are dismissed before completion — usually because the plan payment was set at a level the household could not sustain for five years.
Chapter 7: time, not a cure
Chapter 7 is liquidation and discharge, typically finished in about four months. It discharges your personal liability on the mortgage debt, which matters a great deal if a deficiency would otherwise follow you. It does not remove the lien, and it offers no mechanism to catch up on arrears. Junior liens cannot be stripped. In practice the lender moves for relief from the stay, and courts grant it as a matter of routine when there is no equity and no payments; the foreclosure then resumes where it left off. Plan on weeks to a few months, not years.
That can still be the right filing. If the decision to let the home go has already been made, Chapter 7 clears the deficiency exposure and the unsecured debts around it, and the extra weeks let you move on your own schedule. Chapter 7 also has a means test: income above the state median triggers a calculation that may push the case toward Chapter 13.
Side by side
| Chapter 13 | Chapter 7 | |
|---|---|---|
| What it is | 3–5 year repayment plan | Liquidation and discharge, about 4 months |
| Effect on the sale | Stayed, then permanently resolved if the plan is confirmed and performed | Stayed until the lender obtains relief from stay |
| Mortgage arrears | Cured over the plan, in monthly installments | No mechanism; still owed |
| Junior liens | Wholly unsecured second liens may be stripped | Cannot be stripped |
| Personal liability / deficiency | Handled through the plan | Discharged |
| Requires regular income | Yes | No |
| Reported for | 7 years from filing | 10 years from filing |
| Fits | Affordable payment, unaffordable arrears | Payment itself unaffordable; leaving the home |
When the stay does not arrive
- One case dismissed in the past year. The stay expires 30 days after the new filing unless the court extends it on a motion filed and heard inside that window.
- Two or more dismissed in the past year. No stay arises at all; you have to ask the court to impose one.
- An in rem order. Where a court finds a scheme to delay creditors through repeated filings or fractional transfers of the deed, it can bind the property itself for two years, so later filings by anyone do not stop the sale.
- Bankruptcy mills. Bare-bones petitions filed to trigger a stay and then abandoned get dismissed, burn the protections above, and are one of the documented foreclosure rescue scams.
What it costs and what it requires
- A credit counseling briefing from an approved agency in the 180 days before filing, and a debtor education course before discharge.
- Court filing fees of a few hundred dollars — the current schedule is published by the U.S. Courts — with installments or a waiver available in some cases.
- Attorney fees. Chapter 7 is generally paid before filing; Chapter 13 fees are commonly set by each district as a presumptive amount and paid largely through the plan, which is why a Chapter 13 can start with less cash on hand than a Chapter 7.
- Full disclosure of income, assets, debts and recent transfers, under oath. Homestead exemptions are set by state law and a federal cap applies to property acquired within roughly 40 months before filing.
What happens to the mortgage during the case
You keep paying it. Post-filing payments go to the servicer, or through the trustee under a “conduit” plan in the districts that use one, while the trustee pays down the arrears. Bankruptcy rules require the servicer to give advance notice of any payment change on a principal-residence claim — generally at least 21 days before the new amount is due — and to itemize fees charged during the case. Read those notices: an escrow increase during a five-year plan is the most common reason a confirmed plan falls out of balance.
Bankruptcy and loss mitigation are not mutually exclusive. Many districts run a mortgage modification mediation program inside the case, and the servicing rules were amended so that an application can be evaluated while a case is pending. Ask your attorney instead of assuming one blocks the other; the general framework is summarized on our page on federal mortgage servicing rules.
Before you file: the cheaper questions
Bankruptcy is powerful enough, and permanent enough on a credit file, to be the last option examined rather than the first. Work through these first: can the arrears be cleared by reinstatement? Would a deferral or a modification reach the same place with no court at all? Has a free HUD-approved housing counselor reviewed the file? And how much time does your state’s procedure actually leave — a non-judicial sale can be weeks away while a judicial case runs for a year or more. Your state’s range is on its foreclosure page, and the sequence of notices is in how foreclosure works.
Then weigh the aftermath. A Chapter 13 reports for seven years from filing and a Chapter 7 for ten, and each carries its own mortgage waiting period — shorter, in most programs, than the seven years that follow a completed foreclosure. Claude Loan is an information site: we are not a law firm, not a lender and not a counseling agency, and nothing here is legal advice. Bankruptcy filed without competent counsel is the most reliable way to lose the protections described above; court self-help pages list legal aid and pro bono referrals alongside the forms.
Frequently asked questions
Can I file the morning of the sale?
Legally the stay begins at the moment of docketing, so yes. Practically, an emergency “skeleton” petition still requires the pre-filing counseling certificate and someone available to notify the trustee and the foreclosure attorney before the auction opens. Same-day filings do happen; they are the worst possible circumstances in which to prepare a case.
Will I lose the house in Chapter 7 if I have equity?
You may. The trustee can sell non-exempt assets, and equity above your state’s homestead exemption is a non-exempt asset. If your equity is fully exempt, the trustee has nothing to gain; if it is not, Chapter 13 is usually the chapter that keeps the home.
Does Chapter 13 stop a second mortgage from foreclosing?
Yes — the stay covers every lienholder, and the plan can cure arrears on a junior lien as well. If the second is wholly unsecured because the first exceeds the home’s value, most courts allow it to be stripped and paid as unsecured debt.
Can I keep the home without reaffirming the debt?
In a Chapter 7, many borrowers keep paying without signing a reaffirmation agreement; the lien stays, so the lender is paid, but practice on this point varies by district and reaffirmation carries real consequences. This is exactly the question to put to a bankruptcy attorney rather than to an article.
Sources
Related: How foreclosure works, step by step: judicial and non-judicial, Reinstatement and redemption: the two ways to stop a foreclosure with money, Deficiency judgment after foreclosure: when you can still owe money, Buying again after foreclosure, short sale or bankruptcy: the waiting periods. Hub: Mortgage problems.