Yes, bankruptcy can stop a foreclosure on your home. The moment you file a petition under any chapter, a court order called the automatic stay takes effect and forces your mortgage lender to halt the foreclosure, even if the sale is set for the next morning. Whether that pause becomes a permanent rescue is a different question. Chapter 13 gives you a structured way to catch up on missed payments and keep the house. Chapter 7 buys you a few months and little more.
The Automatic Stay Is What Actually Stops the Sale
The automatic stay is the legal switch that makes bankruptcy work against foreclosure. Filing a petition triggers a court order that instantly bars creditors from collecting against you or your property.1Office of the Law Revision Counsel. 11 USC 362 – Automatic Stay Your servicer cannot start or continue foreclosure proceedings, hold the sale, or send collection demands while the stay is in place. It reaches other creditors too, halting lawsuits, wage garnishments, and repossession attempts. No separate request is required. The protection is built into the filing itself.
The stay is temporary by design. It runs until the case closes, until the court lifts it on a creditor’s motion, or until a Chapter 7 case wraps up in a few months. What you do during that window decides whether you keep the home.
Chapter 13 Is the Chapter That Saves Homes
If you have steady income and want to keep the house, Chapter 13 is built for you. The federal courts describe it directly: Chapter 13 gives homeowners a chance to stop foreclosure and cure delinquent mortgage payments over time.2United States Courts. Chapter 13 – Bankruptcy Basics
Catching Up on the Missed Payments
Under Chapter 13, you propose a repayment plan that runs three to five years. Federal law specifically allows the plan to cure any default on your mortgage while you keep making ongoing payments during the case.3Office of the Law Revision Counsel. 11 USC 1322 – Contents of Plan If you fell $15,000 behind over the past year, the plan spreads that arrearage across three to five years of installments on top of your regular monthly mortgage. Complete the plan and the default is cured. The mortgage is current.
The catch is that you have to keep making the regular monthly mortgage payment the whole time, on top of the plan payment covering the arrears. Miss either one and the court can dismiss the case, which puts the lender right back on track to foreclose. This is where most Chapter 13 cases fail. The math works on paper, but the budget has to hold up for years.
Stripping a Second Mortgage
If your home is worth less than what you owe on the first mortgage, Chapter 13 lets you strip off a second mortgage or home equity line of credit. With no equity supporting it, the junior lien gets reclassified as unsecured debt and treated like credit card balances in the plan. Whatever remains at the end of the plan is discharged. You will need an appraisal or valuation showing the home’s fair market value falls below the first mortgage balance.
Eligibility and Plan Feasibility
Chapter 13 has debt ceilings. For cases filed between April 1, 2025 and March 31, 2028, you must owe less than $1,580,125 in secured debt and less than $526,700 in unsecured debt.4Office of the Law Revision Counsel. 11 USC 109 – Who May Be a Debtor Those limits cover all your debts combined. If a large mortgage plus car loans and other secured obligations pushes you over the cap, Chapter 11 is the alternative, and it is considerably more expensive.
The court will not rubber-stamp your repayment plan. The judge has to find that the plan has a realistic chance of working, meaning your income after living expenses actually covers the proposed payments. If the trustee or a creditor objects and shows the budget is too tight, the plan gets rejected. Plans built on speculative future income or a hoped-for home sale rarely survive scrutiny. Plan payments also include a trustee commission of up to 10 percent, which needs to sit inside your budget from the start.
Chapter 7 Only Delays the Foreclosure
Chapter 7 stops the foreclosure the same way Chapter 13 does, through the automatic stay. The difference is what comes next. A typical Chapter 7 case closes in three to four months. Once it closes, the stay lifts and your lender picks up where it left off. Chapter 7 has no mechanism for catching up on missed mortgage payments. If you were behind before filing, you are still behind afterward.
Where Chapter 7 can help indirectly is by wiping out credit card balances, medical bills, and other unsecured debt. That may free up enough monthly cash flow to resume mortgage payments or negotiate a loan modification with the servicer. But the Chapter 7 filing itself does not save the house.
Reaffirmation Agreements
If you want to keep the home through Chapter 7, you can sign a reaffirmation agreement with your lender. This contract keeps the mortgage outside the discharge, meaning you remain personally liable. You get to keep the property and continue building equity. If you later default, the lender can foreclose and pursue you for any remaining balance. The bankruptcy court has to approve the agreement and will look at whether you can realistically afford the payments.
Watch Your Home Equity
Chapter 7 involves a court-appointed trustee who reviews your assets for anything sellable. If your home equity exceeds the available homestead exemption, the trustee can sell the house to pay creditors. Every state sets its own exemption amount, and some let you choose between the state exemption and a federal alternative. Homeowners with significant equity in a paid-down mortgage should think carefully before filing Chapter 7 without knowing how much of that equity is protected in their state.
When Bankruptcy Will Not Stop the Foreclosure
The stay is powerful but not unlimited. A few situations shut it down or prevent it from taking effect at all.
The Sale Already Happened
If the foreclosure sale has been completed and ownership has transferred to the buyer, filing bankruptcy cannot undo the transfer. Timing decides everything. Federal law generally bars a mortgage servicer from beginning legal foreclosure until you are at least 120 days behind on payments.5Consumer Financial Protection Bureau. How Long Will It Take Before Ill Face Foreclosure After that, the timeline to an actual sale varies from a few months to over a year depending on the state. File before the sale date, not after.
Recent Prior Filings
Courts distrust repeated bankruptcy filings used to stall creditors. If you had a bankruptcy case dismissed within the past year and file a new one, the automatic stay lasts only 30 days in the new case unless you convince the court to extend it by proving good faith. If two or more prior cases were dismissed within the past year, no automatic stay takes effect at all unless the court specifically orders one.1Office of the Law Revision Counsel. 11 USC 362 – Automatic Stay The burden is on you, and the court presumes bad faith unless you show clear and convincing evidence otherwise.
The Lender Can Ask the Court to Lift the Stay
Even when the stay is fully in effect, your lender can file a motion for relief from stay. The court must grant it if the lender shows you have no equity in the property and the home is not necessary for an effective reorganization.1Office of the Law Revision Counsel. 11 USC 362 – Automatic Stay The court can also lift the stay for cause, often because the lender’s interest is not adequately protected. In Chapter 7, where there is no repayment plan to cure the arrears, these motions are common and frequently granted. If the court finds a filing was part of a scheme to delay creditors through property transfers or multiple filings, it can enter an order barring stay protection on that property for up to two years.
Loan Modification While in Chapter 13
Filing Chapter 13 does not lock you into the original mortgage terms. Many borrowers file to stop the foreclosure and then negotiate a loan modification with the servicer while the case is active. A modification might lower the interest rate, extend the term, or roll missed payments onto the back end of the loan. If the lender agrees, you present the modification to the bankruptcy judge for approval and amend your Chapter 13 plan to remove the arrears that are now folded into the modified loan. Your monthly plan payment usually drops as a result. Servicers are sometimes more willing to negotiate after a filing because the alternative is grinding through the bankruptcy court instead.
If You Lose the Home Anyway
Even when bankruptcy delays foreclosure without ultimately preventing it, filing can still pay off. If the foreclosure sale brings less than what you owe, the shortfall is called a deficiency. Many states allow the lender to pursue a deficiency judgment against you personally. Bankruptcy can discharge that deficiency as unsecured debt, so you walk away without a judgment hanging over your finances. The protection is available in both Chapter 7 and Chapter 13, with different timing.
The Credit Cost
A bankruptcy filing can appear on your credit report for up to 10 years from the filing date.6Office of the Law Revision Counsel. 15 USC 1681c – Requirements Relating to Information Contained in Consumer Reports In practice, the major credit bureaus usually remove a completed Chapter 13 after seven years, though the statute permits the full decade. The score impact is heavy. Someone starting near 780 can expect to lose 220 to 240 points; someone at 680 might lose 130 to 150.
By the time bankruptcy is on the table, though, months of missed mortgage payments have already damaged your credit, and a completed foreclosure would do more damage still. A Chapter 13 plan that keeps the house can leave you in a better long-term position than letting the foreclosure finish and dealing with a deficiency on top of it. Before filing, keep in mind that federal law requires a credit counseling briefing from an approved nonprofit agency within 180 days beforehand, plus a separate financial management course after filing but before discharge.4Office of the Law Revision Counsel. 11 USC 109 – Who May Be a Debtor They are two different requirements with two different certificates, and mixing them up can get the case dismissed.