What Happens to Your Home Equity in Foreclosure?

When a lender forecloses, your home equity doesn’t vanish automatically, but very little of it usually reaches your pocket. What happens to home equity in foreclosure comes down to a simple accounting: the sale price pays off the mortgage balance, accrued interest, foreclosure costs, and any junior liens, and whatever is left — the surplus — belongs to you. The problem is that foreclosure auctions rarely bring full market value, fees and advances keep growing until the sale date, and other creditors line up ahead of you. A homeowner who walked in with $150,000 in equity can walk out with a fraction of it, none of it, or in some cases a tax bill on top.

Why Equity Shrinks Between Default and Sale

Equity is your property’s market value minus what you owe. A $350,000 home with a $200,000 mortgage carries $150,000 in equity on paper. Three forces compress that number once foreclosure starts.

Auction sales almost never fetch full market value. Buyers expect a discount for taking a property sight-unseen, often without an inspection. Foreclosure costs then come off the top before anyone is paid: trustee or sheriff’s fees, attorney fees, recording fees, title search costs, and property taxes the servicer advanced. These deductions commonly run into the thousands. Meanwhile, missed payments, interest, and late fees keep accruing right up to the sale date, so the debt the sale has to cover keeps growing. By the time the gavel falls, the gap between market value and debt has narrowed considerably.

Surplus Funds: What You Get If the Sale Covers the Debt

If the sale price exceeds the total debt plus costs, the leftover money is called surplus funds and legally belongs to you. If your payoff plus expenses total $220,000 and the home sells for $270,000, that $50,000 difference is yours. A check will not arrive in the mail.

The trustee or court handling the sale typically deposits surplus funds with the local court clerk. To claim the money, you file a motion or application with the court or trustee, and the paperwork varies by jurisdiction. Some courts use a simple form; others require a formal petition. Whether the foreclosure was judicial or nonjudicial changes the exact procedure.

The most common way homeowners lose surplus funds is missing the claim deadline. Claiming windows range from as little as 60 days to several years depending on the state. If you don’t file in time, the money is transferred to the state’s unclaimed property division. You can sometimes still recover it from the state afterward, but the process becomes slower and more complicated. Before you leave the property, update your mailing address with the trustee and servicer, because any official notice about surplus funds will be sent to the address on file.

Junior Liens Get Paid Before You Do

Your primary mortgage isn’t the only claim on the property. Other creditors may have recorded liens, and they all get paid from the sale proceeds before you receive anything. The general rule is first in time, first in right: liens are paid in the order they were recorded.

After the primary mortgage and foreclosure costs are satisfied, surplus flows to junior lienholders — second mortgages, home equity lines of credit, judgment liens from lawsuits, and unpaid tax liens. If a sale produces $40,000 in surplus but a $15,000 second mortgage and a $5,000 judgment lien exist, those creditors collect first, leaving you $20,000.

Homeowners association assessments deserve special attention. In roughly half of states, HOA liens carry a “super lien” status that gives them priority over even the first mortgage for a limited amount, usually six months of unpaid assessments. In the most aggressive jurisdictions, an HOA can foreclose on its own lien and wipe out the mortgage entirely, meaning a few thousand dollars in missed dues could cost a homeowner hundreds of thousands in equity. If you’re behind on both your mortgage and your HOA, address the HOA debt first. It’s the smaller bill with the outsized consequences.

When There’s No Equity Left: Deficiency Judgments

The opposite of surplus funds is a deficiency: the gap between what the home sells for and what you owed. If your total debt was $220,000 and the sale brought $190,000, the $30,000 shortfall is a deficiency. Your equity is gone, and the lender may come after you for the rest.

To collect, the lender files for a deficiency judgment, a court order that converts the remaining balance into an unsecured personal debt. Once granted, the lender can pursue wage garnishment, bank levies, and other standard collection methods. Whether the lender can do this depends on state law. A significant number of states either prohibit deficiency judgments outright for certain loan types or limit them in important ways. The restrictions are strongest for purchase-money mortgages on owner-occupied homes and for nonjudicial foreclosures. In states that do allow them, courts often require the lender to credit the property’s fair market value rather than the lower auction price, which shrinks the deficiency amount.

