1031 exchange vs selling and using cost segregation on new rental — which actually comes out ahead?

Trying to work through a decision and would love some input from people who've actually run these numbers. I have a commercial rental I've held for 11 years, fully depreciated building, sitting on a big gain. Option A is a 1031 exchange into a larger property. Option B is sell it, pay the tax, then buy the new property outright and do an aggressive cost segregation study on it to front-load depreciation deductions. The cost segregation angle is tempting because I'd get a fresh depreciation basis and potentially huge bonus depreciation in year one. But I'd also be writing a massive check to the IRS on the sale. My accountant leans toward the 1031 but hasn't really modeled out the cost seg scenario. Has anyone actually compared these two paths side by side? What am I missing about how the math works?

32 comments

Form 8824 is the form that ties the 1031 together — you use it to report the exchange and calculate your carryover basis in the replacement property. The thing people miss is that your deferred gain follows the new property as a reduced basis. So when you eventually sell the replacement property, you're paying tax on the original gain plus any new gain. The 1031 isn't elimination, it's deferral. That matters a lot when you're comparing it to the cost seg path.

Leah K.

Author

Right, I understand the deferral piece. What I'm trying to figure out is whether the cost seg deductions in year one on the new property offset enough of the tax hit from the sale to make option B viable. It's really a time-value-of-money question I think.

Cost segregation on a commercial property can be powerful. A study will reclassify building components — personal property, land improvements — into 5, 7, or 15-year MACRS property instead of 39 years. Combine that with bonus depreciation and you can deduct a huge percentage of the reclassified assets in year one. Bonus depreciation was stepping down for a few years, but it's been restored to a permanent 100% for qualifying property acquired after January 19, 2025, so the acquisition date matters a lot. Check the current bonus depreciation rules before modeling this.

This is the part that changes the math fast. With bonus depreciation back at 100% for property acquired after January 19, 2025, the year-one deduction on the reclassified components can be as big as it was a few years ago.

Leah K.

Author

Good point, I hadn't pinned down the exact current rate. Need to get that number before I can actually model this properly.

The depreciation recapture piece on option B is brutal on a fully depreciated commercial property. Unrecaptured Section 1250 gain on the structure gets taxed at a maximum rate of 25%, and any Section 1245 recapture on personal property components is ordinary income. That's on top of the capital gains tax on the appreciation. That recapture hit alone can swing the whole comparison.

Leah K.

Author

Yeah the recapture is what scares me. The building basis is basically zero at this point so almost everything is either recapture or long-term gain. That tax bill would be enormous.

I uploaded my closing disclosure, the cost segregation study, and my prior depreciation schedules into Taxr at taxr.ai and it mapped out exactly which assets were 5-year vs 15-year property and flagged where my Schedule E depreciation didn't match what the study had allocated. Saved me from a real discrepancy before I filed. On your actual question — the 1031 preserves your capital but locks you into a lower basis forever. The sell-and-cost-seg path only wins if the front-loaded deductions shelter enough income in the near term to offset the immediate tax. That breakeven depends on your marginal rate, the bonus depreciation rate in effect, and how long you plan to hold the new property.

Leah K.

Author

That's a really useful frame. The breakeven holding period is exactly what I need to calculate. If I hold the new property 15+ years either way, the 1031 probably wins just on cash flow grounds.

One thing worth modeling: on the 1031 side your carryover basis means 27.5-year depreciation (or 39 for commercial) on a reduced number. You're not getting a fresh start. With the cost seg you're depreciating a full stepped-up basis on 5, 7, and 15-year buckets. That's a real difference in annual depreciation deductions over the holding period, not just year one.

Exactly. The annual depreciation drag on the 1031 path is real. People focus on the tax hit to sell but then don't add back the value of higher future deductions from cost seg on a full basis.

Leah K.

Author

This is making me think I need an actual multi-year model, not just a year-one comparison. The difference in ongoing depreciation deductions probably adds up significantly over 10 years.

Have you thought about a 1031 into the new property AND then doing a cost seg study on the replacement? You can still order a cost seg study on a 1031 replacement property. Your depreciable basis will be lower due to the carryover, but you can still reclassify whatever basis you do have into faster-depreciation categories and potentially pick up bonus depreciation on those reclassified components.

Schedule E is where this all lands year to year. Depreciation flows through there against rental income. If you have passive losses that exceed your income and you're above the MAGI threshold where the $25,000 special allowance phases out, those losses just stack on Form 8582 and wait. High earners don't necessarily get the immediate benefit of a giant year-one cost seg deduction unless they qualify as a real estate professional.

Leah K.

