Back to search
taxTax & Revenue

Section 1231 Property — How Business Asset Sales Get Long-Term Capital Gain Treatment

10 min read·Updated Apr 21, 2026

Section 1231 Property — How Business Asset Sales Get Long-Term Capital Gain Treatment

When you sell real estate, equipment, vehicles, or other depreciable assets used in your business for more than one year, you're not selling a capital asset in the traditional sense — but you may still get long-term capital gain rates on your profit. Section 1231 of the tax code creates what accountants call the "best of both worlds" rule: if your gains from the sale of business property exceed your losses, the net gain is taxed as long-term capital gain (maximum 20%). But if your losses exceed your gains, the net loss is fully deductible as an ordinary loss with no capital loss limitations. This asymmetry — capital gain treatment when you win, ordinary loss treatment when you lose — is one of the most favorable provisions in the tax code for businesses that own appreciating real estate or equipment. But it's not without a catch: a five-year "look-back" rule recaptures ordinary loss deductions from prior years, converting otherwise favorable § 1231 gains back into ordinary income until prior ordinary § 1231 losses have been absorbed.

Current Law (2026)

ParameterValue
Core statute26 U.S.C. § 1231
Tax treatment if net § 1231 gains > lossesNet gains treated as long-term capital gain (max rate 20% + 3.8% NIIT for high earners)
Tax treatment if net § 1231 losses > gainsNet losses treated as ordinary losses — fully deductible against ordinary income
Holding period requiredProperty must be held more than 1 year
Qualifying property typesDepreciable property used in a trade or business; real property used in a trade or business; timber, coal, domestic iron ore (special rules); livestock held for draft, breeding, dairy, or sporting (held 12-24 months+)
What does NOT qualifyProperty held for sale to customers (inventory); intellectual property created by the taxpayer; copyrights; certain artistic works
Involuntary conversionsInsurance proceeds, condemnation awards, and casualty gains on business property held over a year are pooled with § 1231 sales
Look-back ruleNet § 1231 gains are recharacterized as ordinary income to the extent of unrecaptured net § 1231 losses from the preceding 5 years
Depreciation recapture interaction§ 1245 (personal property) and § 1250 (real property) recapture gains are carved out of § 1231 before the hotchpot calculation
  • 26 U.S.C. § 1231(a)(1) — If § 1231 gains exceed § 1231 losses, the net gain is treated as long-term capital gain
  • 26 U.S.C. § 1231(a)(2) — If § 1231 losses exceed § 1231 gains, the net loss is treated as an ordinary loss (not subject to the $3,000 capital loss limitation)
  • 26 U.S.C. § 1231(a)(3) — Definition: § 1231 gains include recognized gains on the sale of property used in the trade or business and gains from involuntary conversions of business property or qualifying capital assets
  • 26 U.S.C. § 1231(b) — "Property used in the trade or business" means depreciable property used in a trade or business held over 1 year, and real property used in a trade or business held over 1 year (excluding inventory, property held primarily for sale to customers, and copyrights/artistic property)
  • 26 U.S.C. § 1231(c) — The look-back rule: § 1231 gains are treated as ordinary income to the extent of net § 1231 losses from the 5 preceding taxable years that were deducted as ordinary losses

The Hotchpot Calculation

"Hotchpot" is the informal name for the § 1231 netting process. At year end, you collect all your § 1231 transactions into the pot and net them against each other:

What goes in the pot:

  • Gains and losses from selling depreciable business property held over a year (equipment, vehicles, machinery, fixtures)
  • Gains and losses from selling business real property held over a year (commercial buildings, rental real estate used in business, land)
  • Insurance proceeds from casualty losses to business property
  • Condemnation awards for business property taken by eminent domain

What comes out before the pot (these are computed separately):

  • Section 1245 recapture: gains from selling depreciable personal property (equipment, vehicles) are ordinary income to the extent of prior depreciation taken — this amount never enters the § 1231 pot
  • Section 1250 recapture: gains from selling real property are ordinary income to the extent of accelerated depreciation taken over straight-line — for residential rental property held long-term, this is typically 25% "unrecaptured § 1250 gain" rather than full ordinary income

After recapture is carved out, the remaining § 1231 gain is what actually enters the hotchpot.

The net result:

  • If gains > losses: net amount = long-term capital gain
  • If losses > gains: net amount = ordinary loss, fully deductible

The Look-Back Rule: Five Years of Memory

