Reference, Part IX: Intersections with the wider code
Creditors, Insolvency, and Bankruptcy
Every chapter to this point has assumed a solvent taxpayer disposing of property voluntarily. This one takes up the situations in which the taxpayer's finances rather than the property determine the outcome, and it closes Part IX because the interactions are unforgiving in a way the rest of this work is not.
Reviewed by Nicholas A. Henault, Esq. on October 23, 2026. This reference is general information about section 1031, not tax or legal advice for your transaction. Talk to your own tax adviser or attorney before you rely on it.
Prepared by the BlueLion 1031 exchange team
The organizing fact is one already established at 34.3. A taxpayer who has exchanged repeatedly holds property with a basis far below its debt, and that combination is exactly what makes a distressed exit expensive.
51.1 Foreclosure and deed in lieu
A property taken by a lender is disposed of, and the disposition is not an exchange. Section 1031 requires a transfer of property for property, as 24.1 establishes, and a taxpayer who conveys property to a lender in satisfaction of a debt receives no property at all.
The amount realized includes the debt. Except as otherwise provided, the amount realized from a sale or other disposition of property includes the amount of liabilities from which the transferor is discharged as a result of the disposition.1 A sale or other disposition of property that secures a nonrecourse liability discharges the transferor from the liability,2 and where the property secures a recourse liability, the disposition discharges the transferor if another person agrees to pay it, whether or not the transferor is in fact released.3
The bifurcation for recourse debt is the rule to know. The amount realized on a disposition of property securing a recourse liability does not include amounts that are, or would be if realized and recognized, income from the discharge of indebtedness.4
The transaction therefore splits in two. To the extent of the property's fair market value, the taxpayer has a disposition producing gain or loss measured against basis. To the extent the debt exceeds that value, the taxpayer has discharge of indebtedness income, governed by 51.2.
Nonrecourse debt does not split. The full amount of the obligation is included in the amount realized, and the fair market value of the property is irrelevant to that computation, as Tufts holds and as 34.3 develops. There is no discharge of indebtedness income and there is no exclusion to be claimed.
The consequence for an exchange chain. Consider a property that has been through three exchanges and carries a $2,600,000 nonrecourse mortgage against an adjusted basis of $700,000. The lender forecloses when the property is worth $2,100,000. The amount realized is the full $2,600,000, the gain realized is $1,900,000, and every dollar of it is recognized. The taxpayer receives nothing, pays tax on $1,900,000, and has no property left to sell to fund it.
That outcome is the accumulated deferral of Chapters 35 through 37 arriving all at once, at the worst moment. It is also the reason the counsel at 46.2 is stated as a bet on holding rather than as a strategy.
Two practical points.
The recourse or nonrecourse character of the debt should be established from the loan documents before any workout is negotiated, because it determines whether section 108 is available at all.
Where the property is worth less than the debt and the debt is recourse, a negotiated reduction that leaves the taxpayer owning the property may be materially better than a foreclosure, because the exclusions in 51.2 can apply to the discharged portion while the property and its basis remain.
51.2 Discharge of indebtedness and the low-basis problem
Gross income does not include amounts that would otherwise be includible by reason of the discharge of indebtedness where the discharge occurs in a title 11 case, where the discharge occurs when the taxpayer is insolvent, where the indebtedness is qualified farm indebtedness, or, in the case of a taxpayer other than a C corporation, where the indebtedness is qualified real property business indebtedness.5
The exclusions are ordered. The title 11 exclusion takes precedence over the others, and the insolvency exclusion takes precedence over the farm and real property business exclusions.6
Insolvency means the excess of liabilities over the fair market value of assets, determined immediately before the discharge, and the exclusion is limited to the amount by which the taxpayer is insolvent.7
The title 11 and insolvency exclusions cost tax attributes. An amount excluded under those provisions reduces the taxpayer's tax attributes in a prescribed order: net operating losses first, then the general business credit carryover, the minimum tax credit, capital loss carryovers, and then basis.8 The exclusion is therefore a deferral purchased with future deductions.
The real property business exclusion is elective and is the one most often available. Qualified real property business indebtedness means indebtedness incurred or assumed by the taxpayer in connection with real property used in a trade or business and secured by that real property, which was incurred before 1993 or is qualified acquisition indebtedness, and with respect to which the taxpayer elects to have the provision apply.9 An amount excluded under it reduces the basis of the taxpayer's depreciable real property.10
Two limitations cap it, and the second is where the exchange chain bites.
The amount excluded may not exceed the excess of the outstanding principal of the indebtedness immediately before the discharge over the fair market value of the securing real property at that time, reduced by other qualified real property business indebtedness secured by the property.11
And the amount excluded may not exceed the aggregate adjusted bases of depreciable real property held by the taxpayer.12
That second cap is the interaction this chapter exists to identify. A taxpayer who has exchanged repeatedly has driven the adjusted basis of every property in the chain toward zero, as Chapters 35 and 36 compute. The exclusion is capped at exactly that number. A taxpayer with $2,000,000 of discharge and $300,000 of remaining depreciable basis may exclude $300,000 and must recognize the rest.
The deferral strategy and the workout strategy are in tension, and the tension is invisible until the workout arrives. Every exchange in the chain reduced the basis that the discharge exclusion would later have been measured against. A taxpayer who never exchanged, and who holds property with substantial basis, has far more room under the cap than one who exchanged four times.
One exclusion has lapsed. The exclusion for qualified principal residence indebtedness applies to a discharge occurring before January 1, 2026, or one subject to a written arrangement entered into before that date.13 For discharges after that date the provision by its terms does not apply, and a client whose residence debt is being restructured should not be advised on the basis of materials that assume it is available.
51.3 Intermediary failure
A separate and entirely non-tax risk sits at the center of every deferred exchange, and Chapter 27 identified its source. The qualified intermediary definition imposes no capital requirement, no bonding requirement, no insurance requirement, and no requirement that exchange funds be segregated from the intermediary's own assets or from those of other clients.14
Where an intermediary fails while holding exchange proceeds, three questions arise and only the third is a tax question.
What is the taxpayer's claim? That depends on the exchange agreement, on whether the funds were held in a segregated account in the taxpayer's name, on whether a qualified escrow or qualified trust was used alongside the intermediary as 27.5 contemplates, and on State law governing the intermediary. Practitioners should assume nothing from the phrase qualified intermediary, which is a federal tax term describing eligibility to serve and not a statement about custody.
What does the loss do to the exchange? An intermediary that cannot deliver replacement property produces a failed exchange. The relinquished property was sold, the gain is realized, and the analysis of Chapter 44 applies, including the possibility that the payment timing rules push the recognition into a later year.
What is the character of the loss? This is genuinely unsettled and should be presented that way. The taxpayer has both a realized gain on the relinquished property and a loss on funds that were never recovered, and whether those offset, in what year, and with what character depends on facts this work does not attempt to resolve.
The practical counsel is preventive and belongs in every engagement. Ask what the intermediary does with the funds, require a segregated account in the taxpayer's name and identification number where possible, ask whether the intermediary carries a fidelity bond and in what amount, and confirm whether the State of the transaction regulates exchange facilitators. The custodial risk regime, the insolvency history that produced it, and the State responses are the subject of 55.1 through 55.4.
51.4 The taxpayer in bankruptcy
An individual debtor in a case under chapter 7 or chapter 11 of title 11 has a separate taxable estate, and the section creating it does not apply where the case is dismissed.15 A partnership is not treated as an individual for this purpose, though an individual debtor's interest in a partnership is taken into account.16
The estate succeeds to specified tax attributes of the debtor, determined as of the first day of the debtor's taxable year in which the case commences, including net operating loss carryovers, charitable contribution carryovers, tax benefit recoveries, and credit carryovers.17
Three questions arise where a bankruptcy intersects an exchange, and the honest answer to each is that it requires bankruptcy counsel.
Whether the exchange can be completed. A case commenced while an exchange is in progress raises whether the estate or the debtor completes it, whether the exchange agreement is an executory contract, and whether performance requires court approval. None of those is a tax question and none of them can be answered from this work.
Whether the exchange funds are property of the estate. Funds held by an intermediary under an agreement that expressly limits the taxpayer's rights to receive, pledge, borrow, or otherwise obtain their benefits, as 27.6 requires, present a genuinely contested question. The very restriction that makes the arrangement work for tax purposes is the restriction a debtor would invoke to argue the funds are not the debtor's property, and a creditor would characterize the arrangement differently. This work does not resolve it, and a practitioner should not assume either answer.
Whether the exchange deadlines can be extended. They cannot, by anything in Part VI. The identification and exchange periods run as Chapter 26 describes, subject only to the disaster postponement of 26.4. A bankruptcy filing does not toll them, and a court order directing performance after the exchange period has run does not produce an exchange.
The one clear planning point is a matter of sequence. Where a client's insolvency is foreseeable and an exchange is contemplated, the exchange should be completed or abandoned before a filing, not straddled across one. A failed exchange whose proceeds are released to a bankruptcy estate produces recognized gain to a taxpayer with no funds and a trustee with no interest in the tax consequence, and that is the worst available arrangement of the facts.
Part X takes up practice, procedure, and risk, beginning with the custodial and regulatory questions this chapter has twice deferred.
Ready to start an exchange?
Call (410) 863-1555 or open your exchange file online.
