1031 Exchange Explained: Rules, Timelines, and How to Use It
A plain-English guide to section 1031 real estate exchanges: what a 1031 exchange is, what deferring capital gains tax is actually worth in compounding terms, the four exchange structures, what the process costs, and which investors it suits. Includes the cost basis carryover explained with real numbers.
1031 Exchange Explained: Rules, Timelines, and How to Use It
You are under contract to sell a rental you bought nine years ago, and the gain is $200,000. At the top federal long-term rate of 20% plus the 3.8% net investment income tax, $47,600 leaves the deal before you see a dollar of it, and that is before depreciation recapture and state tax. Section 1031 of the Internal Revenue Code offers a different outcome: sell the property, reinvest the proceeds into another investment property, and pay nothing at closing. The tax is deferred, not forgiven, and the deadlines are absolute. This guide covers what a 1031 exchange is, what the deferral is actually worth, the four exchange structures available to you, what the process costs, and which investors should skip it.
What Is a 1031 Exchange in Real Estate?
A 1031 exchange is a sale-and-reinvestment structure under Section 1031 of the tax code that lets an investor sell an investment property and defer capital gains tax by reinvesting the proceeds into a like-kind replacement property. The deferral has no time limit, but the proceeds must pass through a Qualified Intermediary and never touch your account.
It is also called a like-kind exchange, which is the phrase that confuses people most. "Like-kind" does not mean similar. For real property held for investment or business use, almost anything swaps for almost anything: a single-family rental into a four-unit building, a duplex into raw land, a strip retail center into a self-storage facility. The requirement is the character of the holding, not the property type.
What does not qualify is narrower and more important. Your primary residence is out. A vacation home you use personally for more than 14 days a year is out. Fix-and-flip inventory is out, because property held primarily for resale is not held for investment. The 2017 tax law also stripped personal property out of Section 1031 entirely, so equipment, vehicles and artwork no longer qualify. For 2026, section 1031 real estate exchanges cover real property and nothing else.
The tax does not vanish. It attaches to the replacement property and follows you until you sell outside an exchange, or until you die holding it.
What the Deferral Is Actually Worth
Run the numbers on the $200,000 gain above, and add the piece most guides skip: depreciation recapture. Say you claimed $65,000 of depreciation over nine years. That portion is recaptured at up to 25%, not the capital gains rate.
Without an exchange: $135,000 of appreciation at 23.8% is $32,130, plus $65,000 of recapture at 25% is $16,250. Add a mid-single-digit state income tax and the bill clears $70,000 in most states.
With an exchange: $0 at closing, and the full $70,000 stays in the deal as equity.
At a 25% down payment, it is not $70,000 of extra buying power. It is $280,000 of additional real estate. Do that twice over a fifteen-year hold and the compounding gap between the exchanger and the seller is not a rounding difference, it is a different portfolio. The IRS is effectively extending you an interest-free loan for as long as you keep the capital deployed in real property.
The deferral is most valuable when the gain is large and the hold horizon is long, which means the decision you make on this sale shapes what the next three look like. If you want the underlying math first, start with how capital gains tax on real estate is calculated.
The Rules, in Brief
Six requirements govern every exchange. All six are pass or fail, and five of them are decided before you close on the sale.
Like-kind property. Both the relinquished and the replacement property must be real property held for investment or business use.
Investment intent. You must hold both properties as investments. The IRS has no bright-line holding period, but most advisors want 12 months on each side to make intent defensible.
The 45-day identification deadline. You have 45 days from the sale closing to name your replacement candidates in writing to your intermediary. Up to three properties with no value cap, or any number inside 200% of the relinquished property's value, or any number at all if you close on 95% of what you identified.
The 180-day closing deadline. The replacement property must close within 180 days of the sale. The clock runs from the sale date, not from day 45, and the only extensions come from federally declared disasters.
Equal or greater value. To defer the entire gain, the replacement property's value and debt must equal or exceed what you gave up. Any shortfall, cash kept back or debt reduction becomes boot and is taxed in the year of the exchange.
A Qualified Intermediary. The proceeds go from the buyer straight to a QI. If they land in your account for even a day, the exchange is dead and the full tax is due.
Those are the headlines. The identification mechanics, the boot calculations and how to vet an intermediary deserve more room than a summary section, and they get it in our breakdown of the 1031 exchange rules.
The Four Types of 1031 Exchange
| Type | How it works | Typical use | Complexity |
|---|---|---|---|
| Delayed (forward) | Sell first, close on the replacement within 180 days | Over 90% of exchanges | Standard |
| Simultaneous | Both closings happen the same day | Direct swap between two owners | High coordination |
| Reverse | Buy the replacement first, sell within 180 days | Hot market, cannot risk losing the target | High cost |
| Improvement | Exchange funds pay for construction on the replacement | Value-add or build-to-suit | Highest |
The delayed exchange is what people mean when they say 1031. Everything else is a variation built to solve a timing problem the delayed structure creates.
The reverse exchange solves the worst of those problems: finding the right replacement property is harder than selling, so buying first removes the risk of a forced purchase on day 170. The catch is that you cannot own both properties at once, so an Exchange Accommodation Titleholder parks the title. Expect $3,500 to $7,500 in EAT fees on top of your normal costs, plus carrying costs while the title sits outside your name, and expect a lender conversation, because many will not finance a property held by an accommodator.
The improvement exchange lets you spend exchange proceeds on construction instead of purchase price, which is useful when the only suitable replacement needs $150,000 of work. The hard constraint is that improvements must be completed and paid for inside the same 180 days. A contractor delay does not pause the clock, and whatever is unspent on day 180 comes back to you as taxable boot.
Your Cost Basis Follows You
This is the mechanic that surprises people three exchanges in.
Sell a property with a $50,000 adjusted basis for $250,000. The gain is $200,000. You exchange into a $300,000 replacement property. Your basis in that new property is not $300,000. It is $300,000 minus the $200,000 you deferred, so $100,000.
Two consequences follow. First, your depreciation deductions on the replacement are calculated off the carried-over basis, not the purchase price, so the write-offs are smaller than a cash buyer's on an identical building. If you are not clear on how that calculation runs, our guide to real estate depreciation covers the mechanics. One partial fix is a cost segregation study on the portion of basis that is genuinely new, which accelerates depreciation on the replacement property's components.
Second, and larger: the deferred gain is cumulative. Exchange four times over twenty years and you may be carrying $900,000 of deferred gain on a property with a basis of almost nothing. Sell that outside an exchange and the entire stack comes due at once.
Which points at the only clean exit. Keep exchanging, and at death your heirs receive the property at a stepped-up basis equal to fair market value. The accumulated deferred gain is wiped out. That is the actual wealth-building shape of this tool, and it is why "swap till you drop" is a real strategy rather than a joke.
Using Exchanges Across a Portfolio
Deferring tax is the mechanism. These are the reasons to use it.
Repositioning. Exchange out of a market that has stopped performing and into one that has not, without paying a toll to do it. The classic version: sell a low-yield coastal property that appreciated well, buy cash flow in the Midwest or Southeast.
Consolidation. Three scattered single-family rentals become one 12-unit building. One roof, one tax bill, and a property that eventually trades on an income multiple instead of a comp set.
Scaling. The deferred tax is extra down payment. On the example above, the $70,000 you did not pay buys a materially larger asset.
Estate planning. A chain of exchanges plus the step-up at death is one of the few legal routes to permanently escaping tax on decades of appreciation. It only works if you never sell, which is a real constraint, not a footnote. A 1031 is one piece of a broader real estate tax strategy, not the whole of it.
Who Should Use One, and Who Should Not
Use one when the gain is large, the adjusted basis is low, you have a realistic replacement property in view, and your hold horizon is long. Those four together are the whole test.
Skip it when the gain is small enough that $1,500 of intermediary fees and a 180-day scramble cost more than the tax, when no qualifying replacement exists in your market at a price that works, or when you are close enough to the end of your holding life that the step-up at death does the job for free. Skip it also if deferral would push you into buying something you would not otherwise buy. A bad property bought on day 178 is more expensive than any tax bill.
The operational failure point is records. Your CPA cannot calculate your deferrable gain without the original acquisition cost, every capital improvement since, and the depreciation claimed each year. Investors who keep that in a shoebox spend the first two weeks of a 45-day window reconstructing history instead of underwriting replacements.
That is solved before the sale, not during it. ProPilot logs acquisition cost, capital improvements and deal timeline from the day a property enters your portfolio, so the basis conversation with your CPA takes an afternoon. When the 45-day clock does start, the market scanner and deal calculator let you underwrite replacement candidates in new zip codes quickly enough to identify with conviction rather than filing three names as placeholders.
Have your basis and your replacement shortlist ready before the clock starts. Try it free for 7 days.
FAQ
What is a 1031 exchange in real estate?
A 1031 exchange is a provision of the US tax code that lets an investor defer capital gains tax on the sale of an investment property by reinvesting the proceeds into a like-kind replacement property. A Qualified Intermediary must hold the proceeds, the replacement must be identified within 45 days, and it must close within 180 days.
Can you do a 1031 exchange on a primary residence?
No. Section 1031 applies only to investment or business-use property. A primary residence may instead qualify for the capital gains exclusion of $250,000 for single filers or $500,000 for married couples filing jointly, provided you owned and lived in the home for two of the past five years. That is a separate provision.
How long do you have to hold a property for a 1031 exchange?
The IRS sets no minimum, but you must demonstrate investment intent. Most tax advisors recommend holding the relinquished property at least 12 months and holding the replacement at least as long after the exchange. Selling a replacement property within a few months invites scrutiny and can retroactively disqualify the exchange.
What happens when you sell a 1031 exchange property?
The deferred gain from every prior exchange is recognized in that year, along with any new gain since the last exchange. You can avoid it by executing another exchange. If you die holding the property, your heirs take a stepped-up basis at fair market value and the accumulated deferred gain is eliminated.
How much does a 1031 exchange cost?
A standard delayed exchange runs $600 to $1,500 in Qualified Intermediary fees, plus normal closing costs on both transactions. Reverse and improvement exchanges add $3,500 to $7,500 for an Exchange Accommodation Titleholder, plus carrying costs. Against a five-figure tax deferral, the fees are rarely the deciding factor.
Can you take some cash out of a 1031 exchange?
Yes, but the cash is taxable. Any proceeds you do not reinvest, and any reduction in mortgage debt between the two properties, counts as boot and is taxed in the year of the exchange. The rest of the gain stays deferred, so a partial exchange is still a partial win.
The Bottom Line
A 1031 exchange turns a $70,000 tax bill on a $200,000 gain into $280,000 of additional purchasing power, and it does so by a mechanism that is procedural rather than clever: name your replacements in 45 days, close in 180, and never touch the money. Most failed exchanges fail on the calendar, not on the concept.
The deferral compounds only if you keep deploying it. One exchange saves a tax bill. A chain of exchanges, ending with a step-up at death, is how portfolios pass to the next generation with the appreciation intact. Your decision on this sale sets up the next one, so decide it with the full basis picture in front of you and a 1031-specialized CPA or tax attorney reviewing the structure before you sign anything. The same logic applies if you are weighing a straight sale instead, where capital gains tax on a rental property is the number to start from.
Get your records in order now, while nothing is under contract.
Have the basis, improvements and deal history your CPA needs sitting in one place. Try ProPilot free for 7 days.