Cancellation of Debt Income — When Forgiven Debt Becomes Taxable
Here is a tax rule that surprises most people: when a lender forgives your debt, the forgiven amount is generally taxable income. The economic logic is that you borrowed money you didn't pay back — you got the purchasing power without the repayment cost. Under § 61 of the tax code, discharge of indebtedness income is explicitly listed as gross income. A $50,000 credit card balance negotiated down to zero in a debt settlement? That $50,000 may show up as income on a 1099-C from the creditor — and on your tax return. A mortgage lender who forgives a $100,000 deficiency after a short sale? That $100,000 may be taxable. Section 108 provides five significant exclusions to this rule — bankruptcy, insolvency, qualified farm debt, qualified real property business debt, and (through 2025) qualified principal residence indebtedness — but each exclusion comes with strings: you must reduce your tax attributes (NOLs, credits, basis) by the excluded amount, preventing a windfall. Understanding which exclusion applies, what attributes to reduce, and how to document insolvency is essential for anyone navigating debt forgiveness.
Current Law (2026)
| Parameter | Value |
|---|---|
| Core statute | 26 U.S.C. § 108; general income rule: 26 U.S.C. § 61(a)(12) |
| General rule | Forgiven debt = ordinary income in the year of discharge |
| Creditor reporting | Form 1099-C filed with IRS and issued to debtor when $600+ of debt is cancelled |
| Bankruptcy exclusion (§ 108(a)(1)(A)) | Debt cancelled in a Title 11 (bankruptcy) case: entirely excluded from income |
| Insolvency exclusion (§ 108(a)(1)(B)) | Excluded to the extent the taxpayer is insolvent immediately before the discharge (liabilities exceed assets); any excess is taxable |
| Qualified principal residence indebtedness (§ 108(a)(1)(E)) | Excluded if: the discharge was before January 1, 2026, OR the arrangement was entered into and evidenced in writing before January 1, 2026 — effectively expired for new situations in 2026 |
| Qualified farm indebtedness | Discharge of farm debt from certain lenders excluded if certain conditions met |
| Qualified real property business indebtedness | Non-C-corporation taxpayers may exclude certain business real property debt discharge; limited to depreciable real property FMV |
| Student loan forgiveness (§ 108(f)) | Excluded if discharged pursuant to a service obligation provision (public service, medical underserved areas); American Rescue Plan made ALL student loan forgiveness tax-free through 2025 |
| Attribute reduction | Excluded CODI reduces tax attributes in this order: NOLs, general business credits, minimum tax credits, capital loss carryovers, basis of property, passive activity loss/credit carryovers, foreign tax credit carryovers |
| Attribute reduction rate | $1 for $1 for NOLs and basis; 33⅓ cents per dollar excluded for credit carryovers |
Legal Authority
- 26 U.S.C. § 61(a)(12) — Gross income defined to include income from discharge of indebtedness — the foundational rule that makes forgiven debt taxable
- 26 U.S.C. § 108(a)(1) — The five exclusions: (A) Title 11 bankruptcy; (B) insolvency; (C) qualified farm indebtedness; (D) qualified real property business indebtedness (non-C corps only); (E) qualified principal residence indebtedness discharged before 1/1/2026 or per pre-1/1/2026 arrangement
- 26 U.S.C. § 108(a)(3) — Insolvency cap: the insolvency exclusion is limited to the amount of insolvency — if you have $80,000 in debt and $50,000 in assets, you are $30,000 insolvent; if $50,000 of debt is forgiven, only $30,000 is excluded and $20,000 is taxable
- 26 U.S.C. § 108(b) — Attribute reduction: the tax benefit of the exclusion is deferred, not eliminated; excluded CODI reduces tax attributes in a specified order, reducing future tax deductions and credits
- 26 U.S.C. § 108(f) — Student loan exclusion: discharge of student loans is excluded if pursuant to a service obligation provision; separately, American Rescue Plan Act § 9675 made ALL student loan forgiveness tax-free for 2021–2025 (now expired for federal purposes)
- 26 U.S.C. § 108(h) — Qualified principal residence indebtedness definition: up to $2 million ($1 million if MFS) of acquisition debt on a principal residence; applies to debt cancelled pursuant to mortgage restructuring, short sale with deficiency forgiveness, or foreclosure with deficiency
- 26 U.S.C. § 1017 — Basis reduction: after attribute reduction reduces basis of property, the basis adjustments are made (generally by reducing adjusted basis of depreciable property owned at the start of the year following discharge)
How CODI Works in Practice
The basic scenario: You owe $30,000 on a credit card. You negotiate a settlement — the creditor accepts $12,000 as payment in full and writes off the remaining $18,000. The creditor sends you Form 1099-C showing $18,000 in cancelled debt. You must include that $18,000 in gross income on your tax return unless an exclusion applies.
The Form 1099-C: Creditors are required to file 1099-C when they cancel $600 or more of debt. Common situations: credit card debt settlement, short sale deficiency forgiveness, foreclosure deficiency judgments waived, student loan forgiveness, mortgage modifications that reduce principal. Even without a 1099-C, if debt is legally forgiven, it may be taxable income — the 1099-C creates a paper trail, but the tax rule applies regardless of whether the form is issued.
Important timing rules: CODI is recognized in the taxable year when the debt is cancelled. This isn't always the year of the last payment or the year the lender "gives up" — it's when there's a legally binding cancellation of the obligation. Abandonment of property to a lender, short sale closing, and foreclosure completion each have specific timing rules.
The Five Exclusions
1. Bankruptcy (§ 108(a)(1)(A))
The strongest exclusion: if debt is cancelled in a Title 11 case (Chapters 7, 11, 12, or 13 bankruptcy), the cancelled debt is entirely excluded from income — no cap, no insolvency test. This applies to any amount forgiven through the bankruptcy process, whether in a Chapter 7 discharge, a confirmed Chapter 13 plan, or a Chapter 11 reorganization.
The trade-off: Attribute reduction still applies. A Chapter 7 debtor who walks away from $100,000 in credit card debt must reduce their tax attributes by $100,000. For most individuals in bankruptcy, this means reducing any accumulated NOL carryforwards and then reducing basis in assets. Many bankruptcy filers have little in the way of tax attributes, so the attribute reduction is academic.
Form 982 required: You must file IRS Form 982 with your return to report the exclusion and document which attributes are being reduced.
2. Insolvency (§ 108(a)(1)(B))
If you're not in bankruptcy but are insolvent immediately before the debt is cancelled, you can exclude CODI up to your insolvency amount.
Insolvency defined: Liabilities exceed assets by any amount. You measure all liabilities (not just the one being discharged) and all assets (including retirement accounts, life insurance cash value, car equity, and home equity) immediately before the discharge.
Partial exclusion: This exclusion is capped at your insolvency. If you are $20,000 insolvent and $50,000 of debt is forgiven, only $20,000 is excluded — the remaining $30,000 is taxable income.
Documenting insolvency: This requires a balance sheet-style analysis. The IRS will scrutinize this on audit. Having a tax professional prepare the insolvency worksheet using an accurate asset valuation is important.
3. Qualified Principal Residence Indebtedness (Expired for 2026+)
This exclusion was one of the most important protections for homeowners during the foreclosure crisis and subsequent mortgage modification era. It excluded forgiven mortgage debt on a primary residence — short sale deficiencies, principal reductions in modifications, foreclosure deficiency waivers — up to $2 million ($1 million MFS).
The American Rescue Plan Act extended this provision through 2025. The current statute allows the exclusion for discharges before January 1, 2026, OR for discharges pursuant to arrangements entered into and evidenced in writing before January 1, 2026. For homeowners whose short sales or modifications close after 2025 without a pre-2026 written agreement, the exclusion is no longer available.
Congress has repeatedly extended and then allowed this provision to lapse; watch for legislative action to revive it. If it lapses permanently, homeowners facing foreclosure or short sales in 2026+ who cannot claim bankruptcy or insolvency will owe income tax on the forgiven deficiency.
4. Student Loan Forgiveness
Prior to the American Rescue Plan Act (2021), only loans forgiven pursuant to a specific service obligation provision were excluded under § 108(f) — for example, medical providers who received loan forgiveness for working in underserved areas, teachers in qualifying schools, or lawyers in public service positions.
The American Rescue Plan made ALL student loan forgiveness tax-free for 2021–2025. This provision expired at the end of 2025. As of 2026, federal student loan forgiveness (income-driven repayment forgiveness, PSLF, disability discharge, closed school discharge) reverts to taxable income unless a separate exclusion applies — unless Congress extends the provision.
Note: Even when ARPA applied, state tax treatment varied. Many states did not conform to ARPA's federal student loan exclusion and taxed loan forgiveness as state income.
Attribute Reduction: The Hidden Cost
Excluding CODI from income isn't free — § 108(b) requires you to reduce your tax attributes in exchange for the current-year exclusion. The attribute reduction happens the year AFTER the discharge year (January 1 of the following year for basis adjustments). The order:
- Net operating loss carryovers (full $1 for $1)
- General business credit carryovers (33⅓ cents per dollar)
- Minimum tax credit (33⅓ cents per dollar)
- Capital loss carryovers ($1 for $1)
- Basis of property ($1 for $1, but not below zero or FMV for depreciable property)
- Passive activity loss/credit carryovers
- Foreign tax credit carryovers
The real cost: If you exclude $100,000 of CODI under the insolvency exclusion, and you have $100,000 of NOL carryforward, you lose that entire NOL — it's reduced to zero. Now your future profitable years get no deduction from that carryforward. The exclusion prevented today's tax but eliminated future deductions. Sometimes it's better to pay the tax now (at a low rate) than lose high-value attributes.
How It Affects You
<!-- pria:personalize type="impact" -->If you received a Form 1099-C in the mail: Don't file and pay until you check whether an exclusion applies — many 1099-C recipients owe nothing. Your first step: identify which exclusion might cover you. Were you in bankruptcy when the debt was cancelled? → bankruptcy exclusion (§ 108(a)(1)(A)). Were your total debts greater than your total assets at the moment of cancellation? → insolvency exclusion, at least partially. Was this your primary home mortgage cancelled before January 1, 2026? → QPRI exclusion may apply. Was this a student loan forgiven through PSLF? → still excluded. If an exclusion applies, file Form 982 with your tax return to claim it — do not simply omit the 1099-C income without the form. The IRS will receive a copy of the 1099-C and will send a notice if you don't address it.
If you settled credit card or personal loan debt: Credit card debt settlement is one of the most common CODI situations, and the insolvency exclusion is frequently available — though many people don't know it. Here's how the math works: say you owed $60,000 in credit cards and your house was worth $180,000 but you had a $200,000 mortgage, a $15,000 car loan, and $5,000 in other debts. Total liabilities: $220,000. Total assets (home $180K + car $12K + bank account $3K): $195,000. You are $25,000 insolvent. If the creditor cancelled $30,000, you can exclude $25,000 (your full insolvency) and only owe income tax on the remaining $5,000. The insolvency worksheet is not complicated, but it requires an honest accounting of all assets and all debts at the precise date of cancellation. Retirement account balances count as assets (even if not easily accessible). Get a written balance sheet together before filing.
If your home was sold in a short sale or foreclosed in 2025: The QPRI exclusion (§ 108(a)(1)(E)) remains available if the discharge occurred before January 1, 2026, or pursuant to a written arrangement entered into before that date. Gather your closing statement, lender forgiveness letter, and any loan modification agreement showing the pre-2026 date. For short sales that closed in 2025, the cancelled deficiency balance is reportable on Form 1099-C and excluded on Form 982. For situations not covered by QPRI (mortgage cancelled in 2026+ without a pre-2026 written arrangement), check whether the insolvency or bankruptcy exclusion might cover you instead — many homeowners in financial distress qualify.
If your student loans were forgiven: Tax treatment in 2026 depends entirely on the specific program. PSLF (Public Service Loan Forgiveness) — forgiveness is excluded from income under § 108(f)(5); this exclusion is permanent and was not affected by ARPA's expiration. Disability discharge — also excluded under § 108(f)(5). Closed school discharge — excluded. IDR (income-driven repayment) forgiveness after 20/25 years — the American Rescue Plan's temporary federal tax exclusion expired after 2025; IDR forgiveness in 2026 is taxable at the federal level unless Congress extends the exclusion. Many states that did not conform to ARPA in the first place will continue taxing any forgiveness. If you expect to receive IDR forgiveness, plan for a potential federal tax bill — on $50,000 of forgiveness at a 22% rate, that's $11,000 in additional tax due.
If you're a small business owner with forgiven debt: The qualified real property business indebtedness exclusion (§ 108(a)(1)(D)) can apply to mortgage debt discharged on commercial real estate you own for business. It's capped at the excess of the property's outstanding debt over its fair market value, and claiming it requires reducing the basis of your depreciable real property. This basis reduction matters at sale — it increases your eventual gain. Before claiming this exclusion, calculate whether paying the tax now (on the forgiven amount) might be preferable to a larger taxable gain years later when you sell.
<!-- /pria:personalize -->State Variations
State CODI treatment is a major source of confusion:
- Many states did NOT conform to the ARPA § 9675 temporary student loan exclusion — forgiven student loans were taxable at the state level even when federal-tax-free
- Most states conform to § 108 bankruptcy and insolvency exclusions
- Several states (California, New York) do not conform to qualified principal residence exclusion provisions on the same timeline as federal
- Check your state's conformity to federal debt relief provisions — it varies significantly
Pending Legislation
The qualified principal residence indebtedness exclusion lapsed after 2025. Legislation to extend it has been introduced but not yet enacted as of early 2026. The student loan forgiveness tax-free treatment under ARPA also expired; legislation to make that exclusion permanent has been proposed. Both provisions have bipartisan support in extension form.
Recent Developments
- SAVE plan and IDR forgiveness in limbo (2024–2026): The Biden administration's SAVE income-driven repayment plan — which offered lower monthly payments and accelerated forgiveness for many borrowers — was blocked by the Eighth Circuit in 2024 pending court review of the statutory authority. The Education Department put affected borrowers in administrative forbearance (payments paused, interest waived), but this forbearance period does not count toward PSLF or IDR forgiveness timelines for most programs. Under the Trump administration, Secretary McMahon's Education Department moved to modify or eliminate SAVE and transition affected borrowers to other IDR plans. Borrowers in SAVE-based forbearance should actively monitor their loan servicer communications for repayment plan transitions and potential impact on forgiveness timelines.
- ARPA student loan forgiveness tax exclusion expired at end of 2025: The American Rescue Plan Act created a temporary exclusion from gross income for student loan debt forgiven between 2021 and 2025, including IDR forgiveness, PSLF, and disability discharges. This exclusion expired at the end of 2025. Starting in 2026, IDR forgiveness (when it eventually occurs after 20-25 years of repayment) may be taxable income to the borrower unless Congress acts. PSLF forgiveness has its own statutory exclusion under § 108(f)(1) that is not time-limited. Borrowers near IDR forgiveness should model the potential tax liability and consider setting aside funds for a potential 1099-C event.
- Qualified principal residence indebtedness exclusion lapsed: The § 108(a)(1)(E) exclusion for mortgage debt forgiven on a primary residence — designed to protect homeowners from a tax bill when a lender forgives a deficiency after foreclosure, short sale, or loan modification — expired at the end of 2025. Homeowners who experience debt forgiveness on their primary residence mortgage in 2026 or later are now exposed to taxable CODI unless another exclusion (insolvency, bankruptcy) applies. Congress has extended this exclusion retroactively in the past, and extension legislation has been introduced in the 119th Congress (see Pending Legislation), but as of April 2026, no extension has been enacted. If you are in a short sale or loan modification that will generate a 1099-C in 2026, consult a tax professional immediately about whether you qualify for the insolvency exclusion as an alternative.
- Biden v. Nebraska (2023) settled the broad forgiveness question: The Supreme Court's 2023 ruling definitively struck down the Biden administration's HEROES Act-based $400 billion student loan forgiveness program. This eliminated what would have been massive CODI events for millions of borrowers — but it also closed off the most politically visible path to student debt reduction. Non-taxable forgiveness programs (PSLF under § 108(f)(1), disability discharge, closed school discharge) remain available under their specific statutory bases and are not affected by the HEROES Act litigation.