Selling apartment building: pay capital gains tax or 1031 into DST?

We're under contract to sell a 12-unit apartment building we've held for 19 years. Basis is very low after all the depreciation we've taken, so the gain is going to be large — probably a mix of unrecaptured Section 1250 gain and long-term capital gain. My CPA mentioned a Delaware Statutory Trust as a 1031 exchange option to defer everything, but I'm not sure if that's worth the complexity versus just paying the tax and being done. I've been reading about Form 8824 for the exchange side and I know depreciation recapture doesn't go away in a 1031, it just carries into the replacement property. Has anyone actually compared the two paths — selling apartment building, pay capital gains tax or 1031 into DST — and decided one way or the other? What tipped the decision for you?

34 comments

Form 8824 is the form you'd file if you go the exchange route. It carries the deferred gain and the adjusted basis of the relinquished property into the replacement property, so you're right that the depreciation recapture doesn't disappear — it follows the basis forward. If you just sell and pay, you report the sale on Form 4797 for the Section 1250 recapture portion and Schedule D for the remaining long-term gain. Two completely different sets of paperwork and two completely different cash flows.

Luis K.

Author

That's the core of it. The 4797 / Schedule D path is cleaner to file but obviously the tax hit is real. I keep going back and forth on whether deferral is worth locking into a DST for 5-10 years.

DSTs have their own headaches people don't talk about enough. You lose all operating control — you're a passive investor, full stop. The sponsor makes every decision. And liquidity is basically zero until they sell the asset. If you need cash in year 3 you can't just sell your interest. Worth pricing that illiquidity against whatever tax you'd pay now.

Luis K.

Author

Yeah the lockup is the thing that worries me most. We're in our 60s and the idea of parking proceeds into something we can't touch for a decade is uncomfortable.

DST to 721 exchange into a REIT is a path some sponsors offer at disposition, which gets you some liquidity eventually, but that's another layer of complexity and not every DST has that option.

Recapture tends to be the figure people lowball most before they sell. Unrecaptured Section 1250 gain is taxed at a max rate that's separate from the regular long-term capital gains rate — check the Schedule D Tax Worksheet or the Qualified Dividends and Capital Gain Tax Worksheet in the 1040 instructions for how that layering actually works. After 19 years of depreciation on a 12-unit building the recapture alone could be a very large number.

Luis K.

Author

This is what made us start taking the 1031 seriously. The recapture on its own is substantial before we even get to the remaining gain.

Had the same realization mid-sale on a small commercial property. Recapture hit us harder than we expected even though the building wasn't huge.

Before I made this call on my duplex portfolio sale, I uploaded my prior-year returns and the closing disclosure to taxr.ai and had Taxr pull every piece of suspended passive loss and prior depreciation claimed across the properties. It laid out what would release on a taxable sale versus what would carry into a 1031 replacement — I could see side by side exactly how Form 8582 suspended losses would behave under each scenario. Saved me from assuming those losses would stay stuck in a straight sale when in fact they'd release in full once the entire activity was disposed of in a fully taxable sale.

Luis K.

Author

The Form 8582 angle is one I hadn't thought through carefully. We do have some suspended passive losses sitting there. If a straight sale releases them that partially changes the math.

Form 8582 suspended losses are released in full in the year you dispose of the entire activity in a fully taxable sale, per the passive activity rules. But in a 1031 exchange the disposition isn't fully taxable so the losses don't release — they stay suspended and move forward. That's a real difference in the year-of-sale tax picture.

Luis K.

Author

So on a taxable sale those losses come out and offset ordinary income first, then the capital gain? Or do they just offset the passive gain from the sale?

They offset the gain from the activity first, and once the activity shows net income or gain any remaining suspended loss flows through to offset other income. The Form 8582 instructions walk through the ordering. It's worth running the actual numbers with your CPA because the release amount depends on how the gain is characterized.

One practical thing on the 1031 side: the 45-day identification window and 180-day closing window are strict and the IRS does not bend them. With a DST the identification is usually cleaner because sponsors have inventory ready, but you're still racing the clock from the day your sale closes. If anything slips you've got a failed exchange and a fully taxable sale with no do-over.

Failed exchanges are brutal because you've already spent time and attorney fees structuring it and then you owe the full tax anyway. Qualified intermediary selection matters a lot.

