🇺🇸 Made in America·100% U.S.-Based Team · 24+ Years in Cost Segregation
Cost Segregation

Cost Segregation and Depreciation Recapture: What Really Happens When You Sell

Jim Dougherty and team
Jim Dougherty and team
September 30, 2026
•
5 min read

The short answer

Cost segregation does not create a new tax. It moves depreciation deductions earlier, and when you sell, the depreciation you claimed is "recaptured" under Sections 1245 and 1250 of the Internal Revenue Code. The part of your gain tied to the shorter-lived personal property you reclassified (5- and 7-year property) is taxed as ordinary income, up to a federal rate of 37 percent, to the extent of the depreciation taken, including bonus depreciation. The part tied to the building itself is "unrecaptured Section 1250 gain," taxed at a maximum federal rate of 25 percent. Any appreciation above your original purchase price is generally long-term capital gain at 0, 15, or 20 percent. Because you received the deduction years earlier, the time value of that money usually outweighs the recapture cost, and there are several well-established ways to defer, reduce, or even eliminate recapture entirely: a Section 1031 exchange, a step-up in basis at death, careful timing of the sale, and the release of suspended passive losses. The right answer depends on your facts, so model your exit before you commit to a strategy, and work with your CPA.

Meet Marcus: The Question He Almost Did Not Ask

Marcus is a dentist in Charlotte, North Carolina. Four years ago he bought a small eight-unit apartment building for $1,000,000 with a partner who handles day-to-day management. He heard about cost segregation from a colleague, and his first reaction was skeptical. "Doesn't that just come back to bite you when you sell?" he asked his CPA.

It is the single most common question property owners ask about cost segregation, and it is a good one. The honest answer is neither "no, it never matters" nor "yes, and it ruins the strategy." The honest answer is that recapture is real, it is calculable in advance, it can be planned around, and for most owners it is far smaller than the value of taking the deductions early. Marcus ultimately did the study. What changed his mind was not a sales pitch. It was sitting down with his CPA and building a spreadsheet of what the sale would look like on day one, so nothing about the exit would be a surprise.

That is exactly what this guide is meant to give you: the mechanics of recapture, a worked example with real arithmetic, the strategies owners use to manage it, and the mistakes that cause avoidable surprises. Everything here reflects federal tax rules as generally understood as of this writing. Your state, your entity type, and your personal situation can change the outcome, which is why your CPA should own the final analysis.

First, What Depreciation Actually Does to Your Tax Basis

To understand recapture, start with basis. When you buy an income property, your tax basis is generally your purchase price plus certain acquisition costs. Land is not depreciable, so the purchase price is split between land and the depreciable improvements. Each year you claim depreciation, your adjusted basis goes down by the same amount. When you sell, your gain is the sale price (less selling costs) minus your adjusted basis.

That is the whole reason recapture exists. Depreciation deductions reduce your taxable income while you own the property, and they also reduce your basis, which increases your taxable gain when you sell. The tax code's position is that if you deducted the cost of an asset as it "wore out," but the asset was actually sold for more than its reduced basis, some of those earlier deductions should be taxed back. It is not a penalty. It is the other side of the same ledger.

One rule surprises many owners: the basis reduction applies to depreciation "allowed or allowable." Under Section 1016(a)(2), if you were entitled to claim depreciation but did not, your basis is still treated as reduced by the amount you could have claimed. Skipping depreciation to avoid recapture does not work. You simply give up the deductions and still face the gain calculation.

What Cost Segregation Changes (and What It Does Not)

A standard depreciation schedule treats the whole building as one asset: 27.5 years for residential rental property, or 39 years for nonresidential real property, straight-line. A cost segregation study, when performed by qualified engineers, identifies the components of a building that the tax code treats as shorter-lived property. Examples include specialty electrical and plumbing serving equipment, certain flooring, cabinetry, appliances, decorative lighting, and site work such as landscaping, parking areas, and drainage. These components are typically reclassified into 5-, 7-, and 15-year recovery periods.

Under the One Big Beautiful Bill Act, 100 percent bonus depreciation was restored on a permanent basis for qualifying property acquired after January 19, 2025. That means the reclassified short-life components can often be deducted in full in the first year of ownership, rather than spread over years. For property acquired before that date, different bonus percentages may apply, which is one reason the acquisition date matters so much to the calculation.

What cost segregation does not change is the total amount of depreciation you can ever take. Your total depreciable basis is the same either way. The study changes the timing, moving deductions from the far future to the near term. That fact is the key to thinking about recapture correctly, and we will return to it below.

