When to 1031 exchange vs cash-out refinance based on return on equity

Trying to figure out when to 1031 exchange vs cash-out refinance based on return on equity and my head is spinning. I own a duplex I bought years ago, basis is pretty low now after all the depreciation, and I've got maybe $280k in equity sitting there doing not much. My return on equity is getting worse every year as the equity grows and the rent barely keeps up. I've been going back and forth: do I do a 1031 into something bigger, or just refi, pull cash out, and deploy it somewhere else without triggering a taxable event? I know a 1031 defers the gain but I'd still be leveraged into real estate. A refi gives me flexibility but I keep reading about depreciation recapture waiting for me eventually. I haven't run the numbers cleanly side by side. Has anyone actually worked through this decision and landed somewhere?

35 comments

Went through almost this exact fork two years ago on a fourplex. The refi route felt safer because I didn't have to find a replacement property in 45 days and I wasn't locked into real estate. But the equity I pulled was sitting in a money market for months while I figured out what to do with it, so my actual return on that capital was terrible for a while. The 1031 would have forced me into a decision faster, which honestly might have been the better discipline.

Derek D.

Author

That 45-day identification window is what scares me most about the 1031. Have you heard of people missing it and just eating the tax?

Yes, and it's brutal. Miss the deadline and the entire exchange collapses, the deferred gain comes due, and depreciation recapture hits on top. No extensions unless there's a federally declared disaster situation.

The return on equity framing is the right one and not enough people use it. ROE = annual cash flow divided by your equity. When that number drops below what you could earn deploying that equity elsewhere, you have a decision to make. The 1031 preserves the full equity but keeps you in real estate and defers that depreciation recapture indefinitely. The refi preserves the asset, pulls some equity, but the loan proceeds aren't taxable because debt isn't income. I had Taxr at taxr.ai read through my Schedule E and my estimated gain worksheet side by side — it flagged that my adjusted basis was lower than I thought because I'd been depreciating the building for 11 years, which made the recapture exposure bigger than I'd modeled.

Derek D.

Author

That recapture piece is what I keep underweighting. How much of your gain was recapture vs regular long-term gain when you modeled it out?

Roughly a third of the total deferred gain was going to come back as unrecaptured Section 1250 gain, which has its own rate — check the Schedule D instructions for where it feeds through. The 1031 deferred all of it, but it also carried the lower basis forward into the next property.

One thing people don't model clearly: a cash-out refi doesn't reset your depreciation basis. You keep depreciating the original building basis over the remaining 27.5-year life. The refi gives you liquidity but your Schedule E looks exactly the same after. The 1031 into a higher-value property actually increases your depreciable basis on the new asset, which can juice your paper losses in the early years of the replacement property.

This is the part that caught me off guard when I did my first exchange. The stepped-up basis on the replacement felt like free depreciation at first, but you're also carrying the deferred gain forward, so it's not really free — you're just pushing the tax event further out.

Exactly. The IRS tracks it on Form 8824. The realized gain, the recognized gain, the basis of the replacement property — it's all computed there. If you do an exchange, you file that form with the return for the exchange year (and the two following years only if it was a related-party exchange), then keep the basis records it produces until you eventually sell without exchanging.

Refi made more sense for me when rates were low and I could deploy the pulled equity at a higher cap rate elsewhere. The math flipped when rates went up — now the debt service on a refi eats into the cash flow significantly. So the "right" answer depends heavily on the rate environment at the time you're doing this, not just the equity and the gain.

Derek D.

Author

That's a good point I hadn't framed it that way. The after-debt-service return on the deployed capital has to clear a pretty high bar now.

The passive activity loss angle matters here too. If you have suspended passive losses sitting in Form 8582 from prior years, a 1031 keeps them suspended — they don't free up at the exchange. But if you sell outright, those suspended losses release and can offset the gain. That changes the net tax cost of the sale vs exchange decision significantly depending on how many years of losses you've been carrying.

Derek D.

Author

I do have some suspended losses on Form 8582. So a straight sale might actually be better than a 1031 if the losses offset enough of the gain?

Possibly. The released suspended losses offset your passive income and potentially your gain on disposition. Run both scenarios — the 1031 path and the outright sale path — with your actual suspended loss number before you decide. The 1031 looks cleaner on paper until you factor in those stranded losses.

I was stuck on this for months and what finally moved me was getting a clear picture of my adjusted basis. I uploaded my depreciation schedule and last three Schedule E returns to Taxr and it walked me through what my accumulated depreciation actually was year by year — I'd had two different accountants over the years and the numbers weren't consistent. Once I knew the real basis and the real recapture exposure, the 1031 clearly won for my situation because the tax hit on a sale was enormous relative to what I could earn on the freed equity.

