← Back to Insights

Sell an investment property outright and you generally owe capital gains tax on the spot - 20% at the top federal long-term rate, plus the 3.8% net investment income tax, before any state tax - and any depreciation you've claimed is generally recaptured on top of that, often at an even higher 25% federal rate. A Section 1031 like-kind exchange lets you roll that gain into a new property instead of cashing it out, so the tax bill is deferred rather than triggered. It's one of the most powerful tools available to real estate investors, and also one of the easiest to blow up with a missed deadline or a well-intentioned shortcut.

This is a mechanics-heavy area of the code, so we're not going to pretend it's simple. But the core ideas are learnable, and knowing them before you list your property - not after - is what actually keeps the deferral intact. (If you're weighing whether to sell versus keep renting in the first place, our guide to rental property deductions covers the ongoing side of that decision.)

What "like-kind" means for real estate

Since the 2017 Tax Cuts and Jobs Act, Section 1031 applies only to real property - equipment, vehicles, and other personal property no longer qualify for a like-kind exchange at all. Within real estate, though, "like-kind" is interpreted broadly: it generally covers any real property held for productive use in a trade or business or for investment, exchanged for any other such real property. An apartment building for raw land, a retail strip center for a warehouse, a rental condo for a fractional interest in a large commercial building - all can qualify, because the comparison is real property to real property, not the same type of real property to itself.

What doesn't qualify:

  • Your primary residence - that's governed by the separate Section 121 home-sale exclusion, not Section 1031.
  • Property held primarily for sale - a house you're flipping is inventory, not investment property, even if you held it for a while.
  • Foreign real property exchanged for U.S. real property, or vice versa - the two aren't considered like-kind to each other.

A vacation home sits in a gray area and has its own safe harbor, covered in the FAQ below. If you're weighing whether a short-term rental even counts as investment property in the first place, our STR tax strategy article covers that distinction in more depth.

The two clocks: 45 days and 180 days

Once you close the sale of your relinquished property, two deadlines start running on the same day - the 180-day period is not added on top of the 45-day period, they run concurrently.

45 calendar days to identify, in writing, the replacement property or properties you might acquire. 180 calendar days - or your tax return's due date for the year of sale, whichever comes first - to actually close on the replacement property. Both are calendar days, including weekends and holidays, and neither has a general extension or hardship exception.

The "whichever comes first" clause catches people who sell late in the year. Close a sale in November and the 180th day can land after your following April return is due, effectively shortening your window unless you file a timely extension for that return - which gives you back the full 180 days to close.

You must identify replacement property under one of three rules, and you only need to satisfy one:

RuleWhat it allows
Three-property ruleIdentify up to three properties, regardless of their combined value
200% ruleIdentify any number of properties, as long as their combined fair market value doesn't exceed 200% of what you sold
95% ruleIdentify more than that, but only if you actually acquire at least 95% of the total value identified

The 95% rule is rarely used in practice, because failing to hit that 95% threshold generally disqualifies the entire exchange, not just the shortfall. Most exchanges run on the three-property or 200% rule. The identification itself must be a written, signed document that unambiguously describes the property (a legal description or street address), delivered to someone involved in the exchange - typically your qualified intermediary.

Why you need a qualified intermediary

You cannot personally receive the sale proceeds at any point and still complete a valid exchange. If the money touches your hands - or even sits in an account you control - you're treated as having actually or constructively received it, and the exchange fails regardless of what you do next. This is the single most common way a well-intentioned exchange collapses.

The standard solution is a qualified intermediary (QI): an independent party who holds the sale proceeds under an exchange agreement, then uses them to acquire your replacement property on your behalf. A QI that satisfies the safe harbor in Treas. Reg. §1.1031(k)-1(g)(4) is treated as though it isn't your agent for purposes of the receipt rules, which is what keeps you clear of actual or constructive receipt. The independence requirement is real, not a formality: anyone who has acted as your employee, attorney, accountant, investment banker or broker, or real estate agent or broker within the two years before the sale generally cannot serve as your QI, so your own closing attorney or listing agent is usually disqualified by default.

One more identity rule trips people up: the same taxpayer who sells the relinquished property must acquire the replacement property. If your rental is titled in a single-member LLC that's disregarded for tax purposes, that's generally fine - you're the taxpayer either way. Moving the property between an LLC and your individual name, or between spouses, or into a different entity altogether, can break that continuity and is worth confirming before you close.

Boot: the part of the deal that stays taxable

A 1031 exchange defers gain to the extent you reinvest; it doesn't have to defer all of it. Anything you receive that isn't like-kind real property - cash left over, personal property thrown into the deal, or a net reduction in the debt you're carrying - is called boot, and it's taxable up to the amount of your realized gain even though the rest of the exchange still qualifies.

Debt relief is the boot investors miss most often. If your relinquished property carried a $400,000 mortgage and your replacement property carries only $300,000 of debt, that $100,000 reduction is treated as boot - even if you didn't personally receive a dollar of cash - unless you offset it with additional cash into the deal. The practical rule of thumb: to defer the full gain, generally acquire replacement property of equal or greater value and carry equal or greater debt (or make up any debt reduction with new cash).

When boot does make part of the gain taxable, the character of that gain isn't simply "capital gain" - depreciation recapture is recognized first. Boot is generally applied against your accumulated depreciation before any of it gets long-term capital gains treatment, so the recognized portion is often taxed at the 25% unrecaptured Section 1250 rate (and, for any personal-property component depreciated separately, ordinary Section 1245 rates) before the more favorable capital gains rates apply to whatever's left. Form 8824 walks through this allocation, and it's not a step to eyeball.

Basis and depreciation on the new property

Deferred gain doesn't vanish - it moves. Your basis in the replacement property generally equals your adjusted basis in the relinquished property, plus any boot paid, minus any boot received, plus any gain you recognized. That lower carryover basis is what eventually produces a larger gain if you someday sell the replacement property outright for cash instead of exchanging again.

Depreciation on the replacement property splits into two pieces that behave differently:

  • The carryover basis (roughly, your basis in the old property) generally continues on its existing depreciation schedule - same recovery period, same method, same remaining life, as if you never sold anything.
  • Any excess basis - the additional amount you paid to acquire a more expensive replacement property - is treated as newly placed in service. It gets a fresh depreciation schedule, and it's the piece that's eligible for a cost segregation study and bonus depreciation.
This is a genuinely timely pairing right now. OBBBA made 100% bonus depreciation permanent for qualifying property acquired after January 19, 2025. Trade up into a larger property through a 1031 exchange, then run a cost segregation study on the excess basis, and the reclassified personal-property and land-improvement components of that excess basis can generally be fully expensed in the year you place them in service - a real deduction sitting alongside a fully deferred gain. It's a two-step strategy, not automatic, and needs to be modeled against your specific numbers.

Reverse exchanges and Delaware Statutory Trusts

Two variations come up often enough to know by name:

Reverse exchanges. Sometimes the right replacement property shows up before you've sold anything. The IRS doesn't allow you to hold both properties yourself mid-exchange, but Rev. Proc. 2000-37 provides a safe harbor: an independent exchange accommodation titleholder takes and holds title to one of the properties - usually the replacement - for up to 180 days while you complete the sale side. It's more expensive and logistically heavier than a standard forward exchange, and worth planning for before you make an offer, not after.

Delaware Statutory Trusts (DSTs). Since Rev. Rul. 2004-86, a fractional interest in a DST holding real estate can qualify as like-kind replacement property. DSTs are a common landing spot for investors who want to stay invested in real estate without actively managing another property, or as a fallback if the 45-day clock is running out and a direct purchase isn't going to close in time. The tradeoffs are real: you're a passive, non-controlling investor in someone else's structure, with fees layered in and no ability to run your own cost segregation study on the underlying asset. It's a genuine tool, not a default choice.

The bottom line

A 1031 exchange is a deferral, not a forgiveness - the gain generally follows you into the replacement property and stays taxable whenever you eventually cash out. But "eventually" can be a long time, and some investors never cash out at all: they keep exchanging property for property until death, at which point Section 1014's basis step-up can permanently eliminate the deferred gain for their heirs. That combination - defer, defer, then step up - is why 1031 exchanges show up so often in long-term real estate and estate planning together, not just as a one-time tax-deferral trick.

The deadlines are unforgiving and the boot and basis mechanics are easy to get subtly wrong. If you're planning to sell an investment property, the point to call us is before you sign a listing agreement, not after you've already got a contract with a 30-day close.

Frequently asked questions

What happens if I can't find a replacement property within 45 days?

The exchange generally fails and the sale is taxed as an ordinary sale in the year you closed. There's no extension and no second chance on the 45-day clock, which is why experienced exchangers identify more candidates than they expect to buy - a fallback like a Delaware Statutory Trust interest can be worth listing even if you're pursuing a specific property, since it's easy to buy quickly if your primary target falls through.

Can I 1031 exchange my primary residence or vacation home?

Not a primary residence - Section 121's home-sale exclusion is a separate regime, and a 1031 exchange requires property held for business or investment use. A vacation home can sometimes qualify if you've genuinely used it as a rental, not a personal getaway. Rev. Proc. 2008-16 offers a safe harbor for that: renting it at fair market rent for at least 14 nights in each of the two years before the exchange, with your own personal use capped at the greater of 14 nights or 10% of the days it was actually rented.

Do I have to buy something more expensive to fully defer my gain?

Generally yes, on two fronts. To defer the full gain you generally need to acquire replacement property of equal or greater value and carry equal or greater debt (or make up any reduction in debt with additional cash) than what you gave up. Fall short on either measure and the shortfall is taxable boot, even though the larger exchange still qualifies and the rest of the gain stays deferred.

If I eventually sell for cash, do I owe all the deferred tax at once?

Yes - a straight cash sale down the road generally triggers the accumulated deferred gain along with whatever gain the replacement property earned on its own. The common way real estate investors avoid that is never selling for cash at all: keep exchanging until death, at which point heirs generally receive the property at its fair market value under the stepped-up basis rules, and the deferred gain can permanently disappear for income tax purposes. That's a significant estate-planning interaction, not a simple tax hack, and it deserves its own conversation given your overall estate size and goals.

Can I do a 1031 exchange with a family member?

It's possible but tightly restricted. A direct swap between related parties generally requires both of you to hold your respective replacement properties for at least two years afterward, or the deferred gain is triggered retroactively for both sides. Buying your replacement property from a related party who isn't also doing an exchange raises a separate, IRS-scrutinized issue about whether the related party effectively cashed out through your transaction. Either scenario is worth running by us before you sign anything.

Thinking about selling an investment property and want to know whether a 1031 exchange - or a DST, or just paying the tax - actually nets out best for you? Schedule a 30-minute consultation before you sign a listing agreement, while there's still time to plan around the deadlines.
Schedule Your Call

This article is general educational information, not individualized tax advice. Please consult a qualified tax professional about your own situation before making decisions.