IRC 1231: Section 1231 Property, Netting Rule, and Five-Year Lookback

Section 1231 property definition, the netting rule's favorable asymmetry, the five-year lookback, recapture interaction with IRC 1245 and 1250, Form 4797 mechanics, and the OBBBA bonus-depreciation trap

Last reviewed: July 2026 | Americas Tax Practitioner Guide

IRC 1231 Quick Reference

What it is: A special gain-and-loss framework for trade-or-business property held more than one year. Provides more favorable treatment than the capital asset rules: net gains are taxed as long-term capital gain; net losses are deducted as ordinary losses.

The netting rule (IRC 1231(a)): All Section 1231 gains and losses for the year are netted. Net gain = long-term capital gain. Net loss = ordinary loss (no $3,000 annual cap).

The lookback rule (IRC 1231(c)): Current-year net Section 1231 gains are ordinary income to the extent of unrecaptured net Section 1231 ordinary losses from the prior five years. Track this worksheet for every client who has taken net Section 1231 losses.

Recapture comes first: IRC 1245 (personal property) and IRC 1250 (real property) recapture amounts are carved out of Section 1231 gains and taxed as ordinary income before the netting rule applies.

Form 4797: Part I (Section 1231 netting), Part II (ordinary gains/losses), Part III (recapture calculation). Routing errors between the Parts are the most common mechanical mistake on this form.

1. Overview: Why Section 1231 Matters

IRC 1231 creates a bifurcated treatment for gains and losses on the sale or other disposition of trade-or-business property. The provision intentionally gives business property owners more favorable tax treatment than they would receive under the ordinary capital asset rules: if a taxpayer's Section 1231 transactions for the year produce a net gain, that gain is treated as long-term capital gain and taxed at preferential rates. If they produce a net loss, that loss is treated as an ordinary loss, deductible in full without the $3,000 annual capital loss limitation that applies to capital asset losses under IRC 1211.

The provision's favorable asymmetry is frequently described as "the best of both worlds" -- capital gain rates on net gains, ordinary deductibility on net losses. This characterization is accurate in the absence of the lookback rule and the recapture regime. In practice, however, two critical limitations narrow the benefit significantly: (1) the IRC 1231(c) five-year lookback rule recharacterizes net Section 1231 gains as ordinary income to the extent of prior unrecaptured ordinary Section 1231 losses; and (2) the IRC 1245 and IRC 1250 depreciation recapture provisions pull accumulated depreciation out of the Section 1231 pool before netting, converting those amounts to ordinary income regardless of the netting result.

Treas. Reg. 1.1231-1 provides the interpretive framework for applying the netting rule and determining what constitutes Section 1231 property. Form 4797 (Sales of Business Property) is the mechanical vehicle for computing Section 1231 gains, losses, and recapture, and its three-part structure mirrors the analytical sequence: Part III computes recapture first, Part I performs the Section 1231 netting, and Part II captures ordinary gains and losses that do not enter the netting calculation.

2. What Is Section 1231 Property: IRC 1231(b) Definition

IRC 1231(b) defines Section 1231 property as any of the following held for more than one year:

  • Depreciable property used in a trade or business (as described in IRC 167 and 168);
  • Real property used in a trade or business; and
  • Certain other categories including timber, coal, domestic iron ore, livestock, and unharvested crops (each subject to specific holding period and other requirements under IRC 1231(b)(2)-(4)).

Depreciable property. This category is broad and includes business machinery, equipment, furniture, fixtures, vehicles used in the business, leasehold improvements, and intangible property subject to amortization under IRC 197 (such as goodwill, customer lists, covenants not to compete, and trade names acquired in a business acquisition). The property must be used in a trade or business -- property held for investment is a capital asset under IRC 1221, not Section 1231 property, even if it is depreciable in principle.

