Cancellation of Debt Income (COD): How Tax Exclusions Can Reduce the Impact of Forgiven Debt
When a lender forgives debt, the financial relief can be significant—but the tax consequences may come as an unwelcome surprise. In many situations, cancelled debt is treated as taxable income by the IRS, even though the borrower never receives additional cash.
Fortunately, the tax code provides several exceptions that may allow taxpayers to exclude some or all of this income. Understanding how these exclusions work, what requirements apply, and how they affect future tax benefits is essential to making informed financial decisions.
Cancellation of Debt (COD) income is particularly relevant during financial hardship, bankruptcy, real estate transactions, business debt restructuring, and loan workouts. With proactive tax planning, taxpayers may be able to reduce the immediate tax burden while avoiding costly long-term consequences.
What Is Cancellation of Debt (COD) Income?
Cancellation of Debt income occurs when a lender forgives, cancels, or discharges all or part of a debt that a borrower owes. Under general IRS rules, the forgiven amount is typically treated as taxable income in the year the debt is cancelled.
For example, if a lender forgives $50,000 of outstanding debt, the borrower may generally have to report that $50,000 as income—even though they did not receive the money in that year.
However, the tax treatment depends on the type of debt, the circumstances surrounding the cancellation, and whether the taxpayer qualifies for a specific exclusion under federal tax law.
COD situations commonly arise from:
- Foreclosures and short sales
- Mortgage restructuring or debt renegotiation
- Business debt workouts
- Bankruptcy proceedings
- Farm debt relief
- Loan settlements
The key to effective planning is determining whether an exclusion applies before filing the return and understanding the potential impact on future tax attributes.
How the Cancellation of Debt Tax Strategy Works
The COD strategy focuses on identifying whether cancelled debt qualifies for an exclusion from gross income under the Internal Revenue Code.
If an exclusion applies, the taxpayer may be able to avoid recognizing some or all of the cancelled debt as taxable income. However, excluded debt generally comes with an additional tax consideration: the taxpayer may have to reduce certain tax attributes, such as net operating losses, tax credits, or the basis of property.
This means that debt exclusion does not always eliminate the tax cost permanently. In many cases, it shifts the tax impact into future years by reducing deductions, credits, or other tax benefits that would otherwise be available.
The primary exclusions that may apply include bankruptcy, insolvency, qualified farm debt, and qualified real property business indebtedness.
Tax Exclusions That May Apply to Cancelled Debt
Not all cancelled debt is taxable. The tax code provides several exclusions that may allow taxpayers to eliminate or reduce COD income, depending on their circumstances.
1. Bankruptcy Exclusion
Debt discharged through a qualifying bankruptcy proceeding under Title 11 of the U.S. Bankruptcy Code is generally excluded from taxable income.
The taxpayer must be subject to the bankruptcy court's jurisdiction, and the debt discharge must occur through or pursuant to the bankruptcy proceeding. When this exclusion applies, it takes priority over the insolvency exclusion, meaning a separate insolvency calculation is generally unnecessary.
2. Insolvency Exclusion
The insolvency exclusion is one of the most commonly used COD tax planning opportunities. It allows taxpayers to exclude cancelled debt up to the amount by which their liabilities exceed the fair market value of their assets immediately before the debt cancellation.
For example, if a taxpayer has $500,000 in liabilities and $400,000 in assets immediately before debt forgiveness, the taxpayer is insolvent by $100,000. If a lender cancels $150,000 of debt, up to $100,000 may qualify for the insolvency exclusion, while the remaining $50,000 would generally be taxable unless another exclusion applies.
Importantly, insolvency is measured at the moment immediately before the cancellation—not at year-end. Accurate documentation of assets, liabilities, and fair market values is therefore critical.
3. Qualified Farm Debt Exclusion
Certain debt incurred directly in connection with a farming operation may qualify for exclusion when cancelled by an eligible lender.
This exclusion is subject to specific requirements, including the nature of the farming debt, the taxpayer's circumstances, and the lender's qualifications. The exclusion is also limited by applicable tax attribute amounts and the adjusted basis of qualifying property.
Farmers facing debt restructuring or loan forgiveness should evaluate eligibility before assuming that the forgiven amount is taxable.
4. Qualified Real Property Business Indebtedness
Taxpayers may also qualify to exclude certain cancelled debt secured by real property used in a trade or business.
This exclusion may be relevant when business real estate debt is restructured, refinanced, or discharged. However, it is subject to important limitations, including the relationship between the outstanding debt, the property's fair market value, and the taxpayer's adjusted basis in depreciable real property.
Because this exclusion involves basis reduction and eligibility requirements, careful planning is necessary to determine whether it provides a favorable outcome.
5. Qualified Principal Residence Indebtedness
The Qualified Principal Residence Indebtedness exclusion historically allowed eligible taxpayers to exclude certain forgiven mortgage debt related to their primary residence.
Under current law, this exclusion expired after December 31, 2025. For cancellations occurring in 2026, the exclusion is not available unless Congress extends it. Forgiven principal residence debt may still qualify for another exclusion, such as bankruptcy or insolvency, if the taxpayer meets the applicable requirements.
This makes it especially important for homeowners dealing with mortgage forgiveness in 2026 to review their tax situation before assuming that the forgiven amount is tax-free.
Understanding Tax Attribute Reduction
Excluding COD income from taxable income does not necessarily mean that the taxpayer keeps all their existing tax benefits intact. In most cases, excluded debt triggers tax attribute reduction, which requires certain tax benefits to be reduced.
These reductions generally follow a prescribed order:
- Net operating loss (NOL) carryforwards
- General business credit carryforwards
- Minimum tax credit carryforwards
- Capital loss carryforwards
- Basis in property
- Passive activity loss and credit carryforwards
- Foreign tax credit carryforwards
This process can reduce deductions, credits, or other tax benefits available in future years.
For example, reducing the basis of depreciable property may result in lower future depreciation deductions. Eliminating a capital loss carryforward could remove a valuable tax shield that might otherwise offset future capital gains.
In some circumstances, taxpayers may elect to reduce the basis of depreciable property before reducing other tax attributes. This election may be beneficial when preserving loss carryforwards or other tax benefits is a priority.
The most effective tax planning approach considers both the immediate benefit of excluding COD income and the long-term cost of the required attribute reductions.
Important Limits and Filing Requirements
Each COD exclusion has its own eligibility requirements and limitations. Taxpayers should not assume that all forgiven debt qualifies for exclusion simply because they are experiencing financial hardship.
Key limitations include:
- Insolvency: The exclusion is limited to the amount of insolvency immediately before debt cancellation. Any excess cancelled debt may remain taxable.
- Qualified farm debt: The exclusion is subject to specific limits tied to tax attributes and adjusted basis in qualifying property.
- Qualified real property business indebtedness: The exclusion is limited by applicable debt-to-property-value calculations and the adjusted basis of depreciable real property.
- Principal residence debt: The specific exclusion expired after December 31, 2025, under current law.
- Form 982: Taxpayers claiming applicable COD exclusions generally must file Form 982 to report excluded debt and document required tax attribute reductions.
Proper reporting is just as important as qualifying for the exclusion. Inadequate documentation or incorrect reporting could lead to IRS questions, additional taxes, or penalties.
Additional Considerations When Planning for COD Income
Several additional rules can affect the overall value of a COD exclusion.
- Bankruptcy takes priority: When a taxpayer qualifies for the bankruptcy exclusion, it generally takes precedence over the insolvency exclusion.
- Basis reduction elections: In certain circumstances, taxpayers may elect to reduce depreciable property basis first, potentially preserving other tax attributes such as loss carryforwards.
- State tax treatment: States do not always follow federal COD exclusion rules. A debt cancellation that is excluded from federal taxable income may still create state income tax exposure.
- Non-recourse debt: Forgiveness of non-recourse debt or surrender of collateral generally involves a deemed sale at the outstanding loan balance rather than COD income. This means the tax consequences are analyzed under disposition rules instead of the COD exclusion framework.
These considerations can materially change the outcome, particularly for taxpayers dealing with rental property, business real estate, or distressed investments.
How COD Income Can Affect Your Overall Tax Picture
Even when part of cancelled debt qualifies for exclusion, any remaining taxable COD income can increase adjusted gross income (AGI) and affect other areas of a taxpayer's financial situation.
Depending on the taxpayer's circumstances, additional income may:
- Increase Medicare Part B and Part D premiums through Income-Related Monthly Adjustment Amounts (IRMAA).
- Cause a greater portion of Social Security benefits to become taxable.
- Reduce or eliminate Affordable Care Act (ACA) marketplace premium tax credits.
- Trigger the 3.8% Net Investment Income Tax (NIIT) when applicable.
This is why COD planning should not be limited to determining how much debt can be excluded. Advisors should also evaluate how any remaining taxable income interacts with other tax thresholds and financial benefits.
For taxpayers near these income limits, even a relatively modest amount of taxable COD income can create a disproportionately large financial impact.
Real-World Example: Using the Insolvency Exclusion to Reduce Taxable Debt Forgiveness
Consider Marcus and Diana, a married couple in their late 50s who own a rental property that has become difficult to sell. In early 2026, their lender agrees to a short sale and forgives $180,000 of the remaining mortgage balance.
Because the property is a rental rather than their primary residence, the qualified principal residence indebtedness exclusion does not apply. Their advisor instead evaluates whether they qualify for the insolvency exclusion.
Immediately before the debt cancellation, their financial position looks like this:
| Financial Position | Amount | |---|---:| | Total liabilities | $620,000 | | Total fair market value of assets | $510,000 | | Amount insolvent | $110,000 |
Their liabilities exceed the fair market value of their assets by $110,000 immediately before the cancellation. As a result, they may qualify to exclude $110,000 of the forgiven debt under the insolvency rule.
The tax treatment of their $180,000 debt forgiveness is as follows:
| Debt Forgiveness Calculation | Amount | |---|---:| | Forgiven mortgage debt | $180,000 | | Amount excluded under insolvency | −$110,000 | | Remaining taxable COD income | $70,000 |
The remaining $70,000 is generally taxable COD income for 2026, unless another exclusion applies.
That additional income creates a potential Medicare premium issue. Because Marcus and Diana are enrolled in Medicare, their advisor evaluates how the additional income could increase their modified AGI and push them into a higher IRMAA tier, potentially increasing their Part B and Part D premiums in 2028.
Their advisor also evaluates the required tax attribute reductions. Rather than allowing the default ordering to eliminate a capital loss carryforward, the couple considers electing to reduce depreciable property basis first. This preserves a loss that may be available to offset future investment income, while accepting a modest reduction in future depreciation deductions.
Finally, the advisor separately calculates the tax consequences of the short sale itself. The property disposition may produce a gain or loss that must be analyzed independently from the COD income. Coordinating both transactions helps ensure that the full tax impact is properly reflected on their 2026 return.
This example illustrates why debt forgiveness planning requires more than simply identifying an exclusion. The best outcome depends on the taxpayer's financial position, tax attributes, future income, and the interaction of multiple tax rules.
When the COD Tax Strategy Works Best
Cancellation of debt tax planning is most effective when taxpayers have a clear path to qualifying for an exclusion and can document their circumstances properly.
This strategy may be particularly beneficial when:
- The taxpayer is insolvent: Total liabilities exceed the fair market value of assets immediately before the debt cancellation.
- The debt is discharged through bankruptcy: A qualifying Title 11 proceeding may provide a statutory exclusion without requiring an insolvency calculation.
- The debt relates to a farming operation: The cancelled debt may qualify for the qualified farm debt exclusion.
- The debt involves business real estate: Qualified real property business indebtedness may provide an opportunity to exclude COD income.
- The taxpayer has limited tax attributes: Reducing tax attributes may create less long-term cost when there are few loss carryforwards, credits, or significant depreciable basis to preserve.
- The cancellation occurs during a lower-income year: Any remaining taxable COD income may be recognized at a more favorable marginal tax rate.
- An advisor is involved early: Early planning allows accurate insolvency documentation, review of exclusion eligibility, and evaluation of tax attribute reduction elections.
When This Strategy May Not Be a Good Fit
Not every debt cancellation creates a favorable tax planning opportunity. The exclusions may provide limited value or may not apply at all in certain situations.
The strategy may be less beneficial when:
- The taxpayer was solvent immediately before cancellation and does not qualify for another exclusion.
- Forgiven principal residence debt occurs in 2026, when the specific principal residence exclusion is no longer available under current law.
- The taxpayer has substantial NOLs, capital loss carryforwards, or depreciable basis that could be significantly reduced by claiming an exclusion.
- Remaining taxable COD income creates additional costs through IRMAA, Social Security taxation, ACA credit reductions, or NIIT.
- The advisor is engaged after the cancellation year has closed, making it difficult to reconstruct the financial position immediately before debt forgiveness.
- The debt is non-recourse, meaning the transaction may be treated as a deemed sale rather than COD income.
- State tax laws do not conform to federal exclusions, reducing the overall benefit.
In these situations, the advisor should evaluate the total tax impact before assuming that excluding COD income is necessarily the most favorable outcome.
The Bottom Line
Cancellation of debt income can create an unexpected tax liability at a time when a taxpayer is already dealing with financial hardship. However, bankruptcy, insolvency, qualified farm debt, and qualified real property business indebtedness exclusions may offer meaningful opportunities to reduce or eliminate taxable COD income.
The key is to look beyond the amount of debt forgiven. Proper planning requires evaluating exclusion eligibility, documenting the taxpayer's financial position, understanding tax attribute reduction, coordinating other income-sensitive tax consequences, and considering state tax treatment.
In some cases, excluding COD income can provide substantial immediate relief. In others, accepting some taxable income may produce a better long-term result by preserving valuable tax attributes.
A proactive CPA can help taxpayers evaluate the available options, navigate the reporting requirements, and develop a tax strategy that balances current-year savings with long-term financial outcomes.
Debt forgiveness doesn't automatically mean a tax-free outcome. Understanding the rules before the cancellation is finalized can make a meaningful difference in how much of that financial relief you actually keep.
