Depreciation recapture when you sell a rental property
Quick answer
When you sell a rental building held more than a year at a gain, the part of the gain that comes from depreciation is unrecaptured section 1250 gain, taxed at a federal income tax rate of no more than 25%; the 3.8% net investment income tax may apply on top. It counts the depreciation you were allowed or entitled to take, claimed or not.
Next in this section: Passive activity loss rules for rental property owners
The reading · Federal rules, tax year 2025
25%Top federal income tax rate on unrecaptured 1250 gain
- Depreciation counted at saleGreater ofIRS FAQ: allowed or allowable, whichever is greater
- Like-kind exchange: days to identify the replacement45 days26 USC 1031(a)(3)
- Like-kind exchange: latest day to receive it180 days26 USC 1031(a)(3), or the return due date with extensions if earlier
Depreciation recapture is the tax on the depreciation side of a gain when you sell a rental. Every year’s depreciation deduction lowered your taxable rent, and it also lowered your basis, so the sale price now sits further above that basis. The rules below come from the 2025 editions of IRS publications and forms and from the Internal Revenue Code. The yearly deduction that feeds depreciation recapture is one of the rental property tax deductions covered in this section.
What gets recaptured
Depreciation recapture counts the greater of what you claimed and what you were entitled to claim. The IRS calls these “allowed” and “allowable,” and its FAQ says the greater of the two “must be considered at the time of sale,” even for an owner who never took the deduction.
Rule: your adjusted basis is your cost, plus improvements, minus depreciation allowed or allowable and casualty losses (IRS Publication 544, chapter 1; IRS Publication 551). Gain is the amount you realize on the sale, after the costs of the sale, minus that basis.
For a rental building placed in service after 1986, depreciated straight line and held more than a year, Publication 544, chapter 3, says there is no “additional depreciation,” so none of the gain is taxed as ordinary income under section 1250. The depreciation recapture on a rental building is instead what the Code calls unrecaptured section 1250 gain. Publication 544 describes it as “generally… the part of any long-term capital gain on section 1250 property (real property) that is due to depreciation.” Appliances, carpet and furniture count as section 1245 property, an asset class the same chapter treats differently; this guide covers depreciation recapture on the building.
How the 25% maximum rate applies
For a building held more than a year, unrecaptured section 1250 gain is taxed at an income tax rate of no more than 25% (26 USC 1(h)). So on a rental building, the depreciation recapture tax rate is your ordinary income tax rate, up to a maximum of 25% (IRS Publication 550, Table 4-4), and the 3.8% net investment income tax may apply on top (Publication 527). The rest is generally long-term capital gain at 0%, 15% or 20%, unless you have nonrecaptured section 1231 losses from the previous 5 years, which turn that much of a net section 1231 gain into ordinary income (IRS Publication 544, chapters 3 and 4). For 2025, Publication 544 lists the maximum rates for individuals as 0%, 15%, 20%, 25% and 28%, and the 25% one applies to this layer.
| Layer of the gain on a rental building | What it is | Rate, tax year 2025 |
|---|---|---|
| Unrecaptured section 1250 gain | The building’s gain up to the depreciation allowed or allowable | Your ordinary income tax rate, capped at 25% |
| The rest of the long-term gain | Any gain above that, including the land’s | Generally 0%, 15% or 20%, by taxable income |
Sources: 26 USC 1(h)(1)(E); IRS Publication 544 (2025), chapters 3 and 4; Instructions for Schedule D (2025). Read December 6, 2026. Publication 527 puts the net investment income tax at 3.8%, and the Schedule D instructions point to Form 8960 for it; it may apply on top of both layers if your modified AGI is over the threshold.
The 25% figure is a ceiling, so a seller whose ordinary rate is below it pays the lower rate on their depreciation recapture, which is about as generous as the Code gets on the subject. Unrecaptured section 1250 gain can’t be more than your net section 1231 gain for the year (Pub. 544). The rental property depreciation guide shows how the yearly amount, and so this layer, is built.
A worked sale with made-up numbers
Depreciation recapture on one sale
A sale splits into layers once you know the amount realized, how much of it belongs to the building and the land, their bases and the depreciation allowed or allowable. Every figure below is invented, and the rules are the federal ones for tax year 2025.
| AssumptionBuilding cost basis | $200,000 |
|---|---|
| AssumptionLand cost basis | $50,000 |
| AssumptionDepreciation allowed or allowable on the building | $60,000 |
| Building's adjusted basis | $140,000 |
| AssumptionSale price | $360,000 |
| AssumptionSelling expenses, such as commissions | $20,000 |
| Amount realized | $340,000 |
| AssumptionBuilding's share of that, by market value | $270,000 |
| Building gain, Form 4797 Part III | $130,000 |
| Land gain, Form 4797 Part I | $20,000 |
| Unrecaptured 1250 gain: building gain up to the depreciation | $60,000 |
| Present readingMost federal income tax on that layer at 25% | $15,000 |
The other $90,000 of gain ($70,000 on the building, $20,000 on the land) is generally taxed at 0%, 15% or 20%. This assumes no other section 1231 gains or losses in 2025, none in 2020 to 2024, and leaves out the 3.8% net investment income tax.
Use your own numbers. Replace the cost bases, your own depreciation total from past returns and worksheets, the sale price, the selling costs and the building's share from a market-value allocation.
The sums: $200,000 − $60,000 = $140,000; $360,000 − $20,000 = $340,000; $270,000 − $140,000 = $130,000; $340,000 − $270,000 = $70,000 for the land, less its $50,000 basis = $20,000; 25% of $60,000 = $15,000; $130,000 + $20,000 − $60,000 = $90,000.
The slow part of a sale can be digging up the old depreciation figures, so the first year’s Form 4562 belongs in the same folder as the closing papers.
Where the sale is reported
A rental building held more than a year and sold at a gain goes on Form 4797, and the depreciation recapture is worked out on a worksheet in the Schedule D instructions. In order:
- Report the sale on Form 4797. Its 2025 instructions say to allocate the amount realized between the building and the land by their market values, then report a building held more than a year in Part III and the land in Part I.
- If Schedule D’s lines 15 and 16 are both gains (line 17 answered Yes), complete the Unrecaptured Section 1250 Gain Worksheet in the Instructions for Schedule D (Form 1040), and carry its result to line 19.
A sale does one more thing on the return. Losses held back under the passive activity loss rules are generally released in full when you dispose of your entire interest in a fully taxable sale to an unrelated person (IRS Publication 925).
Deferring the tax is not avoiding it
A like-kind exchange under section 1031 lets you defer the gain, and the depreciation recapture moves with you into the replacement property. Under 26 USC 1031(a), no gain or loss is recognized when real property held for business or investment is exchanged solely for real property of like kind that will also be held for business or investment.
- The replacement must be identified within 45 days after you transfer the property you give up.
- It must be received within 180 days, or by your return’s due date with extensions if that comes first.
- The basis of the property you receive is generally the basis of the one you gave up, so the old depreciation stays in it (Pub. 544, chapter 1).
- You report the exchange on Form 8824 even when no gain is recognized.
- Cash or other property received in the exchange can trigger recognized gain, which may be taxed as recapture (Pub. 544).
If a like-kind exchange sounds like a way never to pay this tax, the statute’s own wording is more modest: no gain is recognized on that exchange. Improvements you added, worked through in repairs vs improvements, sit in the basis too, while land never carried any depreciation; can you depreciate land covers that split.
Not covered: selling your own home
The main-home exclusion under section 121 is a different rule, and this guide covers depreciation recapture on rental property only. One overlap: Publication 523 says you can’t exclude the part of your gain equal to depreciation allowed or allowable for business or rental use of the home after May 6, 1997. IRS Publication 523 sets out the rest.
The journal explains federal rules and doesn’t apply them to a sale; the disclaimer says who can.
Sources
- IRS FAQ: Depreciation and recapture, Internal Revenue Service. Read December 6, 2026.
- IRS Publication 544 (2025), Sales and Other Dispositions of Assets, Internal Revenue Service. Read December 6, 2026.
- Instructions for Schedule D (Form 1040) (2025), Internal Revenue Service. Read December 6, 2026.
- Instructions for Form 4797 (2025), Internal Revenue Service. Read December 6, 2026.
- 26 USC 1, Tax imposed (section 1(h)), Cornell Legal Information Institute. Read December 6, 2026.
- 26 USC 1031, Exchange of real property held for productive use or investment, Cornell Legal Information Institute. Read December 6, 2026.
- IRS Publication 925 (2025), Passive Activity and At-Risk Rules, Internal Revenue Service. Read December 6, 2026.
- IRS Publication 551, Basis of Assets, Internal Revenue Service. Read December 6, 2026.
- IRS Publication 527 (2025), Residential Rental Property, Internal Revenue Service. Read December 6, 2026.
- IRS Publication 550 (2025), Investment Income and Expenses, Internal Revenue Service. Read December 6, 2026.
- IRS Publication 523 (2025), Selling Your Home, Internal Revenue Service. Read December 6, 2026.