Author

Oh this is a critical point I glossed over. I do not qualify as a real estate professional. My MAGI is well over the phase-out range. So those suspended passive losses from cost seg would just pile up and I wouldn't see the benefit until I sell or offset with passive income.

Right. Publication 527 at irs.gov has the specifics on the passive activity loss rules and the phase-out thresholds for the special allowance. For high earners without RE professional status, the 1031 path is often more immediately useful because you're deferring a real cash outflow rather than generating losses you can't use yet.

The qualified opportunity zone path is a third option worth at least understanding before you decide — you can invest the capital gain (not the full proceeds) into a QOZ fund and defer and potentially reduce that gain. It's not right for every situation but if you haven't looked at it, now is the time before you structure anything.

Leah K.

Author

Hadn't thought about QOZ at all. I'll ask my accountant about that angle. Though the 1031 gives me more control over exactly what property I end up in.

Form 4562 is where the depreciation and bonus depreciation actually get claimed. Part I covers the Section 179 election, Part II handles bonus depreciation. If you go the cost seg route, your preparer will be working off the cost seg study to populate 4562. Worth understanding what that form looks like before you're in the middle of a transaction.

Went through almost exactly this on a strip mall I sold two years ago. Ended up doing the 1031 into a triple net property. What tipped it for me was that my passive losses were already suspended anyway from prior years, so the cost seg deductions wouldn't have done me any near-term good. The 1031 meant that cash stayed working in real estate instead of going to the IRS. No regrets.

Leah K.

Author

The suspended passive loss angle is really making me lean toward 1031. If I can't use those deductions in real time, I'm just deferring a benefit I'd see at sale anyway — except with the 1031 I also defer the tax.

Before my last exchange closed I had Taxr read through my Form 8824 draft and the settlement statement side by side — it caught that my boot calculation was off because a property tax proration at closing hadn't been netted correctly, which would have changed my recognized gain. Worth having a second set of eyes on those numbers before you file. On the substance of your question: the sell-and-cost-seg math really does hinge on whether you can absorb the deductions currently. If you're passive and over the income limit, the losses suspend and your breakeven timeline stretches out dramatically.

Leah K.

Author

Good to know about the boot calculation — that's exactly the kind of thing that slips through. And yes the passive loss issue is becoming the decisive factor for me personally.

Another angle: state tax. Some states don't conform to Section 1031, so you could owe state capital gains tax on the sale even if the federal exchange is clean. That changes the cost of option B materially if you're in a high-tax state. Worth confirming your state's conformity before assuming the tax bill is just a federal calculation.

Leah K.

Author

My state does conform but I honestly would not have checked that without this reminder. Really important step.

I gave Taxr my prior depreciation schedule and the cost segregation proposal from the engineer and asked it to show me which line items on Schedule E would change under each scenario. It drafted a comparison worksheet showing the passive loss carryforward path under each option based on my income level. Really clarified for me that the cost seg benefit was largely deferred given my MAGI. That worksheet helped me have a much more specific conversation with my CPA. On form mechanics: the cost seg study doesn't go on a tax form directly — the study informs how your preparer populates Form 4562, and that feeds into Schedule E.

Leah K.

Author

Thank you — having a clear comparison worksheet is exactly what I need to show my accountant. I'll do the same exercise so we can actually model both paths with real numbers.

To make sure the thread doesn't leave a gap: someone earlier implied bonus depreciation is fully gone. That's not correct. The rate had been stepping down, but it's now a permanent 100% for qualifying property acquired after January 19, 2025 — it depends on when you acquire the property. Check the current Form 4562 instructions for the applicable percentage for your tax year.

Fair correction. The instructions explain the acquisition-date rules. I should have said the rate is back at 100% for property acquired after January 19, 2025, not implied it was gone.

If the 1031 route wins and you do the exchange, make sure you understand the 45-day identification window and the 180-day closing window. Miss either and the exchange fails and the full gain is recognized. That's not a tax question exactly but it's the execution risk that blows up otherwise sound plans.

Pulling back to your original question — the two factors that seem to settle it for most high-income passive investors are: one, can you use cost seg losses now or will they suspend on 8582, and two, what is the current bonus depreciation rate. If losses suspend and bonus depreciation is partial, the 1031 almost always wins on a present-value basis. If you can absorb losses currently because you have passive income from other sources, cost seg becomes much more competitive.

Leah K.

Author

This is the clearest summary of the decision framework for me. I'm passive, over the threshold, so it's really pointing toward 1031. I'll have my CPA model it formally but I feel like I actually understand the decision now. Really appreciate everyone's input here.