Skip to content

General education, not advice for your situation.

Carry Forward Learning Search the site

1031 Exchanges

1031 Exchanges: worked examples

Same facts. Pro adds the full authority stack under each answer.

Worked examples

A straight swap, nothing left over

Hypothetical example, not law

Rae owns a rental building with a fair market value of $683,400 and an adjusted basis of $241,300. Through a qualified intermediary, Rae trades it for another rental building worth $683,400. No cash comes back and no debt is involved.

  1. Realized gain. $683,400 received minus $241,300 basis = $442,100.
  2. Recognized gain. Nothing was received besides like-kind property, so the recognized gain is zero. The whole $442,100 is deferred.
  3. New basis. The new building takes the old basis: $241,300. Check: its value of $683,400 minus the deferred gain of $442,100 is $241,300.
  4. Holding period. The holding period of the old building carries over, so a building held a long time is long-term on a later sale.

No tax now on $442,100 of gain. The tax is not gone; it waits inside the $241,300 basis.

Tip. Deferral means the gain follows the property. A low basis today is a bigger tax later unless something resets it.

Sources

Cash left over from the exchange

Hypothetical example, not law

Mo sells a rental with a value of $927,300 and a basis of $413,700. The qualified intermediary buys a replacement for $812,600, and the leftover $114,700 is paid to Mo at the end. No debt on either property.

  1. Realized gain. $812,600 of property plus $114,700 of cash = $927,300. Minus the $413,700 basis = $513,600.
  2. Recognized gain. The smaller of the cash received ($114,700) and the realized gain ($513,600): $114,700.
  3. Deferred gain. $513,600 minus $114,700 = $398,900.
  4. New basis. Old basis $413,700, minus the cash received $114,700, plus the gain recognized $114,700 = $413,700.