The Three Buckets of Gain When You Sell

When you sell a property that has been depreciated, the gain is sorted into up to three buckets, each taxed differently at the federal level.

Bucket one: Section 1245 recapture (ordinary income)

Section 1245 governs depreciable personal property and certain other property. Cost segregation reclassifies portions of a building into what the tax code treats as Section 1245 property (5- and 7-year property). When you sell, gain attributable to that property is treated as ordinary income up to the total depreciation previously taken on it, including any bonus depreciation. This ordinary income is taxed at your ordinary rates, which reach a top federal rate of 37 percent. Two features are worth knowing. First, recapture is limited to your actual gain. If the property sells at a loss, there is nothing to recapture. Second, 15-year land improvements are generally Section 1250 property rather than Section 1245 property. For those components, depreciation taken in excess of straight-line, which includes bonus depreciation, is generally recaptured as ordinary income under Section 1250(a), and the straight-line portion falls into the 25 percent bucket described next. In practice, that means most of the accelerated benefit on bonus-eligible components comes back at ordinary rates. The detailed classification in your engineered report is what allows your CPA to model this accurately.

Bucket two: unrecaptured Section 1250 gain (maximum 25 percent)

Gain attributable to the straight-line depreciation you took on the building itself, whether through the standard 27.5- or 39-year schedule, is called unrecaptured Section 1250 gain. For individuals, it is taxed at a maximum federal rate of 25 percent. If your ordinary bracket is lower than 25 percent, the lower rate applies. This is the bucket that every owner who has ever depreciated a building faces, whether or not they ever ordered a cost segregation study.

Bucket three: capital gain on appreciation

Any gain above your original cost basis, meaning true appreciation in the value of the property, is generally Section 1231 gain and, for property held more than one year, is typically taxed as long-term capital gain at 0, 15, or 20 percent depending on your taxable income. Depreciation recapture and capital gain are calculated in that order, with recapture "taking" the first slice of the gain.

Separately from all three buckets, the 3.8 percent net investment income tax under Section 1411 may apply to the gain, depending on whether the property is a passive investment for you or part of a trade or business in which you materially participate. State income tax is a further layer, and it varies widely.

The Math: A Worked Example With Real Numbers

Let us walk through Marcus's building. The numbers below are simplified and illustrative. For simplicity, we treat the entire reclassified $200,000 as Section 1245 property. They ignore the mid-month convention, partial-year depreciation, transaction costs, state taxes, the net investment income tax, and interaction with other income, all of which your CPA would include in a real model.

The setup. Marcus buys an apartment building for $1,000,000. The land is allocated at $200,000, so the depreciable basis is $800,000. An engineered cost segregation study reclassifies 25 percent of the depreciable basis, or $200,000, into 5- and 7-year property. With 100 percent bonus depreciation, that $200,000 is deducted in year one. The remaining $600,000 is depreciated straight-line over 27.5 years, or about $21,818 per year.

The year-one benefit. If Marcus is in the 37 percent federal bracket and can use the deduction (which depends on his passive loss situation, discussed later), the $200,000 deduction is worth about $74,000 in reduced federal tax in the first year, before counting the smaller annual straight-line deduction.

The sale. After five years, Marcus sells the building for $1,100,000. Here is the arithmetic.

  • Total depreciation taken: $200,000 in year one, plus about $109,091 of straight-line over five years (5 x $21,818), for a total of about $309,091.
  • Adjusted basis at sale: $1,000,000 minus $309,091 = about $690,909.
  • Total gain: $1,100,000 minus $690,909 = about $409,091.

That gain divides into three buckets:

  • Section 1245 ordinary recapture: $200,000, taxed at up to 37 percent, or about $74,000.
  • Unrecaptured Section 1250 gain: about $109,091, taxed at a maximum of 25 percent, or about $27,273.
  • Capital gain on appreciation: $100,000 ($1,100,000 sale price minus $1,000,000 original cost), taxed at 20 percent at the top rate, or $20,000.

Total estimated federal tax on the sale in this illustration: about $121,273, before the net investment income tax and state taxes.

The comparison without a study. Without cost segregation, Marcus would have depreciated the full $800,000 over 27.5 years, about $29,091 per year, or $145,455 over five years. His adjusted basis would be about $854,545 and his gain about $245,455. The tax on that sale would be roughly $36,364 of unrecaptured Section 1250 gain at 25 percent plus $20,000 of capital gain, about $56,364 in total.

