Skip to main content

Depreciation Recapture When You Sell a Rental Property

Selling a rental triggers §1250 unrecaptured depreciation taxed up to 25% — even if you never claimed it. Calculate, defer, and plan for the real tax bill.

Jump to section
  1. #What depreciation recapture is — and why sellers are surprised
  2. #The “allowed or allowable” rule — you owe even if you never claimed depreciation
  3. #How to calculate your recapture — a $400,000 worked example
  4. #1031 exchange — the full-deferral option
  5. #Installment sale — spreading the bill over time
  6. #Five things to do before you list the rental
  7. #Common questions
  8. #Ready to figure out your real number before you list?

TLDR

When you sell a rental property, the IRS taxes the accumulated depreciation you claimed (or should have claimed) at a maximum rate of 25% under IRC §1250 — a separate layer on top of the standard 0/15/20% long-term capital gains rate on the rest of your appreciation. The tax applies even if you never took a single depreciation deduction, because

IRC §1016(a)(2) reduces your basis by depreciation “allowed or allowable” regardless of what you actually claimed

. On a $400,000 rental sale with 12 years of ownership, the combined federal tax bill commonly runs $50,000–$65,000 before any deferral strategy. A full 1031 exchange defers everything indefinitely. An installment sale spreads the gain over several years. Neither option works if you wait until after closing to plan.

In this guide, you’ll learn:

  • Understand exactly what §1250 unrecaptured depreciation is and why it catches rental sellers off guard
  • Apply the “allowed or allowable” rule and see why skipping depreciation deductions doesn’t protect you from recapture
  • Walk through a complete $400,000 worked example with the exact gain buckets, rates, and federal tax estimate
  • Compare a 1031 exchange (full deferral) to an installment sale (spread the tax) and choose the right exit
  • Run the five pre-sale steps that prevent expensive surprises at closing

#What depreciation recapture is — and why sellers are surprised

Every year you own a residential rental, the IRS lets you deduct a portion of the building’s cost as depreciation. For residential rental property, the schedule is 27.5 years, straight-line under MACRS (Modified Accelerated Cost Recovery System). For commercial property it’s 39 years.

Those annual deductions reduce your taxable rental income while you hold the property. That’s the benefit you get going in. When you sell, the IRS collects some of it back.

The accumulated depreciation you took — the total across every year you owned the rental — gets treated as a separate category of gain at sale, taxed at a maximum rate of 25%. This is called unrecaptured Section 1250 gain, named after IRC §1250, which governs depreciation on real property.

#Why it blindsides sellers

The annual depreciation deductions are easy to absorb. They show up as a line item on Schedule E each year, quietly reducing rental income. Most investors don’t feel them the way they feel a mortgage payment or a repair bill.

At sale, all of that depreciation becomes visible as a concentrated gain. A rental held for 12 years might carry $70,000–$80,000 of accumulated depreciation, all taxed at up to 25% in the year you close. That’s $17,500–$20,000 in federal tax just on the recapture portion, before counting capital gains on the appreciation above that.

Look — this isn’t a penalty. The IRS is saying: you got a deduction every year you held this property, now we’re balancing the books. Once you understand that framing, the math makes sense and the planning becomes straightforward.

#How the gain breaks into two separate buckets

When you sell a rental, your total gain splits into at least two pieces:

  • Unrecaptured §1250 gain — the accumulated depreciation you took (or were allowed to take). Taxed at a maximum rate of 25%.
  • Long-term capital gain — the remaining appreciation beyond what depreciation accounts for. Taxed at 0%, 15%, or 20% based on your income level.

Both hit in the same tax year, on the same sale. That’s why tax bills at closing are often much larger than investors budget for when they only model capital gains rates.

#Does this apply to short-term rentals?

Yes. Whether your rental runs as a passive activity (Schedule E) or an active trade or business, the building’s basis is still reduced by depreciation each year. The recapture mechanics at sale are the same. For a closer look at how STR status shapes your overall tax picture before recapture even comes into play, see our guide on STR loophole qualification.

#The “allowed or allowable” rule — you owe even if you never claimed depreciation

This is the part that surprises investors most. Many assume that if they skipped depreciation deductions while they owned the property, they’ll owe less recapture at sale. That assumption is wrong — and it costs them.

IRC §1016(a)(2) requires you to reduce your adjusted cost basis by the greater of depreciation allowed (what you actually deducted on your returns) or allowable (what you were legally permitted to deduct). At sale, the IRS taxes recapture on whichever amount is larger.

