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.
- Realized gain. $683,400 received minus $241,300 basis = $442,100.
- Recognized gain. Nothing was received besides like-kind property, so the recognized gain is zero. The whole $442,100 is deferred.
- 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.
- 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.
- Realized gain. $812,600 of property plus $114,700 of cash = $927,300. Minus the $413,700 basis = $513,600.
- Recognized gain. The smaller of the cash received ($114,700) and the realized gain ($513,600): $114,700.
- Deferred gain. $513,600 minus $114,700 = $398,900.
- 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.
- 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).
- 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.
- 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.
- Gain. $1,365,900 minus $767,600 = $598,300.
- 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.
- The rest. The remaining $414,600 is long-term capital gain at the top rate of 20%: about $82,900.
- Net investment income tax. If it applies, 3.8% of the $598,300 adds about $22,700.
- Total on a sale. About $151,600 of federal tax for that year, compared with zero now on a clean exchange.
- 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.
- Quinn: identify by. 45 days after November 20, 2026 is January 4, 2027.
- 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.
- Sky: identify by. March 27, 2027.
- 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
Swapping with a sibling, then selling
Hypothetical example, not law
Ash exchanges a rental worth $417,300 (basis $106,900) for a rental of the same value owned by Ash's brother Ben (basis $352,400). Both properties are held for investment. Fourteen months later Ash sells the property from Ben for $436,100.
- The exchange. Ash defers $310,400; Ben defers $64,900. Both are related persons under sections 267(b) and 1031(f).
- The sale. Ash sold the property received from a related person within 2 years, so the nonrecognition is lost. The $310,400 deferred gain is recognized in the year of the sale, in addition to the $18,800 of gain on the sale itself.
- Ben's side. The rule works both ways. Ash's sale also undoes Ben's exchange, so Ben reports his $64,900 deferred gain in the same year, even though Ben sold nothing. If Ben had been the one to sell inside 2 years, Ash would lose the deferral the same way.
- Reporting. Form 8824 is filed for the exchange year and for the 2 years after, with the related-party questions answered each time.
Ash reports $329,200 on the sale year's return, and Ben reports $64,900. The related-party rule is aimed at swaps that shift a low basis onto the property about to be sold.
Tip. Selling is not the only trigger. Dispositions by the other person count, and an intermediary in the middle does not fix that.
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.
- Rental test. Both periods have at least 14 days of fair rental. Passed.
- 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.
- 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.
- Three-property rule. Dale can name up to 3 properties of any value.
- 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.
- 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.
- 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