Foreclosure is the legal process a mortgage lender uses to take and sell your home after you fall behind on payments, and the short answer to how foreclosure works is this: your servicer must wait until you are more than 120 days delinquent, send a breach letter giving you at least 30 days to cure, and then either file a lawsuit or use an out-of-court power of sale, ending in a public auction and, if you are still there, an eviction. Each stage carries notice requirements and deadlines that give you room to respond, negotiate, reinstate, or stop the process.
When the Foreclosure Clock Starts
Delinquency begins the day after a payment is due and unpaid, not the day a late fee kicks in. If your payment is due on the first and your grace period runs through the fifteenth, you are still delinquent as of the second for foreclosure-timing purposes.
Under the Real Estate Settlement Procedures Act, your servicer cannot make the first formal foreclosure filing until the loan is more than 120 days delinquent.1eCFR. 12 CFR 1024.41 – Loss Mitigation Procedures That window exists so you can explore alternatives. During it, the servicer must attempt live contact with you by the 36th day of delinquency, and again after each later missed payment, to explain loss mitigation options. A written notice carrying the same information has to follow by the 45th day.2Consumer Financial Protection Bureau. 12 CFR 1024.39 – Early Intervention Requirements for Certain Borrowers
The Breach Letter and Loan Acceleration
Before the lender can demand the full remaining balance, the standard Fannie Mae and Freddie Mac uniform security instrument (Paragraph 22) requires a written breach letter. It states what you defaulted on, the exact dollar amount needed to cure, and a deadline of at least 30 days to bring the loan current. It also tells you about your right to reinstate after acceleration and your right to raise defenses in court.
Miss the cure deadline and the lender can accelerate the loan, calling the entire balance due at once. From there the servicer moves toward foreclosure under the rules of your state and the type of security instrument you signed.
Loss Mitigation Before the Sale
Loss mitigation covers the alternatives your servicer is legally required to discuss with you before pushing a foreclosure through. These options exist because foreclosure is expensive for lenders too.
Options that let you stay in the home:
- Forbearance, a temporary pause or reduction in monthly payments to get past a short-term hardship, with the missed amounts repaid afterward.
- Loan modification, a permanent change to your mortgage terms such as a lower interest rate, a longer term, or missed payments rolled into the principal balance.
- Repayment plan, a structured schedule that adds a portion of your overdue amount on top of each regular payment until you are caught up.
Options for leaving without a full foreclosure:
- Short sale, where the servicer agrees to let you sell for less than the balance and accepts the proceeds as partial satisfaction.
- Deed in lieu of foreclosure, where you voluntarily transfer the title to the lender in exchange for release from the mortgage.
These options are available across FHA, conventional, and other loan programs, with terms varying by program.3U.S. Department of Housing and Urban Development. FHA’s Loss Mitigation Program The deadline that matters most: you can submit a loss mitigation application any time before a foreclosure sale, but applying at least 37 days before the sale gives you the strongest procedural protections under federal law.1eCFR. 12 CFR 1024.41 – Loss Mitigation Procedures
Judicial Foreclosure
Judicial foreclosure runs through the courts. It is available in every state and required in roughly half. The lender files a lawsuit in the county where the property sits, serving you with a summons and complaint. At the same time, a notice called a lis pendens is recorded in the land records, which puts anyone searching the title on notice that the property is tied up in litigation. You cannot sell the home or refinance around the claim.
You will have a window, commonly 20 to 35 days depending on the state, to file a written answer. If you do not respond, the case proceeds as uncontested. A judge verifies that the lender has standing to foreclose, which generally means producing the original promissory note or a sworn affidavit explaining its loss and the lender’s right to enforce the debt.
If you raise a defense, the case plays out like other civil litigation, with discovery, motions, and potentially a trial. Valid defenses include proof that payments were made, procedural violations by the servicer, or lack of standing. If the lender wins, the court enters a judgment of foreclosure setting the total owed, including principal, accrued interest, attorney fees, and court costs. That judgment authorizes the sale.
Non-Judicial Foreclosure
In states that allow it, non-judicial foreclosure skips the courtroom entirely. The process relies on a power-of-sale clause in your deed of trust, which authorizes a third-party trustee to sell the property if you default.4LII / Legal Information Institute. Non-Judicial Foreclosure With no judge in the loop, non-judicial foreclosures tend to move faster, sometimes wrapping up in a few months rather than a year or more.
The trustee first records a Notice of Default, which starts a state-defined waiting period. Afterward, the trustee records and publishes a Notice of Trustee’s Sale setting the date, time, and location of the auction. Publication requirements vary but typically include posting on the property and running the notice in a local newspaper for several consecutive weeks.
Because there is no built-in hearing, your main ways to challenge a non-judicial foreclosure are filing your own lawsuit to halt the sale, usually by seeking a temporary restraining order, or exercising your reinstatement rights. Most states and standard mortgage contracts let you stop the sale by paying all past-due amounts plus the lender’s fees and costs. The reinstatement deadline is set by state law and your loan documents.
The Foreclosure Auction
Both tracks end at a public auction, often held at a courthouse, another public building, or an online portal. Properties sell as-is, with no warranties and no inspection contingency.
The foreclosing lender almost always bids, but it does not have to put up cash. It submits a credit bid, applying the debt you owe as its bid amount up to the full balance plus foreclosure costs. If no outside bidder goes higher, the lender takes title and the home becomes Real Estate Owned inventory. Most auctions end this way. Third-party bidders, by contrast, pay in cash or cash equivalents such as a cashier’s check, and depending on the jurisdiction they may owe the full price or a substantial deposit immediately, with the balance due within a set timeframe.
What Happens to Junior Liens
If you have a second mortgage, a home equity line of credit, or a judgment lien, a foreclosure by the first mortgage holder wipes those junior liens off the title. The auction buyer takes the property free of them. The debts themselves do not vanish, though. A second-mortgage lender or judgment creditor can still pursue you personally for the balance as unsecured debt; it just loses its claim against the house.
Deficiency Judgments and Personal Liability
When the sale brings in less than you owe, the gap is called a deficiency. Owe $300,000, sell for $220,000, and the deficiency is $80,000. Whether the lender can collect that from you depends on state law and the loan.
With a recourse loan, the lender can seek a deficiency judgment and collect through wage garnishment or bank levies. With a nonrecourse loan, the lender’s only remedy is the property itself. A number of states have anti-deficiency laws that bar deficiency judgments in certain situations, such as non-judicial foreclosures, purchase-money loans, or primary residences.5LII / Legal Information Institute. Definition: Anti-Deficiency Law From 15 USC 1639c(g)(1) Protections vary significantly by state, so local legal advice matters here.
Eviction After the Sale
Winning the auction does not put the new owner in possession. If you are still living in the home, they must follow the formal eviction process. No one can simply change the locks.
The first step is a written notice to quit setting a deadline to leave, typically 3 to 30 days under state law. If you do not leave, the new owner files an eviction lawsuit, often called an unlawful detainer action. A judge reviews the completed foreclosure and the notice, and if everything is in order the court issues a writ of possession directing the local sheriff to remove any remaining occupants. In practice the sheriff posts a final notice on the door, typically giving 24 hours before physically clearing the property.
Right of Redemption After the Sale
Some states give you one more chance even after the auction. A statutory right of redemption lets you buy the property back from the auction purchaser by paying the full purchase price plus certain costs. The window varies widely, from as little as 30 days up to a year or two in some states, and many states offer no post-sale redemption at all. In judicial foreclosures, some states also let you redeem any time before the court officially confirms the sale, which is a separate deadline from the auction date.
Redemption is rare in practice because it requires producing the full amount on short notice, but it does happen when a property sells well below market value and the homeowner can arrange alternative financing in time.
Stopping Foreclosure With Bankruptcy
Filing bankruptcy triggers an automatic stay that immediately halts most collection actions, including a pending foreclosure sale. The lender cannot proceed without permission from the bankruptcy court to lift the stay.6Office of the Law Revision Counsel. 11 U.S. Code 362 – Automatic Stay
The chapter matters. Chapter 7 delays foreclosure but does not save the house; once the case ends, the stay lifts and the lender picks up where it left off. Chapter 13 is the chapter that can let you keep your home, allowing you to propose a three- to five-year plan that cures your mortgage arrears over time while you keep making regular payments going forward.7Office of the Law Revision Counsel. 11 USC 1322 – Contents of Plan As long as you stick to the plan, the lender cannot foreclose. If you have received a bankruptcy discharge in the recent past, the automatic stay may be limited or unavailable.
Credit and Future Borrowing
A completed foreclosure stays on your credit report for seven years from the date of the first missed payment that triggered the process.8Office of the Law Revision Counsel. 15 U.S. Code 1681c – Requirements Relating to Information Contained in Consumer Reports The initial score damage is steep, and someone starting with a score in the upper 700s can expect a drop of 100 points or more. The mark fades over time but is visible to every lender who pulls your report during that window.
Rebuilding toward a new mortgage takes patience. Fannie Mae requires a seven-year waiting period from the foreclosure completion date before you can qualify for a conventional loan, cut to three years with documented extenuating circumstances such as a job loss or medical emergency clearly beyond your control. During the full seven-year period, second homes, investment properties, and cash-out refinances are off the table.9Fannie Mae. Significant Derogatory Credit Events – Waiting Periods and Re-Establishing Credit FHA and VA loans have shorter waiting periods, each measured from the completion of the foreclosure.
Tax Consequences of Forgiven Mortgage Debt
If the sale does not cover your full balance and the lender forgives the remainder or declines to pursue a deficiency, the IRS generally treats that forgiven amount as taxable income. You will receive a Form 1099-C reporting the canceled debt.
For years, an exclusion let homeowners avoid tax on up to $2 million of forgiven mortgage debt on a primary residence. That exclusion for qualified principal residence indebtedness expired for discharges occurring after December 31, 2025. Starting in 2026, forgiven mortgage debt on your main home is no longer automatically excluded.10Office of the Law Revision Counsel. 26 U.S. Code 108 – Income From Discharge of Indebtedness
You may still avoid the tax hit through the insolvency exclusion. If your total liabilities exceeded the fair market value of all your assets immediately before the cancellation, you can exclude canceled debt up to the amount by which you were insolvent.11Internal Revenue Service. Publication 4681 – Canceled Debts, Foreclosures, Repossessions, and Abandonments Many homeowners in foreclosure qualify. Debt discharged in bankruptcy is also excluded.10Office of the Law Revision Counsel. 26 U.S. Code 108 – Income From Discharge of Indebtedness If a foreclosure in 2026 is in your future, talk to a tax professional about the insolvency calculation before filing season.
Watch Out for Foreclosure Rescue Scams
Homeowners in foreclosure are prime targets. Legitimate housing counselors exist, but fraudulent operators share consistent warning signs:
- Demands for upfront fees. Companies offering mortgage assistance or foreclosure help are prohibited from collecting fees before delivering results.
- Instructions to send your mortgage payments to them instead of your servicer. That deepens your delinquency while the scammer pockets the money.
- Pressure to sign over your title, sometimes framed as a rent-to-buy arrangement where you supposedly repurchase the home later.
- Advice to stop paying your mortgage. No legitimate advisor tells you to do this.
- Fee-based “forensic audits” of your loan documents, which rarely lead anywhere useful.
Real government programs never charge fees, and HUD-approved housing counselors offer free help. If someone pressures you to act immediately or demands money before doing any work, walk away.12Consumer Financial Protection Bureau. How to Spot and Avoid Foreclosure Relief Scams