Some sales don't have to be taxed all at once, and some gains are never taxed. This lesson covers swapping real estate for real estate, spreading gain over the years a buyer pays, replacing property lost to disaster or condemnation, and excluding gain on small business stock.
Like-kind exchanges of real property
Since 2018 only real property qualifies: business or investment real estate swapped for other business or investment real estate. Like-kind is broad within real estate (raw land for an apartment building works), but a home held for personal use, property held mainly for sale, and anything other than real property do not qualify. Two deadlines apply when the exchange is deferred through an intermediary: the replacement must be identified within 45 days after the old property is transferred, and received within 180 days, or by the due date of that year's return with extensions if earlier. If related parties swap and either sells within two years, the deferred gain is generally taxed.
Boot, debt relief and the replacement's basis
Cash or other property received alongside the real estate is "boot". Gain is recognized up to the smaller of the realized gain or the boot. Debt the other side takes over counts as cash received, though debt the taxpayer takes on in return offsets it. A loss on the real property itself is not recognized in a like-kind exchange.
The replacement property's basis keeps the untaxed gain with it:
New basis = value of property received - gain deferred
Worked example: Fabrizio exchanges a warehouse worth $900,000, basis $300,000 and carrying a $200,000 mortgage that the other party assumes, for an office building worth $700,000 with no debt. Realized gain: $600,000. The debt relief is $200,000 of boot, so $200,000 is recognized. New basis: $700,000 - $400,000 deferred = $300,000.
Installment sales
When at least one payment arrives after the year of sale, gain is reported as cash comes in, unless the seller elects out. Each payment of principal is multiplied by the gross profit ratio:
Gross profit ratio = (selling price - adjusted basis) / contract price
Interest received is taxed separately as ordinary income. The method doesn't apply to inventory, dealer sales, or stock and securities traded on an established market. Depreciation recapture on business property is taxed in full in the year of sale, even if no cash arrives, and the recaptured amount is added to basis before the ratio is computed. If a related buyer resells within two years, the seller is generally taxed then as if paid.
Involuntary conversions
When property is destroyed, stolen or condemned, the owner can defer the gain by buying similar replacement property. Gain is recognized only to the extent the insurance or condemnation proceeds exceed the cost of the replacement. The replacement must generally be bought within two years after the end of the first tax year in which any gain is realized, or three years for condemned business or investment real estate. The replacement's basis is its cost minus the deferred gain.
Qualified small business stock
Gain on stock bought at original issue from a domestic C corporation with gross assets of no more than $75 million ($50 million for stock issued on or before July 4, 2025), in an active business other than certain service and financial fields, can be partly or wholly excluded:
| Stock acquired | Holding period | Exclusion |
|---|---|---|
| After September 27, 2010, through July 4, 2025 | More than 5 years | 100% |
| After July 4, 2025 | 3 years / 4 years / 5 years or more | 50% / 75% / 100% |
Excluded gain per company is capped at the greater of $10 million ($15 million for stock acquired after July 4, 2025, indexed from 2027) or 10 times the basis of the stock sold.
On the exam
- Like-kind treatment now covers only real property held for business or investment.
- Debt relief is boot even though no cash changes hands.
- Recapture is taxed in the year of sale even under the installment method.
- Involuntary conversion gain is recognized only on proceeds not reinvested.
- Small business stock acquired before July 5, 2025 needs a holding period of more than five years.