Section 1231 gains, ordinary losses and the five-year lookback
Section 1231 generally covers sales or exchanges of qualifying business or investment property held longer than one year.
More key points
- A net Section 1231 loss is ordinary.
- A net gain is generally long-term capital gain, but the five-year lookback recharacterizes gain as ordinary income up to prior nonrecaptured net Section 1231 losses.
- Apply depreciation recapture rules before the remaining Section 1231 treatment.
On this page10 sections
Section 1231 is designed to give favorable capital-gain treatment to qualifying gains while preserving ordinary-loss treatment for qualifying net losses. It applies to specific business or investment property and requires careful netting. Do not apply the rule to every asset a client sells: holding period, use, asset type and recapture provisions matter.
Identify qualifying property first
The usual Section 1231 category includes real or depreciable property used in a trade or business and held longer than one year, along with specified involuntary conversions. The classification must be established before computing the year's net Section 1231 result. Inventory and property held primarily for sale to customers are not treated as Section 1231 assets merely because a business owns them.
Net losses are ordinary
Combine the year's Section 1231 gains and losses. If the result is a net loss, it is generally reported as an ordinary loss. Ordinary losses can be more useful than capital losses because they are not subject to the same individual capital-loss deduction limit, although other tax rules can still affect deductibility.
Net gains face a five-year lookback
If the year's result is a net gain, look back at net Section 1231 losses from the preceding five years that have not already been recaptured. Treat current gain as ordinary income to the extent of those prior losses; any remaining gain receives long-term capital-gain treatment. Apply the oldest unrecaptured loss first. This prevents a taxpayer from taking ordinary deductions in loss years and converting an equivalent later gain into capital gain without first restoring the earlier tax benefit.
A simplified example
Assume there is a $30,000 net Section 1231 gain this year and $12,000 of nonrecaptured net Section 1231 losses in the preceding five-year period. Ignoring depreciation recapture and other adjustments, $12,000 of current gain is ordinary and the remaining $18,000 is long-term capital gain. If no prior nonrecaptured losses exist, the net gain is generally long-term capital gain after the applicable recapture analysis.
Depreciation recapture comes first
The Section 1231 lookback is not the only ordinary-income rule. Sections 1245 and 1250 may recharacterize gain attributable to depreciation before the remaining amount is treated under Section 1231. A complete calculation separates recapture, nets current Section 1231 transactions, tracks five years of prior losses, then reports the resulting ordinary and capital portions on the appropriate forms.
Exam sequence
- Check that the property and holding period qualify.
- Determine whether depreciation recapture applies.
- Net current Section 1231 gains and losses.
- Treat a net loss as ordinary.
- For a net gain, apply the five-year lookback to prior nonrecaptured losses; classify the balance as long-term capital gain.
Key takeaway
Section 1231's basic pattern is asymmetric: net losses are ordinary, while net gains are usually long-term capital gains only after depreciation recapture and the five-year loss lookback.
Classify the property and the year’s net result
Section 1231 generally applies to depreciable business property and real property used in a trade or business and held for more than one year. It does not automatically apply to inventory, property held primarily for sale to customers, or personal-use property. First identify the asset, its use, holding period, and any depreciation recapture. Recapture under sections such as 1245 or 1250 can recharacterize gain as ordinary before the section 1231 netting rules are reached.
For the tax year, combine gains and losses from section 1231 transactions. If losses exceed gains, the net section 1231 loss is generally ordinary, which can be more favorable than a capital loss subject to individual limitations. If gains exceed losses, the net gain is generally long-term capital gain, but the five-year lookback can recharacterize prior benefits. This asymmetry is why the rule is sometimes described as a “best of both worlds” provision with a recapture safeguard.
The lookback asks whether the taxpayer had nonrecaptured net section 1231 losses in the five preceding tax years. Current net gain is treated as ordinary income to the extent of those earlier net losses; any remaining gain retains section 1231 long-term capital-gain treatment. The calculation is taxpayer-specific, so carryforward records from prior returns matter. A planner should not infer the result from the current sale alone.
Work a numerical example
Suppose a taxpayer sells qualifying business land and equipment and has a net section 1231 gain of $90,000 this year. The taxpayer had $25,000 of net section 1231 loss in the preceding five years that was previously treated as ordinary loss and has not yet been recaptured. The first $25,000 of current net gain is ordinary income under the lookback; the remaining $65,000 is generally long-term capital gain, subject to other rules and prior recapture.
If instead the current year has $40,000 of section 1231 gains and $55,000 of section 1231 losses, the $15,000 net loss is generally ordinary. The prior-year lookback does not convert this current net loss to capital. Always aggregate all covered transactions for the year before applying the lookback. Do not net unrelated capital gains into the section 1231 computation.
The examples assume proper asset classification and no separate recapture. Depreciation recapture is applied first and may make some gain ordinary regardless of the five-year lookback. A related-party transaction, installment sale, involuntary conversion, or partial disposition can introduce additional rules. Use the current IRS Publication 544 and return instructions to determine the character and amount.
Keep a lookback ledger
A practical record tracks each tax year’s net section 1231 loss and the amount already recaptured by later gains. The tax return workpapers should show gross gains and losses, recapture, net result, prior five-year losses, amount recharacterized, and remaining lookback balance. This matters when property sales occur irregularly; a client may have no section 1231 transaction for several years and then dispose of a business or farm asset.
For a business owner, coordinate the sale with basis, depreciation schedules, installment terms, entity structure, and estimated payments. Asset sale allocations can assign value to inventory, equipment, goodwill, and real property, each with different character. A planner can flag the need for tax analysis and model cash available after tax; a tax professional should prepare the return and confirm character.
On an exam, the common errors are forgetting the more-than-one-year holding period, applying lookback before recapture, ignoring the five-year limit, or applying the treatment to personal property. The sequence is: identify eligible property; compute recapture; net current section 1231 gains and losses; if net gain, apply prior five-year loss balance; classify the remainder.
Common questions
Is every net Section 1231 gain long-term capital gain?
No. Prior nonrecaptured Section 1231 losses from the preceding five years convert current net gain to ordinary income up to the amount of those losses, after applicable depreciation recapture.
How is a net Section 1231 loss treated?
A net Section 1231 loss is generally an ordinary loss.
Does the five-year lookback replace depreciation recapture?
No. Depreciation recapture rules such as Sections 1245 and 1250 are applied separately before the remaining gain is treated under Section 1231.
What does the five-year lookback do?
It converts current net section 1231 gain to ordinary income to the extent of nonrecaptured section 1231 losses from the previous five tax years.
Are section 1231 losses capital losses?
A net section 1231 loss is generally ordinary, after proper classification and other applicable rules.
When does depreciation recapture apply?
It is analyzed before the section 1231 lookback and can make some gain ordinary under separate provisions.