Real estate investors use 1031 exchanges, named for Section 1031 of the Internal Revenue Code, to sell one property and buy another without paying capital gains tax on the sale. Done right, more of your money keeps working. Done wrong, a missed deadline can turn a deferred bill into a large tax payment. The rules are strict, so here’s how they work, with real numbers.
What is a 1031 exchange?
A 1031 exchange lets you defer capital gains tax when you sell real property held for investment or business and reinvest in like-kind real property. You must identify the replacement within 45 days, close within 180 days, and generally use a qualified intermediary. The tax is postponed, not forgiven.
Your basis in the old property carries over to the new one, so the deferred gain stays embedded and comes due when you eventually sell without another exchange. Many investors exchange repeatedly. If you hold the property until death, heirs generally receive a basis equal to fair market value, which can eliminate the deferred gain under current law.
What a sale costs without one
Picture a hypothetical investor who bought a rental for $300,000, took $80,000 of depreciation and sells for $500,000, ignoring selling costs. Adjusted basis is $220,000, so the gain is $280,000.
- $80,000 of depreciation-related gain, taxed at a maximum of 25%: up to $20,000.
- $200,000 of remaining long-term gain at 15%: $30,000.
- Federal total before any other taxes: about $50,000.
Add the 3.8% net investment income tax if your income is high enough, plus any state tax. With a full 1031 exchange, that $50,000 stays invested in the next property, and the buying power compounds. Our capital gains guide explains the underlying rates.
What qualifies
The Form 8824 instructions are clear: for 2018 and later, Section 1031 applies only to real property held for use in a business or for investment, other than real property held primarily for sale.
- Generally yes: rental houses, apartment buildings, offices, retail, industrial property and land.
- Broad swaps are fine: a rental house for an apartment building, or raw land for a commercial building.
- No: your personal home, if used solely as a personal residence.
- No: quick fix-and-flips held primarily for sale.
- No: equipment, vehicles, art or collectibles.
- No: U.S. real estate for foreign real estate.
Vacation homes are a gray area. The IRS offers a safe harbor if you own the property at least 24 months before the exchange and, in each of the two 12-month periods, rent it at a fair rate for 14 days or more, and limit personal use to the greater of 14 days or 10% of the days rented. The replacement has similar tests after the exchange. Our guide to buying a second home covers the broader tax picture.
The two deadlines
Both clocks start on the day you transfer the property you’re giving up, and they run at the same time.
- 45 days: identify replacement property in a signed written document sent to the right party, with a legal description, street address or distinct name. The period ends at midnight on day 45.
- 180 days: receive the property by the earlier of day 180 or the due date of your tax return, including extensions, for the year of the sale.
An example: sell on March 3 and day 45 is April 17, and day 180 is August 30. Now sell on November 1, 2026. Day 180 is April 30, 2027, but your 2026 return is due in mid-April. Unless you file an extension, the exchange period ends early. That trap catches late-year sellers.
These deadlines generally can’t be extended, though the IRS may postpone them for those affected by a federally declared disaster.
How many properties can you identify?
- Three-property rule: any three properties, regardless of value.
- 200% rule: any number, as long as their total value doesn’t exceed 200% of what you sold.
- 95% rule: any number, but you must then acquire at least 95% of the total value identified.
Most investors use the three-property rule, with one or two backups in case a deal falls through.
The qualified intermediary
You generally can’t take the sale money, even briefly. A qualified intermediary holds the proceeds and uses them to buy the replacement. Set this up before the sale closes, because arranging it after you receive the money is too late.
Treasury rules bar a “disqualified person” from the role, so ask your tax adviser before using your own attorney, accountant or agent. Since this firm will hold a large sum, ask about bonding, insurance and whether funds sit in separate accounts.
Boot: what can trigger tax anyway
To defer all the gain, you generally need to buy property of equal or greater value, reinvest all net proceeds and replace any debt paid off with new debt or added cash. Anything else you receive, called boot, may be taxable.
In our example, suppose the investor sells for $500,000, has no mortgage and buys a $450,000 replacement, keeping $50,000 in cash. That $50,000 of boot is generally taxable, up to the gain. The rest of the gain stays deferred. Debt works the same way: if a $200,000 mortgage is paid off at sale and the new loan is only $150,000, the $50,000 shortfall can be taxable unless you add cash.
Other rules to know
- Related parties: if you exchange with a family member or related entity and either side sells within two years, the deferred gain can come due.
- Same taxpayer: the seller of the old property generally must acquire the new one.
- Reverse and improvement exchanges: possible, but more complex and costly.
- Delaware statutory trusts: an IRS 2004 ruling addresses when these fractional interests can work as replacement property. They bring their own risks, fees and limited liquidity.
- Converted homes: if you use a home as both a residence and rental, the Section 121 exclusion and Section 1031 can sometimes both apply, under IRS guidance.
Reporting the exchange
Report the exchange on Form 8824 with your return for that year. For a related-party exchange, you also file it for the two following years.
Is an exchange worth it? A simple test
An exchange isn’t free money. You’ll pay intermediary and legal fees, you’ll shop under deadline pressure, and your new property keeps the old low basis, which means smaller depreciation deductions than if you’d simply bought it after paying the tax.
Still, the deferral can be powerful. Go back to our example: the exchange keeps $50,000 of tax money invested. If that extra $50,000 of property value grew at a hypothetical 5% a year for 10 years, it would be worth about $81,000, a gain of about $31,000 you wouldn’t have had. The deferred tax still exists, but you’d have earned on it in the meantime. Real estate values can fall too, so treat this as an illustration, not a forecast.
Ask three questions. Do you actually want to keep owning real estate? Can you find a property you’d buy even without the tax break? And is the tax you’d defer large enough to justify the fees and the risk of overpaying in a rush? A bad property bought to save tax is rarely a good deal.
Your exchange checklist
- Confirm with your tax adviser that the property qualifies.
- Estimate the tax you’d pay without an exchange, to see if the effort is worth it.
- Hire a qualified intermediary before closing, and add exchange language to the sale contract.
- Line up candidates for the replacement and financing.
- Mark days 45 and 180 on your calendar, and check your tax return due date.
- Identify properties in writing on time.
- Close, then file Form 8824.
A 1031 exchange isn’t always the right call. If you’re retiring from landlording, want cash or have a small gain, paying the tax can be simpler. Work with a tax professional and a real estate attorney before you sell, because most mistakes can’t be fixed afterward. For the bigger picture on passing property to heirs, see our guide to estate tax planning.
Frequently asked questions
Can I do a 1031 exchange on my primary home?
No. Section 1031 doesn’t apply to property used solely as a personal residence, although the separate home sale exclusion may apply.
How long do I have to complete a 1031 exchange?
You must identify replacement property within 45 days and receive it within 180 days or by your return due date including extensions, whichever comes first.
Does a 1031 exchange eliminate capital gains tax?
No, it defers it. Your old basis carries over, so the gain is taxed when you sell without another exchange. Heirs may receive a stepped-up basis at your death under current law.
What happens if I miss the 45-day deadline?
The exchange generally fails and the sale is taxed normally, unless disaster relief applies. If the money is still with your intermediary, ask your adviser when it can be released.
Sources
- IRS, Instructions for Form 8824 (2025)
- IRS, Like-kind exchanges: real estate tax tips
- 26 U.S.C. § 1031 (Cornell LII)
- 26 C.F.R. § 1.1031(k)-1 (Cornell LII)
- IRS, Rev. Proc. 2008-16 (vacation home safe harbor)
- IRS, Rev. Proc. 2005-14 (Sections 121 and 1031)
- IRS, Rev. Proc. 2018-58 (disaster postponements)
- IRS, Internal Revenue Bulletin 2004-33 (Rev. Rul. 2004-86)
- IRS, Topic No. 409, Capital gains and losses
- 26 U.S.C. § 1014 (Cornell LII)
Content on The Evergreen Edit is for educational and informational purposes only and is not individualized financial, investment, tax or legal advice. Learn more.
Compound growth estimate
Estimated total
$17,175
Your contributions
$13,000
This is an estimate, not a prediction. Monthly compounding; taxes, fees and inflation are excluded.
This article is for educational purposes only and isn't personalized financial, tax or legal advice. Consider talking with a qualified professional about your situation.

Kiara Miller — Founder & Editor
Kiara Miller is the founder and editor of The Evergreen Edit. He has been doing independent finance research for two decades, is a tax preparer, and reviews every article before it's published.
More about Kiara →Get smarter about your money.
Join readers who get money stories on their chosen topics, daily or as new articles post.




