Sellers

How a 1031 Exchange Works

By Drew Lehr · Published August 10, 2026 · 7 min read
Illustration of a house being prepped for sale with a checklist and ladder

If you own investment property and you're thinking about selling, "1031 exchange" is a term worth understanding before you list — it can be the difference between paying capital gains tax now or deferring it and putting your full equity to work in your next property.

Quick note before we dive in: this is a general explanation, not tax advice. The rules are strict and the deadlines are unforgiving, so always work with a qualified intermediary and a CPA or tax attorney before attempting one.

What a 1031 exchange actually does

Named after Section 1031 of the tax code, a 1031 exchange lets you sell an investment or business property and reinvest the proceeds into a "like-kind" replacement property, deferring the capital gains tax you'd otherwise owe on the sale. It doesn't eliminate the tax — it postpones it, potentially indefinitely if you keep exchanging.

"Like-kind" is broader than it sounds

In real estate, like-kind is interpreted loosely — almost any investment or business real property qualifies as like-kind to almost any other. You could exchange a rental duplex for a commercial building, or vacant land for an apartment complex. What doesn't qualify is your primary residence, or property held purely for personal use.

Two deadlines you cannot miss

This is where most exchanges fail, and it's non-negotiable: once you close on the sale of your property, you have 45 days to formally identify potential replacement properties, and 180 days total from the original sale to close on the replacement. There's no flexibility built into either deadline.

You can't touch the money

To qualify, the sale proceeds have to go directly to a qualified intermediary — a third party who holds the funds and handles the exchange paperwork. If the money passes through your hands, even briefly, the exchange is disqualified and the full gain becomes taxable. The intermediary needs to be lined up before your property even closes.

To defer the full gain, reinvest fully

As a general rule, to defer all of your capital gains tax, the replacement property needs to be of equal or greater value than what you sold, and you need to reinvest all of the net proceeds. Pull cash out, or buy something less expensive, and you'll likely owe tax on the difference.

Why investors use this strategy

Done well, a 1031 exchange lets you move your equity into a better-performing property, consolidate several smaller properties into one, or diversify into a different market — all without a tax bill eating into the capital you have to work with. Over multiple exchanges across a career, that compounding effect can be significant.

The real math: exchange vs. cash out

Numbers make this much more concrete than theory does. Here's a simplified, illustrative example: say you're selling an apartment building for $2,500,000, with an adjusted cost basis (original purchase price, minus depreciation you've claimed over the years) of $900,000 — leaving you with a $1,600,000 gain. Using a blended illustrative rate of roughly 35% to account for federal capital gains tax, the 3.8% net investment income tax, and California state tax (which doesn't offer a reduced rate on capital gains), that gain would trigger somewhere around $560,000 in tax if you simply cashed out.

Bar chart comparing a fully reinvested 1031 exchange to a cash-out sale with $560,000 lost to tax

Now say you take that $2,500,000 and exchange it into a NNN (triple-net-lease) property at a 6% cap rate — a common move for investors who want predictable income without active management. On the full exchanged amount, that's $150,000 a year in net operating income. If you'd cashed out instead, paid the roughly $560,000 in tax, and reinvested only the remaining $1,940,000 at that same 6% cap rate, you'd be earning about $116,400 a year instead.

That's a gap of roughly $33,600 in annual income — every year, for as long as you hold the replacement property — simply from letting the exchange defer that tax bill instead of paying it upfront. These are simplified, illustrative figures to show the pattern, not a projection for your specific property or tax situation — your actual basis, depreciation recapture, income bracket, and current tax law all affect the real numbers, so this is exactly the kind of math worth running with a CPA before you sell.

Can you exchange part of your home?

Here's a less commonly known wrinkle: if part of your primary residence has genuinely been used for business — a home office you use regularly and exclusively for work, or a portion of the property you've legitimately rented out, like a converted garage or accessory unit — the IRS may let you split the sale into two pieces for tax purposes.

The personal-residence portion can still qualify for the Section 121 home-sale exclusion (up to $250,000 of gain tax-free if you're single, $500,000 if married filing jointly, assuming you've lived there 2 of the last 5 years). The business-use portion, meanwhile, may be eligible for its own 1031 exchange — letting you defer tax on that slice by rolling it into a new investment property, separate from the home you're buying to actually live in next.

The two pieces are typically divided by a reasonable method like square footage, and the IRS looks closely at whether the business use was real and well-documented — regular and exclusive use, depreciation actually claimed, that kind of thing. This is a genuinely useful strategy for the right situation, but it's also one of the more nuanced corners of the tax code, so it's not something to attempt without a CPA or tax attorney who's handled this specific combination before.

Thinking about selling investment property?

If you're weighing a sale and want to understand whether an exchange makes sense for your situation, I'm happy to talk through the real estate side while you loop in a tax professional for the specifics.

Drew Lehr
Drew Lehr
Realtor, Guide Real Estate · Get in touch
Keep reading

Related posts