Forgivable loans are taxed as ordinary income the moment they are forgiven unless a specific exclusion applies, and that is the core of forgivable loan tax treatment under federal law. The Internal Revenue Code treats cancelled debt as gross income under Section 61(a)(11), so a $50,000 loan wiped clean can add $50,000 to your taxable income for the year.1Office of the Law Revision Counsel. 26 USC 61 – Gross Income Defined Several exclusions can shield you from the hit, but the two biggest ones expired at the end of 2025, and the rest come with strings.
Why Forgiven Debt Is Taxed at All
When a lender cancels, forgives, or discharges what you owe, the IRS calls the freed-up amount cancellation of debt (COD) income. You received money, you were obligated to pay it back, and now you are not. That relief has economic value, so the tax code treats it like cash.
Any applicable entity that cancels $600 or more of debt must report the discharge to you and to the IRS on Form 1099-C.2Office of the Law Revision Counsel. 26 USC 6050P – Returns Relating to the Cancellation of Indebtedness by Certain Entities The form shows the amount discharged and the date. You are responsible for reporting that amount even if the form never arrives. The IRS matches 1099-Cs against returns, and missing COD income is a reliable audit trigger.
Recourse or Nonrecourse Changes the Analysis
Before anything else, figure out which kind of debt you have. It rewrites the tax question.
Recourse debt lets the lender come after you personally. Most personal loans, credit cards, and many mortgages are recourse. Forgiveness of recourse debt produces ordinary COD income taxed at your regular rate.
Nonrecourse debt is secured only by collateral, and the lender’s only remedy is taking the property. If a nonrecourse lender forecloses or accepts the collateral in full satisfaction, you have no COD income at all. The IRS treats the full debt as your amount realized on the disposition of the property, which produces a capital gain or loss instead.3Internal Revenue Service. Topic No 431 – Canceled Debt, Is It Taxable or Not Capital rates are often lower, and capital losses can offset other gains. The exclusions discussed below may not even be relevant if your loan is nonrecourse.
Insolvency and Bankruptcy: The Fallback for Everyone Else
When no program-specific carve-out applies, borrowers in financial trouble still have two escape hatches in Section 108.4Office of the Law Revision Counsel. 26 USC 108 – Income From Discharge of Indebtedness
Bankruptcy
Debt discharged in a Title 11 bankruptcy case is fully excluded from income, whether or not you were insolvent. This is the broadest financial-distress exclusion and it takes priority over every other Section 108 exclusion. If bankruptcy discharged the debt, you use this route and skip the insolvency math.
Insolvency
If you were not in bankruptcy but were insolvent immediately before the discharge, you can exclude COD income up to the amount of your insolvency. Insolvent means your total liabilities exceeded the fair market value of your total assets at that moment. Owe $200,000, own assets worth $150,000, and you are insolvent by $50,000; you could exclude up to $50,000 of COD income, and anything forgiven above that stays taxable.
Calculating insolvency means listing every asset at fair market value, including retirement accounts, life insurance cash value, and any business interest, against every liability. Most people undercount. For a meaningful exclusion, the calculation is worth doing carefully or with professional help.
To claim either exclusion, file Form 982 (Reduction of Tax Attributes Due to Discharge of Indebtedness) with your return for the year of discharge.5Internal Revenue Service. Instructions for Form 982
The Catch: Tax Attribute Reduction
These exclusions are not free. When you exclude COD income under bankruptcy, insolvency, or qualified farm debt rules, you must reduce your tax attributes dollar for dollar by the excluded amount.4Office of the Law Revision Counsel. 26 USC 108 – Income From Discharge of Indebtedness The statute sets a mandatory order: net operating losses go first, followed by general business credits, minimum tax credits, capital loss carryovers, the basis of your property, passive activity carryovers, and foreign tax credit carryovers. You can elect to jump straight to reducing the basis of depreciable property instead of running down the list.6eCFR. 26 CFR 1.108-7 – Reduction of Attributes Practical effect: you avoid tax now and lose deductions, credits, or basis you would have used later. If the excluded COD income exceeds all your attributes combined, the leftover is permanently excluded.
Program-Specific Exclusions Still on the Books
Public Service Loan Forgiveness
Student loans discharged under PSLF stay excluded from federal gross income under IRC Section 108(f)(1), which covers student loans forgiven because the borrower worked a required period in qualifying public-service employment.4Office of the Law Revision Counsel. 26 USC 108 – Income From Discharge of Indebtedness This provision has no sunset date. If you qualify, the forgiven balance produces no federal tax bill.7Federal Student Aid. Are Loan Amounts Forgiven Under Public Service Loan Forgiveness (PSLF) Considered Taxable by the Internal Revenue Service (IRS) Some states may still tax the forgiven amount.
Paycheck Protection Program Loans
The Consolidated Appropriations Act of 2021 confirmed that forgiven PPP loan amounts are excluded from gross income and, unusually, that expenses paid with those funds remain fully deductible.8IRS. Highlights of the Tax Provisions of the Consolidated Appropriations Act of 2021 No attribute reduction was required. PPP is closed, but amended returns and audit issues tied to these loans are still live.
Exclusions That Expired After 2025
Two exclusions that many borrowers relied on ran out on December 31, 2025. Neither is available for discharges in 2026 unless Congress revives them.
Student Loans Forgiven Under Income-Driven Repayment
The American Rescue Plan Act of 2021 temporarily excluded all forms of student loan forgiveness from federal income for tax years 2021 through 2025. That covered income-driven repayment (IDR) forgiveness along with total and permanent disability and school closure discharges. Congress let it expire.
Starting in 2026, borrowers whose remaining IDR balances are forgiven at the end of their repayment term will get a Form 1099-C for the cancelled amount. That amount is taxable COD income unless insolvency or bankruptcy applies. After 20 or 25 years of payments, the remaining balance can be large, and the resulting tax bill has been called a “tax bomb.” Borrowers close to IDR forgiveness should be building either a cash reserve or an insolvency case.
Mortgage Debt on a Primary Home
The qualified principal residence indebtedness (QPRI) exclusion, which let homeowners exclude up to $750,000 ($375,000 if married filing separately) of forgiven acquisition mortgage debt on a primary residence, also expired after December 31, 2025.9Internal Revenue Service. Publication 4681 (2025) – Canceled Debts, Foreclosures, Repossessions, and Abandonments It never covered second homes, investment property, or home equity debt used for anything other than substantial improvements.
For mortgage debt discharged in 2026, the forgiven amount is taxable COD income by default. A homeowner going through foreclosure, short sale, or modification this year has to fall back on insolvency or bankruptcy.5Internal Revenue Service. Instructions for Form 982 Many distressed homeowners are in fact insolvent at the moment of discharge, so the practical impact is often smaller than it looks. You still have to calculate and document the insolvency to claim it.
Employer Forgivable Loans Are Compensation, Not COD
Forgivable loans from employers, common for signing bonuses, relocation, and retention, follow a different set of rules. When forgiveness is tied to continued employment (say, 25% forgiven for each year you stay on a four-year loan), the forgiven portion each year is treated as wages, not COD income. The employer reports it on your W-2 and withholds income tax, Social Security, and Medicare.
Compensation treatment carries FICA. On a large forgivable loan, that adds 7.65% (or more, above the Social Security wage base) that a pure COD analysis would not.
Whether an employer arrangement is a real loan at all is something the IRS reviews closely. If there is no written note, no fixed repayment schedule, no reasonable interest, and no actual enforcement when an employee leaves early, the IRS may reclassify the whole disbursement as compensation in the year it was paid, not spread over the forgiveness schedule. That can produce a large, unexpected tax bill for a past year. Documentation matters.
When a Cancellation Is Actually a Gift
If a lender cancels debt purely out of generosity with no expectation of anything back, the forgiven amount is excluded from income under the gift exclusion in IRC Section 102. Banks do not forgive loans out of generosity, so this almost never applies to commercial lending. Family and other genuinely personal lending is a different matter. The lender may owe gift tax reporting if the forgiven amount exceeds the annual exclusion, but you as borrower owe no income tax on it.
What to Do About a Wrong 1099-C
Lenders get 1099-Cs wrong more often than you would expect: reporting the wrong amount, including interest or fees you already paid, reporting debt that was fully paid, or issuing a form for debt that was sold to another collector rather than actually cancelled. Ignoring the form is not an option. The IRS has a copy and will assume it is correct.
Contact the lender and request a corrected form, with documentation: payment records, settlement letters, account statements. Lenders often refuse. If that happens, report the amount on your return and offset it, attach an explanation showing why the reported figure is wrong, and keep everything in case the IRS asks later.
State Tax Treatment May Not Match
Federal and state treatment do not always line up. Each state decides on its own whether to follow federal exclusions for cancelled debt. Some states adopt the current Internal Revenue Code automatically, so federal exclusions flow through. Others freeze conformity as of an older date or decouple from specific provisions.
This became visible with PPP forgiveness, where several states initially denied the expense deductions Congress had allowed, and with student loan forgiveness, where several states were positioned to tax discharges that were federally tax-free. For any forgivable loan discharged in 2026, check your state’s current conformity. Most states that conform to the IRC will honor the Section 108 insolvency and bankruptcy exclusions, but “most” is not “all,” and it is worth confirming before you file.