Back to search
HousingMortgage

Mortgage Debt Forgiveness Exclusion

6 min read·Updated Apr 21, 2026

Mortgage Debt Forgiveness Exclusion

When a lender forgives mortgage debt — through a short sale, foreclosure, deed-in-lieu, or loan modification — the IRS normally treats the cancelled amount as taxable income. A homeowner who sells short and has $80,000 of mortgage debt forgiven could owe income tax on that $80,000 as if it were wages. The Mortgage Forgiveness Debt Relief Act (codified at 26 U.S.C. § 108(a)(1)(E)) provides a critical exclusion: up to $750,000 of forgiven debt ($375,000 for married filing separately) on a principal residence can be excluded from taxable income, provided the debt was originally used to buy, build, or substantially improve the home. The exclusion applies only to acquisition debt — a cash-out refinance used for other purposes doesn't qualify. This provision has not been made permanent and has required repeated congressional extensions; its availability in any given tax year depends on whether Congress has extended it. If you're facing foreclosure, a short sale, or a principal-reducing loan modification, your tax exposure — or lack thereof — turns entirely on whether this exclusion is active for the year in question.

Current Law (2026)

The Mortgage Forgiveness Debt Relief Act allows taxpayers to exclude up to $750,000 of forgiven mortgage debt on a principal residence from taxable income. This provision has been extended multiple times; check current status for 2026.

ParameterValue
Exclusion limit$750,000 ($375,000 MFS)
Qualifying debtAcquisition debt on principal residence
Qualifying eventsForeclosure, short sale, mortgage modification
Must be principal residenceYes
  • 26 U.S.C. § 108 — Income from discharge of indebtedness
  • IRC Section 108(a)(1)(E) — Discharge of qualified principal residence indebtedness

How It Works

The exclusion under 26 U.S.C. § 108(a)(1)(E) applies only to acquisition debt — debt originally used to buy, build, or substantially improve the principal residence. Cash-out refinance proceeds used for other purposes (consolidating credit cards, paying tuition, buying a car) are not acquisition debt, and forgiveness of that portion remains taxable income even if the loan is secured by the home. When a lender forgives debt, they report the cancelled amount on Form 1099-C; without this exclusion, that amount would be ordinary income in the year of discharge. See Mortgage Interest Deduction and HELOC Interest Deductibility for related guidance on what counts as acquisition debt. Borrowers with FHA loans or loans backed by GSEs may have loss mitigation options before reaching the point of debt forgiveness.

If the principal residence exclusion doesn't fully cover your situation — because some of the forgiven debt was non-acquisition, or involves a second property — the insolvency exclusion under IRC § 108(a)(1)(B) may apply as a fallback. The insolvency test compares your total liabilities against total assets at the exact moment of cancellation: if liabilities exceed assets by $50,000 and $80,000 was forgiven, you can exclude $50,000 and must include $30,000 as income. One procedural consequence of using the principal residence exclusion: the excluded amount reduces your home's tax basis, which affects gain calculations if you later sell — this rarely matters for a home you no longer own after a foreclosure or short sale, but it must be reflected on Form 982.

How It Affects You

If you're checking whether this exclusion is still active — it is, permanently: The Consolidated Appropriations Act of 2021 made the qualified principal residence indebtedness exclusion a permanent part of the tax code under IRC § 108(a)(1)(E). No more year-by-year extensions to track. HR 917 (introduced 2025) would reinforce permanence, but it's not needed — the exclusion is already permanent. You don't need to verify "whether it's extended" for 2026. It is in effect.

If you're facing foreclosure, short sale, or loan modification: See Mortgage Foreclosure & Loss Mitigation for your rights during the foreclosure process. When your lender forgives acquisition debt on your principal residence — through a short sale, foreclosure, principal-reducing modification, or deed-in-lieu — they report the cancelled amount on Form 1099-C. Box 2 shows the amount cancelled; Box 1 shows the date; Box 4 describes the debt. Keep this form carefully. You exclude the forgiven amount from income by filing Form 982 with your tax return for the year of discharge. On Form 982: check box 1e ("Discharge of qualified principal residence indebtedness"), enter the excluded amount on Line 2, and enter the same amount on Line 10b (basis reduction — which reduces your home's adjusted basis, though this often doesn't matter for a home you no longer own). Without this exclusion, $100,000 in forgiven debt would be ordinary income, potentially triggering $22,000–$37,000 in federal tax on money you never received.

