Today's idea
When a business sells an asset, the question is what kind of gain it is. Depreciation you took comes back as ordinary income on equipment (§1245); on real property it shows up as unrecaptured §1250 gain (max 25%); the rest is §1231 gain, taxed as long-term capital gain. And a like-kind exchange of real property can defer the gain — except for the "boot."
The story
Dara Lindqvist runs Lindqvist Delivery as a sole proprietor. This year three things happen.
The truck. Dara bought a delivery truck for $60,000 years ago, has taken $45,000 of depreciation, and has owned it well over a year. Its adjusted basis is $15,000. A buyer offers $70,000.
The garage building. Dara also owns the depot building (ignore the land). It cost $400,000, she has taken $100,000 of straight-line depreciation, so the adjusted basis is $300,000. She sells it for $450,000.
The warehouse swap. Separately, Dara's brother Hector owns a rental warehouse with an adjusted basis of $100,000, a value of $220,000 and an $80,000 mortgage. On November 15, 2025 he trades it for a bigger building worth $250,000 carrying a $150,000 mortgage, and the other owner also hands him $40,000 in cash. Hector holds both properties for investment/business use.
Walk-through
First, the amount realized is what you get (cash + value of other property + liabilities you're relieved of, less selling costs). Gain = amount realized − adjusted basis. Then you ask what character the gain has.
The truck — §1245 (equipment and other personal property)
Gain = $70,000 − $15,000 = $55,000. For §1245 property, the gain is ordinary income up to the depreciation you took ($45,000). Only the gain beyond that — $10,000 — is §1231 gain (held more than a year, used in business), which is generally taxed as long-term capital gain. You report it on Form 4797.
- Amount realized$70,000
- Adjusted basis ($60,000 cost − $45,000 depreciation)−$15,000
- Gain$55,000
- Ordinary (§1245 recapture: lesser of gain or depreciation)$45,000
- §1231 gain (the rest)$10,000
Two variations. Sell the truck for only $40,000: gain is $25,000, smaller than the $45,000 of depreciation, so all $25,000 is ordinary and none is §1231. Sell it for $12,000: there's a $3,000 loss, which is a §1231 loss; a net §1231 loss is ordinary (good: no capital-loss limits).
§1231 netting. Combine all §1231 gains and losses for the year. A net loss is ordinary. A net gain is ordinary income to the extent of nonrecaptured §1231 losses from the prior 5 years, and only the rest is long-term capital gain. So a $30,000 net gain with $12,000 of nonrecaptured losses gives $12,000 ordinary and $18,000 long-term capital gain.
The building — §1250 (real property)
Gain = $450,000 − $300,000 = $150,000. "§1250 recapture" as ordinary income applies only to additional depreciation (more than straight-line), and real property placed in service under MACRS is depreciated straight-line, so there's generally no ordinary recapture. Instead, the gain attributable to the depreciation taken — $100,000 — is unrecaptured §1250 gain, taxed at a maximum 25% rate. The remaining $50,000 is ordinary §1231 gain treated as long-term capital gain (0/15/20%).
- Gain on the building$150,000
- Unrecaptured §1250 gain (straight-line depreciation taken, max 25%)$100,000
- Remaining gain (long-term capital gain rates)$50,000
Quick sort. §1245 = equipment, vehicles, most personal property: gain is ordinary up to depreciation. §1250 = buildings and structural components: straight-line, so the depreciation part is taxed at up to 25%. §1231 = the net result for business property held over a year. Land isn't depreciated, so no recapture on the land.
Hector's swap — §1031
Since 2018, only real property held for investment or for productive use in a trade or business qualifies as like-kind (not equipment, and not property held primarily for sale like a developer's inventory). If he receives only like-kind property, he recognizes no gain. Boot — cash or non-like-kind property received, or net relief from debt — is taxed, but only up to the realized gain.
Realized gain: amount realized ($250,000 building + $40,000 cash + $80,000 debt relief − $150,000 debt assumed = $220,000) − $100,000 basis = $120,000. Liabilities are netted: he's relieved of $80,000 but takes on $150,000, so there's no net debt relief. Boot = the $40,000 of cash. Recognized gain = the lesser of boot and realized gain = $40,000; the other $80,000 is deferred. New basis = $250,000 value − $80,000 deferred gain = $170,000 (equivalently old basis $100,000 + $70,000 of additional debt taken on + $40,000 gain recognized − $40,000 cash).
- Realized gain$120,000
- Boot received (cash $40,000; net debt relief $0)$40,000
- Recognized gain (lesser of boot and realized)$40,000
- Deferred gain$80,000
- Basis in the new building (value less deferred gain)$170,000
If there were no cash and the debts matched (an $80,000 mortgage on each side, building worth $220,000), boot is $0, recognized gain $0, and the new basis stays at $100,000. If the new building carried only $30,000 of debt (worth $170,000), Hector would be relieved of a net $50,000 — boot of $50,000, all of it recognized.
The clocks
Report the exchange on Form 8824. In a deferred exchange, identify replacement property in writing within 45 days of transferring the old property, and receive it by the earlier of 180 days or the due date (with extensions) of the return for that year. Hector transferred on Nov 15, 2025: 45 days is December 30, 2025; 180 days is May 14, 2026, but the return due date (April 15, 2026, unless extended) is earlier — so he must close by then or file an extension.
Practice questions
Answer all of them on paper first. Then tap Show answer & why: the rule, how to decide, why each choice is right or wrong, the numbers, and the IRS source. Want more? The practice set (20 questions) has more scenarios on this topic.
Q1. Dara sells a delivery truck used in her business for $70,000. She bought it for $60,000, has taken $45,000 of depreciation, and has held it for years. What is the character of her gain?
- $45,000 ordinary income and $10,000 §1231 gain
- All $55,000 §1231 gain
- $55,000 ordinary income
- $10,000 ordinary and $45,000 §1231 gain
Show answer & why
Answer: A — $45,000 ordinary income and $10,000 §1231 gain
The rule, in plain English
§1245 recapture: ordinary income = lesser of gain or depreciation taken; the rest of the gain is §1231.
How to decide
- Gain = price − adjusted basis.
- Ordinary = lesser of gain or depreciation.
- Remainder = §1231.
Why each choice is right or wrong
- A — Correct. Gain is $55,000. §1245 recapture is the lesser of the gain or the depreciation: $45,000 ordinary. The remaining $10,000 is §1231.
- B — Wrong. Ignores §1245 recapture of depreciation on personal property.
- C — Wrong. Recapture is capped at depreciation taken ($45,000). The excess over original cost can't be ordinary recapture.
- D — Wrong. Flips the two pieces.
IRS source
Pub 544 (2025), Section 1245 Property.
Re-read the walk-through Open the widget Missed it? Add to my notes
Q2. The same truck is sold for only $40,000. What is the gain and its character?
- $25,000 §1231 gain
- $45,000 ordinary income
- $25,000 gain, all ordinary income
- $40,000 gain, all ordinary income
Show answer & why
Answer: C — $25,000 gain, all ordinary income
The rule, in plain English
When the gain is smaller than the depreciation taken, all of the gain is §1245 ordinary income.
How to decide
- Gain = price − adjusted basis.
- Gain < depreciation → all ordinary.
Why each choice is right or wrong
- A — Wrong. §1245 recapture takes priority up to depreciation taken.
- B — Wrong. Recapture can't exceed the gain.
- C — Correct. Gain is $40,000 − $15,000 = $25,000, less than the $45,000 depreciation, so the whole gain is recaptured as ordinary.
- D — Wrong. That's the amount realized, not the gain. Subtract the $15,000 adjusted basis first.
IRS source
Pub 544 (2025).
Re-read the walk-through Open the widget Missed it? Add to my notes
Q3. Dara sells her depot building (ignore land) for $450,000. Adjusted basis is $300,000 after $100,000 of straight-line depreciation. How is the $150,000 gain treated?
- All $150,000 is taxed as ordinary income
- $100,000 is unrecaptured §1250 gain (max 25% rate); $50,000 is §1231 gain taxed at long-term capital gain rates
- All $150,000 is taxed at 0/15/20% long-term capital gain rates
- $100,000 is ordinary income and $50,000 is §1231 gain
Show answer & why
Answer: B — $100,000 is unrecaptured §1250 gain (max 25% rate); $50,000 is §1231 gain taxed at long-term capital gain rates
The rule, in plain English
Straight-line real property: no ordinary recapture for individuals, but gain up to the depreciation taken is unrecaptured §1250 gain (max 25%).
How to decide
- Gain = price − adjusted basis.
- Unrecaptured §1250 = lesser of gain or depreciation.
- Rest = §1231 gain at capital gain rates.
Why each choice is right or wrong
- A — Wrong. Ordinary §1250 recapture applies only to depreciation above straight-line, which MACRS real property doesn't have.
- B — Correct. No ordinary recapture for straight-line real property, but the depreciation portion is taxed at up to 25%.
- C — Wrong. The depreciation piece is subject to the special maximum 25% rate.
- D — Wrong. That's the §1245 pattern, which is for personal property.
IRS source
Pub 544 (2025), unrecaptured section 1250 gain.
Re-read the walk-through Open the widget Missed it? Add to my notes
Q4. Hector trades a rental warehouse (adjusted basis $100,000, value $220,000, $80,000 mortgage) for a building worth $250,000 with a $150,000 mortgage, and receives $40,000 cash. What gain does he recognize, and what is his basis in the new building?
- $120,000 recognized; basis $100,000
- $0 recognized; basis $170,000
- $40,000 recognized; basis $100,000
- $40,000 recognized; basis $170,000
Show answer & why
Answer: D — $40,000 recognized; basis $170,000
The rule, in plain English
Like-kind exchange: recognized gain = lesser of realized gain or net boot; basis = FMV of new property − deferred gain.
How to decide
- Realized gain = value received − basis.
- Net liabilities: relief offset by debt assumed; cash received is boot.
- Recognized = lesser; basis = new FMV − deferred gain.
Why each choice is right or wrong
- A — Wrong. Treats the whole realized gain as taxable; like-kind exchange defers all but the boot.
- B — Wrong. Ignores boot. Cash received is taxed up to the realized gain.
- C — Wrong. Forgets the additional mortgage he takes on and the gain recognized, which adjust basis.
- D — Correct. Realized gain is $120,000; boot is the $40,000 cash (debt nets to no relief). Recognized = lesser = $40,000; deferred $80,000. Basis = $250,000 − $80,000 deferred = $170,000.
IRS source
Pub 544 (2025), Like-Kind Exchanges; Form 8824 instructions.
Re-read the walk-through Open the widget Missed it? Add to my notes
Q5. Hector transfers his old warehouse on November 15, 2025 in a delayed exchange and he files his 2025 return on time without an extension (due April 15, 2026). By what dates must he identify and receive the replacement property?
- Identify by Dec 30, 2025; receive by May 14, 2026
- Identify by Dec 30, 2025; receive by April 15, 2026
- Identify by Jan 14, 2026; receive by May 14, 2026
- Both by Dec 31, 2025
Show answer & why
Answer: B — Identify by Dec 30, 2025; receive by April 15, 2026
The rule, in plain English
Delayed exchange: identify within 45 days; receive by the earlier of 180 days or the return due date (with extensions).
How to decide
- Transfer date + 45 days = identification deadline.
- Earlier of transfer + 180 days or the tax-return due date (including extensions).
Why each choice is right or wrong
- A — Wrong. Uses 180 days and ignores the earlier due-date limit (unless he extends the return).
- B — Correct. 45 days to identify. He must receive it by the earlier of 180 days (May 14, 2026) or the return due date with extensions (April 15, 2026).
- C — Wrong. 45 days from Nov 15 is Dec 30, not Jan 14 (that would be 60 days).
- D — Wrong. Nothing forces both to year end; the clocks are 45 days and 180 days/due date.
IRS source
Pub 544 (2025), deferred exchange time limits.
Re-read the walk-through Open the widget Missed it? Add to my notes
Study material, not tax advice or an IRS publication. Numbers follow tax year 2025 (the Nov 2026 SEE tests 2025 law per the Candidate Information Bulletin).