Two ways to start. A free fit call, or the Diagnostic in writing.
Client login786-952-6621

IRC 108 Exclusions: When Canceled Debt Isn't Taxable

Written by Yarik Yarosh, CPA (US & Canada) September 5, 2026 · FL CPA license AC61704 · CPA Ontario

Canceled debt is normally income under IRC 61(a)(11). IRC 108 is the list of exceptions. Gross income doesn’t include debt discharged in a Title 11 bankruptcy case, debt discharged while you’re insolvent (up to the amount you’re insolvent), qualified farm debt, qualified real property business debt (for anyone but a C corporation), and qualified principal residence debt discharged before 2026 or under a written arrangement made before 2026. Bankruptcy overrides the others, and insolvency comes ahead of the farm and real property exclusions. The price is in IRC 108(b): for the bankruptcy, insolvency and farm exclusions, the excluded amount reduces your NOLs, credits, capital loss carryovers and basis, in that order, unless you elect to reduce the basis of depreciable property first.

✓Key takeaway

IRC 108 exclusions from COD income:

ExclusionRequirementLimit
Bankruptcy (IRC 108(a)(1)(A))Discharge occurs in a Title 11 bankruptcy caseUnlimited (all COD income excluded)
Insolvency (IRC 108(a)(1)(B))Taxpayer is insolvent immediately before the dischargeLimited to the extent of insolvency (liabilities minus FMV of assets)
Qualified farm indebtedness (IRC 108(a)(1)(C))Incurred by a person engaged in farming, owed to a qualified personLimited to sum of tax attributes + basis of qualified property
Qualified real property business indebtedness (IRC 108(a)(1)(D))Acquisition indebtedness on depreciable real property (not C-Corp)Limited to excess of outstanding debt over FMV of property
Qualified principal residence indebtednessAcquisition indebtedness on principal residence (through 2025)Up to $750,000
PPP loan forgivenessPPP loan forgiven under CARES ActUnlimited (excluded and no attribute reduction)
Purchase price reduction (IRC 108(e)(5))Seller reduces debt owed by buyer for purchased propertyLimited to debt for the specific property

Tax attribute reduction order (IRC 108(b)):

PriorityAttribute ReducedReduction Ratio
1Net operating losses (NOLs)Dollar for dollar
2General business credits33.33 cents per dollar of excluded COD
3Minimum tax credits33.33 cents per dollar
4Capital loss carryoversDollar for dollar
5Basis of assets (IRC 1017)Dollar for dollar (cannot go below zero)
6Passive activity loss carryoversDollar for dollar
7Foreign tax credit carryovers33.33 cents per dollar
ElectionReduce basis first (IRC 108(b)(5))Taxpayer can elect to reduce basis before NOLs

How does debt forgiveness affect your taxes?

Does forgiven debt count as taxable income?

Under the general rule, cancellation of debt (COD) income is taxable as ordinary income. However, several exceptions apply. The insolvency exclusion under IRC 108(a)(1)(B) lets you exclude COD income to the extent your liabilities exceed the fair market value of your assets immediately before the cancellation. Bankruptcy is a complete exclusion: any COD income that arises during a Title 11 bankruptcy case is fully excluded regardless of your financial condition. Other exclusions include qualified farm indebtedness and qualified real property business indebtedness. When you exclude COD income, you must reduce your tax attributes (NOLs, credits, asset basis) by the excluded amount, using Form 982 to report both the exclusion and the attribute reduction.

Two points people get wrong on the insolvency test. First, assets means everything you own at fair market value, including property that secures a loan and exempt assets like retirement accounts and pension interests. Second, when the canceled debt is qualified principal residence debt, that exclusion applies ahead of insolvency unless you elect insolvency instead.

Want this checked against your own situation?

Start with a Diagnostic: a CPA licensed in the US and Canada reads your file and tells you in writing what's wrong and how to fix it, three to four business days after you finish the questions. The report is $250. If you hire us for any work after that, you get the $250 back as a discount on that work. Or send us your return or your letter and get a fixed price, free.

Get the next cross-border guide by email

One or two plain-English guides a week on US-Canada tax. No spam, unsubscribe anytime.

Cite this page

Yarik Yarosh, CPA. "IRC 108 Exclusions: When Canceled Debt Isn't Taxable." Blue Cloud CPA, September 5, 2026, updated October 16, 2026. https://bluecloudcpa.com/guides/small-business-discharge-of-indebtedness-irc-108-bankruptcy-insolvency

This guide is general information, not tax advice for your specific situation. Which points apply, and how, depends on your facts.