Pomegra Wiki

Section 1231 Gains and Losses

A section 1231 gain is a favorable hybrid: when you sell business property—machinery, a building, land held for investment—at a net gain across all 1231 property sales in the year, the gain qualifies for long-term capital gains tax rates. But if you net a loss, it’s fully deductible as an ordinary loss, without the usual annual limit. This asymmetry makes 1231 treatment one of the most valuable in the tax code.

What Qualifies as Section 1231 Property

Section 1231 covers tangible, depreciable business property and real property held for investment or business use. Examples include:

  • Manufacturing equipment, machinery, or tools (held >1 year)
  • A building or commercial real estate used in business
  • Land held for investment, agriculture, or development
  • Vehicles used in business (not personal use)
  • Livestock (with certain holding-period rules)

Notably, stock, bonds, mutual funds, and other securities are not 1231 property—they’re treated as capital assets under the ordinary capital gains rules. And personal-use property—your home, car, or vacation cabin—does not qualify, regardless of how long you hold it.

The asset must be held more than one year to qualify. Sales within one year are ordinary gains (fully taxed) or ordinary losses (subject to capital loss limitations).

The Gain-Loss Asymmetry: The Beating Heart of 1231

Here’s why 1231 is so powerful. Each year, you tally all your 1231 property sales:

If you net a GAIN across all 1231 property sales in the year:

  • The net gain is taxed as a long-term capital gain, enjoying the preferential rates: 0%, 15%, or 20% federal (vs. your marginal ordinary income rate, which can reach 37%).

If you net a LOSS across all 1231 property sales in the year:

This is a asymmetry by design: Congress wanted to encourage business investment. If you’re forced to liquidate assets at a loss—factory equipment depreciates, a building location becomes obsolete—you get full deduction of the economic loss. But if you’re lucky and the asset appreciates, the gain gets favorable capital gains tax treatment.

Example: You own two pieces of business equipment. You sell one for a $10,000 gain (held >1 year) and another for a $6,000 loss (held >1 year). Net 1231 gain = $4,000. That $4,000 is taxed as a capital gain, not ordinary income. At a 37% marginal rate and 20% long-term capital gains tax rate, you save 17% = $680 in tax on that $4,000.

Flip the numbers: $6,000 gain and $10,000 loss. Net loss = $4,000. You deduct the full $4,000 against ordinary income, saving 37% × $4,000 = $1,480 in tax. If this were a regular capital loss, you’d only deduct $3,000 this year and carry $1,000 forward—deferring the tax benefit.

Depreciation Recapture: The Clawback

There’s a catch. If the property you sold was depreciable, the gain is subject to depreciation recapture. The tax code taxes you on the depreciation deductions you claimed in prior years—recovering those write-offs as ordinary income.

Section 1245 property (machinery, equipment, vehicles, and most personal property) is recaptured 100%: all gain up to the total prior depreciation is ordinary income; any gain beyond that is 1231 gain.

Section 1250 property (buildings, real estate) is recaptured at a lower rate (25% unrecaptured section 1250 gains), or in some cases (non-residential, post-1986 buildings) there is no recapture—all gain is 1231 gain.

Example: You buy a machine for $50,000. You depreciate it $35,000 over 5 years, bringing your basis down to $15,000. You sell it for $45,000. Your gain is $45,000 − $15,000 = $30,000. Of this:

  • $35,000 is recaptured as ordinary income (the amount of prior depreciation)
  • Wait—you only gained $30,000 total, so the full $30,000 is depreciation recapture, ordinary income.

If the machine sold for $55,000, your gain is $40,000. Of this, $35,000 is recapture (ordinary income), and $5,000 is 1231 gain (if net 1231 is positive, taxed at capital gains tax rates).

The Recapture Rule: Five-Year Lookback

There is one more layer: the section 1231 recapture rule. If you had net 1231 losses in any of the prior five years that you deducted as ordinary losses, your current-year net 1231 gains are recharacterized as ordinary income to the extent of those prior losses.

This prevents you from gaming the system—generating large 1231 losses in one year (which you deduct fully), then selling appreciated property the next year at capital-gain rates.

Example: In 2024, you sell business property at a net loss of $20,000. You deduct it as an ordinary loss against ordinary income, saving $7,400 in tax at a 37% rate.

In 2025, you sell other business property at a net 1231 gain of $15,000. Normally, this would be a long-term capital gain. But the recapture rule applies: you have $20,000 of prior (2024) 1231 losses. Your 2025 gain of $15,000 is recharacterized as ordinary income to offset the prior loss.

The IRS is clawing back the tax benefit you got in 2024. The net effect: you’ve converted the apparent gain into ordinary income, and you’re carrying forward $5,000 of the 2024 loss to offset future gains.

Real-World Scenarios

Small business selling equipment: A contractor owns a truck (business-use vehicle) and some tools. Both were depreciated. Selling the truck at $30,000 (basis $10,000, $20,000 prior depreciation) yields a $20,000 gain, which is depreciation recapture, ordinary income. The tools sell at a loss. Net 1231 is a loss, fully deductible against ordinary income, a better outcome than if the tools were capital assets.

Farmer selling land and equipment: A farmer sells a depreciated tractor at a $5,000 gain (recaptured as ordinary income) and sells undepreciated land at a $12,000 gain. Net 1231 gain is $17,000 − $5,000 (recapture) = $12,000 in 1231 gain, taxed at long-term capital gains tax rates.

Developer liquidating assets: A real estate developer sells off a portfolio of depreciated commercial buildings. If the net result is a loss, it’s deductible in full, even if it’s hundreds of thousands of dollars. If a net gain, 1231 treatment and section 1250 recapture rules apply.

Reporting Section 1231 on Taxes

All 1231 property sales are reported on Form 4797 (Sales of Business Property). The form nets all gains and losses, applies depreciation recapture, and determines whether the net result is treated as a capital gain or ordinary loss. From there, the net amount flows to Schedule D (if a gain) or is deducted directly on Form 1040.

See also

Wider context