IRC 108 COD Income and Debt Discharge: Insolvency Exclusion, Form 982, Tax Attribute Reduction, and Commercial Real Estate Workouts -- Practitioner Guide

Last reviewed: July 2026

Since 2001

25 years continuous operation

IRS Authorized

E-File Transmitter

All 50 States

Federal and state e-file

TaxWise Reseller

CCH TaxWise authorized dealer

Verify Current Status Before Client Reliance
  • Qualified principal residence indebtedness (IRC 108(a)(1)(E)): The availability of this exclusion for the current tax year must be confirmed at IRS.gov. It has historically been subject to legislative extensions and expirations. This guide does not characterize whether it is currently in effect or has expired.
  • Student loan discharge (IRC 108(f)): This exclusion has been subject to frequent legislative and regulatory changes. Confirm the current scope at IRS.gov before advising any client.
  • Qualified farm indebtedness (IRC 108(a)(1)(C)): Cite Notice 2025-71 for current IRS guidance on agricultural loan exclusions. Hedge all specifics of that notice to IRS.gov.
  • QRPBI limits under IRC 108(c): Hedge all computation limits and mechanics for the qualified real property business indebtedness election to IRC 108(c) and current IRS.gov guidance.

All statutory citations and computation specifics must be verified against the current IRC 108 text, applicable Treasury regulations, and current IRS.gov guidance before reliance in any specific client matter.

Key Points for Practitioners

  • COD income is gross income (IRC 61(a)(12)): Cancellation of indebtedness is includible in gross income unless an exclusion under IRC 108 applies. The full amount of forgiven debt is ordinary income to the debtor in the year of discharge.
  • Insolvency exclusion measured at moment of discharge (IRC 108(a)(1)(B)): The insolvency calculation -- liabilities minus FMV of assets -- is a snapshot taken immediately before the discharge, not at year-end. Timing is not flexible.
  • Attribute reduction is mandatory, not optional (IRC 108(b)): After claiming an exclusion under IRC 108(a)(1)(A) or (B), the taxpayer must reduce tax attributes in the statutory order under IRC 108(b)(2). The ordering determines which future tax benefits are consumed first.
  • Credit carryover reduction ratio: hedge to IRC 108(b)(3): Practitioners frequently apply a dollar-for-dollar reduction to general business credits when the statute requires a fractional rate specified in IRC 108(b)(3). Confirm the correct ratio at IRS.gov before reducing any credit carryover.
  • Nonrecourse vs. recourse distinction controls the analysis in commercial RE: Nonrecourse debt cancellation on foreclosure is generally treated as amount realized (Crane/Tufts), not COD income. Recourse debt cancellation where the deficiency is waived IS COD income. This distinction drives the entire workout analysis.
  • Basis reduction has long-tail consequences (IRC 1017): Reducing asset basis to satisfy the IRC 108(b)(2) ordering increases future depreciation recapture exposure under IRC 1245 and 1250. The current-year COD exclusion benefit must be weighed against that future cost.
  • Form 982 is required: A taxpayer claiming any IRC 108 exclusion must file Form 982 with the federal return for the year of discharge. Confirm current line numbers and Part I checkbox instructions in the Form 982 instructions at IRS.gov.
  • Partnership COD income flows to partners: COD income is a separately stated item at the partnership level. Whether the insolvency exclusion is available depends on each partner's individual insolvency position, not the partnership's. Hedge all mechanics to IRC 702 and applicable regulations.

Cancellation of indebtedness income arises in some of the most consequential client situations a practitioner faces: commercial real estate workouts, distressed debt settlements, personal insolvency, farm loan restructurings, and bankruptcy. When a lender cancels or forgives debt, IRC 61(a)(12) makes the discharged amount gross income -- and the stakes in getting the IRC 108 exclusion analysis right can exceed the tax on the original transaction. A misclassified discharge, a missed insolvency election, or the wrong attribute reduction ratio in the IRC 108(b)(2) ordering can cost a client years of tax attributes they should have preserved.

This guide is written for enrolled agents, CPAs, and tax attorneys advising clients in commercial real estate workouts, distressed debt negotiations, insolvency situations, farm debt restructurings, and bankruptcy. It provides a citation-anchored reference for the IRC 108 exclusion categories, the insolvency mechanics, the IRC 108(b) attribute reduction ordering, basis reduction under IRC 1017, and the Crane/Tufts nonrecourse debt distinction that controls commercial real estate workout analysis. All statutory citations and computation specifics must be verified against current IRC 108, applicable Treasury regulations, and current IRS.gov guidance before reliance in any specific client matter. This guide is for informational purposes only and does not constitute legal or tax advice.