Mo reports $114,700 of gain this year (it doesn't escape tax just because most of the money went into a building) and defers $398,900.

Tip. Boot is taxed to the extent of the gain, never more. Mo would have owed nothing on the cash if the realized gain had been smaller than the cash.

Sources

Paying down debt in the exchange

Hypothetical example, not law

Kit owns a rental worth $1,037,400 with a mortgage of $412,800 and a basis of $318,600. The buyer takes it subject to the mortgage. Kit then buys one of three replacements through a qualified intermediary.

  1. Option A. A building worth $1,226,600 with a new mortgage of $602,000. Debt taken on ($602,000) is at least debt shed ($412,800), so nothing is treated as money received. Realized gain $718,800, recognized zero, new basis $507,800 (the old basis plus the extra $189,200 of debt taken on).
  2. Option B. A building worth $804,700 with a new mortgage of only $180,100. Kit shed $412,800 of debt and took on $180,100, so $232,700 of net debt relief is treated as money received. Recognized gain is the smaller of $232,700 and the realized gain of $718,800: $232,700. New basis $318,600.
  3. Option C. A building worth $1,037,400, the same as the one sold, with the same smaller mortgage as B ($180,100). Kit adds $232,700 of Kit's own cash at closing to cover the gap. Cash you give is offset against the net debt relief, so the boot is $0 and nothing is recognized. Realized gain $718,800, all deferred; new basis $318,600.

Debt works like cash. Option A defers all $718,800; Option B recognizes $232,700; Option C buys the same value with less debt and avoids the boot by putting in cash.

Tip. Cash you put in offsets debt you shed, but debt you take on does not offset cash you receive. That one-way street surprises people.

Sources

What a sale would have cost: depreciation and the rest

Hypothetical example, not law

Lee bought a rental for $951,300, of which $742,600 was building. Over the years Lee deducted $183,700 of depreciation, so the adjusted basis is $767,600. A buyer offers $1,365,900. Assume Lee is a top-bracket taxpayer for whom the net investment income tax applies. This ignores state tax, selling costs and other items.

  1. Gain. $1,365,900 minus $767,600 = $598,300.
  2. Depreciation part. The part of the gain up to the depreciation taken ($183,700) is unrecaptured section 1250 gain, taxed at up to 25%: about $45,900.
  3. The rest. The remaining $414,600 is long-term capital gain at the top rate of 20%: about $82,900.
  4. Net investment income tax. If it applies, 3.8% of the $598,300 adds about $22,700.
  5. Total on a sale. About $151,600 of federal tax for that year, compared with zero now on a clean exchange.
  6. Exchange. If Lee instead trades into a replacement worth $1,365,900, the $598,300 stays deferred. The new basis is $767,600, so depreciation continues on the old schedule for the carried-over part.

A clean exchange defers roughly $151,600 of federal tax in this picture. It stays deferred only while Lee keeps trading or holds.

Tip. Recapture is why 'I'll just sell and pay 20' is rarely the whole bill. The depreciation slice runs higher.

Sources

The two clocks, and the return-date trap

Hypothetical example, not law

Two calendar-year investors each sell a relinquished property through a qualified intermediary. Quinn transfers it on November 20, 2026, and Quinn's return for that year is due April 15, 2027 (or October 15, 2027 with an extension). Sky transfers it on February 10, 2027.

  1. Quinn: identify by. 45 days after November 20, 2026 is January 4, 2027.
  2. Quinn: close by. 180 days after the transfer is May 19, 2027, but the return for the year of transfer is due on April 15, 2027, which is earlier. Without an extension the exchange period ends on that return date. With a filed extension it runs to May 19, 2027.
  3. Sky: identify by. March 27, 2027.
  4. Sky: close by. The 180th day is August 9, 2027. Sky's return for the year of the transfer is not due until the following spring, which is later, so it does not cut the period short. Sky gets the full 180 days.

Quinn has far fewer than 180 days unless the return is extended. Sky gets the full 180.

Tip. A fall closing is the classic trap: the tax return can shorten the 180 days. Ask for the extension before you need it.

Sources

A cabin that is rented and sometimes used

Hypothetical example, not law

Pat owns a cabin and wants to exchange it. In the 12 months before the exchange Pat rented it at a fair rental for 220 days and used it personally for 20 days. In the 12 months before that, Pat rented it for 120 days and used it personally for 18 days. Pat has owned it well over 24 months.

  1. Rental test. Both periods have at least 14 days of fair rental. Passed.
  2. Year closest to the exchange. Personal use may not exceed the greater of 14 days or 10% of the 220 rental days, which is 22. So the limit is 22 days. Pat used it 20 days. Passed.
  3. Earlier year. The limit is the greater of 14 or 10% of 120 (12), so 14 days. Pat used it 18 days. Failed.

The safe harbor is not met, because 18 personal days is more than 14. That does not mean the cabin cannot qualify. It means the IRS has not promised not to challenge it, and the facts decide.

Tip. A safe harbor is a promise not to challenge, not a test you must pass. Missing it moves you from 'safe' to 'argue the facts'.

Sources

How many properties can you name?

Hypothetical example, not law

Dale sells a relinquished property worth $1,043,700 and has 45 days to name replacements in writing.

  1. Three-property rule. Dale can name up to 3 properties of any value.
  2. Four properties, the 200% rule. Dale names four properties worth $1,728,000 in total. The limit is 200% of $1,043,700 = $2,087,400. $1,728,000 is under it, so the identification stands.
  3. Five properties, over both limits. Five properties worth $2,340,000 are over 3 properties and over $2,087,400, so the identification fails, unless Dale receives at least 95% of the value named: $2,223,000, which in practice means closing on almost everything named.
  4. Incidental property. If one named building is an apartment building worth $2,018,000 that comes with furniture and appliances worth $243,700, the furniture does not count as a separate property for naming purposes, because it is below 15% of the building's value ($302,700). This does not make the furniture like-kind for the gain calculation.

Dale's four-property list works. The five-property list almost certainly does not.

Tip. 3 properties is the easy rule. The 200% rule is the one that lets you keep backups, and the 95% rule is an escape hatch you do not want to rely on.

Sources

Where the numbers come from

Checked

Every figure above comes from the source listed here, with the date we checked it and the date it is due for a re-check.

  • Deadlines: extended return 2026
    IRC 6081(a) checked 2026-10-19, review by 2027-02-16
  • Deadlines: individual return 2026
    IRC 6072(a) checked 2026-10-19, review by 2027-02-16
  • Like kind 1031: deadlines days
    IRC 1031(a)(3) checked 2026-10-19, review by 2027-01-19
  • Like kind 1031: dwelling unit safe harbor days
    Rev. Proc. 2008-16 section 4.02(1)(b) checked 2026-10-19, review by 2027-01-19
  • Like kind 1031: dwelling unit safe harbor months
    Rev. Proc. 2008-16 section 4.02 checked 2026-10-19, review by 2027-01-19
  • Like kind 1031: dwelling unit safe harbor personal use
    Rev. Proc. 2008-16 section 4.02(1)(b)(ii) checked 2026-10-19, review by 2027-01-19
  • Like kind 1031: identification aggregate fmv
    Treas. Reg. 1.1031(k)-1(c)(4)(i)(B) checked 2026-10-19, review by 2027-01-19
  • Like kind 1031: identification property limit
    Treas. Reg. 1.1031(k)-1(c)(4)(i)(A) checked 2026-10-19, review by 2027-01-19
  • Like kind 1031: identification receipt fmv
    Treas. Reg. 1.1031(k)-1(c)(4)(ii)(B) checked 2026-10-19, review by 2027-01-19
  • Like kind 1031: incidental property
    Treas. Reg. 1.1031(k)-1(c)(5)(i)(B) and (g)(7)(iii)(B) checked 2026-10-19, review by 2027-01-19
  • Capital gains: rates
    26 U.S.C. sec. 1(h) checked 2026-09-24, review by 2027-01-22
  • Payroll and SE tax: niit rate
    26 U.S.C. sec. 1411(a)(1) checked 2026-09-24, review by 2027-01-22