Schedule E is where the DST income shows up after the exchange — you'd report your share of income and expenses as a passive investor. Some DSTs produce relatively modest cash yields compared to what you were netting on a managed apartment building, so the income replacement question is real. Run actual projected cash-on-cash from the DST sponsor's materials against what you've been netting.

Luis K.

Author

Our building cash flows well because we've owned it so long and the mortgage is gone. DST yields I've seen quoted are lower. That gap has to factor in.

Worth separating the land value from the depreciable basis question before you finalize anything. Land isn't depreciated, so whatever portion of your original purchase price was allocated to land didn't generate depreciation deductions and won't be part of the recapture calculation. If you don't have the original allocation from the closing docs your CPA may need to reconstruct it.

Form 8824 line 25 carries your basis into the replacement property in an exchange, and that low basis follows you forever until you eventually sell or die — step-up at death could wipe the deferred gain for your heirs, depending on estate size. I had Taxr go through my 8824 from a prior exchange and it flagged that my QI had calculated the realized gain differently than what my original depreciation schedules showed, which changed the deferred amount. That kind of check is worth doing before you sign anything.

Luis K.

Author

The step-up angle is something our estate attorney brought up too. If we hold through death the heirs could get a stepped-up basis and the deferred gain disappears. That changes the calculus a lot depending on our timeline.

Step-up planning is real but tax law can change and nobody knows what the rules look like in 10 or 15 years. Hard to build a strategy entirely around a provision that Congress has talked about eliminating more than once.

I'd keep two documents open side by side while running this analysis: Publication 527 at irs.gov and the Form 8824 instructions. The 8824 instructions in particular walk through how to calculate the amount realized, the gain recognized, and the basis of replacement property in a way that makes the deferral math concrete.

State tax is a separate calculation people forget. Some states don't conform to federal 1031 treatment at all, and a few require you to file a withholding form at closing even if you're a nonresident of the state where the property sits. Your CPA needs to check state-level treatment before you assume the exchange defers everything.

Luis K.

Author

Our building is in a state with its own income tax and I honestly don't know if they conform to 1031. Adding that to the list for our CPA.

Another angle: if your MAGI is high enough the net investment income tax applies to the gain on a straight sale, adding to the federal rate on top of the capital gains and recapture rates. That doesn't go away in a 1031 either — it defers with the gain. But it's another reason the total tax cost of a straight sale is often larger than people's quick estimate.

NIIT on rental gain catches people off guard. It applies to net investment income including rental income and gain from sale of rental property for taxpayers above the threshold. Check the Form 8960 instructions for how it interacts with passive losses.

Cost segregation study from prior years could affect your recapture calculation too. If you did a cost seg and took accelerated depreciation on personal property components, that portion recaptures as ordinary income under Section 1245, not at the Section 1250 rate. After 19 years there's a good chance some of that is fully depreciated already but it's worth checking your depreciation schedules.

Luis K.

Author

We didn't do a cost seg study, so I think we're on straight-line the whole way. But good flag for anyone who did.

The honest answer is that this decision really turns on three numbers: your current effective rate on the combined gain, the DST's projected after-fee yield, and your expected holding period. If your rate is high, the DST yield is decent, and you have 7+ years, deferral usually wins on paper. If any of those shifts, the math tips toward paying now.

Agreed, and your basis in the replacement DST interests will be low so when the DST eventually sells you'll owe tax on that deferred gain plus whatever the DST itself appreciates. It's deferral, not elimination.

If you do go exchange, make sure the qualified intermediary holds the proceeds — if the funds touch your hands even briefly the exchange is disqualified. That's a hard rule with no exceptions.

QI selection also matters for credit risk. The intermediary holds your proceeds during the exchange window and there's no FDIC protection on those funds in most structures. Use someone with a bonded escrow account.

Coming back to where you started: the choice between selling apartment building, pay capital gains tax or 1031 into DST really is a projection exercise more than a rules question at this point. The rules are what they are on both paths. What your CPA needs to build is a year-by-year after-tax cash flow model under each scenario with realistic DST yield assumptions, your actual suspended losses, and your estate plan timeline. That comparison is what makes the decision defensible.

Luis K.

Author

This is exactly where we're landing. We're scheduling a full session with our CPA to build that model before we commit to either path. Really appreciate everyone's input here.