Vacant storefront with a boarded-up door

Life events · Distressed rentals

Underwater or Distressed Rental Exit: When an Exchange Still Works and When It Cannot

An underwater rental can still carry a large taxable gain. A 1031 needs replaced debt or cash; foreclosure and short sales add gain or canceled-debt income.

By Breakwater Exchange · Reviewed by our 1031 advisory team · Last reviewed

The short answer

Being underwater on the loan does not mean you have no taxable gain: gain is measured against your adjusted basis, which depreciation and cash-out refinancing push far below the loan. An exchange still works if the sale produces proceeds and you can replace the full debt paid off with new debt or outside cash. It cannot defer canceled-debt income, and a foreclosure or short sale leaves nothing for a qualified intermediary to reinvest. A nonrecourse foreclosure is treated as a sale for the full loan balance, so the phantom gain can exceed what the property is worth.

At a glance

Nonrecourse foreclosureAmount realized is the full unpaid debt, with no canceled-debt income
Recourse foreclosureAmount realized is the lesser of the debt or fair market value; the rest is canceled-debt income
Canceled-debt exclusionsTitle 11 bankruptcy, insolvency, and the elective qualified real property business debt exclusion
ReportingForm 1099-A or 1099-C from the lender; Form 982 to claim an exclusion
Debt relief in an exchangeTreated as money received unless offset by new debt or cash you add
Exchange deadlinesIdentify by day 45, close by day 180

An underwater rental can still produce a large gain, because the loan is not your basis

Owners in trouble often assume that a property worth less than the mortgage cannot generate tax. It can. Gain is the amount realized minus adjusted basis, and adjusted basis is what you paid plus improvements minus every dollar of depreciation allowed or allowable. Refinancing above that basis, which many landlords did to pull cash out, widens the gap.

So the question is not whether you have equity, but how far the payoff and the price sit above your basis. Pull the depreciation schedule and the refinance history before you talk to the lender, because the workout you choose changes both the amount and the character of the income.

Foreclosure, deed in lieu and short sale produce different tax, and the loan type decides which

Reg. section 1.1001-2 treats a disposition of property that secures a nonrecourse loan as discharging the loan, so the whole balance is amount realized. Publication 4681 confirms the result: when nonrecourse debt exceeds the property's value, foreclosure produces no canceled-debt income, but the entire debt counts as the sale price.

With recourse debt, the one you signed personally, the amount realized on foreclosure is the smaller of the debt or the property's fair market value, and any forgiven excess is ordinary canceled-debt income. That income can be excluded in a title 11 bankruptcy, to the extent you were insolvent immediately before the cancellation, or, by election, as qualified real property business indebtedness, which reduces the basis of your depreciable real property instead.

A short sale is a sale. The price you get is the amount realized, and any balance the lender forgives on a recourse loan is separately canceled-debt income. The lender reports on Form 1099-A or 1099-C, and you claim any exclusion on Form 982.

Worked model: one rental, three exits, three different tax results

Hypothetical round numbers. You bought a rental for $500,000 and took $150,000 of depreciation, so adjusted basis is $350,000. The loan balance is $520,000 and the property is worth $450,000. Run your own numbers with your CPA; the point is how the structure changes the result.

  • Nonrecourse foreclosure: amount realized is the full $520,000, so gain is $170,000, of which $150,000 is the depreciation layer taxed at ordinary rates up to 25%. You receive no cash.
  • Recourse foreclosure with the deficiency forgiven: amount realized is the $450,000 value, gain is $100,000, all within the depreciation layer, plus $70,000 of ordinary canceled-debt income unless an exclusion applies.
  • Recourse short sale at $450,000 with $30,000 of costs, lender accepts $420,000 and forgives $100,000: gain is $70,000 and canceled-debt income is $100,000, again subject to the exclusions.
  • In none of the three does cash reach a qualified intermediary, so there is nothing to exchange unless you bring new money or borrowing to a replacement purchase.

An exchange works only when the sale pays off the loan and you can replace that debt

If the property still sells for more than the payoff, an exchange is possible. The gain is deferred under section 1031 as long as you buy replacement property of equal or greater value and reinvest all net proceeds. Under Reg. section 1.1031(d)-2, the loan paid off counts as money received unless it is offset by debt on the replacement or cash you add; The Exchange Equation walks through the arithmetic.