Look at that number and it is tempting to conclude that the study "cost" Marcus about $64,900 in additional sale tax. That conclusion misses the other side of the ledger. Marcus deducted an extra $200,000 in year one that he otherwise would have spread over 27.5 years. The ordinary income recapture of $200,000 at sale is, in essence, the return of that same deduction. If both happen at the same 37 percent rate, the recapture roughly cancels the deduction in nominal dollars. What Marcus kept is the timing benefit: about $74,000 of tax savings in year one, available to pay down debt, fund the next acquisition, or renovate a unit, instead of trickling in over three decades.

To illustrate the time value only, if Marcus redeploys that $74,000 and it earns a hypothetical 6 percent annually for five years, it grows to roughly $99,000. That is not a projection or a promise, only an illustration that money in hand today is worth more than the same nominal dollars returned as future recapture. It is also why the worst way to evaluate recapture is to ask only, "What will I owe at sale?" The better question is, "What did the early deductions let me do, and what will the net position be after the sale?"

Five Ways Owners Manage, Defer, or Eliminate Recapture

Recapture is not a fixed toll that every owner pays in full. Because it is triggered by a taxable disposition, the tax code's own rules give owners several legitimate tools to reduce it or push it into the future. None of these is a loophole. Each is an established feature of the code, and each has requirements that must be followed precisely.

1. The Section 1031 like-kind exchange

Under Section 1031, an owner who exchanges real property held for investment or business use for other real property of like kind can defer the recognition of gain, including depreciation recapture, if the exchange is structured correctly. Since 2018, Section 1031 applies only to real property, so a qualifying exchange requires a qualified intermediary, strict identification and closing deadlines (45 days to identify replacement property and 180 days to close), and careful handling of any cash or debt relief received, which is called "boot" and can be taxable.

There is an important nuance for cost segregated property. Section 1245 contains its own limits on how much recapture can be deferred in an exchange when part of the relinquished property was depreciated as Section 1245 property. In general, if the replacement property does not include enough property of the same kind, a portion of the recapture can be recognized even though the exchange otherwise qualifies. This is exactly why the exchange should be modeled with your CPA and qualified intermediary before you list the property, not after. The good news is that a cost segregation study on the replacement property can create a fresh set of shorter-lived components, allowing owners to continue the cycle of acquiring, depreciating, and exchanging.

2. The step-up in basis at death

Under Section 1014, property included in a decedent's estate generally receives a basis equal to its fair market value at the date of death. When heirs inherit a building that the original owner has depreciated for decades, the accumulated depreciation is effectively wiped from the basis calculation. If the heirs sell shortly after inheriting, there is generally little or no gain and no recapture on the depreciation the original owner took. For owners who plan to hold property for life, this is one of the most powerful features in real estate taxation, and it is the reason many long-term investors are comfortable with the recapture that would apply on a sale they never intend to make. Estate rules can change and depend on the size and structure of the estate, so this is a conversation for an estate planning attorney and your CPA. We have covered the related subject in detail in our guide to cost segregation on inherited property.

3. Choosing the year of the sale

Recapture on Section 1245 property is taxed at ordinary rates, so the bracket you are in during the year of sale matters. An owner who deducted the depreciation while in the 37 percent bracket but sells in a year when other income is lower may see the recapture taxed at a lower bracket. That is a legitimate timing advantage, sometimes called rate arbitrage, but it should never be assumed. Tax brackets, Congress, and your income may all change. What you can control is having a view of the year-by-year picture so that you are not forced into a sale in a year when your income is unusually high.

4. Suspended passive losses released at sale

Many investors who cannot use their rental losses currently, because of the passive activity loss rules under Section 469, carry those losses forward as "suspended" losses. When the owner disposes of the entire interest in a passive activity in a fully taxable transaction to an unrelated party, Section 469(g) generally allows the suspended losses to be released and used against other income, including the ordinary income created by recapture. In practice, this means an investor who took a large first-year deduction through cost segregation, could not use it at the time, and carried it forward may find that the loss finally offsets the recapture. Our article on suspended passive losses walks through exactly when this release occurs and where investors get tripped up.

5. Installment sales, with a caution

Selling a property on an installment basis under Section 453 can spread the taxable gain across several years. However, Section 453(i) requires that depreciation recapture income be recognized in the year of the sale, regardless of when the payments arrive. That means an installment sale can defer the capital gain and the unrecaptured Section 1250 gain, but not the recapture. For a property with a large cost segregation deduction, this can create a year of significant ordinary income with limited cash received. It does not make an installment sale wrong, but it makes advance modeling essential.

Recapture Versus the Value of Early Deductions: How to Actually Compare