The look-back rule prevents you from claiming ordinary losses in down years and then claiming capital gains when business assets recover. If you had net § 1231 losses in any of the five preceding tax years, your current-year § 1231 gains are treated as ordinary income — not capital gain — to the extent of those prior losses.

Example: In 2022, you sold business equipment at a $50,000 loss (net § 1231 loss = $50,000, ordinary deduction taken). In 2026, you sell business real estate at a $80,000 § 1231 gain. The first $50,000 of that gain is recharacterized as ordinary income (recapturing the 2022 ordinary loss). Only the remaining $30,000 gets long-term capital gain treatment.

Track your cumulative § 1231 losses from the prior 5 years. Form 4797 (Sales of Business Property) includes a worksheet to track and apply the look-back recapture.

How It Affects You

If you're selling business real estate at a gain: The gain breaks into two layers. First, any straight-line depreciation you've claimed on the building over your holding period is "unrecaptured § 1250 gain" — taxed at a maximum rate of 25%, not at 0%/15%/20% long-term capital gain rates. Then the remaining gain (above all depreciation) enters the § 1231 hotchpot and, if the hotchpot is net positive, gets the full long-term capital gain treatment. Example: You sell a commercial building for $800,000 with an adjusted basis of $400,000 (original cost $600,000, accumulated depreciation $200,000). Your $400,000 total gain breaks down as $200,000 unrecaptured § 1250 gain at 25% ($50,000 tax at the cap) and $200,000 of § 1231 gain at 20% LTCG rates ($40,000 tax). That's a blended $90,000 — dramatically better than the $148,000 you'd pay at 37% if the whole gain were ordinary income. To get the split right, you'll need your depreciation schedule (Form 4562 records or your CPA's asset register) and your original closing statement.

If you're disposing of fully-depreciated equipment at a gain: Equipment with a zero adjusted basis (because you claimed full depreciation, § 179 expensing, or bonus depreciation) that sells for any positive amount generates a gain equal to the entire sale price — and 100% of that gain is § 1245 depreciation recapture at ordinary income rates before the § 1231 hotchpot even applies. A $30,000 truck fully expensed under § 179 that you sell for $8,000 produces $8,000 of ordinary income, not capital gain. However, if you trade in or scrap that equipment for less than its adjusted basis, the loss is a § 1231 ordinary loss — fully deductible against ordinary income, unlike a capital loss. Report all these transactions on Form 4797 (Sales of Business Property); Part II handles depreciable personal property and directly computes the § 1245 recapture.

If you receive an insurance payout, eminent domain condemnation award, or other involuntary conversion proceeds: These transactions enter the § 1231 hotchpot just like voluntary sales. A $500,000 condemnation award for a commercial property with a $200,000 adjusted basis generates a $300,000 gain — after carving out § 1250 recapture on prior depreciation, the net § 1231 gain gets capital gain treatment if the hotchpot is net positive for the year. The key planning tool here is § 1033 nonrecognition — if you reinvest the condemnation or insurance proceeds in replacement property within 2-3 years (timeline depends on the event), you can defer the § 1231 gain and § 1250 recapture entirely. You must notify the IRS by filing with your return for the year the gain is recognized; late elections are sometimes granted but the window matters.

If you've had net § 1231 losses in the past five years: The look-back rule converts current § 1231 gains into ordinary income dollar-for-dollar until prior ordinary § 1231 losses are "repaid." If you claimed a $60,000 net § 1231 loss in 2022 (getting the full ordinary deduction against your highest-rate income) and now in 2026 you're selling business property at an $80,000 § 1231 gain, the first $60,000 is ordinary income — taxed at up to 37% — and only the remaining $20,000 gets long-term capital gain rates. Check Form 4797, Part I, Line 8 from your 2021-2025 returns to see if you have look-back amounts outstanding. This calculation is easy to miss and creates real tax surprises for businesses that had COVID-era losses followed by appreciation-driven gains.

If you're selling a business through an asset sale: A business sale typically produces proceeds allocated across multiple asset classes — equipment (§ 1245 recapture, then § 1231 gain), real estate (§ 1250 recapture, then § 1231 gain), inventory (ordinary income), and goodwill/going concern value (capital gain under § 1221 — not § 1231). Form 8594 (Asset Acquisition Statement) allocates the purchase price among seven asset classes and must be filed by both buyer and seller for the same year. The allocation isn't just a tax form — it determines the character of the entire gain. A purchase price heavily allocated to equipment triggers immediate § 1245 recapture; allocation to goodwill produces capital gain. Buyers want high allocations to depreciable assets (fresh depreciation basis); sellers want low allocations there (avoiding recapture). These competing interests are why the purchase price allocation negotiation is a core term in any business asset sale, not just an afterthought.