Real property. Land and buildings used in a trade or business qualify as Section 1231 property. Residential rental real estate held for rental income qualifies if actively used in the rental trade or business (most rental properties qualify if held at arm's length). Real property held primarily for sale to customers (such as a developer's inventory of lots or a homebuilder's housing units) is specifically excluded by IRC 1231(b)(1)(B) and constitutes ordinary property regardless of holding period.

Holding period. The one-year holding period is measured from the date the property was placed in service or acquired. Property disposed of within one year of acquisition does not qualify as Section 1231 property; short-term gains and losses on business property are ordinary under the general rules. Tacked holding periods from like-kind exchanges, involuntary conversions, and certain nonrecognition transactions carry over and must be considered when evaluating whether the one-year threshold is met.

Exclusions. The following are expressly excluded from Section 1231 property and do not benefit from the netting rule, regardless of holding period: inventory; stock in trade; property held primarily for sale to customers; accounts receivable arising from the ordinary course of business; and copyrights, literary, musical, or artistic compositions in the hands of their creator (which remain ordinary property).

3. The Netting Rule: IRC 1231(a)

The netting rule is the core mechanic of Section 1231. Under IRC 1231(a), the taxpayer aggregates all Section 1231 gains and Section 1231 losses for the year into a single pool. The result determines the overall character of the year's Section 1231 activity:

  • If Section 1231 gains exceed Section 1231 losses: the net gain is treated as long-term capital gain and taxed at preferential long-term capital gain rates (0%, 15%, or 20% depending on the taxpayer's bracket, plus the 3.8% net investment income tax where applicable).
  • If Section 1231 losses exceed Section 1231 gains: the net loss is treated as an ordinary loss, deductible in full against ordinary income without any limitation and without netting against capital gains.

The pool is pre-recapture. Only amounts that survive the IRC 1245 and IRC 1250 recapture analysis enter the Section 1231 pool. The netting rule applies to Section 1231 gains and losses after recapture has been removed. A property that has been substantially or fully depreciated may produce little or no Section 1231 gain -- because the entire appreciation has been consumed by recapture that is reclassified as ordinary income -- even if the sale price greatly exceeds the original cost.

Year-end determination. The character determination is made at the end of the tax year, not at the time of each individual sale. A taxpayer who sells two properties during the year -- one at a Section 1231 gain and one at a Section 1231 loss -- does not know the character of either transaction until year end. Both amounts go into the pool; the net determines the character. This means early-year estimates of gain character may change as additional Section 1231 transactions occur during the year.

Section 1231 is often called the "best of both worlds" because net gains are taxed at capital gain rates and net losses are fully deductible as ordinary losses. Two rules limit this in practice: the IRC 1231(c) five-year lookback rule (Section 5 of this guide) can convert current-year capital gains to ordinary income based on prior-year loss history, and the IRC 1245/1250 recapture rules (Section 4) remove accumulated depreciation from the Section 1231 pool before netting. Before advising any client on the expected character of a Section 1231 disposition, always complete the recapture computation and the lookback worksheet first.

4. Recapture Interaction: IRC 1245 and IRC 1250

Before any amount enters the Section 1231 netting pool, the depreciation recapture provisions of IRC 1245 (personal property) and IRC 1250 (real property) require that accumulated depreciation be "recaptured" as ordinary income. Recapture is not part of the Section 1231 gain; it is carved out of the total gain on the disposition before the remaining gain (if any) is treated as Section 1231 gain available for netting.

IRC 1245 recapture. When depreciable personal property (equipment, machinery, vehicles, IRC 197 intangibles) is sold or exchanged at a gain, IRC 1245 recaptures all prior depreciation and amortization deductions taken on the property as ordinary income. The amount subject to recapture is the lesser of: (a) the total gain realized on the sale; or (b) all depreciation or amortization previously deducted. In most sales of fully depreciated personal property, the entire gain up to the amount of prior deductions is ordinary recapture; any gain above the adjusted basis that exceeds total prior deductions enters the Section 1231 pool as potential capital gain.

IRC 1250 recapture on real property. For real property, the recapture rules are more favorable. For residential and nonresidential rental property held more than one year and depreciated using straight-line depreciation (as required since 1986), IRC 1250 recapture is generally zero (because the additional depreciation above straight-line is zero for post-1986 property). However, the unrecaptured Section 1250 gain -- the portion of the total gain attributable to straight-line depreciation taken -- is taxed at a maximum rate of 25% (IRC 1(h)(1)(D)), not at the standard 0%/15%/20% long-term capital gain rates. Only the gain above the total prior straight-line depreciation qualifies for the standard long-term capital gain rate.

5. The Five-Year Lookback Rule: IRC 1231(c)

IRC 1231(c) imposes an important limitation on the capital gain benefit of the netting rule: if a taxpayer recognized net Section 1231 ordinary losses in any of the five prior tax years, the current year's net Section 1231 gains must first be recognized as ordinary income to the extent of those prior unrecaptured losses. Only after the prior-year ordinary losses are fully recaptured does the remaining current-year gain receive capital gain treatment.

Rationale. The lookback rule enforces symmetry: because prior Section 1231 losses were deducted at ordinary rates (providing a benefit relative to capital loss treatment), a corresponding amount of current Section 1231 gains must be taxed at ordinary rates before the capital gain preference becomes available again. Without the lookback rule, a taxpayer who takes ordinary loss deductions in one year and capital gains in a later year would receive an asymmetric double benefit.

Mechanics of the lookback computation. The practitioner maintains a running tally of net Section 1231 ordinary losses recognized in each of the five prior tax years. Each year, the amount of any prior ordinary loss is reduced dollar-for-dollar by net Section 1231 gains recognized in subsequent years (which are treated as ordinary income for the lookback recapture). The earliest unrecaptured losses are recaptured first. Once the balance of prior unrecaptured ordinary losses is exhausted, remaining current-year Section 1231 gains receive capital gain treatment.

Example: A taxpayer had a net Section 1231 ordinary loss of $80,000 in Year 1. In Year 3, the taxpayer has net Section 1231 gains of $100,000. Under IRC 1231(c), the first $80,000 of Year 3 gain is ordinary income (recapturing the Year 1 loss); only the remaining $20,000 is capital gain. The $80,000 Year 1 balance is now fully recaptured and does not carry forward to Year 4.

6. Involuntary Conversions: IRC 1231(a)(3) and IRC 1033 Interaction

Gains and losses from involuntary conversions of Section 1231 property are treated differently from voluntary sale gains and losses, with a two-step process that can affect whether they enter the netting pool.

Recognized gains on involuntary conversions. Under IRC 1231(a)(3)(A)(ii), recognized gains from involuntary conversions of Section 1231 property (such as insurance proceeds exceeding adjusted basis on casualty property, condemnation awards exceeding adjusted basis, and proceeds from theft) enter a preliminary pool: all recognized gains and losses from involuntary conversions of Section 1231 property are netted separately. If the involuntary conversion pool produces a net gain, that gain enters the main Section 1231 pool alongside the voluntary disposition gains and losses. If the involuntary conversion pool produces a net loss, that loss is excluded from the main Section 1231 pool and treated as an ordinary loss directly.

IRC 1033 deferral election. When a taxpayer elects to defer gain on an involuntary conversion under IRC 1033 by reinvesting proceeds in qualifying replacement property within the required period, the deferred gain does not enter the Section 1231 pool in the year of the conversion. Only the recognized portion (if any) participates in the Section 1231 analysis. The replacement property takes a carryover basis equal to the converted property's basis, adjusted by the deferred gain, which will generate Section 1231 gain on the replacement property's eventual disposition. Practitioners should coordinate the IRC 1033 election decision with the client's overall Section 1231 position for the year, since recognizing the gain in a year with Section 1231 losses could produce a more favorable outcome than deferring it.

See IRC 1033: Involuntary Conversion and Replacement Period for detailed guidance on the replacement property requirements and election mechanics.

7. Form 4797 Mechanics: Parts I, II, and III

Form 4797 (Sales of Business Property) is structured to execute the Section 1231 analysis in the correct sequence. Understanding the flow between the three parts is essential for accurate reporting.

Part III: Recapture calculation (complete first). Part III computes the gain subject to recapture under IRC 1245 (Section A) and IRC 1250 (Section B) for each property disposed of at a gain. The recaptured amount flows to Part II as ordinary income; any remaining gain (the Section 1231 gain) flows to Part I. Part III should be completed before Part I, because the Section 1231 gain that enters Part I depends on the recapture amount removed in Part III.

Part I: Section 1231 netting. Part I accumulates all long-term Section 1231 gains and losses for the year. Gains flowing from Part III (post-recapture Section 1231 gains), gains from voluntary sales of Section 1231 property, and Section 1231 gains from pass-through entities all flow into Part I. Net Part I gain flows to Schedule D as long-term capital gain. Net Part I loss flows directly to Form 1040 or the business return as an ordinary loss (not to Schedule D). The lookback rule computation under IRC 1231(c) is applied to the Part I net amount to determine how much, if any, of the net Section 1231 gain is recharacterized as ordinary income -- this computation is tracked outside Form 4797 on the taxpayer's own worksheet.

Part II: Ordinary gains and losses. Part II reports dispositions of property held one year or less (short-term Section 1231-type property not qualifying for the netting rule), the recapture amounts flowing from Part III, and certain other ordinary gain items. The Part II net flows directly to the tax return as ordinary income or loss and does not enter the Section 1231 netting calculation.

Form 4797 Part Routing Is the Most Common Mechanical Error

The most frequent Form 4797 error is reporting property dispositions in the wrong Part. Common mistakes:

Wrong Part for depreciated property: Reporting a depreciated business property sale entirely in Part I rather than first completing the Part III recapture calculation. This understates ordinary income and overstates Section 1231 gain.

Wrong Part for short-term property: Reporting a business property held less than one year in Part I (which applies only to property held more than one year) rather than Part II.

Missing the Section 1231 gain flow from Part III: After completing the Part III recapture computation, the post-recapture Section 1231 gain flows to Part I, line 6. Omitting this flow understates the Section 1231 gain in Part I.

Tax preparation software generally automates this flow, but when reviewing complex returns involving multiple Section 1231 property sales -- particularly where some properties have partial-year use, listed property limitations under IRC 280F, or cost segregation components -- manually tracing the Part III-to-Part I flow prevents errors that automated forms can miss due to input inconsistencies.

8. Installment Sales of Section 1231 Property

When Section 1231 property is sold on an installment basis, the allocation of gain between recapture income and Section 1231 gain follows a specific sequencing rule: the recapture income under IRC 1245 or IRC 1250 is recognized in full in the year of sale, regardless of how much of the installment proceeds are received in that year. Only the Section 1231 gain (post-recapture) is reportable under the installment method as payments are received in future years.

Reporting the recapture portion. In the year of sale, the practitioner computes the total recapture under Part III of Form 4797 and includes that amount in ordinary income, regardless of actual collections. The remaining Section 1231 gain is eligible for installment reporting. The gross profit ratio for installment purposes is computed using only the Section 1231 (post-recapture) gain as the numerator, divided by the selling price reduced by the selling expenses (but not reduced by recapture income).

Character of installment payments. Each installment payment received in years after the sale is allocated using the gross profit ratio. The character of the Section 1231 gain collected in installment payments depends on the Section 1231 netting result for the year of collection, not the year of sale. If the taxpayer has offsetting Section 1231 losses in a later collection year, those losses can reduce the Section 1231 gain collected in that year, potentially changing its character.

See IRC 453: Installment Sale and Form 6252 Gross Profit Ratio for complete installment sale mechanics and the gross profit ratio calculation.

9. S Corporations, Partnerships, and the IRC 751 Interaction

S corporations and partnerships conduct the Section 1231 analysis at the entity level. Section 1231 gains and losses are separately stated items that flow through to shareholders and partners and are combined with those owners' other Section 1231 activity in the owner's individual Section 1231 netting calculation. The lookback rule under IRC 1231(c) applies at the owner level, not the entity level, so each partner or shareholder must maintain their own five-year lookback worksheet that includes their allocable share of prior entity-level Section 1231 ordinary losses.

Partnership basis adjustments and Section 1231 character. A partner's adjusted basis in a partnership interest reflects their share of the partnership's adjusted basis in its assets (through the IRC 705 outside basis rules). When Section 1231 property held by the partnership is sold, the partnership computes the Section 1231 gain or loss based on the partnership's inside basis, and the result flows to partners according to their profit and loss allocations. Partners with inside basis that differs from outside basis (due to IRC 743(b) adjustments under the Section 754 election) may receive a different allocation than the general share of partnership gain.

Partnership Interest Sales: IRC 751 Overrides Section 1231 Character

When a partner sells their partnership interest, the sale is generally treated as a capital asset transaction. However, IRC 751 (the "hot asset" rule) requires the selling partner to recognize ordinary income to the extent the sale price is attributable to the partnership's "unrealized receivables" and "inventory items."

"Unrealized receivables" under IRC 751(c) include potential IRC 1245 and IRC 1250 recapture amounts embedded in the partnership's depreciable property. Even though the underlying property is Section 1231 property, the recapture potential is an unrealized receivable that generates ordinary income to the selling partner on sale of the interest -- not Section 1231 gain.

Specifically: if a partnership holds equipment with substantial embedded IRC 1245 recapture, a partner who sells their interest must compute the IRC 751 amount attributable to that recapture and report it as ordinary income. The remaining gain on the interest sale may be capital gain (not Section 1231 gain), because an interest in a partnership is a capital asset under IRC 1221, not Section 1231 property. The Section 1231 treatment applies to the partnership's direct sale of the equipment -- it does not carry through to a partner's sale of a partnership interest in the same way. This distinction is critical for partnership exit planning.

10. OBBBA Bonus Depreciation and the Section 1231 Recapture Trap

The One Big Beautiful Bill Act (OBBBA) extended the IRC 168(k) 100% bonus depreciation (first-year expensing) provisions for qualified property placed in service after a specified date. The extension means that clients who acquired business equipment, machinery, vehicles, and certain qualified improvement property in recent years -- and who elected 100% bonus depreciation on those assets -- have fully expensed those assets and carry a zero or near-zero adjusted basis.

Full recapture on sale of fully expensed property. When a client sells property that was fully expensed through bonus depreciation, the entire amount of prior deductions is subject to IRC 1245 recapture as ordinary income when the property is sold at a gain. For an asset that cost $200,000 and was immediately expensed under IRC 168(k), the adjusted basis is $0. If the asset is sold for $120,000 (below original cost), the entire $120,000 gain is IRC 1245 recapture -- ordinary income. There is no Section 1231 gain. If the asset is sold for $250,000 (above original cost), the recapture is $200,000 (limited to prior deductions) and the Section 1231 gain is $50,000 (gain above original cost).

Planning interaction with cost segregation. OBBBA's cost segregation provisions, which allow accelerated depreciation on qualifying components of real property, increase the IRC 1245 recapture exposure on commercial real property. When a building with a significant cost segregation allocation is sold, the components previously allocated to personal property classifications (5-year, 7-year, or 15-year property) and fully depreciated -- including through bonus depreciation -- generate IRC 1245 recapture. The unallocated building component generates unrecaptured Section 1250 gain at the 25% rate. Practitioners advising clients on commercial real estate dispositions must coordinate the cost segregation schedule with the Form 4797 recapture computation.

Qualified Opportunity Zone interaction. OBBBA's extensions of the Qualified Opportunity Zone (QOZ) investment provisions (IRC 1400Z-2) are frequently used to defer Section 1231 gains. However, only the post-recapture Section 1231 gain is eligible for QOZ deferral; the IRC 1245 recapture portion is ordinary income that does not qualify for QOZ investment deferral treatment. A client who expects to use a QOZ investment to defer what they believe is a large Section 1231 gain may find that the recapture computation reduces the eligible deferral amount substantially.

11. Planning Considerations and Practitioner Workflow

Pre-sale analysis sequence. Before advising any client on the tax consequences of a Section 1231 property disposition, complete the following analysis in order: (1) pull the prior five years' Form 4797s and compute the lookback balance under IRC 1231(c); (2) compute the depreciation recapture under IRC 1245 or 1250 to isolate the true Section 1231 gain; (3) assess the current year's Section 1231 pool -- other gains or losses from other property dispositions during the same year that will affect the netting result; (4) apply the lookback balance to the net Section 1231 gain to determine how much is ordinary vs. capital; (5) apply capital gain rate analysis (standard LTCG rate, unrecaptured Section 1250 gain at 25%, NII tax) to the remaining capital gain portion.

Timing strategies. The lookback rule creates timing planning opportunities. If a client has a large lookback balance from prior years, accelerating a Section 1231 disposition to a year where other Section 1231 losses offset current gains may reduce the ordinary recapture. Deferring the disposition to the first year after the lookback window closes (more than five years after the loss year) eliminates the recapture obligation on the gain attributable to the expired loss year. Section 1231 loss years should be planned carefully -- a year that produces a large net Section 1231 ordinary loss creates a multi-year drag on capital gain treatment for future dispositions.

Like-kind exchange deferral. A Section 1231 gain deferred through a like-kind exchange under IRC 1031 carries over the recapture potential to the replacement property: the boot received in a partially tax-free exchange triggers recapture first. Deferring the Section 1231 gain via IRC 1031 does not eliminate the future recapture exposure; it carries forward the depreciation recapture into the replacement property's basis computation. See IRC 1031: Like-Kind Exchange and Qualified Intermediary for the exchange mechanics and basis carryover rules.

Section 1231 in business sales. The allocation of purchase price in a business asset sale between Section 1231 assets (equipment, real estate, goodwill) and ordinary property (inventory, receivables, covenants not to compete to the extent treated as ordinary) directly affects whether the gain is Section 1231 gain or ordinary income. A seller generally prefers to allocate purchase price to Section 1231 assets (for potential capital gain treatment); a buyer generally prefers to allocate to short-lived or currently deductible property (for faster amortization). Form 8594 (Asset Acquisition Statement) must be filed by both parties and must reflect a consistent allocation.

For the capital asset classification rules that work alongside Section 1231, see IRC 1221, 1222, 1223: Capital Asset Classification and Holding Period. For depreciation recapture mechanics under IRC 1245 and 1250, see IRC 1245 and 1250: Depreciation Recapture and Form 4797.

12. Claims and Limitations Notice

Practitioner Claims and Regulatory Notice

The table below identifies each material claim in this guide and its supporting authority. Americas Tax is an accounting and tax representation firm; this guide does not constitute legal advice and does not create an attorney-client relationship. Outcomes depend on individual facts and circumstances.

Claim Authority
Section 1231 property definition: depreciable or real property used in trade or business, held more than one year IRC 1231(b)
Net Section 1231 gain treated as long-term capital gain IRC 1231(a)(1)
Net Section 1231 loss treated as ordinary loss, not subject to capital loss limitation IRC 1231(a)(2); IRC 1211
Five-year lookback: prior net Section 1231 ordinary losses recaptured against current gains IRC 1231(c)
IRC 1245 recapture: all accumulated depreciation on personal property = ordinary income IRC 1245(a)(1)
Unrecaptured Section 1250 gain taxed at maximum 25% rate IRC 1(h)(1)(D)
Form 4797 Part III computes recapture before Part I Section 1231 netting Form 4797 Instructions; Treas. Reg. 1.1231-1
IRC 1245 recapture recognized in full in year of installment sale; only post-recapture Section 1231 gain eligible for installment reporting IRC 453(i); Treas. Reg. 15a.453-1(c)
IRC 751 hot assets: Section 1245/1250 recapture potential in partnership is unrealized receivable generating ordinary income on partner interest sale IRC 751(c)
100% bonus depreciation under IRC 168(k) reduces basis to zero; full gain (up to original cost) is IRC 1245 recapture on later sale IRC 168(k); IRC 1245(a)(1); OBBBA Sec. 112