1. TurboTax /
  2. Tax Calculators & Tips /
  3. Tax Tips Guides & Videos /
  4. Debt /
  5. How to Avoid Taxes on Canceled Mortgage Debt

How to Avoid Taxes on Canceled Mortgage Debt

Updated for Tax Year 2022 • February 15, 2023 09:22 AM


If you lost your principal residence to a foreclosure or short sale, TurboTax can help you deal with the tax implications, including recent tax law changes that can offer some relief.

Young woman at home checking her financial papers and bills with laptop and mobile phone

Adding forgiven debts to income

If your forgiven debt is subject to taxation, you will usually receive a form 1099-C, Cancellation of Debt, from the lender, showing the amount of canceled debt. You’ll file the 1099-C with your federal tax return, and the amount of canceled debt is added to your gross income.

There are, however, exceptions and exclusions that may save you from the requirement to report canceled debt as part of your income.

Exceptions and exclusions

Not all canceled debt is subject to income tax. The IRS recognizes both exceptions to canceled debt rules as well as amounts that are excluded from gross income due to their origin.
Exceptions include:

  • Gifts, bequests or inheritances
  • Some qualified student loans
  • Any debt that, had it been paid, would have been a deductible item for the borrower
  • A qualified reduction in price offered by a seller
  • Certain payments on the balance of a mortgage under the Home Affordable Modification Program

When a loan is secured by property, such as a mortgage where the home and land stand as collateral, and the lender takes the property as full or partial settlement of the debt, it is considered a sale for tax purposes, not a forgiven debt. In that case, you may need to report capital gains or losses on the “sale” of the property, but you will not need to add forgiven debt to your income.
Exclusions include:

  • Debt canceled in a Title 11 bankruptcy or during insolvency
  • Canceled qualified farm debt
  • Canceled qualified real property business debt
  • Principal residence indebtedness under terms of the Mortgage Debt Relief Act (2007 through 2020). This can also apply to debt that is discharged in 2021 provided that there was a written agreement entered into in 2020. This was further extended through 2025 by the Consolidated Appropriations Act in December of 2020.

If you claim an exclusion, you can’t claim tax credits or capital losses or otherwise improve your tax situation using the excluded property.

The Mortgage Debt Relief Act of 2007

Applying only to your principal residence, the Mortgage Debt Relief Act excluded as income any debt discharge up to $2 million. Provisions of the Act applied to most homeowners, and it included partial debt relief gained through mortgage restructuring as well as full foreclosure. Refinancing was also allowed, but only up to the amount of principal balance of the original mortgage.

The Act also covered loans and subsequent debt forgiveness for amounts borrowed to substantially improve a principal residence. You cannot use provisions of the Act for other canceled debts, and the relieved debt must be secured by the principal residence property. The Act covered debt forgiven within the calendar years of 2007 through 2020. This can also apply to debt that is discharged in 2021 provided that there was a written agreement entered into in 2020.

Extension of the Mortgage Debt Relief Act

The Act initially covered a three-year period between 2007 and 2010, but was extended five times, to 2012, 2013, 2014, 2016, 2017, 2019 and then to 2020. This can also apply to debt that is discharged in 2021 provided that there was a written agreement entered into in 2020.

The Consolidated Appropriations Act (CAA) was signed into law on December 27, 2020 as a stimulus measure to provide relief to those affected by the pandemic. The CAA extends the exclusion of cancelled qualified mortgage debt from income for tax years 2021 through 2025. However, the maximum amount of excluded forgiven debt is limited to $750,000.

Another way around the tax bite

If you’re not covered by the special tax break for principal residences described above, there are two very important exceptions to the “cancelled debt = taxable income” rule.

The cancelled debt is not income, even if you receive a Form 1099-C, if

  1. You received the cancelled debt due to bankruptcy filing, or
  2. To the extent you are insolvent immediately before the cancellation of the debt.

Insolvency means your debts exceed the value of all your assets. You can exclude cancelled debt from income up to the amount that you are insolvent.

  • For example, if you had assets of $80,000 and debt of $100,000, you are considered to insolvent by $20,000.
  • If you had $30,000 in debt cancelled at this time of insolvency, you would have to include only $10,000 ($30,000 minus $20,000) in your income.

Cancelled debt can be a challenging tax situation especially during hard financial times. TurboTax will guide you through the cancelled debt maze, including the new legislation, and help minimize the pain from in these tough situations.

With TurboTax Live Full Service Deluxe, a tax expert will do your taxes for you and find every dollar you deserve. Backed by our Full Service Guarantee. You can also file taxes on your own with TurboTax Deluxe. We’ll search over 350 deductions and credits so you don’t miss a thing.

Let a tax expert do your taxes for you

Get every dollar you deserve and your max refund, guaranteed with Live Full Service Deluxe.

Get your max refund

Search over 350 tax deductions and find every dollar you deserve with TurboTax Deluxe.

Looking for more information?