Back to search
Business & BankruptcyBankruptcy & Debt Relief

Debt Forgiveness Taxation

8 min read·Updated May 6, 2026

Debt Forgiveness Taxation

When a lender cancels or forgives debt you owe, the IRS generally treats the forgiven amount as taxable income — "cancellation of debt income" (CODI) — as if you earned that money. The logic: you received value (the loan proceeds) without ultimately repaying it, so that value is income. The rule catches many people by surprise: a bank that forecloses and forgives a $50,000 deficiency can trigger a $50,000 tax bill. A credit card company that settles $20,000 of debt for $5,000 generates $15,000 of CODI. However, Congress has created several important exclusions. Debt discharged in bankruptcy is fully excluded (see Chapter 7, Chapter 13, and Chapter 11 for bankruptcy discharge mechanics). Debt forgiven while you're insolvent (liabilities exceed assets) is excluded up to the insolvency amount. Public Service Loan Forgiveness (PSLF) is permanently tax-free by statute. Income-driven repayment forgiveness was made temporarily tax-free through 2025 by the American Rescue Plan, but 2026 forgiveness may be taxable — this is a live, unresolved question. Forgiven mortgage debt on a primary residence has received periodic extensions but is not permanently tax-free (see Mortgage Debt Forgiveness for details on the exclusion). Understanding which exclusion applies to your situation is critical to avoiding a surprise tax bill in the year of forgiveness.

Current Law (2026)

When a creditor forgives or cancels debt, the forgiven amount is generally treated as taxable income to the debtor (cancellation of debt income, or CODI).

ExclusionCriteria
BankruptcyDebt discharged in Title 11 bankruptcy
InsolvencyDebtor is insolvent immediately before cancellation (excluded up to amount of insolvency)
Qualified principal residence debtExclusion expired after 2025 and not extended for 2026 — forgiven mortgage debt on a primary residence is currently taxable
Student loan forgiveness (PSLF)Permanently tax-free under IRC 108(f)(1)
Student loan forgiveness (IDR)Tax-free through 2025 (ARP provision, may expire)
Farm debtQualified farm indebtedness exclusion
Business real propertyQualified real property business indebtedness
  • 26 U.S.C. § 108 — Income from discharge of indebtedness
  • IRC Section 61(a)(11) — Gross income includes income from discharge of indebtedness
  • IRC Section 108(a)(1)(A) — Bankruptcy exclusion: debt discharged in a Title 11 case is excluded from gross income
  • Form 1099-C — Creditors report cancelled debt of $600+ to IRS
  • 11 U.S.C. § 524(a) — Effect of discharge: voids pre-petition judgments and enjoins collection of discharged debts, creating the legal basis for the IRC § 108 bankruptcy exclusion
  • 11 U.S.C. § 727 — Chapter 7 discharge (liquidation): upon completion, debtor is freed from most pre-petition debts; the discharged amounts are excluded from income under IRC § 108(a)(1)(A)
  • 11 U.S.C. § 1141(d) — Chapter 11 discharge (reorganization): confirmation of plan discharges pre-confirmation debts; individuals remain subject to § 523 exceptions
  • 11 U.S.C. § 1228 — Chapter 12 discharge (family farmer/fisherman): upon plan completion, debtor discharged from covered debts except § 523(a) exceptions
  • 11 U.S.C. § 1328 — Chapter 13 discharge (individual repayment plan): upon plan completion, debtor discharged from covered debts; some § 523(a) exceptions apply but fewer than in Chapter 7

How It Works

When a creditor forgives $600 or more of debt, they must issue Form 1099-C reporting the cancelled amount to you and the IRS. That amount appears on your tax return as cancellation-of-debt income (CODI) under IRC § 61(a)(11) unless a statutory exclusion under § 108 applies. Settling a $20,000 credit card balance for $8,000 produces $12,000 of CODI. Foreclosure with a $50,000 deficiency produces $50,000 of CODI. The 1099-C typically arrives in January of the following year, and the IRS will match it against your return — so failing to report CODI or claim an exclusion correctly is a common trigger for automated IRS notices.