Derek D.

Author

Two accountants with inconsistent numbers is exactly my fear. How far off were they?

About $18k in accumulated depreciation difference, which translated to a meaningful recapture exposure I hadn't accounted for. Worth checking your own records against the original Form 4562 from your first year of rental.

Don't overlook the qualified intermediary requirement if you go the 1031 route. You cannot touch the sale proceeds at all — they have to go directly to a QI and the QI holds them until you close on the replacement. If the proceeds hit your account even briefly, the exchange is disqualified. It's a hard rule with no forgiveness.

My QI also flagged that both the relinquished and replacement properties have to be held for investment or productive use in a trade or business — your primary residence doesn't qualify, and a vacation property where you use it personally can get complicated depending on how many days you use it.

The 180-day replacement window sounds like a lot but it goes fast if you're in a competitive market. I identified three properties in the 45 days and lost two of them before I could close. Ended up in something that was fine but not what I really wanted. The time pressure is a real cost of the 1031 that doesn't show up in the tax math.

Something to run on the ROE side: take your current annual net cash flow after all expenses including mortgage, divide by your equity. Then model what that same equity deployed into the replacement property (1031) would yield, and separately what just the pulled cash from a refi deployed elsewhere would yield — after accounting for the new debt service on the refi. That three-way comparison is usually where the right answer becomes obvious.

Derek D.

Author

This is basically the spreadsheet I've been trying to build. The tricky input is the cap rate assumption on the replacement, since I don't have a specific deal yet.

Use a range, not a point estimate. Run it at the low end of what's realistic in your target market and see if the 1031 still wins. If it only works at optimistic assumptions, that's useful information.

The depreciation recapture exposure is the number that made the refi look a lot better for me personally. I gave Taxr my prior year return and my original purchase closing disclosure and it put together a summary showing the gap between my book basis and what I'd actually net after recapture tax and state tax — the real after-tax equity was notably less than the gross equity number I'd been thinking about. That reframing helped me see the refi as keeping the asset, keeping the tax deferral, and deploying a portion of equity without crystallizing anything.

The after-tax equity number is the right one to use in ROE. Most people divide by gross equity and wonder why their returns look worse than they feel.

There's also a basis allocation question on the replacement property in a 1031. Your new basis is the fair market value of the replacement minus the deferred gain, essentially. So if you exchange into a $600k property and defer $200k of gain, your depreciable basis starts lower than the purchase price. Form 8824 walks through the computation. The higher depreciation from the larger property is real but it's partly offset by that lower starting basis.

This catches people on their first exchange. They see a bigger property and assume bigger depreciation deduction right away, but the basis carryforward reduces it. Still usually better than paying the tax now, but it's not a dollar-for-dollar upgrade in depreciation.

Worth asking your CPA whether your state conforms to federal 1031 rules. Most do, but a few states have their own exchange rules or clawback provisions if you exchange into an out-of-state replacement property. Finding that out after you've structured the deal is an expensive surprise.

Derek D.

Author

I hadn't thought about state conformity at all. I'm in a state with an income tax so I'll definitely check that before going further.

The refi path also has a ceiling — lenders will only let you pull out so much equity based on the LTV they'll go to, and that might be less than your full unrestricted equity anyway. So the choice isn't always "all the equity via 1031" vs "all the equity via refi" — sometimes the refi only unlocks a portion and the rest stays locked unless you sell or exchange.

If your MAGI is high enough that the passive loss special allowance phases out completely, the suspended losses on Form 8582 pile up faster than you'd expect. The 1031 keeps everything deferred but doesn't solve the loss suspension problem. Some people get to a large portfolio with big equity, big deferred gain, and big suspended losses all frozen at once — the only clean exits are selling outright (with the losses releasing) or dying (which is a whole other conversation about stepped-up basis that a 1031 chain complicates).

The "die with it" strategy is real and people say it half-joking but some estate planners treat it seriously. The step-up at death eliminates the deferred gain and the recapture, but the suspended losses only survive to the extent they exceed the step-up, and that excess is deducted on the decedent's final return rather than passing to heirs. It's not a tax strategy so much as a timing outcome.

Derek D.

Author

This thread got philosophical but honestly that stepped-up basis point is something I need to understand better. Appreciated.

Before you decide either way, make sure you have clean records of your original purchase price, the land allocation, every improvement capitalized, and every year of depreciation taken. The adjusted basis is the foundation of every calculation in this decision — the gain, the recapture, the ROE, the exchange basis. If those records are a mess, the analysis is unreliable no matter which path you take.

Records are where it always breaks down. I had to reconstruct three years of improvements from old contractor invoices because they'd never been capitalized properly. That work changed my basis enough to matter.