Section 1: What Is COD Income?

Under IRC 61(a)(12), gross income includes income from the discharge of indebtedness. When a lender cancels, forgives, or settles a debt for less than the outstanding principal balance, the borrower has realized an economic benefit equal to the amount no longer owed. Congress treats that benefit as income.

COD income arises in a variety of transactions: an outright forgiveness of principal, a short payoff (settlement for less than the outstanding balance), a debt-for-equity swap where the debt forgiven exceeds the fair market value of the equity issued, a deed-in-lieu transaction where a recourse deficiency is waived, a loan modification that results in a deemed exchange under the original issue discount rules, or a bankruptcy discharge of unsecured claims. In each case, the threshold question is the same: has a debt been discharged for less than its outstanding balance? If yes, the discharged amount is gross income under IRC 61(a)(12) unless an exclusion under IRC 108 applies.

IRC 108 is the operative exclusion framework. It does not eliminate COD income; it identifies specific circumstances in which the income, though realized, is excluded from the current-year gross income inclusion. That distinction matters for the attribute reduction rules in IRC 108(b): the income is still recognized economically, and the price of the exclusion is a mandatory reduction in the taxpayer's tax attributes.

THRESHOLD QUESTION: WAS THERE A DISCHARGE OF INDEBTEDNESS?

Before applying IRC 108, confirm that a debt was actually discharged. A reduction in interest rate, an extension of maturity, or an agreement to defer payments may not constitute a discharge of principal under IRC 61(a)(12). The original issue discount rules under IRC 1274 and the regulations under Reg. 1.1001-3 govern whether a debt modification constitutes a deemed exchange generating COD income. Practitioners handling commercial loan modifications should analyze the modification against those authorities before concluding that IRC 108 is even implicated.

Section 2: The IRC 108 Exclusion Categories

IRC 108(a)(1) lists the circumstances in which COD income is excluded from gross income. Each category has different mechanics, limitations, and attribute consequences. The categories most frequently encountered in commercial and individual practice are summarized below.

(A) Bankruptcy: IRC 108(a)(1)(A)

A taxpayer in a Title 11 bankruptcy case (under the United States Bankruptcy Code) excludes all COD income attributable to the discharge (IRC 108(a)(1)(A)). The bankruptcy exclusion is not subject to a dollar cap based on insolvency; it covers the full amount of the discharge. The taxpayer must still reduce tax attributes under IRC 108(b) after claiming the exclusion. The bankruptcy exclusion takes priority over the insolvency exclusion: if both apply, the bankruptcy exclusion governs (IRC 108(a)(2)).

(B) Insolvency: IRC 108(a)(1)(B)

Outside of a formal bankruptcy case, a taxpayer who is insolvent immediately before the discharge may exclude COD income up to the amount of the insolvency (IRC 108(a)(1)(B)). Insolvency is defined as the excess of liabilities over the fair market value of assets immediately before the discharge (IRC 108(a)(3)). The insolvency exclusion and its mechanics are covered in detail in Section 3 below, as this is the primary exclusion applicable to out-of-court workouts, personal insolvency, and distressed commercial real estate situations.

(C) Qualified Farm Indebtedness: IRC 108(a)(1)(C)

An additional exclusion is available for the cancellation of qualified farm indebtedness (IRC 108(a)(1)(C)). This exclusion applies to debt incurred directly in connection with the taxpayer's trade or business of farming, where at least 50% of the taxpayer's average annual gross receipts for the three preceding tax years were attributable to farming (cite IRC 108(g) for the definition of qualified farm indebtedness). IRS Notice 2025-71 provides current IRS guidance on agricultural loan exclusions. Practitioners advising farming clients should hedge all specifics of the qualified farm debt exclusion -- including eligibility requirements, the amount excludable, and interaction with the insolvency exclusion -- to Notice 2025-71 and current IRS.gov guidance.

(D) Qualified Real Property Business Indebtedness (QRPBI): IRC 108(a)(1)(D) and IRC 108(c)

A taxpayer (other than a C corporation) may elect to exclude COD income from the cancellation of qualified real property business indebtedness (QRPBI) under IRC 108(a)(1)(D). QRPBI is indebtedness that was incurred or assumed in connection with real property used in a trade or business and is secured by that real property (cite IRC 108(c)(3)). The QRPBI election is discussed further in Section 6 in the context of commercial real estate workouts. A critical distinction from the insolvency and bankruptcy exclusions: the attribute reduction for the QRPBI election falls only on the basis of depreciable real property, not on the full attribute stack under IRC 108(b)(2) (cite IRC 108(c)(1)). Hedge all QRPBI limits, the basis reduction mechanics for this election, and the interaction with the insolvency exclusion to IRC 108(c) and current IRS.gov guidance.