The most accessible exclusion for individuals outside bankruptcy is the insolvency exclusion under IRC § 108(a)(1)(B): if your total liabilities exceeded your total assets immediately before the cancellation, you were insolvent, and CODI is excluded up to the amount of that insolvency. You don't need to be in bankruptcy — just insolvent at the moment of cancellation. The measurement is taken at the exact time of cancellation, not at year-end, so documenting your financial position contemporaneously matters. The exclusion is capped at the insolvency amount: if liabilities exceeded assets by $30,000 but $50,000 of debt was cancelled, $20,000 remains taxable. Claim the exclusion by filing Form 982 with your return.

Debt discharged in a Title 11 bankruptcy case is fully excluded from gross income under IRC § 108(a)(1)(A) — a complete exclusion, not a deferral. Chapter 7 (11 U.S.C. § 727) discharges all qualifying pre-petition debts upon liquidation completion; Chapter 13 (§ 1328) discharges debts upon plan completion with fewer exceptions than Chapter 7; Chapter 11 (§ 1141) and Chapter 12 (§ 1228) have parallel mechanics — all trigger the § 108(a)(1)(A) exclusion. The exclusion is not without cost: the attribute reduction rules under IRC § 108(b) require that excluded CODI reduce your tax attributes in sequence — first net operating loss carryforwards, then general business credits, then capital loss carryforwards, then basis in property. This defers rather than permanently eliminates the tax effect of excluded CODI, because reduced property basis means more taxable gain when those assets are eventually sold. The forgiven mortgage debt on a primary residence exclusion under IRC § 108(a)(1)(E) (up to $750,000) has historically required periodic Congressional renewal; the exclusion expired after 2025 and has not been extended for 2026 — it is currently unavailable for 2026 cancellations.

How It Affects You

If you're settling credit card, medical, or personal debt for less than the full amount: The forgiven portion is taxable income — a $20,000 credit card debt settled for $8,000 produces $12,000 of cancellation-of-debt income (CODI), which could mean a $2,640–$4,440 federal tax bill depending on your bracket. The creditor will send you a Form 1099-C for the forgiven amount, and the IRS will receive a copy. Before you agree to a settlement, check whether you qualify for the insolvency exclusion (IRC § 108(a)(1)(B)): if your total liabilities exceeded total assets immediately before the cancellation, the CODI is excluded up to that amount of insolvency. If you think you're insolvent — debts exceed the value of everything you own — document your financial position at the date of cancellation (bank statements, credit card balances, property values) and attach Form 982 to your tax return. Many people who settle debts are technically insolvent and never claim the exclusion, overpaying taxes as a result.

If you have federal student loans and are pursuing or receiving forgiveness: The tax treatment splits sharply by program. PSLF forgiveness is permanently tax-free under IRC § 108(f)(1) — nothing to report, nothing to plan for. IDR-based forgiveness is a different story: the American Rescue Plan Act exclusion that made IDR forgiveness federal-tax-free expired after December 31, 2025. Forgiven IDR balances in 2026 and beyond are again taxable as ordinary income at the federal level unless Congress extends the exclusion (check current status). For someone with $80,000 forgiven in 2026, this could mean a $17,600–$29,600 federal tax bill — the so-called "tax bomb." Some states never conformed to the ARP exclusion and may tax IDR forgiveness regardless. If you're enrolled in an IDR plan with a large projected forgiven balance, talk to a tax advisor now about tax-planning options.

If you're facing foreclosure, a short sale, or mortgage restructuring on your home: Forgiven mortgage debt on your primary residence was previously excludable under the qualified principal residence indebtedness exclusion (IRC § 108(a)(1)(E)) — up to $750,000 of forgiven debt. That exclusion expired after 2025 and has not been extended for 2026. If you're in this situation, the exclusion is currently unavailable and forgiven mortgage debt is taxable unless you qualify for the insolvency or bankruptcy exclusions. Consult a tax advisor immediately — an unanticipated six-figure tax bill is a real risk. On investment property or second homes, the principal residence exclusion never applied — forgiven mortgage debt is taxable unless you qualify for insolvency or bankruptcy. The creditor's 1099-C will arrive in January after the cancellation year; the IRS will match it against your return.