State Variations

Most states conform to the federal § 1231 framework but apply their own capital gains rates. California taxes all capital gains at ordinary income rates (up to 13.3%), so the § 1231 advantage that saves a federal taxpayer 17-22% in tax (the spread between 37% ordinary and 15-20% capital gains) is worth nothing at the California state level. New York also taxes capital gains at ordinary rates for state purposes. In contrast, Colorado, Utah, and several other states tax capital gains at lower flat rates, so the § 1231 advantage remains meaningful for state taxes.

Pending Legislation

No changes to § 1231 are currently pending. Proposals to tax capital gains as ordinary income (advanced in 2021 by the Biden Administration) would have eliminated the § 1231 advantage entirely, but those proposals did not advance. The current framework is stable.

Recent Developments

The § 1231 look-back rule continues to generate tax planning opportunities for businesses that had poor years during 2020-2022 (COVID-related § 1231 losses) and are now selling assets at gains — those prior losses are soaking up current capital gain rates and converting them to ordinary income, creating unexpected tax bills. High real estate prices since 2020 have made large § 1231 gains on commercial property sales more common; proper planning around § 1250 recapture and the look-back rule is increasingly important for business owners selling real estate assets.

  • OBBBA capital gains rates and § 1231 planning (2025): The One Big Beautiful Bill Act preserved the existing capital gains rate structure for § 1231 gains — 0%, 15%, or 20% depending on income, plus 3.8% NIIT for higher earners. The OBBBA did not adopt proposals to tax § 1231 gains at ordinary income rates for high-income taxpayers. The permanence of the current rate structure (confirmed by OBBBA making the TCJA individual provisions permanent) means the capital gains preference for § 1231 gains is locked in for the foreseeable future, maintaining the planning value of structuring business asset dispositions to maximize § 1231 treatment.
  • Commercial real estate § 1250 recapture surge: The post-COVID commercial real estate downturn — office vacancies 20-30% in major markets, hotel distress, retail closures — has produced a wave of commercial property dispositions at prices below adjusted basis (losses) and at prices above original cost (gains on appreciated properties). When commercial real property is sold at a gain, § 1250 "unrecaptured depreciation" (prior depreciation deductions on the building) is taxed at a maximum 25% rate rather than the 20% LTCG rate. For a commercial property with $500,000 in prior straight-line depreciation, the § 1250 recapture on sale produces $125,000 in tax at the 25% rate — an often-overlooked element of commercial real estate exit planning.
  • 1031 exchange and § 1231 interaction: Like-kind exchanges under § 1031 defer § 1231 gains (and associated § 1250 recapture) by rolling the basis into replacement property. Taxpayers who 1031 exchange commercial real estate postpone but don't eliminate the § 1231 gain and § 1250 recapture — eventually, when the replacement property is sold without a further exchange, all deferred gains are recognized. The OBBBA preserved the 1031 exchange without new limitations, maintaining the primary tax deferral tool for commercial real estate investors. Delaware Statutory Trusts (DSTs) — which allow investors to exchange into fractional interests in institutional-grade properties — have become the dominant mechanism for completing 1031 exchanges when investors can't identify suitable direct replacement properties.
  • COVID look-back rule carryover — 2025 planning: The 5-year § 1231 look-back rule means that current § 1231 gains are converted to ordinary income to the extent of § 1231 losses recognized in the prior 5 years. For businesses that recognized large § 1231 losses in 2020-2022 (COVID-related property abandonments, sales at loss, casualty losses) and are now selling appreciated assets in 2025-2027, the look-back rule will convert a portion of the capital gains to ordinary income — potentially at rates up to 37% instead of 20%. Taxpayers with COVID-era § 1231 losses should model the look-back rule's impact before selling appreciated business assets in 2025-2027 to avoid unexpected ordinary income recognition.

At My Address

See how Section 1231 Property — How Business Asset Sales Get Long-Term Capital Gain Treatment plays out in your area

Pull up the federal-data report for any U.S. ZIP — federal spending, environmental risk, hospitals, schools, your reps, all on one page.

Enter your address