Skip to Main Content
Back to Blog
Post-Foreclosure9 min

Tax Consequences of Foreclosure: Cancellation of Debt, Form 1099-C, and Insolvency

Foreclosure can trigger a massive tax bill for forgiven debt — but the Mortgage Forgiveness Debt Relief Act and insolvency exclusion may eliminate it entirely.

August 20269 min

When a lender forecloses and sells a home for less than the mortgage balance, the difference between what you owed and the sale price is called 'cancellation of debt' (COD) income. Under the Internal Revenue Code (IRC § 61(a)(12)), cancelled debt is generally treated as taxable income. If your home sells at foreclosure for $200,000 less than your mortgage balance, the IRS treats that $200,000 as if it was cash income to you — and taxes you on it. For many foreclosed homeowners, this creates a cruelly ironic situation: you lost your home and then receive a tax bill for tens of thousands of dollars on 'income' you never received.

The Mortgage Forgiveness Debt Relief Act (MFDRA), originally enacted in 2007 and extended multiple times, provides critical relief. Under the Act (codified at IRC § 108(a)(1)(E)), 'qualified principal residence indebtedness' discharged after 2006 and before January 1, 2026 (extended by the Consolidated Appropriations Act of 2021 through tax year 2025) is excluded from taxable income up to $750,000 for married filing jointly ($375,000 for married filing separately). The debt must be: (1) incurred to acquire, construct, or substantially improve your principal residence, and (2) secured by the principal residence. The exclusion APPLIES to foreclosure — the cancelled debt from a foreclosure qualifies for MFDRA treatment. As of 2026, the extension has not yet been renewed for future tax years, but Congress has consistently reinstated it. Homeowners facing foreclosure in 2026 should consult a tax professional about the current status.

Even if the MFDRA has lapsed or does not apply to your full debt, the insolvency exclusion (IRC § 108(a)(1)(B)) may eliminate the tax liability entirely. Under the insolvency exclusion, cancelled debt is excluded from income to the extent that your liabilities exceed your assets immediately before the debt cancellation. Example: if you had assets worth $50,000 (including your home's equity at time of disposal) and liabilities of $300,000 (mortgage balance, credit cards, car loan, medical debt), you were insolvent by $250,000. If your cancelled mortgage debt is $200,000, the ENTIRE $200,000 is excluded — because your total insolvency ($250,000) exceeds the cancelled debt amount. The insolvency calculation includes ALL debts and ALL assets, including retirement accounts, vehicles, household goods, and personal property. Many foreclosed homeowners are deeply insolvent and qualify for full exclusion even without MFDRA.

The IRS Form 1099-C — Cancellation of Debt — is issued by the lender after a foreclosure, short sale, or deed-in-lieu. You will typically receive it in January of the year following the debt cancellation. The form shows: (1) the amount of debt cancelled (Box 2), (2) the fair market value of the property (Box 7), and (3) whether the borrower was personally liable for repayment (Box 6). Important: receiving a 1099-C does NOT mean you owe taxes automatically. You must file IRS Form 982 — Reduction of Tax Attributes Due to Discharge of Indebtedness — to claim the MFDRA exclusion or insolvency exclusion. Without a properly completed Form 982, the IRS will assume the cancelled debt is taxable. Many homeowners miss this step and unnecessarily pay taxes on income they could have excluded.

The tax consequences of foreclosure also affect the capital gain calculation. In a non-recourse state (where the lender's recovery is limited to the property), the foreclosure is treated as a sale of the property for the outstanding mortgage balance. If the home was purchased for $250,000 with a $200,000 mortgage and was foreclosed when the balance was $190,000, there is a $60,000 capital loss — but capital losses on personal residences are generally not deductible. In a recourse state, the situation is more complex: (1) the foreclosure is a deemed sale of the property (potential capital gain/loss), AND (2) any cancelled debt is potential COD income (unless excluded). The interaction between these two calculations can be counterintuitive. Professional tax advice is essential.

Other tax consequences to consider: (1) Property tax proration — if property taxes were paid from sale proceeds, the allocation may affect your deduction. (2) Mortgage interest deduction — interest paid before foreclosure may still be deductible. (3) Tax lien priority — if you have IRS tax liens on the property, they may survive foreclosure (federal tax liens have a 120-day redemption right). (4) State tax treatment — some states do not conform to federal COD exclusion rules and may tax cancelled debt even when the federal exclusion applies. California, for example, conforms to the MFDRA exclusion; other states may not. Check your state's conformity.

The most important piece of advice: consult a qualified tax professional (CPA or enrolled agent) familiar with foreclosure tax issues before filing the tax return for the year of the foreclosure. This is not DIY territory — the calculations and forms are complex, and mistakes can result in an IRS assessment of tens of thousands of dollars plus penalties and interest. Many low-income taxpayer clinics (LITCs) and legal aid programs offer free tax assistance for foreclosure-related issues. The IRS Taxpayer Advocate Service (TAS) can also help if you are experiencing financial hardship from a tax assessment related to foreclosure.

Need Help With This?

You don't have to face foreclosure alone. Our team is ready to review your case, explain your options, and prepare the documents you need.

Get Your Free Case Review
Free · Confidential · No Obligation

Need Personalized Help?

Every situation is unique. Get a free, confidential consultation to understand your specific options.

Available Monday–Friday · 10:00 AM – 6:00 PM Pacific

Call/Text NowFree Consultation