Section 1231 sits at an unusual intersection in the tax code. It applies to property used in a trade or business - real estate, equipment, vehicles, and similar assets - held for more than one year. The appeal is structural: if your 1231 gains exceed your 1231 losses for the year, the net gain is treated as long-term capital gain. If your 1231 losses exceed your gains, the net loss is ordinary. That asymmetry is intentional and valuable, but it comes with mechanics that can produce unexpected results if you are not paying attention.
What Qualifies as Section 1231 Property
Under IRC Section 1231(b), qualifying property generally includes:
- Real property used in a trade or business and held more than one year
- Depreciable personal property used in a trade or business and held more than one year
- Timber, coal, and iron ore under certain elections
- Livestock held for draft, breeding, dairy, or sporting purposes
- Unharvested crops sold with the land
The most common examples in practice are commercial real estate, residential rental property, and business equipment - machinery, vehicles, computers - that has been in service long enough to clear the one-year holding period.
Inventory does not qualify. Neither does property held primarily for sale to customers. Those dispositions produce ordinary income regardless of how long the asset was held.
Land: Held for Investment vs. Used in a Trade or Business
Land is non-depreciable, which removes it from the Section 1245 and 1250 recapture analysis entirely. But its treatment on sale depends heavily on how the land was held and whether it was ever placed in service in a trade or business.
Land Held for Investment
Land held purely for investment - purchased with the expectation of appreciation, not actively used in a business - is a capital asset under Section 1221. A gain on sale is long-term capital gain if the holding period exceeds one year, and a loss is a capital loss subject to the $3,000 annual deduction cap for individuals. It does not enter the Section 1231 netting calculation at all. The distinction matters because a capital loss on investment land cannot offset ordinary income beyond that $3,000 limit, whereas a 1231 loss can.
Land Placed in Service in a Trade or Business
When land is used in a trade or business - as the ground beneath a rental building, a farm, or a commercial property - it qualifies as Section 1231 property under IRC Section 1231(b)(1). Even though land itself is not depreciable, its gain or loss on disposition enters the 1231 netting regime. A loss on the sale of business-use land is an ordinary loss. A gain, after netting, receives long-term capital gain treatment. This is a meaningful distinction for taxpayers who hold land as part of an operating rental or business property portfolio.
Land Never Placed in Service - The Idle Land Problem
Land that was acquired with the intent to use in a business but was never actually placed in service presents a classification question. The IRS and courts have generally required that property be actually used in a trade or business - not merely intended for future use - to qualify under Section 1231. Land sitting vacant while a taxpayer plans a future development is more likely treated as a capital asset than a 1231 asset, unless and until business use begins. For a gain on idle land held more than one year, however, this distinction does not change the federal tax result - both Section 1221 and Section 1231 produce long-term capital gain. The classification only matters for losses and for Section 1231(c) lookback exposure on future gains. The facts and circumstances matter, and the distinction between investment intent and active business use is not always obvious at the time of acquisition.
The Section 162 Question: Carrying Costs and Deductibility
Land generates no depreciation deduction, but it does generate carrying costs - property taxes, mortgage interest, insurance, and maintenance. Whether those costs are currently deductible under Section 162 as ordinary and necessary business expenses, or must be capitalized or treated as investment expenses, depends on the same trade-or-business question.
- Business-use land: Carrying costs are generally deductible under Section 162 if the land is part of an active trade or business - for example, land under a rental property where the rental activity rises to the level of a trade or business. Property taxes on business-use land are deductible under Section 164 without the trade-or-business limitation.
- Investment land: Carrying costs other than property taxes are treated as investment expenses under Section 212. For individuals, those investment expenses were miscellaneous itemized deductions subject to the 2% floor. The Tax Cuts and Jobs Act suspended that deduction for tax years 2018 through 2025, and the One Big Beautiful Bill Act (OBBBA) made that suspension permanent - these deductions do not return in 2026 or thereafter. Mortgage interest on investment land may be deductible as investment interest expense under Section 163(d), but only to the extent of net investment income. Property taxes remain deductible under Section 164, subject to the SALT cap. The practical result is that investment expenses on land - beyond property taxes and qualifying investment interest - are non-deductible going forward.
- Idle land with no current use: Costs may need to be capitalized under Section 263A if the land is held for development, depending on whether the uniform capitalization rules apply to the taxpayer's activity.
The practical consequence is that two parcels of land with identical economics can produce very different current deductions depending on whether the holding qualifies as a trade or business. A rental property owner who qualifies as a real estate professional under Section 469(c)(7) and materially participates in the rental activity is more likely to support a trade-or-business characterization for land held as part of that portfolio than a passive investor holding raw land.
Land sold with a building: allocation and mechanics
When a property is sold as a single transaction - land and building together - the sale price must be allocated between the two components. The allocation affects both the gain calculation and the recapture analysis. Depreciation recapture under Sections 1245 and 1250 applies only to the building and its components, not to the land. The land's basis is its original cost (adjusted for any capitalized improvements or costs), and its gain enters the 1231 calculation without any recapture layer. Buyers and sellers often negotiate the allocation in the purchase agreement, but the IRS can challenge allocations that do not reflect fair market value. A cost segregation study or appraisal that establishes the land-to-building ratio at acquisition is useful documentation for this purpose.
The Netting Mechanism
Section 1231 operates as a netting regime at the taxpayer level. You aggregate all 1231 gains and losses from all qualifying dispositions during the year. The net result determines the character:
- Net gain: treated as long-term capital gain, taxed at preferential rates (0%, 15%, or 20% depending on taxable income, plus the 3.8% net investment income tax for higher earners)
- Net loss: treated as an ordinary loss, deductible in full against ordinary income without the $3,000 annual cap that applies to capital losses
This is the core advantage. A business owner who sells equipment at a loss and real estate at a gain in the same year nets those results before determining character. The structure rewards taxpayers who plan dispositions across years with an eye toward which outcome - capital gain treatment or ordinary loss treatment - produces the better result in a given year.
The Five-Year Lookback Rule
There is a catch that often goes unnoticed. IRC Section 1231(c) requires that net 1231 gains be recharacterized as ordinary income to the extent of unrecaptured net 1231 losses from the prior five years. The rule prevents a pattern of taking ordinary losses in early years and then harvesting capital gains later without any recapture of the tax benefit already received.
If a taxpayer recognized $80,000 of net 1231 losses in prior years that were deducted as ordinary losses, and then recognizes a $100,000 net 1231 gain in the current year, the first $80,000 of that gain is ordinary income. Only the remaining $20,000 qualifies for capital gain treatment. The lookback tracks unrecaptured losses on a rolling five-year basis.
Tracking the lookback in practice
The five-year lookback is tracked on Form 4797, Part I. The IRS does not maintain this balance for you - it is the taxpayer's and preparer's responsibility to carry the unrecaptured loss balance forward year over year. A gap in records or a change in preparers is a common point of failure. If prior-year 1231 losses were taken and the lookback balance is not being tracked, a future sale could produce a larger ordinary income component than expected.
Depreciation Recapture: Sections 1245 and 1250
Before a gain even reaches the 1231 netting calculation, depreciation recapture rules under Sections 1245 and 1250 carve out a portion and recharacterize it as ordinary income. This is the most consequential interaction for sellers of business property.
Section 1245 Recapture
Section 1245 applies to depreciable personal property - equipment, machinery, vehicles, and certain other tangible and intangible property. When Section 1245 property is sold at a gain, all depreciation previously taken (including bonus depreciation and Section 179 deductions) is recaptured as ordinary income, up to the amount of the gain. Only the gain in excess of total depreciation taken qualifies for 1231 treatment.
Example: A piece of equipment was purchased for $200,000, fully expensed under Section 179, and later sold for $150,000. The entire $150,000 gain is Section 1245 recapture - ordinary income. There is nothing left for 1231 treatment because the gain does not exceed the depreciation previously deducted.
Section 1250 Recapture
Section 1250 applies to depreciable real property. For real property depreciated under MACRS (straight-line), the recapture rules are more limited. Technically, Section 1250 only recaptures depreciation taken in excess of straight-line - which under current MACRS rules is generally zero for residential and commercial real property. However, the unrecaptured Section 1250 gain concept under Section 1(h) still applies: the portion of a real estate gain attributable to prior straight-line depreciation is taxed at a maximum rate of 25%, not the standard long-term capital gain rates of 0%, 15%, or 20%.
This distinction matters significantly for real estate investors. A rental property with substantial accumulated depreciation will produce a portion of gain taxed at 25% even if the overall transaction looks like a capital gain event.
Cost segregation and its effect on recapture
Cost segregation studies accelerate depreciation by reclassifying components of real property into shorter-lived asset categories - typically 5-year and 7-year personal property (such as decorative finishes, dedicated electrical, and equipment) and 15-year land improvements (such as parking lots, sidewalks, and fencing). The 5-year and 7-year personal property components are Section 1245 property, while 15-year land improvements remain Section 1250 real property. On a future sale, the depreciation taken on the Section 1245 components is subject to full Section 1245 recapture as ordinary income - not the 25% unrecaptured 1250 rate that applies to straight-line depreciation on real property. Owners who have done cost segregation studies need to model the recapture exposure before selling, because the ordinary income component can be substantially larger than a straight-line depreciation schedule would suggest.
Form 4797 and How It Works
Dispositions of business property are reported on Form 4797. The form has three parts that work in sequence:
- Part I: Section 1231 gains and losses (after recapture has already been separated out), netting, and the five-year lookback calculation
- Part II: Ordinary gains and losses, including Section 1245 and 1250 recapture amounts
- Part III: Recapture computation for Section 1245 and 1250 property
The sequencing matters. Recapture is computed first in Part III, flows to Part II as ordinary income, and only the remaining gain (if any) moves to Part I for 1231 treatment. A sale that looks like a capital gain at the contract level can produce mostly ordinary income once the form is worked through.
Installment Sales and 1231 Property
When 1231 property is sold on an installment basis, the character of each payment follows the character of the underlying gain. Recapture income under Section 1245 is fully recognized in the year of sale regardless of when payments are received - it cannot be deferred using the installment method. The remaining 1231 gain (if any) can be spread over the installment period. This front-loads the ordinary income component and defers the preferential capital gain component, which is generally the opposite of what sellers prefer. Structuring the payment terms with this in mind is part of the pre-sale planning conversation.
Like-Kind Exchanges
A properly structured Section 1031 like-kind exchange defers both 1231 gain and depreciation recapture. The deferred gain and recapture carry into the replacement property's basis, to be recognized on a future taxable disposition. For real estate investors with significant accumulated depreciation, a 1031 exchange is often the primary tool for managing the recapture exposure that would otherwise arise on a sale. The rules require strict compliance with identification and closing timelines, and the exchange must be structured correctly from the outset - a failed exchange produces a fully taxable sale.
When the 1231 classification is a moot point: situations where it does not change the tax result
The 1231 framework matters most when there is a planning decision to make - timing a disposition, choosing between a sale and an exchange, or managing the character of a gain or loss. In some situations, however, whether an asset is classified as 1231 property or a capital asset produces the same tax result, and the distinction is academic for that transaction.
- Clean long-term gain with no recapture exposure and no prior Section 1231 losses. This is the default situation for most small real estate dispositions involving unimproved or minimally improved property. Whether the asset is Section 1231 property used in a trade or business or a Section 1221 capital asset held for investment, a holding period exceeding one year produces long-term capital gain treatment either way. The Section 1231 classification only changes the result when there is a net loss - where ordinary treatment is more favorable than capital loss treatment - or when the Section 1231(c) lookback applies to recharacterize a gain. On a clean long-term gain with no depreciable improvements and no nonrecaptured Section 1231 loss balance, the classification question is academic. The federal tax result is the same.
- Full Section 1245 recapture absorbs the entire gain. If a depreciable asset is sold and the gain does not exceed total depreciation previously taken, 100% of the gain is Section 1245 recapture - ordinary income regardless of 1231 treatment. Nothing reaches Part I of Form 4797. The 1231 label on the asset is irrelevant to the outcome.
- The taxpayer is in the 0% long-term capital gain bracket. For taxpayers whose taxable income falls below the 0% threshold for long-term capital gains, a net 1231 gain and a long-term capital gain produce the same federal tax: zero. The classification question has no dollar consequence in that year, though it may affect state tax depending on how the state conforms to federal character rules.
- A net 1231 gain is fully recharacterized as ordinary income under the five-year lookback. If the taxpayer has a large unrecaptured 1231 loss balance from prior years that equals or exceeds the current-year net 1231 gain, Section 1231(c) converts the entire gain to ordinary income anyway. The preferential rate that 1231 classification was supposed to deliver never materializes.
- The asset is sold in a fully tax-deferred 1031 exchange. When a qualifying like-kind exchange is completed, neither the 1231 gain nor any recapture is recognized in the year of sale. The classification affects how deferred gain will be characterized on a future taxable disposition, but it has no current-year tax effect.