Owners who hesitate over recapture are often evaluating the wrong comparison. A more useful framework looks at four questions.

  • What is the value of the deduction today? The first-year deduction reduces current tax. Whether that reduction is usable depends on your income type, your participation in the activity, and the passive loss rules.
  • What could the money do while you hold it? Cash saved in year one can retire high-interest debt, fund a renovation that raises rents, or serve as the down payment on the next property. Money working for you over five, ten, or twenty years compounds.
  • How long will you hold? The longer you hold, the more the time value works in your favor, and the greater the chance that a step-up, an exchange, or a low-income year changes the exit picture.
  • What is the exit plan? A property you plan to hold for life and pass to heirs has a completely different recapture profile than a property you plan to flip in two years.

For long-hold investors, the analysis tends to favor the study by a wide margin. For short-hold or flip strategies, the analysis is closer, and recapture deserves more weight. Neither answer is right in every case, and a good provider will tell you which side of the line your property sits on rather than pushing every owner into a study.

How This Plays Out for Different Types of Owners

Short-term rental owners

Short-term rental owners who meet the average stay test of seven days or less and materially participate can often treat the activity as non-passive, which means cost segregation losses may be usable against other income. Their recapture profile is the same three buckets described above, and their exit options are the same. The difference is that the deduction is often usable immediately, which strengthens the time value case. We cover the qualifying rules in our guide to cost segregation for short-term rentals.

Real estate professionals

Investors who qualify as real estate professionals under Section 469(c)(7) and materially participate in their rentals can typically use rental losses against ordinary income without the passive limitation. For them, the early deduction is at its most valuable, because it works against high-bracket ordinary income today. Our guide on cost segregation for real estate professionals covers the qualification tests in detail.

Passive investors and syndication participants

Limited partners in syndications receive a share of the depreciation on their K-1, but passive loss rules may limit their ability to use it currently. For these investors, the suspended losses released at the sale of the partnership's property can be the offset to recapture. Our article on syndications and K-1 losses explains why a large loss on the K-1 does not always mean a current deduction.

Commercial property owners

Owners of office, retail, industrial, medical, and hospitality properties tend to have the largest reclassifiable percentages and the largest first-year deductions, and they also tend to hold longer, which improves the time value math. They are also the owners most likely to use Section 1031 exchanges, so exit modeling should include the exchange rules for Section 1245 property.

Six Recapture Mistakes That Cost Owners Real Money

1. Assuming skipped depreciation avoids recapture. Because of the "allowed or allowable" rule, you cannot dodge recapture by not claiming the deductions. You only forfeit the benefit.

2. Ignoring recapture in the sale price negotiation. Buyers and sellers focus on the price, but the after-tax proceeds depend on the mix of ordinary income and capital gain. Two sales at the same price can produce very different tax bills depending on the depreciation history.

3. Planning a 1031 exchange without modeling Section 1245. An exchange that looks fully tax-deferred on paper may recognize some recapture if the replacement property is not structured to preserve it.

4. Failing to keep the cost segregation report. At sale, your CPA needs the asset-by-asset detail to compute recapture correctly. An engineered report with a clear component schedule makes that calculation straightforward and defensible. Without it, the classification is guesswork.

5. Forgetting about the net investment income tax and state tax. The federal rates above are only part of the picture. Depending on your participation in the activity, an additional 3.8 percent may apply, and many states tax recapture as ordinary income.

6. Treating an installment sale as a way to defer everything. As noted above, recapture income is recognized in the year of sale regardless of the payment schedule.

Why the Quality of the Study Matters at Sale, Not Just at Purchase

Most conversations about study quality focus on the year-one deduction and audit defense, and both matter. But the quality of a cost segregation report shows up again at the sale. The IRS Cost Segregation Audit Techniques Guide describes the elements of a quality study, including detailed engineering analysis, a defensible cost allocation methodology, and clear documentation of each asset. That same documentation is what your CPA relies on to compute recapture properly when you sell, and what a buyer's due diligence or an examiner may ask to see.

An engineered study by a qualified team provides an asset-by-asset schedule with recovery periods, costs, and the basis for each classification. That schedule lets your CPA identify precisely what portion of your gain is Section 1245 property, what portion is Section 1250, and how the numbers change if you exchange into a replacement property. A rough estimate or a software-generated percentage does not offer that precision, and the difference can show up as either overpaid tax or a difficult conversation later.

This is the philosophy behind how Cost Seg America approaches every project. For more than 24 years, our engineers have prepared studies designed to withstand IRS scrutiny, with lifetime audit support included at no additional cost. Owners work with the same team from the first proposal through the day they sell.