(E) Qualified Principal Residence Indebtedness (QPRI): IRC 108(a)(1)(E)

An exclusion for qualified principal residence indebtedness exists under IRC 108(a)(1)(E). Whether this exclusion is available for the current tax year must be confirmed at IRS.gov. The QPRI exclusion has historically been subject to legislative extensions and expirations. This guide does not characterize whether the exclusion is currently in effect or whether it has expired. Practitioners must verify the current legislative status of IRC 108(a)(1)(E) before advising any client or preparing any return that relies on this exclusion.

EXCLUSION HIERARCHY: BANKRUPTCY OVERRIDES INSOLVENCY

IRC 108(a)(2) establishes that if a taxpayer is in a Title 11 case, the bankruptcy exclusion under IRC 108(a)(1)(A) applies, and the insolvency exclusion under IRC 108(a)(1)(B) does not. A taxpayer cannot choose between the two if both technically apply; the bankruptcy exclusion is mandatory and exclusive. The QPRI and QRPBI elections have their own ordering rules in the statute. Confirm the applicable exclusion hierarchy under IRC 108(a)(2) before completing Form 982 for a client who may qualify under multiple categories.

Section 3: Insolvency Exclusion Mechanics (IRC 108(a)(1)(B))

The insolvency exclusion is the most broadly applicable IRC 108 exclusion for out-of-court workouts, personal insolvency, and commercial real estate distress situations. Its mechanics are precise and the measurement date -- immediately before the discharge -- is not negotiable.

Measurement: Immediately Before the Discharge

Insolvency is not measured at year-end, at the start of the year, or on an average basis. It is a snapshot taken at the moment immediately before the specific discharge event occurs (IRC 108(a)(3)). If a taxpayer receives multiple debt discharges during a year, the insolvency calculation must be performed separately for each discharge, at the moment immediately before each discharge. The insolvency position can change between discharges, particularly if the earlier discharge itself changes the liability or asset picture.

What Counts as Liabilities

All liabilities are included in the insolvency calculation: secured debt, unsecured debt, contingent liabilities, recourse obligations, and nonrecourse obligations. This is a comprehensive liability measure, not limited to liabilities the taxpayer expects to pay. A contingent liability (one where the obligation is not yet fixed or certain) may still be includible; practitioners should hedge the treatment of contingent liabilities in the insolvency calculation to the applicable Treasury regulations and current IRS.gov guidance, as the inclusion of contingent liabilities is a fact-specific determination.

What Counts as Assets

The fair market value of all assets is used -- not adjusted basis, not book value. This includes all assets the taxpayer holds at the measurement date: real property, personal property, financial assets, retirement accounts (which are generally includible in the asset side, though their treatment requires care and verification at IRS.gov), and interests in partnerships, S corporations, or other entities. The FMV of assets is often the most contested figure in an insolvency determination, particularly for illiquid assets such as commercial real estate in a distressed market. Practitioners should document the basis for each FMV figure used in the insolvency calculation.

The Computation

The amount of COD income that may be excluded under IRC 108(a)(1)(B) is the lesser of:

  • (a) the amount of COD income realized from the specific discharge, and
  • (b) the excess of total liabilities over the FMV of total assets, measured immediately before the discharge (the insolvency amount).