If you did a cash-out refinance and now face debt forgiveness: Only acquisition debt qualifies — debt used to buy, build, or substantially improve the home. Cash-out proceeds used for other purposes (car, college tuition, debt consolidation, vacations) are not acquisition debt and don't qualify for this exclusion. To determine how much of your current mortgage balance is acquisition debt, trace your ownership history using closing disclosures: the original purchase mortgage was acquisition debt; each subsequent refinance carries forward the acquisition portion (what paid off prior acquisition debt); documented home improvement costs add to the acquisition basis. Every closing disclosure (HUD-1 or the post-2015 Closing Disclosure) shows where the proceeds went. Save these documents — they're your audit trail. If your mortgage mixed acquisition and non-acquisition proceeds and you can't reconstruct the allocation, work with a CPA before filing Form 982, because underreporting taxable income can trigger penalties.

If the principal residence exclusion doesn't fully cover your situation: The insolvency exclusion under IRC § 108(a)(1)(B) is your fallback — available even for non-acquisition debt, second homes, or investment property. To use it: calculate your total liabilities (mortgage balance, car loans, credit cards, student loans, tax debt, medical bills — every obligation) minus your total assets at fair market value (home value, car, bank accounts, retirement accounts, personal property) at the precise moment of debt cancellation. If liabilities exceed assets by $50,000 and $80,000 was forgiven, you can exclude $50,000 under insolvency and must include $30,000 as income. On Form 982: check box 1b ("Insolvency"), enter the excluded amount on Line 2. Document your balance sheet as of the cancellation date — bank statements, mortgage statement, recent home value estimate (Zillow printout or county assessment), retirement account statements. This snapshot is hard to reconstruct months later, so gather it immediately when you receive the Form 1099-C. If your insolvency calculation is close or the amounts are large, a CPA or tax attorney is worth the cost.

Implementing Regulations

  • 26 CFR Part 1 — Income tax regulations (§ 1.108(a)-1 — income from discharge of indebtedness excluded under qualified principal residence indebtedness)

Pending Legislation

  • HR 917 (Rep. Brownley, D-CA) — Mortgage Debt Tax Forgiveness Act of 2025: permanently keeps forgiven mortgage debt on a principal residence from being taxed for debt discharged after Dec. 31, 2025. Status: Introduced.
  • HR 918 (Rep. Brownley, D-CA) — Mortgage Insurance Tax Deduction Act of 2025: would make the mortgage insurance premium deduction permanent (related to mortgage affordability). Status: Introduced.

Recent Developments

  • Exclusion remains available for 2026 — extension status confirmed: The qualified principal residence indebtedness exclusion (IRC § 108(a)(1)(E)) was made permanent by the Consolidated Appropriations Act of 2021, ending years of year-by-year extensions. As of 2026, there is no expiration date — homeowners facing foreclosure, short sale, or loan modification can use this exclusion without worrying about whether Congress has extended it for the current year. This is a significant improvement from the prior era of one-year extensions that created uncertainty for distressed borrowers at tax time.
  • Housing market normalization means fewer short sales but more modifications: The pandemic-era forbearance wave (2020-2021) led to a significant backlog of loan modifications, but most resolved without foreclosure. With interest rates rising in 2022-2023, affordability-driven distress returned, particularly for borrowers who took adjustable-rate mortgages. Loan modifications (interest rate reductions, term extensions, principal deferments) are more common than short sales in the current market — each can generate a 1099-C that triggers the need for this exclusion.
  • Insolvency exception is the fallback when exclusion doesn't apply: The principal residence exclusion only covers acquisition debt on a primary residence. Homeowners whose forgiven debt is a second home, investment property, or cash-out refinance (not used for home improvement) must look to the insolvency exclusion (IRC § 108(a)(1)(B)) instead. The insolvency test compares total liabilities to total assets at the moment of discharge — many distressed borrowers pass this test even when they don't qualify for the principal residence exclusion. Form 982 is used to calculate and claim both exclusions.
  • Commercial real estate debt forgiveness growing issue in 2025-26: The principal residence exclusion covers only residential owner-occupied property. The surge in commercial real estate distress (office buildings, retail, some multifamily) is generating large-scale 1099-C filings for commercial property owners and real estate partnerships. These situations require the insolvency or bankruptcy exclusion (IRC § 108(a)(1)(A) or (B)) and are substantially more complex than residential foreclosures. Commercial real estate investors in troubled positions should work with a tax attorney, not just a CPA. Homebuyers looking to purchase after a prior foreclosure should review first-time homebuyer programs and PMI requirements for current waiting periods and eligibility.

At My Address

See how Mortgage Debt Forgiveness Exclusion plays out in your area

Pull up the federal-data report for any U.S. ZIP — federal spending, environmental risk, hospitals, schools, your reps, all on one page.

Enter your address