That is where distressed owners get stuck. A seller who walks away with $20,000 of proceeds but paid off a $520,000 loan needs roughly $540,000 of replacement property with about $520,000 of new financing, and a lender looking at the failed property will not always provide it. 1031 for highly leveraged owners covers the lending side.

A DST can solve the debt side with little equity. DST offerings carry their own non-recourse loans, and your share of that debt counts toward replacing what you paid off; see whether a DST loan counts as replacement debt. Our cash out DST page describes high-leverage DSTs that can solve debt requirements using only a small portion of proceeds. But a DST still needs some exchange cash to buy in, and the higher leverage raises the risk that the investment itself loses value.

What to do before you sign anything with the lender

The order of steps decides how much of the outcome you control. Once the lender forecloses, the choice is gone; before that, you can still negotiate a sale structure that leaves room for an exchange, or at least an exclusion.

If the numbers show more debt than value and no realistic way to replace the loan, the exchange is off the table, and the work shifts to the canceled-debt exclusions. Selling at a loss in a 1031 explains why a true loss is better taken in a taxable sale.

  • Confirm whether the loan is recourse or nonrecourse; the note and any guaranty decide it.
  • Calculate adjusted basis and the depreciation layer, then the gain under each exit.
  • Run the insolvency worksheet in Publication 4681 as of the expected cancellation date.
  • If a sale clears the payoff, sign the qualified intermediary agreement before closing and line up replacement financing or a DST that carries enough debt.

Related questions

Can a foreclosure be the sale side of a 1031 exchange?

In practice, no. The lender takes the property and the proceeds, so no money reaches a qualified intermediary to buy a replacement, and the gain is taxed in the year of the foreclosure.

Does a 1031 exchange defer canceled-debt income?

No. Section 1031 defers gain on the exchange of property; forgiven debt is ordinary income under separate rules, and only the bankruptcy, insolvency or qualified real property business debt exclusions can keep it off your return.

Is a deed in lieu of foreclosure treated differently from a foreclosure?

For tax purposes it is a transfer of the property in satisfaction of the debt, and Publication 4681 treats foreclosures and similar transfers under the same amount-realized rules. The loan type, recourse or nonrecourse, still decides whether there is canceled-debt income.

I am insolvent. Does that exclusion cost me anything?

Yes. Excluded canceled debt reduces tax attributes such as loss carryovers and the basis of your property, reported on Form 982, so the tax is often postponed rather than forgiven.

Can I put a small amount of cash into a DST and replace the whole loan?

Only if the DST carries enough debt for your share to cover what you paid off, and you still have to reinvest all net proceeds. High leverage raises the risk of losing the equity you put in, so read the offering's loan terms first.

Sources

Checked against these publications on September 30, 2026. Rules and figures change; confirm the current version with your CPA or attorney before you act. This page is general information, not tax or legal advice.

  1. Reg. section 1.1001-2, Discharge of liabilities
  2. IRS Publication 4681, Canceled Debts, Foreclosures, Repossessions, and Abandonments
  3. 26 U.S.C. section 108, Income from discharge of indebtedness
  4. 26 U.S.C. section 1031
  5. Reg. section 1.1031(d)-2, Treatment of assumption of liabilities
  6. IRS Publication 544, Sales and Other Dispositions of Assets

Is there still room for an exchange?

Send us the price you expect, the loan payoff and your adjusted basis; we will tell you whether a DST with enough debt could absorb the payoff before you commit to a short sale or deed in lieu.

Free 1031 proposal

Access Investment Offerings Other Brokers Can’t Provide

Breakwater Exchange’s expert guidance helps you maximize returns while minimizing tax exposure, so you can invest with clarity and confidence.

years of experience
20+
in DST transactions
$1B+
states licensed
50
vetted national sponsors
8

Tell us about your exchange

Share the basics and an advisor will reach out with next steps.

Are you an accredited investor?

Generally, net worth over $1 million excluding your primary residence, or income over $200,000 ($300,000 with a spouse) in each of the last two years.

No obligation. A Breakwater Exchange advisor reviews every request personally.

Get My Free ProposalFree ProposalBook a Free ConsultationFree Consultation