In plain terms: own a rental for 12 years, never claim a single depreciation deduction, and you still owe 25% recapture on the full 12 years of depreciation you should have taken.

#Why the IRS uses this standard

The logic tracks with how basis works in tax law. Depreciation represents the economic wearing down of a property over time. Whether or not you reported it on your returns, the IRS adjusts your cost basis to reflect that economic reality. Your gain is measured against the adjusted basis, not your original purchase price.

If you did claim depreciation, you got annual tax savings and owe the recapture at sale. If you didn’t claim it, you gave up those annual savings AND owe the recapture anyway. The second outcome is strictly worse — you lose twice.

#How to fix missed depreciation before you sell

If you’ve been skipping depreciation deductions, you have a path to recovery before you list. The IRS allows a method change under Form 3115 (Change in Accounting Method) that lets you claim all missed depreciation as a catch-up deduction in the current year. This won’t reduce your recapture at sale (the allowable amount stays the same regardless), but it does let you get the deductions you should have been taking all along, reducing your ordinary income while you still own the property.

Form 3115 is a professional filing. Talk to your tax advisor before listing, not after closing.

#How to calculate your recapture — a $400,000 worked example

Let’s build the full calculation from scratch. Slot your own numbers in as you go.

#Building the adjusted cost basis

The property:

  • Purchase price: $200,000 (acquired 2012)
  • Allocated land value: $30,000 (land is not depreciable)
  • Depreciable building basis: $170,000
  • Annual depreciation: $170,000 / 27.5 years = $6,182/year
  • Years held: 12
  • Total accumulated depreciation: $6,182 x 12 = $74,182
  • Adjusted basis at sale: $200,000 - $74,182 = $125,818

#Breaking the gain into its two buckets

The sale:

  • Sale price: $400,000
  • Selling costs (commission, closing, transfer taxes): $26,000
  • Net proceeds: $374,000
  • Total gain: $374,000 - $125,818 = $248,182

Gain allocation:

  • Unrecaptured §1250 gain (the depreciation): $74,182 — taxed at max 25%
  • Long-term capital gain (the appreciation above depreciation): $174,000 — taxed at 0/15/20%

Federal tax estimate (high-income bracket, 20% LTCG + 3.8% NIIT):

  • Recapture tax: $74,182 x 25% = $18,546
  • Long-term gain tax: $174,000 x 23.8% (20% + 3.8% NIIT) = $41,412
  • Total federal estimate: approximately $60,000
  • $74,182

    Depreciation recaptured

    $6,182/yr x 12 years

  • 25%

    Max §1250 rate

    Or your marginal rate if lower

  • ~$60,000

    Total federal estimate

    Recapture + LTCG + 3.8% NIIT

Source: IRC §1250, §1016(a)(2), §1411. $400K sale, $200K original basis, 12-year hold, high-income bracket. State tax not included.

State taxes add another layer on top. California, New York, and other high-tax states tax the full gain at ordinary income rates, which can push total effective rates past 40% on the recapture portion. Run the combined federal-plus-state estimate before you compare exit strategies.

#What this looks like on your tax return

The sale goes on Form 4797 (Sales of Business Property). The gain flows to Schedule D, where the Unrecaptured Section 1250 Gain Worksheet — inside the Schedule D instructions — applies the 25% rate automatically. The individual property transaction is also reported on Form 8949. Your software handles the routing; your job is to give your preparer the correct accumulated depreciation total going in.

#When cost segregation shifts the recapture math

If you’ve done cost segregation on the property, your accumulated depreciation will be higher than straight-line alone. Cost seg classifies certain components as 5-year or 15-year property and accelerates or bonus-depreciates them early, which is great for cash flow while you hold. But more depreciation accelerated means more recapture at sale.

There’s an additional wrinkle: components classified as personal property (appliances, carpeting, certain land improvements) are recaptured under §1245, not §1250. Section 1245 recapture is taxed as ordinary income at your marginal rate — not capped at 25%. High-bracket investors can face a higher effective rate on those components than on the building structure itself.

The OBBBA made 100% bonus depreciation permanent for qualifying short-life components. That’s a powerful tool. But model the exit before deciding how aggressively to use cost seg. The OBBBA real estate impact guide covers how that permanent change affects the recapture math for property sold after 2026.

