Tools · For property sellers

Depreciation recapture calculator

Updated · Free, no sign-up, runs in your browser

Split the gain on a property sale into §1245 recapture, unrecaptured §1250 gain and §1231 capital gain, see the tax on each, and compare paying now with investing the deferrable part in an Opportunity Zone fund. Enter your sale numbers (or tap "Try an example" for a $2 million rental sale) and the results update as you type.

Your sale
The OZ comparison
Your results

Enter your sale price and original cost + improvements to see the tax on each part of the gain and the Opportunity Zone comparison. Fields you leave blank count as $0.

The rules this calculator uses

  • §1245 recapture: gain up to the depreciation on §1245 property (equipment, and building components reclassified in a cost-segregation study) is ordinary income (IRC §1245(a)).
  • Unrecaptured §1250 gain: gain up to the straight-line depreciation on the building is taxed at no more than 25% (IRC §1(h)(1)(E), (h)(6)). Post-1986 buildings use straight-line depreciation, so there's normally no "additional depreciation" taxed as ordinary income under §1250(a); the calculator assumes none.
  • The rest is §1231 gain, taxed as long-term capital gain (IRC §1231).
  • NIIT: 3.8% on the gain for rental or investment property; not for property held in a non-passive trade or business (IRC §1411(c)(1)(A)(iii); Treas. Reg. §1.1411-4).
  • Opportunity Zone deferral: only the §1231 gain above the §1245/§1250 ordinary-income amount can be invested in a QOF (Treas. Reg. §1.1400Z2(a)-1(b)(11)(iii)(A)). When it's included, it keeps its character, so the 25% category survives (§1.1400Z2(a)-1(c)(1)(i)). For OZ 2.0 investments the deferred gain is included after 5 years with a 10% basis step-up (30% for a rural fund), and after 10 years the election under IRC §1400Z-2(c) steps basis up to fair market value, including the fund's asset bases for a QOF partnership (Treas. Reg. §1.1400Z2(c)-1(b)(2)(i)).

Section 1245 vs Section 1250 property

  • Section 1245 property is depreciable personal property: equipment, furniture, and building components a cost-segregation study reclassifies as 5-, 7- or 15-year property. Gain up to all the depreciation taken is ordinary income (IRC §1245(a); IRS Pub. 544).
  • Section 1250 property is depreciable real property: buildings and their structural components. Only "additional depreciation", the amount above straight line, is ordinary income (IRC §1250(a)). Buildings placed in service after 1986 are depreciated straight line, so there's normally none (IRS Pub. 544, Additional Depreciation).
  • Unrecaptured Section 1250 gain is the straight-line depreciation on the building, up to the gain. It's long-term capital gain taxed at your ordinary rate but no more than 25% (IRC §1(h)(1)(E) and §1(h)(6)).

How to calculate Section 1250 recapture: a worked example

A rental house bought for $400,000 ($80,000 land, $320,000 building) sells for $600,000 with $30,000 of selling costs. The owner took $150,000 of straight-line depreciation on the building and nothing on §1245 property.

  1. Adjusted basis: $400,000 cost − $150,000 depreciation = $250,000. Use the depreciation allowed or allowable, even if some wasn't claimed (IRS Pub. 544).
  2. Gain: $600,000 − $30,000 − $250,000 = $320,000.
  3. §1250(a) ordinary income: $0, because straight-line depreciation leaves no additional depreciation (IRC §1250(a), (b)(1)).
  4. Unrecaptured §1250 gain: the lesser of the $150,000 straight-line depreciation and the $320,000 gain, so $150,000, taxed at no more than 25%: at most $37,500 (IRC §1(h)(6)).
  5. Remaining §1231 gain: $320,000 − $150,000 = $170,000, taxed as long-term capital gain: $34,000 at 20% (IRC §1231; §1(h)).
  6. NIIT: 3.8% of $320,000 = $12,160 if the house was a rental, not a non-passive trade or business (IRC §1411).

