What is a 1031 Exchange?
A 1031 exchange is a way for real estate investors to sell a property and buy another without paying capital gains tax at the time of sale. Named after Section 1031 of the Internal Revenue Code, it's one of the most powerful wealth-building tools in the US tax system.
The simplest possible explanation
You sell a rental property for $1 million that you bought for $500k. Normally you'd owe around $150k-$200k in capital gains and depreciation recapture tax. With a 1031 exchange, you roll the full $1M into a new investment property and pay zero tax that year. The tax is deferred until you eventually sell without exchanging. Held until you die, it's often wiped out entirely by the stepped-up basis your heirs receive.
That's the whole idea: sell, reinvest, defer. The complexity comes from the rules governing how the transaction must be structured.
A real-world example
Marco bought a 4-unit rental in Brooklyn for $600,000 in 2008. He took about $150,000 of depreciation over 15 years. In 2024 he sold for $1.4 million. Here's his tax bill without a 1031:
- Adjusted basis: $600k + $40k improvements − $150k depreciation = $490,000
- Total gain: $1,400,000 − $490,000 = $910,000
- Depreciation recapture tax (25% × $150k): $37,500
- Federal capital gains (20% × $760k remaining gain): $152,000
- NY state tax (~10.9% × $910k): ~$99,000
- Net Investment Income Tax (3.8% × $910k): ~$34,500
- Total tax: ~$323,000
With a 1031 exchange, Marco defers all $323,000 and reinvests his full $1.4M equity into a 10-unit building in Queens. His wealth keeps compounding on a $1.4M base instead of a $1.08M base. Over 15 more years, that $323k of retained capital growing at 7% becomes roughly $900k of additional net worth. The 1031 is the reason long-term real estate investors outperform.
Who uses 1031 exchanges?
Four common profiles:
- Scaling investors. Trade up from a duplex to a 4-unit, then to a 10-unit. Tax deferral keeps your equity working each time.
- Diversifying investors. Sell one large property, exchange into several smaller ones in different markets or asset classes.
- Consolidating investors. Sell several scattered rentals, exchange into one larger professionally-managed property.
- Tired landlords. Exit active rental management by exchanging into a passive DST (Delaware Statutory Trust) that pays monthly distributions with zero landlord duties.
What doesn't qualify
Five things where a 1031 doesn't apply:
- Your primary residence. Covered by a separate tax code section (121) that gives couples up to $500k of tax-free gain. Not 1031.
- Fix-and-flip inventory. Property bought primarily to resell is “dealer” activity, not investment. Doesn't qualify.
- Stocks, bonds, and REITs. Since 2017 only real property qualifies. REIT shares are securities, not real property, so no go.
- Foreign property. US to US exchanges only. You can't 1031 from a US property into a beach condo in Mexico.
- Personal property. Equipment, vehicles, art, collectibles — all removed from 1031 in the 2017 TCJA.
The rules you have to follow
Six core requirements. Break any one and the exchange fails.
1. Use a qualified intermediary
A neutral third party must hold the sale proceeds. You can't touch the money. Your CPA, attorney, or agent can't be the QI. See the qualified intermediary guide for details.
2. Identify replacement properties within 45 days
From the day your sale closes, you have 45 calendar days to deliver a written, signed list of potential replacement properties to your QI. Most investors use the “3-property rule” — up to 3 properties, any total value.
3. Close on a replacement within 180 days
From that same sale date, you have 180 days total to close on one of the identified properties. These days are absolute — no extensions for bad inspections, financing delays, or holidays.
4. Buy equal or greater value
To defer 100% of the tax, the replacement must be equal or greater in purchase price, equity, and debt. Buying down (cheaper property or less debt) creates “boot” that's taxable.
5. Both properties must be like-kind
For real estate, this is broad — any US investment real estate counts as like-kind to any other. A rental house into farmland, a commercial building into an apartment, vacant land into a medical office — all fine.
6. Both properties must be held for investment or business use
Not primary residences, not dealer property (flips), not vacation homes used mostly personally.
How much does it cost?
Forward (standard) exchanges cost $750–$1,500 in QI fees. Reverse exchanges (where you buy before selling) cost $5,000–$10,000+. Improvement and construction exchanges are more. For a detailed breakdown see how much does a 1031 exchange cost.
Fees are almost always a rounding error compared to the tax saved. If you're deferring $50k+ of tax, a $1,000 QI fee is a no-brainer.
Common misconceptions
“I can keep exchanging forever and never pay tax”
True, with a caveat. You can exchange indefinitely during your lifetime, deferring gain each time. If you hold until death, your heirs receive the property with a stepped-up basis equal to the fair market value at death — effectively erasing all the deferred gain. This is the “swap 'til you drop” strategy. But if you ever sell without exchanging, all the cumulative deferred gain becomes taxable at once.
“The replacement has to be the same type of property”
Common misconception. For real estate, “like-kind” is broad — a single-family rental can exchange into an apartment complex, into vacant land, into a commercial warehouse. All are real property held for investment.
“I can do the exchange myself if I'm careful”
No. The IRS specifically requires a qualified intermediary. You can't structure it with your attorney holding funds in trust, or an LLC you control holding proceeds. The QI must be a legitimate independent third party.
“I have to buy the replacement the same day I sell”
No. Simultaneous exchanges are rare. The standard structure is a “deferred” or “delayed” exchange — sell first, then buy within 180 days.
Should you do a 1031 exchange?
Three questions:
How much tax will you actually save? Run your numbers on the 1031 exchange calculator. If you're saving $20k+, the friction is almost always worth it. If you're saving $5k on a small deal, maybe not.
Are you staying in real estate? 1031 defers tax. If you want out of real estate entirely, you'll eventually pay. If you're planning to keep investing, 1031 lets your equity compound untaxed.
Can you commit to the timeline? 45 days is tight if you haven't lined up replacement options. Start sourcing before you list your sale.
Next steps
If you're considering a 1031 exchange:
- Run your specific numbers on the 1031 exchange calculator
- Read the full ultimate 1031 exchange guide for detail on every aspect
- Schedule a free 30-minute consultation to talk through your specific deal