Frequently Asked Questions

What is depreciation recapture in real estate?

Depreciation recapture is the tax on gain that results from depreciation deductions you previously took on a property. When you sell, the portion of your gain equal to depreciation claimed is taxed at rates that differ from ordinary long-term capital gain: ordinary income rates for Section 1245 property and up to 25 percent for unrecaptured Section 1250 gain on the building.

Does cost segregation increase depreciation recapture?

Cost segregation accelerates depreciation, and therefore a larger share of your eventual gain is attributable to depreciation, and a portion of it is taxed at ordinary rates. However, the total depreciation over the life of the property is the same, and you receive the deductions years earlier. For most long-term owners, the time value of the early deductions outweighs the recapture.

What is the recapture tax rate for Section 1245 property?

Gain on Section 1245 property is taxed as ordinary income up to the amount of depreciation taken, so the federal rate is your ordinary bracket, up to 37 percent. State taxes and the net investment income tax may also apply.

What is unrecaptured Section 1250 gain?

Unrecaptured Section 1250 gain is the portion of your gain attributable to straight-line depreciation on real property such as the building. For individuals, it is taxed at a maximum federal rate of 25 percent.

Can I avoid depreciation recapture?

You can defer recapture through a Section 1031 exchange, and heirs can generally avoid it through the step-up in basis at death under Section 1014. Suspended passive losses released at sale can offset it. You cannot avoid it by simply not claiming depreciation, because basis is reduced by depreciation allowed or allowable.

Is there recapture if I sell at a loss?

No. Recapture is limited to the amount of your actual gain. If you sell for less than your adjusted basis, there is no gain to recapture.

Does a 1031 exchange eliminate depreciation recapture?

A properly structured 1031 exchange can defer recognition of gain, including recapture, but it does not eliminate it. The deferred amount carries into the replacement property. Section 1245 has specific rules that can require recognition of some recapture if the replacement property does not preserve the character of the relinquished property, so the exchange should be modeled in advance.

Does the 3.8 percent net investment income tax apply to recapture?

It can, depending on whether the property is a passive investment for you or part of a trade or business in which you materially participate. Your CPA can confirm how it applies to your situation.

Should I skip a cost segregation study because of recapture?

For most long-term holders, recapture is not a reason to skip a study, because the early deductions have real time value and the exit can often be planned around. For very short holding periods, the comparison is closer and should be modeled. A reputable provider will help you evaluate it honestly.

How is a cost segregation study reported to the IRS?

Owners who apply a cost segregation study to a property they already own generally file Form 3115, Application for Change in Accounting Method, to claim missed depreciation as a catch-up adjustment. For property placed in service in the current year, the study is applied on the original return using Form 4562. Your CPA files these forms and reports the sale on Form 4797 and Schedule D as applicable.

Are cost segregation studies accepted by the IRS?

Yes. Cost segregation is a recognized methodology, and the IRS has published its own Cost Segregation Audit Techniques Guide describing how examiners evaluate studies. Studies prepared by qualified engineers with thorough documentation are designed to meet those standards.

Back to Marcus

Marcus sold his building in year five, as modeled. His CPA had the asset schedule from the engineered study, knew exactly how much of the gain was ordinary recapture, and had already talked through a possible 1031 exchange with a qualified intermediary. The tax bill contained no surprises, because nothing about it was new. He had seen the number four years earlier, and he had used the early deductions to pay down debt and renovate two units, raising his rents.

That is the real lesson of recapture. It is not a reason to avoid cost segregation. It is a reason to do it with a plan, a qualified team, and a CPA who sees the whole timeline from acquisition to exit.

What To Do Next

If you own income-producing property, or you are evaluating one, the first step is understanding what an engineered study could mean for your specific building and your specific exit plan. Cost Seg America has worked with commercial property owners, residential rental investors, and short-term rental investors across the country, in each and every city, for 24+ years strong, helping owners reduce their federal tax burden with engineered, defensible cost segregation studies backed by lifetime audit support at no additional cost.

Talk to Jim Dougherty and his team at 1-888-365-5023 or info@costsegamerica.com, and find out what an engineered study could mean for your property. This article is for general educational purposes and is not tax, legal, or investment advice. Consult your CPA or tax advisor about your specific situation.

Your Building Already Holds the Deduction. Let's Go Find It.

Use the calculator, see your number, and request your free, no-cost proposal - delivered in 24 hours, with your flat fee quoted upfront and no obligation.

Get My Free Proposal →
Or speak with us directly - 1-888-365-5023