The taxable income rule
If your lender forgives the deficiency — the difference between your mortgage balance and the sale price — that amount is usually treated as taxable income. The lender reports it to you and the IRS on Form 1099-C, Cancellation of Debt.
What changed in 2026
The extension of the Mortgage Forgiveness Debt Relief Act, which let homeowners exclude up to $750,000 of forgiven debt on a primary residence, only covers debt discharged before January 1, 2026. Tax laws on debt relief can change, so check the current rules with a tax professional.
Exceptions that may still apply
- Insolvency: your total liabilities exceed your total assets right before the debt was forgiven.
- Bankruptcy: the debt was discharged in a Chapter 7 or Chapter 13 case.
- Nonrecourse debt: the lender's only remedy is the property itself.
Primary residence
For a primary home, you may be able to exclude up to $750,000 of canceled debt ($375,000 married filing separately) if the debt was used to buy, build or substantially improve the home and the exclusion applies to your discharge date.
Capital gains and losses
A short sale is still a sale, so capital gain or loss must be calculated. You may be able to exclude up to $250,000 of gain ($500,000 for married couples) if the home was your principal residence for two of the last five years.