Article · US Federal Tax · 2026-11-22
Step-by-step Form 4797 walkthrough of IRC Section 1231 hotchpot netting, the Section 1231(a)(4)(C) casualty firepot, 5-year Section 1231(c) look-back, and IRS Notice 97-59 ordering.
IRC Section 1231 delivers the single most taxpayer-favorable character asymmetry in United States federal income taxation: net annual gains from depreciable business property and business real estate held strictly more than one year enjoy preferential long-term capital gain rates (20% LTCG under IRC Section 1(h)(1)(D) or 25% unrecaptured Section 1250 gain under IRC Section 1(h)(1)(E)), while net annual losses deduct dollar for dollar as ordinary losses against 37% ordinary income without the $3,000 individual capital loss ceiling of IRC Section 1211(b) or the corporate capital loss offset bar of IRC Section 1211(a).
Because that best-of-both-worlds asymmetry invites timing arbitrage, Congress built a strict four-stage waterfall around Form 4797 (Sales of Business Property): Stage 1 strips out ordinary depreciation recapture under IRC Sections 1245, 1250(a), and 291(a)(1); Stage 2 tests business casualties and thefts inside the preliminary firepot of IRC Section 1231(a)(4)(C); Stage 3 nets all surviving long-term business gains, losses, and condemnations inside the main Section 1231 hotchpot; and Stage 4 applies the five-year non-recaptured loss look-back rule of IRC Section 1231(c) together with the priority rate-ordering rule of IRS Notice 97-59.
Under IRC Section 1231(b)(1), property qualifies for the hotchpot only if it satisfies four cumulative elements: (1) used in an active trade or business (including rental real estate, unlike passive speculative land), (2) depreciable under IRC Section 167 (including acquired Section 197 intangibles via Section 197(f)(7)) or real property (including non-depreciable business land), (3) held strictly more than one year (at least one year and one day under Rev. Rul. 66-7), and (4) not excluded as dealer inventory, self-created copyrights, or post-TCJA self-created patents and trade secrets. Holding an asset for exactly 12 months disqualifies it from both Section 1231 and Section 1221, forcing 100% of the gain into ordinary income on Form 4797 Part II, Line 10.
For partnerships and S corporations like Vanguard Logistics & Cold Storage LLC (owned 60% by Elena Vance and 40% by Marcus Thorne), IRC Section 702(a)(3) requires entity-level computation of Section 1245 ordinary recapture on Form 4797 Part III, while passing net Section 1231 gain or loss (Schedule K-1 Box 10) and unrecaptured Section 1250 gain (Box 9c) through separately to each owner for individual-level hotchpot netting and five-year look-back testing.
Before voluntary sales enter Form 4797 Part I, all business casualties and thefts held more than one year are isolated inside a preliminary sub-hotchpot (the "firepot") on Form 4684 Section B. Condemnations and eminent domain seizures bypass the firepot and route directly to Form 4797 Part I. Remember also that IRC Section 1245 overrides the firepot: on an insured casualty of depreciated personal property, Section 1245 ordinary recapture strips out prior depreciation before any excess gain reaches Form 4684 (unless deferred under IRC Section 1033).
The firepot enforces a binary statutory gate: if casualty and theft losses strictly exceed casualty and theft gains (net firepot < $0), Section 1231(a)(4)(C) ejects every firepot item from Section 1231 into Form 4797 Part II, Line 14 as ordinary income and loss, protecting 37% ordinary loss deductibility. If gains equal or exceed losses (net firepot >= $0), all firepot items enter the main hotchpot on Form 4797 Part I, Line 3.
In Vanguard Logistics & Cold Storage LLC's 2026 restructuring, an insured annex fire on straight-line real property (Asset F2: $1,060,000 proceeds minus $800,000 basis = +$260,000 gain, carrying $200,000 of unrecaptured Section 1250 depreciation) nets against an uninsured storm loss on a retaining wall (Asset F1: -$140,000). The net firepot is +$120,000 (>= $0), routing both items into the main hotchpot.
Now test the alternative scenario where the storm loss is -$310,000 instead of -$140,000. The net firepot flips to -$50,000 (< $0), ejecting both Asset F1 and Asset F2 from Section 1231. Compared to a counterfactual where both items entered the main hotchpot, the statutory firepot gate delivers a complete tax advantage of $18,500, driven by two distinct mechanisms: (a) $8,500 of rate arbitrage on the -$50,000 net loss ($18,500 ordinary shield at 37% vs. $10,000 at 20%), plus (b) $10,000 from ejecting Asset F2's $200,000 unrecaptured Section 1250 tag out of Schedule D (saving the 5-percentage-point spread between 25% and 20%).
After Form 4797 Part III strips out $2,350,000 of Section 1245 ordinary recapture across Assets 1, 2, and 3, Vanguard Logistics & Cold Storage LLC's main Section 1231 hotchpot aggregates $6,060,000 of qualifying gains and -$420,000 of losses (Asset 5 yard land -$280,000 plus Asset F1 -$140,000) for a net Section 1231 gain before look-back of $5,640,000 on Form 4797, Line 7.
Under IRC Section 1231(c), however, current-year net Section 1231 gain converts to ordinary income up to the taxpayer's five-year rolling FIFO balance of non-recaptured net Section 1231 losses (covering 2021 through 2025 for a 2026 return). Vanguard Logistics & Cold Storage LLC enters 2026 carrying $660,000 of non-recaptured losses: $70,000 remaining from 2021 (after $110,000 of 2023 gain consumed part of 2021's $180,000 loss), plus $250,000 from 2022 and $340,000 from 2024. Form 4797 Line 8 routes $660,000 to Part II Line 12 as 37% ordinary income ($244,200 tax), leaving $4,980,000 on Line 9 for Schedule D.
Here IRS Notice 97-59 delivers a crucial taxpayer-favorable rule: Section 1231(c) ordinary recapture absorbs the highest-taxed capital gain bucket first (25% unrecaptured Section 1250 gain before 20% LTCG). Subtracting $660,000 from $2,400,000 of gross unrecaptured Section 1250 gain cuts the 25% bucket on Schedule D Line 19 to $1,740,000 and preserves $3,240,000 at 20%, reducing the look-back penalty from $112,200 to $79,200 and saving $33,000 automatically.
| Income Character Bucket | Form 4797 / Schedule D Routing | Taxable Amount | Active Rate | Federal Tax |
|---|---|---|---|---|
| Sec. 1245 Ordinary Recapture | Form 4797 Part III → Part II Line 13 | $2,350,000 | 37% | $869,500 |
| Sec. 1231(c) 5-Year Look-Back | Form 4797 Line 8 → Part II Line 12 | $660,000 | 37% | $244,200 |
| Net Unrecaptured Sec. 1250 Gain | Schedule D Line 19 (Notice 97-59) | $1,740,000 | 25% | $435,000 |
| Pure Long-Term Capital Gain | Schedule D Tax Worksheet (Line 15 - Line 19) | $3,240,000 | 20% | $648,000 |
| Total Active Portfolio | Combined Elena Vance (60%) + Marcus Thorne (40%) | $7,990,000 | 27.49% | $2,196,700 |
| Passive NIIT Benchmark (+3.80%) | Form 8960 (if non-active under Sec. 1411) | $7,990,000 | +3.80% | $2,500,320 |
Test every scenario in this article with 262 live formulas across six unlocked tabs, pre-loaded with Vanguard Logistics & Cold Storage LLC.
Download Section_1231_1245_1250_Form_4797_Calculator.xlsx → Explore the full handbook →