You cannot write off debt on your taxes. A credit card balance, car loan, personal loan, or home mortgage is not a deductible expense, no matter how large it is or how much interest you pay on it. The tax question most people are actually asking shows up on the other side of the ledger: when a lender forgives part or all of what you owe, the IRS generally treats that forgiven amount as taxable income.1Internal Revenue Service. Topic No. 431, Canceled Debt – Is It Taxable or Not Several exclusions can erase that tax, but they are not automatic, and two of the biggest ones have shrunk or disappeared for 2026.
Why Forgiven Debt Shows Up as Income
Borrowed money is not income because you have to pay it back. The moment that obligation goes away, you have received an economic benefit equal to whatever was wiped out, and the IRS taxes it like wages.1Internal Revenue Service. Topic No. 431, Canceled Debt – Is It Taxable or Not
The arithmetic is simple. Owe $15,000 on a credit card, settle for $5,000, and the $10,000 difference is cancellation of debt income. The same logic applies to a short sale that leaves part of your mortgage unpaid, a loan modification that cuts your principal, or any negotiated settlement for less than the full balance.
When a creditor cancels $600 or more, they file Form 1099-C with the IRS and send you a copy showing the amount canceled and the date.2Internal Revenue Service. About Form 1099-C, Cancellation of Debt You owe the tax whether or not a 1099-C ever arrives; the obligation attaches to the economic event, not the paperwork.3Taxpayer Advocate Service. I Have a Cancellation of Debt or Form 1099-C
Exclusions That Can Wipe Out the Tax
Federal law carves out five categories of canceled debt that can be excluded from gross income.4Office of the Law Revision Counsel. 26 USC 108 – Income From Discharge of Indebtedness Each one requires you to file IRS Form 982 with your return. The single most common mistake is assuming the exclusion is automatic; the IRS matches the 1099-C against your return and sends a notice proposing extra tax when the exclusion is not formally claimed.5Internal Revenue Service. About Form 982, Reduction of Tax Attributes Due to Discharge of Indebtedness
Bankruptcy
Debt canceled in a Title 11 bankruptcy case is fully excluded. Chapter 7, Chapter 11, and Chapter 13 all qualify. You have to be the debtor in the case, and the cancellation must come from the court or a court-approved plan.6Internal Revenue Service. Publication 4681, Canceled Debts, Foreclosures, Repossessions, and Abandonments There is no dollar cap and no solvency test.
Insolvency
If your total debts exceed the fair market value of everything you own immediately before the cancellation, you are insolvent. You can exclude the forgiven amount up to the size of that gap. Debts exceed assets by $40,000? You can exclude up to $40,000. Anything beyond the gap is still taxable.4Office of the Law Revision Counsel. 26 USC 108 – Income From Discharge of Indebtedness
Watch one detail. The IRS counts everything you own, including retirement accounts and pensions that creditors are not allowed to touch.6Internal Revenue Service. Publication 4681, Canceled Debts, Foreclosures, Repossessions, and Abandonments A $200,000 balance in a 401(k) goes on your asset side. People who feel insolvent often are not, once the retirement account is counted.
Qualified Farm Indebtedness
Farmers get a dedicated exclusion for debt tied to a farming operation, provided at least 50 percent of average annual gross receipts over the three prior tax years came from farming and the lender is an unrelated party actively in the lending business.4Office of the Law Revision Counsel. 26 USC 108 – Income From Discharge of Indebtedness
Qualified Real Property Business Indebtedness
Non-corporate taxpayers can exclude canceled debt tied to real property used in a trade or business and secured by that property. The amount excluded is capped at the adjusted basis of the depreciable real property that secured the debt, so it cannot create or enlarge a loss. This works for landlords and small business owners holding commercial real estate, but not for property held primarily for resale.4Office of the Law Revision Counsel. 26 USC 108 – Income From Discharge of Indebtedness
Gifts and Other Exceptions
A few situations keep the cancellation from counting as income in the first place, no Form 982 required. A genuine gift (a family member forgives a personal loan, a will releases a debt) is treated as a gift rather than income. A seller who later reduces the amount you owe on a purchase, when you are solvent and not in bankruptcy, is treated as giving you a lower purchase price. And canceling a debt that would have been deductible if paid produces no net income.6Internal Revenue Service. Publication 4681, Canceled Debts, Foreclosures, Repossessions, and Abandonments
Mortgage Debt Forgiveness in 2026
For years, homeowners could exclude up to $750,000 ($375,000 if married filing separately) of forgiven mortgage debt on a primary residence. This exclusion for qualified principal residence indebtedness is no longer available as of January 1, 2026.6Internal Revenue Service. Publication 4681, Canceled Debts, Foreclosures, Repossessions, and Abandonments
There is a narrow transition rule. If the discharge was made under a written agreement entered into before January 1, 2026, the exclusion still applies even if the actual forgiveness happens later.4Office of the Law Revision Counsel. 26 USC 108 – Income From Discharge of Indebtedness A short sale agreed to in writing in 2025 but closing in 2026 can still qualify. An arrangement that was not in writing before 2026 does not.
For everyone else, the insolvency exclusion is now the main fallback. Many homeowners facing foreclosure or short sale genuinely meet the insolvency test once you tally what they owe against what they own.
Student Loan Forgiveness in 2026
The American Rescue Plan Act made student loan discharges tax-free through December 31, 2025. That provision has expired. Forgiveness under income-driven repayment plans is generally taxable income again starting in 2026.7Taxpayer Advocate Service. What to Know About Student Loan Forgiveness and Your Taxes
Two categories stay permanently tax-free:
- Public Service Loan Forgiveness, which was never affected by the ARPA provision in the first place.7Taxpayer Advocate Service. What to Know About Student Loan Forgiveness and Your Taxes
- Discharges granted because the borrower died or became totally and permanently disabled, for both federal and private loans.4Office of the Law Revision Counsel. 26 USC 108 – Income From Discharge of Indebtedness
If you reach the end of an income-driven plan in 2026 and your remaining balance is wiped out, the forgiven amount is taxable unless insolvency or bankruptcy covers you. Run the insolvency numbers well before the forgiveness date so a big tax bill does not come as a surprise.
Foreclosure: Recourse vs. Nonrecourse Debt
When a lender takes property that secured a loan, the tax outcome depends on whether you were personally liable.
With recourse debt, the IRS splits the event in two. You are treated as having sold the property for its fair market value, producing a capital gain or loss. Then any remaining debt above that fair market value is cancellation of debt income, taxable unless an exclusion applies.1Internal Revenue Service. Topic No. 431, Canceled Debt – Is It Taxable or Not
With nonrecourse debt, where the lender can only take the property, the full outstanding balance is treated as your sale price. There is no separate cancellation of debt income. You compare that full debt amount to your basis in the property to figure gain or loss.8Internal Revenue Service. Cancellation of Debt – Basics A recourse foreclosure can produce both a capital loss and an income event in the same year; a nonrecourse foreclosure cannot.
What to Do When a 1099-C Arrives
Receiving a 1099-C does not automatically mean you owe tax on the full amount. It means the IRS has been notified and expects to see the issue addressed on your return. If the amount is taxable, you report it as other income on Schedule 1 of Form 1040.1Internal Revenue Service. Topic No. 431, Canceled Debt – Is It Taxable or Not If an exclusion applies, you attach Form 982 showing why.
Ignoring the form is the worst option. The IRS matches 1099-Cs against returns and generates automatic notices for unreported amounts.
If the 1099-C Is Wrong
Errors are common. A creditor might report the wrong amount, add interest or fees that were never part of the actual debt, or issue a form for a debt that was already paid. Contact the creditor and ask for a corrected 1099-C with the “corrected” box checked, which updates the IRS record.
If the creditor will not fix it, report the figure from the form on your return and attach a statement explaining the discrepancy. Reporting a lower number with no explanation almost guarantees a notice, because the system will flag the mismatch.
Filing Form 982 and the Trade-Off
Form 982 is how you tell the IRS your canceled debt qualifies for an exclusion. You check the box matching your situation (bankruptcy, insolvency, farm, business real property, or the mortgage transition rule), enter the excluded amount, and attach it to your return.9Internal Revenue Service. Instructions for Form 982, Reduction of Tax Attributes Due to Discharge of Indebtedness
The price of excluding canceled debt is that you have to reduce certain tax benefits, called tax attributes, by the amount you excluded. The reductions follow a specific statutory order that starts with net operating losses and runs through general business credits, capital losses, property basis, passive activity carryovers, and foreign tax credits.9Internal Revenue Service. Instructions for Form 982, Reduction of Tax Attributes Due to Discharge of Indebtedness
For most individuals dealing with consumer debt, the practical effect is a lower basis in property they own. When they later sell the asset, the taxable gain is a bit larger than it otherwise would have been. It is not a second tax bill today, but some of the tax cost shifts into the future. The insolvency exclusion only triggers attribute reduction up to the excluded amount; the business real property exclusion reduces the basis of the depreciable property that secured the debt rather than following the general order.4Office of the Law Revision Counsel. 26 USC 108 – Income From Discharge of Indebtedness