If you're a tax professional, bankruptcy attorney, or financial counselor advising clients with debt problems: Three mechanics matter most for tax planning. First, the attribute reduction rules (IRC § 108(b)) mean the insolvency and bankruptcy exclusions aren't free money — excluded CODI must reduce the debtor's tax attributes (NOL carryforwards, basis in property, tax credits) dollar-for-dollar; file Form 982 carefully. Second, timing matters: the insolvency test is measured immediately before the cancellation, so a client who receives a 1099-C in January after a December settlement may have a different insolvency picture than one tested at the moment of cancellation — advise clients to document their financial position at the exact date of cancellation, not the date the 1099-C arrives. Third, IRS automated underreporter assessments (AUR) are aggressively matching 1099-C income — if a client receives a 1099-C and qualifies for an exclusion but doesn't attach Form 982, expect a CP2000 notice; the burden is on the taxpayer to prove the exclusion applies.

State Variations

Most states follow federal treatment, but some differ:

  • CA: Did not conform to the mortgage forgiveness exclusion for some years. Check current conformity.
  • Some states: May not conform to the ARP student loan forgiveness exclusion, potentially taxing IDR forgiveness at the state level even if federally excluded.

Implementing Regulations

  • 26 CFR Part 1 — Income tax regulations (§ 1.108(i)-1 — deferred discharge of indebtedness income; § 1.1017-1 — basis reductions following discharge of indebtedness; also §§ 1.108-1 through 1.108-9 covering exclusions for insolvency, qualified farm debt, qualified real property business debt, and qualified principal residence indebtedness)

Pending Legislation

  • Mortgage forgiveness extension: Recurring annual extension. Check status for 2026.
  • Student loan forgiveness tax treatment: Whether the ARP exclusion (through 2025) is extended is a major policy question. See Student Loan Bankruptcy Rules for the interaction between student debt and bankruptcy discharge.
  • Permanent insolvency simplification: Proposals to simplify insolvency documentation requirements.

Recent Developments

  • IDR student loan forgiveness taxability — ARP exclusion expired after 2025: The American Rescue Plan Act of 2021 made student loan forgiveness tax-free at the federal level through December 31, 2025. For IDR-based forgiveness after that date, the federal tax exclusion has expired — forgiven balances are again taxable as ordinary income at the federal level unless Congress acts. This is potentially a massive "tax bomb" for long-term IDR borrowers: someone with $80,000 forgiven in 2026 could owe $18,000–$30,000 in federal income tax in the year of forgiveness. The extension has been introduced in Congress (see Pending Legislation) but has not passed as of early 2026. Some states never conformed to the ARP exclusion — check state law separately.
  • Biden-era broad cancellation blocked by SCOTUS: The Supreme Court struck down the Biden administration's broad $10,000/$20,000 student loan cancellation plan in Biden v. Nebraska (June 2023), ruling it exceeded executive authority. Subsequent administrative efforts through the Higher Education Act faced similar legal challenges. Under the Trump administration (starting January 2025), the Department of Education reversed course on these forgiveness efforts and began winding down IDR programs like the SAVE plan. Borrowers who were counting on administrative forgiveness should treat it as uncertain.
  • Mortgage forgiveness exclusion — expired for 2026: The exclusion for qualified principal residence mortgage debt (up to $750,000, under IRC § 108(a)(1)(E)) has historically required periodic Congressional extension. The exclusion expired after 2025 and has not been extended for 2026. Forgiven mortgage debt on a primary residence is currently taxable for 2026 cancellations unless Congress acts. If you're involved in a foreclosure, short sale, or mortgage restructuring in 2026, plan for full taxability unless and until the exclusion is reinstated.
  • 1099-C enforcement expanding: IRS has increased attention on unreported 1099-C income, particularly from credit card settlements, medical debt forgiveness, and lender write-offs. If you received a 1099-C and believe an exclusion applies (insolvency, bankruptcy), attach Form 982 to your return and document your financial position at the time of cancellation. Failure to respond to IRS notices about unreported 1099-C income is one of the most common triggers for automated underreporter assessments.

At My Address

See how Debt Forgiveness Taxation plays out in your area

Pull up the federal-data report for any U.S. ZIP — federal spending, environmental risk, hospitals, schools, your reps, all on one page.

Enter your address