#1031 exchange — the full-deferral option

A 1031 exchange under IRC §1031 is the cleanest exit from recapture. You sell the rental and roll 100% of the proceeds into a replacement property. No capital gains tax at the time of sale. No §1250 recapture tax at the time of sale. Everything defers.

The gain carries forward into the replacement property’s adjusted basis. Your accumulated depreciation carries forward too, meaning you start depreciating the new property from a lower basis. The deferred tax is not gone — it’s riding along in your basis until you sell without another exchange.

#The four rules you have to hit

  • Identify the replacement property within 45 days of closing on the property you’re selling
  • Close on the replacement within 180 days of that same closing
  • The proceeds must flow through a Qualified Intermediary — you cannot take possession of the cash at any point between transactions
  • Replacement property must be like-kind (other real property held for investment or business use qualifies; primary residences do not)

To defer 100% of the gain, you must reinvest in a replacement property of equal or greater value and replace any debt you’re relieving. Trade down in value and the difference — called “boot” — becomes taxable in the year of the exchange. See 1031 exchange mechanics for the complete timeline and boot calculation.

#When a 1031 makes sense — and when to skip it

A 1031 exchange is the right call when:

  • You want to keep your equity compounding in real estate rather than paying it to the IRS
  • You’re trading up to a higher-value or better-located property
  • Your gain is large enough that the QI fees and 45/180-day deadlines are worth the transaction complexity (gains above $100,000 is a common threshold where advisors recommend exploring it)
  • You’re not ready to exit real estate

A 1031 may not be worth it when:

  • You’re exiting real estate entirely and don’t plan to reinvest
  • You can’t identify a suitable replacement within 45 days
  • The only replacement options available don’t fit your investment thesis
  • Your gain is modest and the transaction overhead doesn’t pencil out

The deferred recapture disappears permanently only if you hold until death — heirs receive a stepped-up basis that wipes the deferred gain — or if you donate the property to a qualified charity.

#Installment sale — spreading the bill over time

An installment sale under IRC §453 lets you receive the sale proceeds over multiple years, recognizing gain proportionally as each payment arrives instead of recognizing everything at once. This flattens the tax spike and can keep you in a lower bracket in each individual year.

For a standard post-1986 residential rental using straight-line MACRS, the unrecaptured §1250 gain is classified as a capital gain — not ordinary income — and can be spread over the payment schedule alongside the remaining long-term gain.

#Running the installment math on the $400,000 example

Same property: $248,182 total gain ($74,182 unrecaptured §1250 + $174,000 long-term capital gain).

Assume the buyer pays $374,000 over 5 years at $74,800/year in principal, plus market-rate interest on the outstanding balance. Using the installment sale gross profit percentage method:

  • Gross profit percentage: $248,182 gain / $374,000 sale price = 66.4%
  • Gain recognized each year: $74,800 x 66.4% = approximately $49,700/year
  • Annual §1250 portion (proportional): approximately $14,850/year
  • Annual long-term capital gain portion: approximately $34,850/year

Instead of a $60,000 federal tax bill in Year 1, you’re looking at roughly $10,000–$15,000 in federal gain tax each year across five years. The interest income on the note is also taxable as ordinary income on top of that.

#When installment beats outright sale — and when it doesn’t

Installment sale works best when:

  • You can’t identify a 1031 replacement property within 45 days
  • The buyer needs seller financing, which often commands a higher sale price
  • You’re transitioning out of real estate over several years and want to spread income
  • Your taxable income is expected to decline in coming years, putting the future payments in a lower bracket

Just so you know — with an installment note you carry credit risk on the buyer. If they default after you’ve already recognized gain on prior payments, recovering the property through foreclosure is expensive and slow. That risk belongs in the decision calculus.

#Five things to do before you list the rental

The time to plan for recapture is before the property hits the market. Here’s what matters:

1. Get your complete depreciation history. Pull Form 4562 from every prior return and total the actual depreciation claimed. Confirm it against the allowable amount. If there’s a gap, filing Form 3115 before listing lets you claim the missed deductions rather than simply paying recapture on deductions you never benefited from.

2. Calculate the real gain and tax bill with current numbers. Use a current broker price opinion or appraisal for fair market value, subtract your adjusted basis, and run the full recapture-plus-capital-gains estimate. State taxes included. You need a real dollar figure before you can compare exit strategies.