Even where deficiency judgments are allowed, many lenders don’t pursue them, especially when the borrower has few attachable assets and litigation costs would exceed the likely recovery. Don’t count on that. If a deficiency is possible, check your state’s rules for your specific loan type before assuming you’re in the clear.

The Tax Hit on Canceled Debt Starting in 2026

When a lender forgives a deficiency or is barred by state law from collecting it, the IRS treats the canceled amount as income. The lender reports it on Form 1099-C for any cancellation of $600 or more. If you had a recourse loan and the lender cancels $30,000 in remaining debt, that $30,000 gets added to your gross income for the year, which could mean a tax bill of several thousand dollars on top of losing your home.

For years, homeowners could exclude up to $2 million in canceled mortgage debt from income under the Qualified Principal Residence Indebtedness exclusion. That exclusion expired on December 31, 2025, and Congress has not renewed it.1Office of the Law Revision Counsel. 26 U.S. Code 108 – Income From Discharge of Indebtedness For any foreclosure completed in 2026 or later, canceled mortgage debt is fully taxable unless you qualify for one of the remaining exclusions.

The most accessible remaining exclusion is insolvency. If your total liabilities exceeded the fair market value of all your assets immediately before the cancellation, you can exclude the canceled debt up to the amount by which you were insolvent.2Internal Revenue Service. Publication 4681, Canceled Debts, Foreclosures, Repossessions, and Abandonments Many homeowners going through foreclosure meet this test without realizing it. To claim it, file Form 982 with your tax return. The bankruptcy exclusion still applies if you filed for bankruptcy protection. Nonrecourse loans, where the lender’s only remedy is taking the property, don’t generate cancellation-of-debt income at all, because the lender had no right to collect beyond the collateral in the first place.

Options That Actually Preserve Equity

If you’re behind on payments but haven’t lost the home yet, you have more room to move than you might think. Federal regulations prohibit your servicer from starting the foreclosure process until you’re more than 120 days delinquent.3eCFR. 12 CFR 1024.41 – Loss Mitigation Procedures During that window, and often well beyond it, the servicer must evaluate you for every loss mitigation option available. That requirement gives you real leverage.

Reinstatement means paying all missed payments, late fees, and foreclosure costs in a lump sum to bring the loan current. Many mortgage contracts allow reinstatement until just days before the scheduled sale. If you can pull the cash together through savings, family help, or a 401(k) loan, this is the cleanest option because you keep the home and all your equity.

A loan modification restructures your loan terms, typically by reducing the interest rate, extending the repayment period, or adding missed payments to the back end. A modification doesn’t preserve equity directly, but it stops the foreclosure and lets you stay in the home while it continues to appreciate.

A short sale means selling the home yourself for less than you owe, with the lender’s approval. You lose the home and the equity, but you avoid a foreclosure on your credit report and can sometimes negotiate to have the lender waive the deficiency. A deed in lieu of foreclosure transfers the title to the lender voluntarily. You skip the public auction, and the lender may offer relocation assistance and agree not to pursue a deficiency.

Of these four, only reinstatement and loan modification actually preserve equity. Short sales and deeds in lieu minimize damage but still mean walking away from whatever equity remains.

Filing for Chapter 13 bankruptcy triggers an automatic stay that immediately stops a foreclosure sale. Under a Chapter 13 plan, you propose a three- to five-year repayment schedule to catch up on missed payments while continuing to make current ones. If the court approves the plan and you keep up, the lender cannot foreclose. This works best for homeowners with steady income who fell behind because of a temporary setback and now have the cash flow to get current over time.

Buying the Home Back After the Sale

Some states give you a statutory right to buy the home back during a redemption period after the auction. Exercising this right typically requires paying the full foreclosure sale price, or in some jurisdictions the entire remaining mortgage balance, plus interest and fees in a single lump sum. The window varies by state and is not available everywhere. Where it does exist, you can usually remain in the home during the redemption period, which buys time to arrange financing. A foreclosure attorney licensed in your state can tell you quickly whether redemption is available and how long you have.