Federal tax at the top rates: $37,500 + $34,000 + $12,160 = $83,660, before state tax. Enter these numbers in the calculator above to check them and to see what an Opportunity Zone fund could defer: here, all $320,000, because there's no §1245 recapture.

Worked example with cost segregation

A rental building bought for $1.2 million sells for $2 million with $100,000 of selling costs, after $300,000 of straight-line depreciation and $100,000 of cost-segregation (§1245) depreciation. The adjusted basis is $800,000 and the gain $1.1 million: $100,000 of §1245 recapture ($37,000 at 37%), $300,000 of unrecaptured §1250 gain ($75,000 at 25%) and $700,000 of §1231 gain ($140,000 at 20%), plus $41,800 of NIIT, for $293,800 before state tax. In a QOF, the $100,000 of §1245 recapture is still taxed now; the other $1 million can be deferred.

Related: the OZ 2.0 tax calculator, the 180-day rule calculator (a §1231 gain's 180 days start on the sale date), the QOZB test checker, and how recapture is treated in a 1031 exchange vs an opportunity zone. Selling a rental? See depreciation recapture for selling landlords. Sources: IRS Publication 544, Sales and Other Dispositions of Assets.

FAQ

How is depreciation recapture taxed on real estate?

Gain up to the straight-line depreciation taken on a building is "unrecaptured section 1250 gain", taxed at no more than 25% (IRC §1(h)(1)(E) and (h)(6)). Gain up to depreciation on section 1245 property, such as cost-segregated components, is ordinary income (IRC §1245(a)). The rest of the gain is long-term capital gain under §1231.

How do I calculate Section 1250 recapture?

Figure the adjusted basis (cost plus improvements minus all depreciation allowed or allowable) and the gain (sale price minus selling costs minus adjusted basis). Unrecaptured Section 1250 gain is the part of the gain equal to the straight-line depreciation on the building, capped at the gain, and is taxed at your ordinary rate but no more than 25% (IRC §1(h)(1)(E) and (h)(6); IRS Pub. 544). Only depreciation above straight line, which post-1986 buildings normally don't have, is ordinary income under IRC §1250(a).

What is the difference between Section 1245 and Section 1250 property?

Section 1245 property is depreciable personal property, such as equipment, furniture and building components a cost-segregation study reclassifies; gain up to all of its depreciation is ordinary income (IRC §1245(a)). Section 1250 property is depreciable real property, such as buildings and their structural components; only additional depreciation above straight line is ordinary income (IRC §1250(a)), and the straight-line part is unrecaptured Section 1250 gain taxed at up to 25% (IRC §1(h)(6); IRS Pub. 544).

Does depreciation I never claimed reduce my basis?

Yes. Basis is reduced by the greater of the depreciation allowed or allowable, so depreciation you were entitled to but didn't claim still counts when you figure gain and recapture (IRS Pub. 544, Gain Treated as Ordinary Income).

Does the 3.8% NIIT apply to depreciation recapture?

Yes, for rental and other investment property: NIIT reaches net gain from disposing of property unless it was held in a non-passive trade or business (IRC §1411(c)(1)(A)(iii)).

Can I defer depreciation recapture with an Opportunity Zone fund?

Only part of it. A §1231 gain qualifies only to the extent it exceeds the amount treated as ordinary income under §1245 or §1250 (Treas. Reg. §1.1400Z2(a)-1(b)(11)(iii)(A)). So §1245 recapture is taxed now, while unrecaptured §1250 gain and the remaining §1231 gain can be invested in a QOF within 180 days.

What rate applies when the deferred gain is included later?

The included gain keeps the character it would have had, including the §1(h) rate categories (Treas. Reg. §1.1400Z2(a)-1(c)(1)(i)), so the unrecaptured §1250 part is still taxed at up to 25% in the inclusion year.

Is there recapture when I sell a QOF investment after 10 years?

With the 10-year election, basis in the QOF interest is stepped up to fair market value; for a QOF partnership the bases of the partnership's assets are adjusted too (Treas. Reg. §1.1400Z2(c)-1(b)(2)(i)), so depreciation taken inside the fund isn't recaptured on that sale (IRC §1400Z-2(c)).