How investors defer capital gains tax when they sell one property and buy another: what qualifies, the deadlines, the costs, the mistakes to avoid, and a calculator to estimate the tax you could defer.

Section 1031 of the Internal Revenue Code lets you sell investment or business real estate and put off paying capital gains tax and depreciation recapture, as long as you reinvest the proceeds in other "like-kind" real estate through a qualified intermediary.
A deferral, not an exemption. The gain carries over into the new property's basis.
Since 2018, only real property qualifies. Equipment, vehicles and art no longer do.
Both properties must be held for investment or business. Your home and flips don't qualify.
Capital gains and depreciation recapture are postponed, so the full equity keeps working.
Move from smaller properties into a larger one with more income or better appreciation.
Sell in one market and buy in another, as long as both are U.S. real estate.
Swap several rentals for one, or one building for several.
Trade a hands-on rental for net-leased commercial property or a passive DST interest.
Keep deferring until death; heirs generally get a step-up in basis and the deferred gain disappears.
| ✓ Rental homes and condos |
| ✓ Apartment and commercial buildings |
| ✓ Land held for investment |
| ✓ Office, retail and industrial property |
| ✓ Vacation home rented under IRS safe harbor |
| ✓ DST or tenant-in-common interests |
| ✕ Your primary residence |
| ✕ Fix-and-flip or dealer inventory |
| ✕ Stocks, bonds or LLC/partnership interests |
| ✕ Foreign property for U.S. property |
| ✕ Personal property (since 2018) |
Selling your home? Look at the Section 121 exclusion instead: up to $250,000 of gain ($500,000 for married couples) tax-free if you owned and lived there two of the last five years.
Section 1031 only requires the property be “held for productive use in a trade or business or for investment.” Your intent at the time of the exchange is what counts.
Many CPAs and exchange companies suggest holding at least one year, ideally across two tax years, so the property shows up as a rental on two returns.
For homes, Rev. Proc. 2008-16 is the only IRS-approved timeline: own 24 months, rent at market rate 14+ days in each 12-month period, and keep personal use to the greater of 14 days or 10% of rental days.
The safe harbor applies to the replacement property too: rent it on the same terms for 24 months before you use it yourself.
| ✓ Rented at market rent to real tenants |
| ✓ Advertised and managed like a rental |
| ✓ Little or no personal or family use |
| ✓ Rental income and depreciation reported on Schedule E |
| ✓ Held long enough to show investment intent |
| ✓ A written record of why you're selling |
T.C. Memo. 2010-64. Owners moved into the replacement property about two months after the exchange, with little effort to rent it. The exchange was disallowed.
T.C. Memo. 2012-118. Owners advertised and showed the replacement property for rent, then moved in about eight months later. The court found genuine investment intent.
A home becomes eligible only once it truly becomes an investment. Renting it for a few months and then selling is the riskiest version.
Treat it as a business: rent it at market rate, cut back personal use and follow the 24-month safe harbor before exchanging. A home you mostly use yourself won't qualify, however it's titled.
Safest path: 24 monthsOnce you move out and rent it, it can become investment property. Rev. Proc. 2005-14 lets you combine the home-sale exclusion with a 1031: exclude up to $250,000 ($500,000 married) and defer the rest, including depreciation recapture.
Sell within about 3 years of moving out to keep the exclusionThere's no safe date, and a short rental invites an audit. If the IRS decides it was still a personal home, the exchange fails and the gain is taxed.
Risky: talk to your CPA firstGoing the other way: if you move into a property you got through a 1031 exchange, you must own it at least 5 years before you can use the home-sale exclusion, and rental years before you moved in can reduce the exclusion.
Sale closes March 2. Identification is due April 16. The purchase must close by August 29.
Sell in December and day 180 lands after April 15. File a tax extension, or the deadline shrinks to your return's due date.
The IRS extends these deadlines only for federally declared disasters (Rev. Proc. 2018-58), never for financing delays.
The sale proceeds must go to a QI, never to you. Touching the money, even briefly, generally kills the exchange.
Name replacement property in writing, signed and delivered to the QI by midnight of day 45. No weekend or holiday extensions.
Acquire the replacement by day 180, or by your tax return due date if earlier. File an extension if the return would come due first.
To defer all tax, the replacement price should be at least the net sale price and you should reinvest all of the net cash.
If your old mortgage was $500K, the new property needs $500K of new debt, or you add cash to make up the difference.
The person or entity that sells must be the one that buys. A single-member LLC you own counts as you.
Identify up to three properties of any value. This is what most investors use.
Identify more than three, as long as their total value is no more than 200% of what you sold.
Identify any number of any value, but you must actually buy at least 95% of the total value identified.
Tip: identify a backup. If your first choice falls through after day 45, you can only buy what's on your list.
Estimate the federal tax you'd owe if you sold outright, versus what you could defer with a 1031 exchange. Florida has no state income tax.
Estimates only. Depreciation recapture is taxed at up to 25%; actual tax depends on your full return, state of the property and holding period. Ask your CPA to run your numbers.
"Boot" is anything you receive that isn't like-kind real estate: cash you keep, or debt you shed without replacing. It's taxable up to the amount of your gain.
| Using a $2M sale ($1,880,000 after costs) | Result |
|---|---|
| Buy a $2.1M property, reinvest all net proceeds, replace the debt | Fully deferred |
| Buy a $1.7M property | About $180K of boot is taxable |
| Keep $100K of the cash at closing | $100K of boot is taxable |
| Old loan $600K, new loan $400K, no extra cash added | $200K of mortgage boot is taxable |
The standard: sell first, buy within 180 days. The vast majority of exchanges.
Sale and purchase close the same day. Rare today.
Buy the new property first; an accommodator holds title until you sell (Rev. Proc. 2000-37).
Use exchange funds to improve the replacement property before you take title.
Buy a fractional interest in institutional property; fully passive (Rev. Rul. 2004-86).
Co-own a property with other investors as a deeded fractional owner.
| Item | Typical range |
|---|---|
| Qualified intermediary, standard delayed exchange | $600 – $1,500 |
| Each additional replacement property | $250 – $500 |
| Reverse or improvement exchange | $3,000 – $10,000+ |
| Normal closing costs on both sides | Title, doc stamps, recording, lender fees |
| CPA to prepare Form 8824 | Varies |
The federal tax is the main concern. Property sold in another state may still be taxed there.
An exchange defers income tax only. Florida documentary stamp tax and closing costs apply to both deeds.
FIRPTA generally requires 15% withholding unless the IRS issues a withholding certificate before closing.
Each exchange carries the old basis forward, so the deferred gain grows. But when an investor dies, heirs generally receive the property with a step-up in basis to market value, and the deferred gain is usually never taxed.
A tax-deferral strategy under Section 1031 of the Internal Revenue Code. When you sell investment or business real estate and reinvest the proceeds in other like-kind real estate through a qualified intermediary, capital gains tax and depreciation recapture are postponed.
You have 45 days from the sale closing to identify replacement property in writing, and 180 days from the sale (or your tax return due date, if earlier) to close on it. The two periods run at the same time, and weekends and holidays don't extend them.
No. A primary residence doesn't qualify. Homeowners may instead exclude up to $250,000 of gain ($500,000 for married couples) under Section 121 if they owned and lived in the home two of the last five years.
It can, under the IRS safe harbor in Rev. Proc. 2008-16: own it at least 24 months, rent it at fair market value for 14 or more days in each of the two years, and limit personal use to the greater of 14 days or 10% of days rented.
The tax code sets no minimum holding period. The property must be 'held for productive use in a trade or business or for investment,' which depends on your intent and the facts. Many CPAs and exchange companies suggest at least one year, ideally spanning two tax years, and the only IRS-approved timeline is the 24-month safe harbor for homes in Rev. Proc. 2008-16. The shorter the hold, the more likely the IRS will question it.
There's no fixed date, but renting it for only a few months before selling is risky. The IRS and the Tax Court look at whether it truly became an investment: market rent, real tenants, little or no personal use, and rental income and depreciation reported on your return. To be safe, follow the 24-month safe harbor: own it 24 months, rent it at market rent 14+ days in each 12-month period, and limit personal use to the greater of 14 days or 10% of rental days.
Yes, if the home was your primary residence and then became a rental. Under Rev. Proc. 2005-14 you apply the Section 121 exclusion first (up to $250,000, or $500,000 married, if you lived there 2 of the last 5 years) and then defer the rest of the gain, including depreciation recapture, with a 1031 exchange. Because of the 2-of-5-year rule, you generally need to sell within about 3 years of moving out.
The IRS could disallow the exchange and tax the gain. Courts have gone both ways: in Goolsby (2010) owners who moved into their replacement property about two months after the exchange lost, while in Reesink (2012) owners who moved in after eight months won because they had genuinely tried to rent it first. Facts and documentation decide these cases, so talk to your CPA before you sell.
For real estate, almost any U.S. investment or business real property is like-kind to any other: a condo for land, an apartment building for a warehouse. U.S. and foreign property are not like-kind to each other.
Cash or debt relief you receive that isn't reinvested. Boot is taxable up to the amount of your gain. Buying a cheaper property, keeping some cash, or taking on less debt all create boot.
To defer all of the tax, yes. Reinvest all net proceeds and buy property of equal or greater value. You can keep some cash, but that portion is taxable.
The QI holds your sale proceeds, prepares the exchange documents, receives your identification and wires funds to the purchase. Your own agent, attorney, CPA or employee from the past two years cannot serve as your QI.
Qualified intermediary fees commonly run about $600 to $1,500 for a standard delayed exchange, with more for extra properties and $3,000 to $10,000 or more for reverse or improvement exchanges, plus normal closing costs.
Yes, through a reverse exchange. An exchange accommodator takes title to the new property and holds it until you sell the old one, all within 180 days. It costs more and often needs cash or special financing.
Eventually, but carefully. It must first be held for investment. If you later convert it to a residence, you must own it at least five years before you can use the home-sale exclusion, and part of the gain may still be taxable.
No. Florida has no state income tax, so the federal tax is the main concern. If you sell property in another state, that state may still tax the gain, and some, like California, track the deferred gain.
Your heirs generally receive the property with a step-up in basis to market value, so the deferred gain is usually never taxed. Investors call this 'swap till you drop.'
Yes, but FIRPTA generally requires 15% of the sale price to be withheld unless the IRS issues a withholding certificate, which should be applied for before closing.
Yes. A Delaware Statutory Trust interest qualifies as real property for 1031 purposes (Rev. Rul. 2004-86). DSTs are passive and are often used as backup identifications, but they are securities with their own fees and risks.
Yes. A 1031 exchange defers income tax only. Florida documentary stamp tax, title insurance and other closing costs apply to both the sale and the purchase.
IRS Form 8824, Like-Kind Exchanges, with your tax return for the year you sold the relinquished property.
I help investors identify and negotiate replacement property within the deadline, and coordinate with your qualified intermediary, CPA and closing attorney on both sides.
26 U.S.C. §1031, Exchange of real property, Cornell LII
law.cornell.edu
Treas. Reg. §1.1031(k)-1, Deferred exchanges, Cornell LII
law.cornell.edu
Instructions for Form 8824 (2025), IRS
irs.gov
Identification rules, IPX1031
ipx1031.com
Qualified intermediary fees, 2026, Universal Pacific 1031
universalpacific1031.com
Exchanges under Code Section 1031, American Bar Association
americanbar.org
Rev. Proc. 2008-16, Vacation home safe harbor, IRS Internal Revenue Bulletin 2008-10
irs.gov
Rev. Proc. 2005-14, Combining Sections 121 and 1031, Tax Notes
taxnotes.com
26 U.S.C. §121, Exclusion of gain from sale of principal residence, Cornell LII
law.cornell.edu
Reesink v. Commissioner, T.C. Memo. 2012-118, U.S. Tax Court (via Asset Preservation)
apiexchange.com
Goolsby v. Commissioner, T.C. Memo. 2010-64, 1031 Corp.
1031corp.com
How long to hold?, Asset Preservation, Inc.
apiexchange.com
Using Sections 121 and 1031 together, IPX1031
ipx1031.com
Disclaimer: Geva Bar is a licensed real estate advisor with Compass, not an attorney, CPA, tax advisor, mortgage lender or title insurer. This page is general education only and is not legal, tax, lending or financial advice, and it does not create an attorney-client relationship. Figures, rates and laws change, and every transaction is different. Consult the appropriate licensed professional before acting. Compass Florida, LLC is a licensed real estate broker. Equal Housing Opportunity.