In what order do I test the exclusions?
First the exceptions (gift, seller price cut, deductible debt). Then, for what's left: bankruptcy beats everything; insolvency comes next; farm and business real estate debt apply only to the extent you're not insolvent; and the main-home exclusion beats insolvency unless you choose insolvency instead. Whatever remains is income.
Sources
Is debt discharged in bankruptcy taxable?
No. Debt discharged in a bankruptcy case under title 11 (chapter 7, 11 or 13) is excluded when you're the debtor and the court grants the discharge or approves the plan. You attach Form 982, check line 1a and reduce your tax attributes; in chapters 7 and 11 the bankruptcy estate is treated as the taxpayer for the attribute reduction.
Sources
How does the insolvency exclusion work?
You're insolvent when your debts are more than everything you own, measured the moment before the cancellation. Canceled debt is excluded up to the amount you were insolvent, and the rest is income. 'Everything you own' includes retirement accounts, pensions and other assets creditors can't reach, plus the property that secures the debt.
Sources
Authority, strongest first
- Code I.R.C. § 108
- Case Carlson v. Commissioner, 116 T.C. 87 (2001)
- Publication IRS Pub. 4681 (2025), Canceled Debts, Foreclosures, Repossessions, and Abandonments (for Individuals)
108(a)(1)(B), (a)(3), (d)(3): 'the excess of liabilities over the fair market value of assets', determined immediately before the discharge. Carlson v. Commissioner, 116 T.C. 87 (2001): 'assets' includes assets exempt from creditors. Pub. 4681: nonrecourse debt counts to the extent it is not more than the property's value, plus any excess that is forgiven. 108(e)(1): no insolvency exception other than those in
section 108.
How do I figure out if I was insolvent?
Use the Insolvency Worksheet in Pub. 4681. List every debt you owed right before the cancellation (cards, mortgages, car loans, medical bills, taxes, judgments), then the fair market value of everything you owned (cash, home, cars, furniture, retirement accounts, investments). If debts are bigger, the difference is how insolvent you were.
Sources
What is Form 982?
It's the form you attach to your return to claim an exclusion for canceled debt and to say which tax attributes you're reducing. Line 1 has a box for each reason (a bankruptcy, b insolvency, c farm debt, d business real estate debt, e main-home debt). Line 2 is the excluded amount. Part II is the reduction.
Sources
What does 'reducing tax attributes' mean?
When you exclude debt under bankruptcy, insolvency or the farm rule, you pay back the benefit by shrinking tax items you could have used later: first any net operating loss, then certain credits, capital loss carryovers, the basis of your property, and a few others. It's dollar for dollar for most of them. If you have none of those but own things, the basis of your property takes the reduction. For business real estate debt and main-home debt the reduction is limited to basis.
Sources
Authority, strongest first
- Code I.R.C. § 108
- Publication IRS Pub. 4681 (2025), Canceled Debts, Foreclosures, Repossessions, and Abandonments (for Individuals)
- Form IRS Form 982 (Rev. March 2018) and Instructions (Rev. December 2021)
108(b)(2) order: NOL, general business credit, minimum tax credit, capital loss carryovers, basis (1017), passive activity loss and credit carryovers, foreign tax credit carryovers; credit carryovers are reduced at a lower rate (108(b)(3)(B)). 108(b)(4)(A): the reduction is made after the tax for the year of the discharge is figured. 108(b)(5) election to reduce depreciable property basis first. Pub. 4681 gives the personal-use-property rule and an example.
What is the qualified farm debt exclusion?
If you run a farm, debt you took on directly for the farming business, canceled by a qualified lender (a regular lender or a government agency), can be excluded when at least 50% of your total gross receipts over the 3 prior years came from farming. The exclusion is limited to your tax attributes plus the basis of your business and investment property, and it applies only after bankruptcy and insolvency.
Sources
Authority, strongest first
- Code I.R.C. § 108
- Publication IRS Pub. 4681 (2025), Canceled Debts, Foreclosures, Repossessions, and Abandonments (for Individuals)
108(a)(1)(C), (g)(1) (qualified person, including a government), (g)(2)(B) (the receipts test is on aggregate gross receipts for the 3 preceding years, not year by year), (g)(3) (limit, with credit carryovers counted at three dollars per dollar). Pub. 4681 examples. Details are in Pub. 225 (not opened for this hub).
What is qualified real property business debt?
Debt secured by real estate you use in a business (including most rentals), taken on before 1993, or later debt used to buy, build or improve that property. You choose the exclusion on Form 982, and it can't be more than the debt's excess over the property's value or the basis of your depreciable real estate. The price is a basis reduction in that real estate. It isn't available for a C corporation.
Sources
What if paying the debt would have been deductible?
Then canceling it isn't income, to the extent of the deduction you lose. This mostly matters to cash-method taxpayers in business: if you owed a vendor for deductible services you hadn't paid yet and the vendor forgives it, you haven't gotten anything the tax law would have taxed twice.
Sources
The seller cut the price after I bought. Is that income?
If you owe the seller for something you bought and the seller later reduces what you owe, and you're not insolvent or in bankruptcy, it's treated as a lower purchase price rather than income. You reduce your basis in the property by the cut.
Sources