Section 1231 property is depreciable business property and real estate used in a trade or business and held for more than one year, and it receives asymmetric tax treatment: net gains from selling it are taxed at the lower long-term capital gains rates, while net losses are fully deductible against ordinary income without the $3,000 annual cap that limits regular capital losses. That favorable structure comes with strings attached, most notably depreciation recapture and a five-year look-back rule that can convert what looks like a capital gain back into ordinary income.
What Counts as Section 1231 Property
Two broad categories qualify: depreciable personal property such as machinery, vehicles, and equipment; and real property such as land, buildings, and warehouses. In both cases the asset must be used in your trade or business and held for more than one year, with the holding period starting the day after acquisition and running through the day of disposition.1Office of the Law Revision Counsel. 26 USC 1231 – Property Used in the Trade or Business and Involuntary Conversions2Internal Revenue Service. Instructions for Form 4797
The statute also names some specific asset types with their own holding rules:
- Cattle and horses used for draft, breeding, dairy, or sporting purposes, held for at least 24 months.
- Other livestock used for the same productive purposes, held for at least 12 months.
- Timber, coal, and domestic iron ore, when gains are recognized under Section 631.
- Unharvested crops, but only if sold together with the underlying farmland, to the same buyer, at the same time, with the land held more than one year.
Every category shares one requirement: the asset must play a functional role in an active business. Property held for personal use or passive investment unrelated to a trade doesn’t qualify.
How Gains and Losses Are Taxed
At year-end, you net all Section 1231 gains against all Section 1231 losses. The outcome of that netting drives the tax treatment.
When gains exceed losses, the entire net gain is treated as long-term capital gain, eligible for the preferential 0%, 15%, or 20% rates depending on your taxable income.3Internal Revenue Service. Topic No. 409, Capital Gains and Losses Higher-income taxpayers may also owe the additional 3.8% net investment income tax on that gain when modified adjusted gross income exceeds $200,000 for single filers or $250,000 for joint filers.4Internal Revenue Service. Net Investment Income Tax
When losses exceed gains, the entire net loss is ordinary. Unlike a capital loss, which can offset only $3,000 of ordinary income per year, an ordinary Section 1231 loss offsets wages, business income, and other ordinary income with no annual cap.
That is the headline benefit: heads you win at capital rates, tails you deduct at full ordinary rates. Two rules narrow it.
Depreciation Recapture Comes First
Before a gain ever reaches the Section 1231 netting pool, depreciation recapture may reclassify part of it as ordinary income. The rules split by asset type.
Section 1245 Recapture on Equipment and Personal Property
When you sell depreciable personal property such as machinery, vehicles, or office equipment, Section 1245 recaptures all depreciation you claimed or were entitled to claim as ordinary income, up to the amount of your total gain.5Office of the Law Revision Counsel. 26 USC 1245 – Gain From Dispositions of Certain Depreciable Property Only gain exceeding total depreciation enters the Section 1231 pool. Most equipment sales produce gain that falls entirely within the recapture amount, which means the whole gain is taxed as ordinary income. Capital gains treatment typically helps only when the equipment appreciates substantially beyond its original cost.
Section 1250 Recapture and Unrecaptured Gain on Real Property
Real property gets a gentler rule. Section 1250 recaptures only depreciation that exceeds what straight-line depreciation would have been.6Office of the Law Revision Counsel. 26 USC 1250 – Gain From Dispositions of Certain Depreciable Realty Most real property placed in service after 1986 uses straight-line depreciation, so there’s rarely any excess to recapture under Section 1250 itself.
The depreciation still doesn’t escape entirely, though. Gain attributable to straight-line depreciation on real property is classified as “unrecaptured Section 1250 gain” and taxed at a maximum rate of 25%, instead of the usual long-term capital gains rates.3Internal Revenue Service. Topic No. 409, Capital Gains and Losses If you buy a commercial building for $500,000, claim $100,000 in depreciation, and sell it for $700,000, the $100,000 tied to depreciation is taxed at up to 25%, and the remaining $200,000 goes into the Section 1231 pool at regular capital gains rates.
The Five-Year Look-Back Rule
The capital gains treatment on a net Section 1231 gain is not automatic. If you claimed net Section 1231 losses as ordinary deductions in any of the five preceding tax years, your current-year gain is recharacterized as ordinary income up to the amount of those unrecaptured prior losses.1Office of the Law Revision Counsel. 26 USC 1231 – Property Used in the Trade or Business and Involuntary Conversions
Say you claimed a $50,000 net Section 1231 loss two years ago and deducted it against ordinary income. This year you have a $120,000 net Section 1231 gain. The first $50,000 is taxed as ordinary income because it offsets a prior loss you already benefited from. Only the remaining $70,000 qualifies for long-term capital gains rates. Once a prior loss has been fully absorbed by recharacterized gains, it drops out of the look-back.2Internal Revenue Service. Instructions for Form 4797
The rule exists to stop taxpayers from timing sales to harvest ordinary losses in down years and capital gains in up years. Tracking your five-year loss history is where most people trip up when multiple assets are sold across different years.
Casualties, Thefts, and Involuntary Conversions
Section 1231 doesn’t cover only voluntary sales. Insurance proceeds from a destroyed building, government condemnation awards for seized land, and recoveries after theft of business equipment all count as Section 1231 transactions when the property was held more than one year.1Office of the Law Revision Counsel. 26 USC 1231 – Property Used in the Trade or Business and Involuntary Conversions
Casualties and thefts go through a preliminary netting step of their own before they reach the main Section 1231 calculation. You first net recognized gains and losses from fire, storm, shipwreck, other casualties, and theft against each other. If losses from these events exceed the gains, none of those transactions enter the Section 1231 pool. Instead, they are treated directly as ordinary gains and losses. Only when casualty and theft gains come out ahead do those net gains join the broader Section 1231 netting.2Internal Revenue Service. Instructions for Form 4797
In practice, if a fire destroys your warehouse and the insurance payout falls short of your adjusted basis, that loss is an ordinary deduction whether or not your other Section 1231 sales produced a gain that year. Condemnation awards and government seizures skip this preliminary step and go straight into the main Section 1231 netting.
What Doesn’t Qualify
Several categories of business-related property sit outside Section 1231 regardless of how they’re used:
- Inventory and any property held primarily for sale to customers.1Office of the Law Revision Counsel. 26 USC 1231 – Property Used in the Trade or Business and Involuntary Conversions
- Self-created intangibles including copyrights, literary and artistic works, patents, inventions, and secret formulas, when held by the creator or someone whose basis traces back to the creator. The patent exclusion was added by the Tax Cuts and Jobs Act for dispositions after December 31, 2017. Buyers of a patent from someone else are not subject to this exclusion.7Office of the Law Revision Counsel. 26 USC 1221 – Capital Asset Defined
- Accounts and notes receivable arising from sales of goods or services in the ordinary course of business.
- Any business asset disposed of before meeting the one-year holding period (or the 24-month period for cattle and horses), which is treated as an ordinary asset.
Personal-use assets like your home or a car you don’t use for business fall under different parts of the tax code and never enter the Section 1231 analysis.
Deferring the Gain With a Like-Kind Exchange
If you’d rather not pay tax on a Section 1231 gain right away, a like-kind exchange under Section 1031 lets you swap one piece of business real property for another and defer the gain into the replacement property.8Internal Revenue Service. Like-Kind Exchanges Under IRC Section 1031 Since the Tax Cuts and Jobs Act, this option is limited to real property. Equipment, vehicles, and other personal property no longer qualify.
The deferral is a postponement, not forgiveness. Your basis in the replacement property carries over from the property you gave up, so the deferred gain gets recognized when you eventually sell the replacement outside another exchange. Cash or non-like-kind property received in the deal, called “boot,” triggers taxable gain immediately. On a large commercial sale with substantial built-in appreciation, a properly structured 1031 exchange can defer both the capital gains tax and the 25% unrecaptured Section 1250 gain.
Reporting on Form 4797
Section 1231 transactions are reported on IRS Form 4797, Sales of Business Property.9Internal Revenue Service. About Form 4797, Sales of Business Property The form is divided by purpose:
- Part I is where Section 1231 gains and losses land. You enter a description of the property, dates acquired and sold, gross sales price, depreciation claimed, and cost basis. The form nets these transactions on line 7.2Internal Revenue Service. Instructions for Form 4797
- Part II handles ordinary gains and losses, including property held one year or less.
- Part III computes depreciation recapture under Sections 1245 and 1250. Recapture amounts calculated here flow back to Part II as ordinary income.
If Part I produces a net gain and you have no unrecaptured Section 1231 losses from the prior five years, the gain moves to Schedule D of Form 1040 as long-term capital gain. If prior unrecaptured losses exist, line 8 of Form 4797 recharacterizes part of the gain as ordinary income per the look-back rule. A net loss from Part I flows to Schedule 1 of Form 1040 as an ordinary loss deduction.
To finish the form accurately you need the acquisition date, the disposition date, original cost plus improvements, total depreciation allowed or allowable, and the sales price. Partners and S corporation shareholders receive these figures on Schedule K-1 and enter them in Part I. Keep the supporting records at least three years after filing, which is the general statute of limitations for IRS assessments.10Internal Revenue Service. How Long Should I Keep Records