As a framework illustration: if liabilities exceed assets by X and COD income is Y, the exclusion is the lesser of X and Y. If COD income exceeds the insolvency amount, the excess COD income is includible in gross income (the exclusion only covers the taxpayer's insolvency, not the full discharge). If the insolvency amount equals or exceeds the COD income, the full COD amount is excludable under IRC 108(a)(1)(B). Hedge all specific computation steps to IRC 108(a)(3) and current IRS.gov guidance, and confirm the current Form 982 instructions before completing the return.

Reporting on Form 982

A taxpayer claiming the insolvency exclusion must file Form 982 (Reduction of Tax Attributes Due to Discharge of Indebtedness) with the federal return for the year of the discharge. The taxpayer must elect the exclusion in Part I of Form 982 by checking the applicable box for the insolvency exclusion and reporting the excluded amount. Form 982 also requires the taxpayer to report the tax attribute reductions described in Section 4 below. Confirm all current line numbers, checkbox locations in Part I, and attribute reduction reporting instructions in the current Form 982 instructions at IRS.gov; the form is subject to revision and this guide does not specify line numbers.

PRACTITIONER TRAP: THE INSOLVENCY SNAPSHOT IS NARROW

The insolvency determination is made at a precise moment in time -- immediately before each discharge -- not over a period. A taxpayer who is insolvent in January but receives a large asset distribution in February and is discharged in March may not qualify for the insolvency exclusion for the March discharge, even though the taxpayer was insolvent earlier in the same tax year. Practitioners must reconstruct the taxpayer's balance sheet as of the date of each discharge and document that reconstruction with contemporaneous evidence. The burden of proving insolvency falls on the taxpayer (cite IRC 108(a)(3) and applicable case authority).

Section 4: Tax Attribute Reduction -- The IRC 108(b)(2) Ordering

Claiming an IRC 108(a)(1)(A) or (B) exclusion is not free. The price is a mandatory reduction of the taxpayer's tax attributes in the specific order required by IRC 108(b)(2). The ordering is not elective and it is not negotiable. Every dollar of excluded COD income flows through the attribute stack in the sequence below until the full excluded amount has been accounted for. The ordering determines which future tax benefits are consumed first -- and that sequencing can have a larger impact on a client's long-term tax position than the exclusion itself.

Priority Attribute IRC Citation Reduction Rate
1 Net operating loss (NOL) IRC 172; IRC 108(b)(2)(A) Dollar-for-dollar
2 General business credits IRC 38; IRC 108(b)(2)(B) Fractional rate per IRC 108(b)(3)(B) -- hedge to IRC 108(b)(3) and IRS.gov
3 Minimum tax credit IRC 53; IRC 108(b)(2)(C) Hedge reduction mechanics to IRC 108(b)(3) and IRS.gov
4 Capital loss carryovers IRC 1212; IRC 108(b)(2)(D) Dollar-for-dollar
5 Basis of property (depreciable and other) IRC 1017; IRC 108(b)(2)(E) See Section 5; basis may not be reduced below zero
6 Passive activity loss and credit carryovers IRC 469; IRC 108(b)(2)(F) Dollar-for-dollar for losses; fractional rate for credits per IRC 108(b)(3) -- hedge to IRS.gov
7 Foreign tax credit carryovers IRC 27; IRC 108(b)(2)(G) Fractional rate per IRC 108(b)(3) -- hedge to IRC 108(b)(3) and IRS.gov

NOL: First and Dollar-for-Dollar

The net operating loss carryforward (or, if one exists, the current-year NOL before carryforward) is the first attribute reduced (IRC 108(b)(2)(A), citing IRC 172). The reduction is dollar-for-dollar: each dollar of excluded COD income reduces the NOL by one dollar. For a client with a large NOL carryforward, a significant COD exclusion can eliminate years of accumulated loss carryforward. After the COD exclusion, the surviving NOL is subject to the 80% carryforward limitation under IRC 172 when used in a subsequent year. For a detailed analysis of NOL carryforward mechanics and the interaction with the COD attribute reduction, see the Net Operating Loss Practitioner Guide.

Credit Carryovers: Not Dollar-for-Dollar

This is one of the most frequently misapplied rules in the IRC 108(b)(2) ordering. General business credits (IRC 38, position 2), the minimum tax credit (IRC 53, position 3), passive activity credit carryovers (IRC 469, position 6), and foreign tax credit carryovers (IRC 27, position 7) are not reduced dollar-for-dollar. They are reduced at the rate specified in IRC 108(b)(3), which is a fractional rate (not one-for-one). Because a credit offsets tax directly rather than income, a dollar of credit carryover is worth more than a dollar of income carryforward, and the statutory reduction rate for credits reflects that difference. Applying a dollar-for-dollar reduction to a credit carryover overconsumes the excluded COD income and under-reduces the credit by the correct statutory amount. Hedge all credit carryover reduction ratios to IRC 108(b)(3) and current IRS.gov guidance before completing Form 982.

The Attribute Stack Runs in Sequence

The IRC 108(b)(2) ordering works in sequence. The excluded COD income is applied against priority 1 (NOL) first. If the NOL is insufficient to absorb the full excluded amount, the remaining balance moves to priority 2 (general business credits), then to priority 3 (minimum tax credit), and so on down the stack. A taxpayer with no NOL, no credit carryovers, and no capital loss carryovers will reach basis (priority 5) quickly. Once all higher-priority attributes are exhausted, the remaining exclusion falls on basis.

PRACTITIONER PROTOCOL: DO NOT SKIP THE ORDERING

The IRC 108(b)(2) ordering is statutory and mandatory. A taxpayer cannot elect to reduce basis first in order to preserve NOL carryforwards, nor can the taxpayer skip credits and go directly to basis. The order is fixed. Practitioners who allow clients to "choose" which attribute to reduce -- or who apply a single reduction ratio to all attributes without distinguishing dollar-for-dollar from the IRC 108(b)(3) fractional rate for credits -- are computing Form 982 incorrectly. Verify every line of the attribute reduction schedule on Form 982 against the current Form 982 instructions at IRS.gov.

Section 5: Basis Reduction Under IRC 1017

Basis reduction is the fifth attribute in the IRC 108(b)(2) ordering. After the NOL, credit carryovers, and capital loss carryovers are exhausted (or if none exist), the remaining excluded COD income flows into a reduction of the basis of the taxpayer's property under IRC 1017.

Basis May Not Go Below Zero

Under IRC 1017(a), the basis of property may be reduced, but not below zero. A taxpayer cannot have negative basis in property as a result of the IRC 108 attribute reduction. If the remaining excluded COD income (after all higher-priority attributes are consumed) exceeds the aggregate basis of all the taxpayer's property, the excess does not carry forward and does not produce negative basis -- it is simply free of tax consequence at that point. Hedge all mechanics of what property is included in the basis reduction pool, the order in which basis is reduced among multiple properties, and any elections available under IRC 1017 to the statute and applicable Treasury regulations.

Long-Tail Consequence: Depreciation Recapture

This is the practitioner warning most often missed in year-of-discharge planning: basis reduction under IRC 1017 increases the client's depreciation recapture exposure when the property is later sold. IRC 1245 applies to personal property and IRC 1250 applies to real property. Both apply to the property's original basis, not the reduced basis. A commercial building with an adjusted basis of $2 million that is reduced by $500,000 under IRC 1017 will have a $1.5 million basis for future depreciation -- but the IRC 1250 recapture computation uses the full depreciation claimed on the original $2 million basis (minus the current post-reduction basis at the time of sale). The client who excluded $500,000 of COD income today may face an additional $500,000 of ordinary income recapture at the time of sale, at then-applicable rates.

Practitioners should model the full present-value comparison: (a) the tax saved in the year of discharge by the COD exclusion, versus (b) the present value of the additional recapture tax triggered on sale by the basis reduction. For clients planning to hold the property long-term, the basis reduction consequence may be relatively low-cost. For clients who intend to sell within a few years, the basis reduction's recapture effect can substantially reduce the net benefit of the COD exclusion. For a detailed analysis of IRC 1245 and 1250 recapture mechanics, see the IRC 1245 and 1250 Depreciation Recapture Form 4797 Practitioner Guide.

Basis Reduction Beyond Zero: Free COD

If the excluded COD income exceeds the sum of all tax attributes (including all basis), the remaining exclusion is simply free of tax consequence. The taxpayer has no further attributes to reduce, and no negative basis can be created. This situation arises most often in complete insolvency cases where all assets are underwater and all prior-year carryforwards have already been exhausted by prior losses. In that case, the remaining COD exclusion produces no future tax cost beyond the basis reduction already completed.

PLANNING NOTE: MODEL THE SALE BEFORE COMPLETING FORM 982

Before finalizing a COD exclusion that will result in basis reduction under IRC 1017, model the client's projected sale timeline and the estimated recapture at that sale. A client who intends to sell in two to three years may be better served by an alternative workout structure that avoids COD income altogether (or reduces it) rather than claiming a COD exclusion that shifts the tax cost to an imminent sale. The basis reduction is not a deferral of tax; it is a re-characterization of when and in what form the tax is paid. Hedge all specific basis reduction mechanics to IRC 1017 and the applicable Treasury regulations, and confirm the Form 982 reporting requirements at IRS.gov.

Section 6: Commercial Real Estate Workouts (2025-2026 Context)

Commercial real estate loan modifications, short payoffs, and deed-in-lieu transactions have been a significant area of practitioner activity in 2025 and 2026, as the office, retail, and multifamily sectors have faced sustained refinancing stress following the interest rate environment of 2022 through 2024. IRC 108 analysis is at the center of nearly every commercial RE workout. The analysis begins with a question that is more foundational than the IRC 108 exclusion itself: does the transaction generate COD income at all?

Nonrecourse Debt: The Crane and Tufts Distinction

The Crane doctrine (Crane v. Commissioner, 331 U.S. 1 (1947)) established that nonrecourse debt is included in the taxpayer's amount realized on the disposition of property securing the debt. Commissioner v. Tufts (461 U.S. 300 (1983)) extended that rule to the situation where the property's fair market value is less than the outstanding nonrecourse debt at the time of disposition: the full outstanding nonrecourse debt is still treated as the amount realized, even if it exceeds FMV. Under the Crane/Tufts framework, the cancellation of nonrecourse debt on a foreclosure or deed-in-lieu is generally treated as amount realized under IRC 1001, not as COD income. The result is a gain or loss on the disposition -- not cancellation of indebtedness income subject to IRC 108.

This distinction is critical for practitioners advising on commercial real estate foreclosures. A borrower on a nonrecourse commercial mortgage who loses the property to foreclosure when the loan balance exceeds the property's value will generally recognize a gain (or at minimum the full loan balance as amount realized) under Crane and Tufts, but will not have COD income. The gain or loss analysis under IRC 1001 -- not the IRC 108 exclusion framework -- controls the tax consequence of the transaction. Hedge the Crane/Tufts treatment to the established case law and IRC 1001; this is a nuanced area where the specific loan documents, the state-law recourse/nonrecourse classification, and the structure of the disposition all affect the outcome. Each transaction requires a fact-specific analysis.

Recourse Debt: COD Income on Deficiency Waivers

The result is different for recourse debt. When a borrower is personally liable for a commercial mortgage (recourse debt) and the lender accepts a short payoff (less than the outstanding balance) or completes a deed-in-lieu transaction and waives the deficiency (the amount by which the debt exceeds the FMV of the property surrendered), the waived deficiency is COD income to the borrower to the extent of the deficiency forgiven. The transaction is bifurcated: (a) the amount realized on the disposition of the property is its FMV (generating gain or loss under IRC 1001 on the difference between FMV and adjusted basis), and (b) the excess of the outstanding debt over FMV -- the deficiency waived by the lender -- is COD income subject to IRC 108. The IRC 108 exclusions (insolvency, bankruptcy, QRPBI) may then apply to that COD income.

QRPBI Election Under IRC 108(a)(1)(D) and IRC 108(c)

For taxpayers who are not insolvent (or whose insolvency is insufficient to cover the full COD amount) and who are not in bankruptcy, the QRPBI election under IRC 108(a)(1)(D) may be available for COD income from commercial real estate debt. The QRPBI exclusion under IRC 108(c) is limited to the lesser of: (a) the amount by which the outstanding principal balance of the QRPBI exceeds the FMV of the real property securing it, and (b) the aggregate adjusted basis of depreciable real property held by the taxpayer immediately before the discharge (after applying any other IRC 108 exclusions). Unlike the insolvency exclusion, the QRPBI election's attribute reduction is limited to basis of depreciable real property -- it does not run through the full IRC 108(b)(2) attribute stack. Hedge all QRPBI limits, the interaction with the insolvency exclusion, and the basis reduction mechanics for this election to IRC 108(c) and current IRS.gov guidance.

Partnership-Level COD Income

When commercial real estate is held in a partnership, COD income realized at the partnership level is a separately stated item that flows through to the partners under IRC 702 and Reg. 1.702-1. The partners, not the partnership, bear the tax consequence of the COD income. This pass-through structure has an important implication for the IRC 108 insolvency exclusion: the insolvency determination is made at the partner level, not the partnership level. A partner who receives an allocation of COD income may exclude it under IRC 108(a)(1)(B) only if that partner (individually) was insolvent immediately before the partnership's discharge. A solvent partner cannot rely on the partnership's insolvency to exclude the partner's share of COD income. Each partner's basis in the partnership interest, and whether that partner is personally insolvent, controls whether the exclusion is available at the partner level. Hedge all partnership-specific COD mechanics, the interplay with outside basis, and the at-risk rules to IRC 702, Reg. 1.702-1, and current IRS.gov guidance.

PRACTITIONER PROTOCOL: CHARACTERIZE THE DEBT BEFORE APPLYING IRC 108

The nonrecourse/recourse distinction is the threshold question for every commercial real estate workout. Confirm the recourse/nonrecourse classification under the loan documents and applicable state law before applying IRC 108. A loan characterized as nonrecourse in the documents may be treated differently if the borrower gave personal guarantees or if state law converts the debt to recourse under certain circumstances. Get the loan documents and analyze them -- do not assume. After confirming the debt characterization, apply the Crane/Tufts framework for nonrecourse debt or the bifurcated COD/gain analysis for recourse debt. Only then apply IRC 108 to any COD income identified. Hedge both the Crane/Tufts analysis and the recourse COD income analysis to IRC 1001, the established case law, and current IRS.gov guidance.

Section 7: Student Loan Discharge (IRC 108(f))

IRC 108(f) provides an exclusion for student loan discharges under certain qualifying circumstances. This exclusion is distinct from the insolvency and bankruptcy exclusions and has its own eligibility requirements and limitations.

This area has been subject to frequent legislative and regulatory changes, executive action, and litigation in recent years. The scope of the IRC 108(f) exclusion, the types of student loan discharges that qualify, and the tax treatment of discharges under specific federal programs have all been subject to change. This guide does not characterize the current scope of the IRC 108(f) exclusion. Practitioners must confirm the current status, scope, and requirements of the student loan discharge exclusion at IRS.gov and in the most current IRS guidance before advising any client or preparing any return that relies on IRC 108(f).

Frequently Asked Questions

Common questions from enrolled agents, CPAs, and tax attorneys on IRC 108 COD income, the insolvency exclusion, Form 982, and commercial real estate workouts.

What is cancellation of debt (COD) income and is it taxable?

Cancellation of indebtedness income is includible in gross income under IRC 61(a)(12). COD income arises when a lender cancels, forgives, or settles a debt for less than its outstanding balance. The full amount of the forgiven debt is generally gross income to the borrower in the year of discharge. IRC 108 provides specific exclusions that may reduce or eliminate the income inclusion. Without a qualifying exclusion under IRC 108, the taxpayer must report the full COD amount as ordinary income.

How does the insolvency exclusion work under IRC 108?

Under IRC 108(a)(1)(B), a taxpayer may exclude COD income from gross income to the extent the taxpayer is insolvent immediately before the discharge. Insolvency is measured at the moment of discharge: liabilities (including all secured, unsecured, contingent, recourse, and nonrecourse obligations) must exceed the fair market value of all assets at that moment. The excluded amount is the lesser of (a) the COD income and (b) the excess of liabilities over asset FMV. If liabilities exceed assets by X and COD income is Y, the exclusion is the lesser of X and Y. Hedge the specific computation to IRC 108(a)(3) and current IRS.gov guidance. The exclusion must be reported on Form 982; confirm current line numbers in the Form 982 instructions at IRS.gov.

What is the correct order for reducing tax attributes after claiming a COD exclusion?

After excluding COD income under IRC 108(a)(1)(A) (bankruptcy) or (B) (insolvency), the taxpayer must reduce tax attributes in the order prescribed by IRC 108(b)(2): (1) net operating loss (IRC 172), (2) general business credits (IRC 38), (3) minimum tax credit (IRC 53), (4) capital loss carryovers (IRC 1212), (5) basis of property (IRC 1017), (6) passive activity loss and credit carryovers (IRC 469), and (7) foreign tax credit carryovers (IRC 27). NOLs are reduced dollar-for-dollar. Credit carryovers are reduced at the fractional rate specified in IRC 108(b)(3) -- not dollar-for-dollar. Practitioners frequently apply the wrong reduction ratio to credit carryovers; hedge all conversion ratios to IRC 108(b)(3) and current IRS.gov guidance.

How does COD income arise in a commercial real estate workout?

In a commercial real estate workout, COD income can arise when a lender accepts less than full repayment of a recourse loan in a short payoff or deed-in-lieu transaction. If the lender cancels or waives the deficiency (the amount by which the outstanding debt exceeds the property's fair market value), the waived deficiency is COD income to the borrower. The IRC 108 exclusions -- particularly the insolvency exclusion under IRC 108(a)(1)(B) and the QRPBI election under IRC 108(a)(1)(D) -- may apply to reduce or eliminate that income. The analysis differs significantly for nonrecourse debt, where cancellation on foreclosure is generally treated as amount realized rather than COD income. Each workout transaction requires a fact-specific analysis.

What is the difference between a nonrecourse debt foreclosure and a recourse debt cancellation?

The tax treatment differs significantly. Under the Crane doctrine and Tufts (Commissioner v. Tufts, 461 U.S. 300 (1983)), cancellation of nonrecourse debt on a foreclosure is generally treated as amount realized under IRC 1001, not as COD income -- even if the property's fair market value is less than the outstanding debt. By contrast, cancellation of recourse debt in a short payoff where the lender waives the deficiency generates COD income to the extent of the deficiency waived. This distinction is critical in commercial real estate workouts and must be analyzed on a transaction-by-transaction basis. Hedge the Crane and Tufts treatment to the established case law and IRC 1001; each transaction's structure controls the outcome.

Is qualified principal residence indebtedness still excludable from income?

The exclusion for qualified principal residence indebtedness exists under IRC 108(a)(1)(E), but its availability for the current tax year must be confirmed at IRS.gov. The QPRI exclusion has historically been subject to legislative extensions and expirations. This guide does not characterize whether the exclusion is currently in effect or has expired. Practitioners must verify the current legislative status of IRC 108(a)(1)(E) before advising any client or preparing any return that relies on this exclusion.

How does basis reduction under IRC 1017 affect my client's future tax liability?

Basis reduction under IRC 1017 is the fifth attribute in the IRC 108(b)(2) ordering. After COD exclusion, the taxpayer must reduce the basis of depreciable and other property, but basis cannot be reduced below zero (IRC 1017(a)). The long-term consequence of basis reduction is increased depreciation recapture exposure: when the property is later sold, IRC 1245 and IRC 1250 apply to the original basis less the IRC 1017 reduction, meaning the taxpayer may recognize more recapture income than if the basis had not been reduced. Practitioners should model the basis reduction's effect on future depreciation deductions and sale-year recapture alongside the current-year COD exclusion benefit. Hedge all specific basis reduction mechanics to IRC 1017 and applicable Treasury regulations.

What is Form 982 and when does it need to be filed?

Form 982 (Reduction of Tax Attributes Due to Discharge of Indebtedness) is the IRS form on which a taxpayer elects and reports an IRC 108 COD income exclusion and reports the resulting tax attribute reductions. A taxpayer claiming the insolvency exclusion under IRC 108(a)(1)(B) must check the applicable box in Part I of Form 982 and report the excluded COD amount. Form 982 must be filed with the taxpayer's federal income tax return for the year of discharge. Confirm all current line numbers, Part I checkbox instructions, and attribute reduction reporting requirements in the current Form 982 instructions at IRS.gov, as the form is subject to revision.

The following guides cover tax rules that interact directly with IRC 108 COD income exclusions, the IRC 108(b)(2) attribute reduction ordering, and commercial real estate workout planning.

  • Loss Limitation Ordering Rules: IRC 465, 469, 704(d), 461(l), and 172 Practitioner Guide -- tax attribute reduction under IRC 108(b) directly intersects the loss limitation stack. NOL carryforwards, passive activity losses, and at-risk amounts all appear as attributes reduced by the COD exclusion under IRC 108(b)(2). Practitioners must apply both the IRC 108 attribute reduction ordering and the loss limitation rules to the same client in the same engagement.
  • Net Operating Loss Practitioner Guide -- the NOL carryforward is the first tax attribute reduced under the IRC 108(b)(2) ordering. After a COD exclusion eliminates or reduces the NOL, the surviving carryforward is subject to the 80% carryforward limitation under IRC 172 when used in a subsequent year. Practitioners must reconcile the post-COD NOL balance before computing tax for the carryforward year.
  • IRC 1245 and 1250 Depreciation Recapture Form 4797 Practitioner Guide -- basis reduction under IRC 1017 increases future depreciation recapture exposure when property is later sold. IRC 1245 and IRC 1250 apply to the original basis less the IRC 1017 reduction, making the interplay between COD basis reduction and recapture a critical long-term planning issue for commercial real estate clients and other property owners.
  • IRC 469 Passive Activity Loss and Real Estate Professional Election Practitioner Guide -- passive activity losses are among the tax attributes reduced under the IRC 108(b)(2) ordering for commercial real estate investors. COD income from commercial real estate workouts and passive activity loss suspension frequently affect the same taxpayers, and the interaction of the IRC 108 attribute reduction with suspended passive losses requires careful analysis.
  • IRC 6050P and Form 1099-C discharge of indebtedness reporting -- IRC 108 governs the debtor's income exclusion, while IRC 6050P governs the creditor's Form 1099-C reporting of the same discharge. The eight identifiable events and the reported amount on Form 1099-C set the starting point for the debtor's IRC 108 analysis, making the creditor reporting rules essential context for any COD income engagement.

Tax Software Built for Complex Returns

Americas Tax has supported enrolled agents, CPAs, and tax attorneys handling COD income, insolvency exclusions, Form 982, and commercial real estate workouts since 2001. Our team understands the attribute reduction ordering, the Form 982 workflow, and the practitioner traps that arise in distressed debt situations.

Contact Us View Software