A 1031 exchange defers your capital gains tax. A cost segregation study accelerates your depreciation deductions. Used together, 1031 exchange cost segregation is one of the most powerful combinations in real estate tax planning — allowing you to sell a property, buy a new one, and immediately generate a massive write-off on the replacement property while deferring all gains from the sale.

This guide covers the mechanics of both strategies, the critical concept of "exchange basis" allocation, why you should consider a cost segregation study before the exchange, and a real dollar example showing the combined tax impact.

Commercial real estate properties in city skyline
Layering a 1031 exchange with cost segregation on the replacement property can generate six-figure deductions while deferring all capital gains.

1031 Exchange Basics: The Timeline

Under IRC Section 1031, you can sell an investment or business property ("relinquished property"), reinvest the proceeds into a like-kind replacement property, and defer all capital gains tax — including depreciation recapture. The rules are strict:

  • 45-day identification period: From the date you close on the sale, you have 45 calendar days to identify up to three potential replacement properties in writing to your Qualified Intermediary (QI).
  • 180-day closing deadline: You must close on the replacement property within 180 calendar days of selling the relinquished property.
  • Qualified Intermediary required: You cannot touch the sale proceeds. A third-party QI holds the funds between the sale and purchase.
  • Like-kind requirement: Any real property held for investment or business use qualifies — you can exchange a single-family rental for an apartment complex, a retail building for raw land, or a warehouse for an office building.

If you follow these rules, your capital gains tax — which could be $100,000–$500,000+ on an appreciated property — is deferred entirely. And you can chain 1031 exchanges indefinitely, deferring gains across multiple properties over decades.

How Cost Segregation Applies to the Replacement Property

Here's where the strategy gets powerful. After you acquire the replacement property through a 1031 exchange, you perform a cost segregation study on it. The study reclassifies 20–40% of the building value into accelerated depreciation categories (5-year, 7-year, and 15-year property), and with 100% bonus depreciation, those reclassified amounts are deducted entirely in year one.

The result: you defer the gain from the property you sold and generate a large new deduction from the property you bought — all in the same transaction.

$0
Capital Gains Tax Paid (Deferred via 1031)
20-40%
Replacement Property Value Reclassified
Year 1
When Accelerated Deductions Hit

Understanding "Exchange Basis" Allocation

This is the technical piece most investors — and many CPAs — get wrong. When you acquire a replacement property through a 1031 exchange, the tax basis in the new property is not simply what you paid for it. It's a combination of:

  • Carryover basis: The adjusted basis from your relinquished property (original cost minus depreciation taken)
  • New basis: Any additional cash ("boot") you added to the exchange above the net proceeds from the sale

The total exchange basis is then allocated across the components identified in the cost segregation study — land, building structure, site improvements, and personal property. This allocation determines how much depreciation you can claim and at what recovery rate.

Getting this allocation right is critical. An improperly allocated exchange basis can understate your depreciation deductions by tens of thousands of dollars or create problems on audit. This is one reason to work with a cost segregation firm that has specific experience with 1031 replacement properties.

Key point: Even though your basis in the replacement property includes deferred gain from the relinquished property, the cost segregation study still reclassifies components based on the full purchase price of the new property. The exchange basis is then allocated proportionally across those components. This means the dollar amount available for accelerated depreciation can be substantial even on an exchanged property.

Why You Should Do a Cost Seg Study BEFORE the Exchange

Most investors only think about cost segregation on the replacement property. But there's a strong case for performing a study on the relinquished property before you sell — especially if you've never done one.

Here's why: if your relinquished property has components that were never reclassified into shorter depreciation lives, you've been under-depreciating for years. A cost segregation study performed before the exchange allows you to claim a "catch-up" depreciation deduction under IRS rules (a change in accounting method via Form 3115). This generates a large deduction in the year of the exchange — in addition to the deferred gain and accelerated depreciation on the replacement property.

The catch-up deduction is taken as a Section 481(a) adjustment in a single year — no amended returns needed. For a property owned for 10+ years that never had a cost seg study, the catch-up deduction alone can be worth $50,000–$200,000+.

A Real Dollar Example: The Combined Strategy

Let's walk through a concrete scenario to show how 1031 exchange and cost segregation work together:

The Setup

  • Relinquished property: A commercial building purchased 12 years ago for $800,000 (including $150,000 land). Current adjusted basis: $540,000 after straight-line depreciation. Fair market value: $1,200,000.
  • Replacement property: A multifamily apartment complex purchased for $1,800,000 (including $300,000 land), funded with the $1,200,000 exchange proceeds plus $600,000 in new financing.

Step 1: Cost Seg on Relinquished Property (Before Exchange)

A cost segregation study on the relinquished property identifies $160,000 in components that should have been classified as 5-, 7-, and 15-year property. After 12 years of ownership, those components are fully depreciated under the accelerated schedule, generating a catch-up deduction of approximately $95,000 (the difference between accelerated depreciation and straight-line depreciation already claimed).

Step 2: 1031 Exchange

The property sells for $1,200,000. The $660,000 gain ($1,200,000 – $540,000 adjusted basis) is fully deferred via the 1031 exchange. At a combined federal and state capital gains rate of 28.8% (including depreciation recapture), the deferred tax is approximately $190,000.

Step 3: Cost Seg on Replacement Property

A cost segregation study on the $1,800,000 multifamily property identifies 30% of the building value — roughly $450,000 — as eligible for accelerated depreciation. With 100% bonus depreciation, that entire $450,000 is deducted in year one.

The Combined Tax Impact

Strategy Tax Benefit Type
Cost seg catch-up (relinquished) $95,000 deduction → ~$35,000 tax savings Current-year deduction
1031 exchange gain deferral $190,000 in deferred tax Indefinite deferral
Cost seg on replacement property $450,000 deduction → ~$166,500 tax savings Year 1 accelerated deduction
Total first-year tax impact ~$391,500 in tax savings and deferrals Combined

That's nearly $400,000 in tax benefit from a single transaction — a combination of immediate deductions and deferred gains. The cost of both studies and the QI fee totals roughly $15,000–$25,000, making the ROI extraordinary.

Planning a property sale or exchange? We coordinate the cost segregation studies, exchange timing, and basis allocation to maximize every dollar of tax benefit.

Learn About Our Cost Segregation Services →

Common Mistakes to Avoid

  • Skipping cost seg on the relinquished property: The catch-up deduction is free money. If you've owned the property for 5+ years without a cost seg study, you're leaving deductions on the table.
  • Improper basis allocation on the replacement property: The exchange basis must be allocated correctly across land, building, and personal property components. Errors here compound over the entire holding period.
  • Missing the 45-day identification deadline: This is the hardest deadline in real estate tax planning. Mark it on your calendar the day you close. There are no extensions.
  • Not coordinating with your CPA before closing: The cost segregation firm, the QI, and your tax preparer all need to be aligned on the basis allocation and depreciation schedule. Coordinate before the exchange, not after.

Bottom line: A 1031 exchange defers your capital gains. Cost segregation on the replacement property generates immediate deductions. And a catch-up cost seg study on the relinquished property adds even more savings. Together, these strategies can produce $200,000–$500,000+ in combined tax benefits on a single exchange. The key is coordinating the studies with the exchange timeline and ensuring the basis allocation is done correctly.