Key Takeaways
- The IRS treats canceled mortgage debt as ordinary income under IRC Section 61(a)(11), taxed at rates up to 37%, not the 20% long-term capital gains rate most homeowners expect.
- Ignoring the Mortgage Forgiveness Debt Relief Act exclusion can cost a seller in the 22% bracket roughly $13,200 in unnecessary taxes on a $60,000 deficiency.
- Calculate your gain or loss on the sale first, then calculate any cancellation-of-debt income separately. They are two distinct tax events that feed different IRS forms.
- Tool: Run your short sale tax estimate with the CalcMoney Income Tax Calculator →
File With a Name You Trust
H&R Block pairs expert help with software that finds every deduction, backed by a Max Refund Guarantee.
A Short Sale Produces Two Separate Tax Events
A short sale does not generate one tax consequence. It generates two, and conflating them is the most expensive mistake sellers make.
The first event is the sale itself. The IRS compares your adjusted basis in the property to the sale price and determines whether you realized a gain or a loss. The second event is cancellation-of-debt income. When your lender agrees to accept less than the outstanding loan balance, the forgiven amount may count as taxable income under IRC Section 61(a)(11). Each event flows through different IRS forms and potentially different tax rates.
Understanding both events before closing gives you time to plan. Understanding them after closing gives you nothing but a bill.
How to Calculate Gain or Loss on the Sale
Your gain or loss equals the sale price minus your adjusted basis in the property.
Adjusted basis starts with your original purchase price, then adds capital improvements (a new roof, a kitchen remodel, an addition) and subtracts any depreciation you claimed if the property was ever used for rental or business purposes.
Formula: Adjusted Basis = Purchase Price + Capital Improvements - Depreciation Taken
Gain or Loss: Sale Price - Adjusted Basis = Realized Gain or (Loss)
Worked Example 1. You purchased a home in 2019 for $410,000. You added a $22,000 addition in 2021. You never rented the property. Your adjusted basis is $432,000. The lender accepts a short sale at $370,000.
$370,000 - $432,000 = ($62,000) realized loss.
A loss on the sale of a personal residence is not deductible. IRS Publication 523 explicitly bars it. However, this loss also means you owe no capital gains tax on the transaction. The sale itself produces zero income tax liability.
The cancellation-of-debt calculation, covered below, is a separate matter entirely.
How to Calculate Cancellation-of-Debt Income
Cancellation-of-debt income equals the outstanding loan balance at the time of the short sale minus the amount the lender actually received.
Formula: COD Income = Outstanding Loan Balance - Net Sale Proceeds Applied to the Loan
Your lender will report this figure to you and to the IRS on IRS Form 1099-C, Cancellation of Debt. You then report it on IRS Form 1040, Schedule 1, Line 8c, unless an exclusion applies.
Worked Example 2. You owe $480,000 on your mortgage. The lender accepts a short sale and receives $395,000 in net proceeds. The lender cancels the remaining $85,000 balance.
COD income: $480,000 - $395,000 = $85,000
At the 24% federal marginal rate, the tax on that $85,000 is $20,400. At the 32% rate, it rises to $27,200. This income adds to your ordinary income for the year, which can itself push you into a higher bracket.
The Mortgage Forgiveness Debt Relief Act Exclusion
The Mortgage Forgiveness Debt Relief Act allows qualifying homeowners to exclude canceled mortgage debt from taxable income. Congress has repeatedly extended the provision. As of the 2025 tax year, the exclusion applies to debt discharged on a principal residence through the end of 2025. Confirm the current extension status with a tax advisor before filing.
To qualify, the debt must have been used to buy, build, or substantially improve the home that secured the loan. Cash-out refinance proceeds spent on anything other than the home itself do not qualify for the exclusion.
You claim the exclusion on IRS Form 982, Reduction of Tax Attributes Due to Discharge of Indebtedness. The excluded amount reduces your basis in the property, but since you no longer own the property after a short sale, the basis reduction has no practical tax consequence.
Worked Example 2, Continued. Using the $85,000 COD income from Example 2: if the debt qualifies under the Mortgage Forgiveness Debt Relief Act, you exclude the full $85,000 on IRS Form 982. Your taxable COD income drops to $0. The $20,400 to $27,200 tax liability disappears entirely.
The Insolvency Exclusion: An Alternative If the Act Does Not Apply
Sellers who do not qualify under the Mortgage Forgiveness Debt Relief Act may still exclude COD income under the insolvency exclusion in IRC Section 108(a)(1)(B). You qualify to the extent your total liabilities exceeded your total assets immediately before the discharge.
Formula: Excludable COD Income = Total Liabilities Before Discharge - Total Assets Before Discharge
If your liabilities exceeded your assets by $30,000 and your COD income was $85,000, you exclude $30,000 and report $55,000 as ordinary income. You claim this exclusion on IRS Form 982 as well, using a different checkbox.
Calculating insolvency requires a complete snapshot of your balance sheet at the moment of discharge. Include every liability: credit cards, car loans, student loans, and other mortgages. Include every asset at fair market value: bank accounts, retirement accounts, investment accounts, vehicles, and personal property.
State Tax Consequences Vary Significantly
Federal tax treatment sets the floor, not the ceiling. Several states do not conform to the federal Mortgage Forgiveness Debt Relief Act exclusion. California, for instance, has its own version with different eligibility rules and expiration dates. Other states treat COD income as fully taxable ordinary income regardless of federal exclusions.
A homeowner in California facing $85,000 in COD income who qualifies for the federal exclusion but not the California exclusion could owe California income tax at rates up to 13.3% on the full $85,000, a state-only bill of up to $11,305. Check your state's department of revenue guidance before assuming your federal exclusion carries over.
Run Your Numbers Before You Close
The variables in a short sale tax calculation compound quickly. The sale price, the loan balance, the adjusted basis, your marginal rate, your state's conformity rules, and your insolvency position all interact. A single incorrect assumption can shift your estimated liability by tens of thousands of dollars.
The CalcMoney Income Tax Calculator lets you input your ordinary income, including estimated COD income, against your filing status and deductions to produce a marginal and effective rate estimate. Use it to model the scenario with and without the exclusion, and with and without a state-level tax hit.
Run the calculation before your short sale closes. After closing, the only variable still within your control is how you file.
You Might Also Like
- How to Calculate the Home Sale Tax Exclusion and Whether You Qualify
- How to Calculate Airbnb and Short-Term Rental Income Taxes
- How to Calculate 1099 Income After All the Taxes You Actually Owe
Results are estimates for informational purposes only. Consult a licensed financial professional before making financial decisions.
Put These Numbers to Work
Open a Fidelity brokerage account. $0 commissions, no account minimums, fractional shares available.
Affiliated. We may earn a commission.
Related Guides
Free Tools
Run the actual numbers
Stop estimating. Plug in your numbers and get a precise answer in seconds. Free, no signup required.
Open Free Calculators