3. Choose your exit structure before you sign the listing agreement. A 1031 exchange requires a Qualified Intermediary in place before you close — you can’t add it after the fact. An installment note must be written into the purchase contract, not added at closing. Make the decision at the listing stage.

4. Inventory your capital improvements. Roof replacement, HVAC systems, new plumbing, foundation work, added square footage — all increase your cost basis and reduce your taxable gain. If you’ve done major work on the property and it’s not reflected in your basis calculation, you’re paying tax on gain that isn’t real.

5. Model the combined federal-plus-state bill. State income tax treatment of installment sales varies. Some states require full recognition in the year of sale regardless of payment timing. Others follow federal rules. The right exit strategy may differ depending on where the property sits.

#Common questions

What is the exact tax rate on unrecaptured Section 1250 gain in 2026? The maximum rate is 25% — unchanged for 2026. The actual rate is the lesser of 25% or your marginal ordinary income rate. If you’re in the 22% bracket, you pay 22% on the recapture, not 25%. High-income investors pay the full 25%.

Do I owe depreciation recapture if I sell at a loss? No. Recapture only applies when you sell at a gain — meaning your net proceeds exceed your adjusted basis. If you sell below your adjusted basis, there’s no recapture tax. You may have a deductible loss instead, subject to the passive activity loss rules under IRC §469.

I never took depreciation on my rental. Do I still owe recapture at sale? Yes. Under IRC §1016(a)(2), your basis is reduced by depreciation “allowed or allowable” — what you were permitted to deduct, whether or not you claimed it. The recapture tax is based on the allowable amount regardless. The fix before you sell is Form 3115, which lets you claim all missed deductions in the current year so you at least get the annual benefit before you owe the recapture.

Does a 1031 exchange permanently eliminate the depreciation recapture tax? No — it defers it. The gain and the accumulated depreciation carry into the replacement property’s basis. The deferred recapture becomes due when you eventually sell without doing another exchange. It disappears permanently only if you hold until death (heirs get a stepped-up basis) or donate the property to a qualified charity.

Can I use the $250,000/$500,000 primary residence exclusion to offset the recapture? Only if the property qualifies as your primary residence for at least 2 of the last 5 years before sale. If it’s been a rental the entire time, the exclusion doesn’t apply. If you converted a former primary residence to rental use, the exclusion can offset part of the appreciation gain — but per IRC §121(d)(6), it does not cover the portion attributable to depreciation taken after May 6, 1997.

What’s the difference between §1245 recapture and §1250 unrecaptured gain? Section 1245 covers personal property components (appliances, equipment, cost-seg short-life items) and recaptures depreciation as ordinary income — taxed at your full marginal rate, which can exceed 37%. Section 1250 covers real property structures. For post-1986 residential rental using straight-line MACRS, §1250(a) ordinary income recapture is typically zero. The unrecaptured §1250 gain is the broader category: all accumulated straight-line depreciation on the building structure, taxed as a capital gain at max 25%. These are distinct concepts that often get conflated.

Does the 3.8% Net Investment Income Tax apply to the recapture? Yes. If your modified adjusted gross income exceeds $200,000 (single) or $250,000 (married filing jointly), the NIIT under IRC §1411 applies to the full gain from rental property sale — including both the unrecaptured §1250 portion and the remaining long-term capital gain. The effective rate on the recapture can be 25% + 3.8% = 28.8% for high-income investors.

Can installment sales spread all of the §1250 recapture over the payment period? For a standard residential rental using straight-line depreciation only, yes — the unrecaptured §1250 gain is a capital gain category that can be recognized proportionally across installment payments. But if you have cost-seg-created §1245 ordinary income recapture, IRC §453(i) requires that portion to be recognized in full in the year of sale regardless. Know which bucket applies before you structure the deal.

#Ready to figure out your real number before you list?

Depreciation recapture is one of the most plannable tax events in real estate — and one of the most commonly underplanned. Whether you need a full cost basis review, a comparison of 1031 vs. installment timing, or a pre-listing tax estimate that includes state taxes, that’s exactly what we do before you sign a contract, not after.

Book a 15-minute Tax Discovery — Google Meet, no pitch, free advice either way.

For a deeper look at the planning levers available throughout the rental property lifecycle, explore our tax planning advisory and cost segregation services.

Search the whole site.

Articles, services, segment pages, tech stack. Start typing — or jump to a topic.

Tip: to navigate · Enter to open · Esc to close