The tax provision behind most real estate wealth
Imagine selling an investment property you bought for $300,000 that's now worth $750,000. You've got $450,000 in gains. Between federal capital gains tax (up to 20%), depreciation recapture (25%), the 3.8% Net Investment Income Tax, and state taxes, you could owe $150,000 or more in taxes on that sale.
Or you could owe zero.
Section 1031 of the Internal Revenue Code lets you sell an investment property and reinvest the proceeds into another "like-kind" property and defer all of the capital gains tax. Not reduce it, not get a credit, but defer it entirely. The tax bill simply doesn't come due.
And here's what makes 1031 exchanges the cornerstone of serious real estate wealth building: you can do this over and over again. Sell property A, buy property B. Years later, sell property B, buy property C. Each time, the tax bill rolls forward. Some investors chain 1031 exchanges across decades, growing a single initial investment into a multimillion-dollar portfolio without ever paying capital gains tax.
Then they die. Their heirs inherit the property with a stepped-up cost basis equal to the current fair market value. All those decades of deferred gains? Erased. Legally.
The 1031 exchange doesn't just defer taxes. It creates the possibility of eliminating them entirely through the step-up in basis at death.
This isn't a fringe strategy or an aggressive tax position. Section 1031 has been in the tax code since 1921. It survived the Tax Cuts and Jobs Act of 2017. It survived multiple Biden administration proposals to cap deferrals at $500,000. And when the "One Big Beautiful Bill" was signed into law on July 4, 2025, Section 1031 emerged completely untouched. No new limits. No caps. Fully intact.
If you own investment real estate, or plan to, understanding the 1031 exchange isn't optional. It's the difference between building wealth and handing a chunk of it to the IRS every time you upgrade your portfolio.
The basic mechanics: how a 1031 exchange actually works
The concept is simple, but the execution requires precision.
A 1031 exchange (also called a "like-kind exchange" or a "Starker exchange," after the court case that established deferred exchanges) allows you to sell one investment property and purchase another of equal or greater value, deferring all capital gains tax as long as you follow the IRS rules.
Here's the basic flow:
Step 1: Sell your relinquished property. This is the property you're getting rid of. Before the sale closes (and this is critical), you must have a Qualified Intermediary (QI) in place. The QI holds the sale proceeds. You never touch the money. If you take constructive receipt of the funds at any point, the exchange is dead.
Step 2: Identify replacement properties within 45 days. Starting from the day your relinquished property closes, you have exactly 45 calendar days to identify potential replacement properties in writing. Not business days. Calendar days. Weekends and holidays count. There are no extensions (except in cases of federally declared disasters).
Step 3: Close on a replacement property within 180 days. You must complete the purchase of one or more identified replacement properties within 180 calendar days of the sale, or by your tax filing deadline (including extensions), whichever comes first.
Step 4: Report the exchange on IRS Form 8824 with your tax return for the year the exchange occurred.
The 45-day and 180-day deadlines run concurrently. If you use all 45 days to identify your replacement property, you only have 135 days left to close. Many experienced investors begin shopping for replacement properties before they even list the relinquished property.
That's it in theory. In practice, the details matter enormously, and getting any of them wrong can blow up the entire exchange.
What qualifies as "like-kind" (it's broader than you think)
The term "like-kind" trips people up because it sounds restrictive. It isn't, at least not for real estate.
Since the Tax Cuts and Jobs Act of 2017, Section 1031 applies only to real property. You can no longer do 1031 exchanges on personal property like equipment, vehicles, or artwork. But within the world of real estate, "like-kind" is remarkably broad.
The IRS defines like-kind as property "of the same nature or character, even if they differ in grade or quality." For real estate, this means virtually any U.S. investment or business property can be exchanged for any other U.S. investment or business property:
- Apartment building for raw land: yes
- Single-family rental for a commercial office building: yes
- Retail strip mall for a farm: yes
- Improved property for unimproved property: yes
- One property for multiple properties: yes
The key requirements are:
-
Both properties must be held for investment or productive use in a trade or business. Your primary residence does not qualify. Vacation homes generally don't either, unless you can demonstrate they meet the IRS safe harbor (rented at fair market value for at least 14 days per year in each of two 12-month periods, with personal use limited to 14 days or 10% of rental days).
-
Both properties must be in the United States. You cannot exchange a U.S. property for foreign real estate.
-
Properties held primarily for sale do not qualify. If you're a house flipper buying properties with the intent to resell quickly, those properties don't qualify for 1031 treatment. The property must be held for investment or business use.
The "held for investment" requirement doesn't have a specific minimum holding period in the statute, but the IRS looks at intent. Most tax professionals recommend holding property for at least 12-24 months to establish investment intent. Revenue Procedure 2008-16 provides a 24-month safe harbor for certain situations.
The identification rules: three ways to play it
The 45-day identification period is where most exchanges get complicated, and where many fail. You must identify your potential replacement properties in writing, signed and delivered to your Qualified Intermediary before midnight on day 45.
The IRS gives you three options for how many properties you can identify:
The Three-Property Rule
You can identify up to three replacement properties, regardless of their individual or combined value. You don't need to acquire all three; you can buy one, two, or all three, as long as each property you acquire was on the list.
This is the most commonly used rule because it provides flexibility. You identify your top choice and two backups in case financing falls through or inspections turn up problems.
The 200% Rule
You can identify any number of properties, as long as their combined fair market value doesn't exceed 200% of the value of the relinquished property. So if you sold a property for $500,000, you could identify five properties as long as their total value doesn't exceed $1,000,000.
The 95% Rule
You can identify any number of properties with any total value, but you must actually acquire at least 95% of the aggregate value of everything you identified. This rule is rarely used because it's incredibly risky: if any deal falls through, you could fail the test and blow the entire exchange.
Most investors stick with the Three-Property Rule. It's simple, flexible, and forgiving. The 200% Rule is useful if you're exchanging into multiple smaller properties. The 95% Rule is for the brave or the very well-organized.
Boot: the tax you didn't mean to trigger
"Boot" is the tax term for any value you receive in a 1031 exchange that doesn't qualify for deferral. If you receive boot, that portion of your gain becomes taxable immediately.
Boot comes in two flavors:
Cash boot
If the replacement property costs less than what you sold the relinquished property for, the leftover cash is boot. Example: you sell for $600,000, buy for $500,000, and pocket $100,000. That $100,000 is cash boot and it's taxable.
Mortgage boot (debt relief)
This one catches more people off guard. If your mortgage on the replacement property is less than your mortgage on the relinquished property, the difference is considered boot, even if you reinvested all the cash.
Example: You sell a property with a $300,000 mortgage and buy one with a $200,000 mortgage. Even if you used all of your equity in the purchase, the $100,000 in debt reduction is mortgage boot. The IRS views it as if you received $100,000 in value.
The rule for full tax deferral is straightforward. The replacement property must be of equal or greater value than the relinquished property, and you must reinvest all of the equity (net proceeds). If either the value or the equity falls short, the difference is boot.
The most common way investors accidentally trigger boot is by downsizing their mortgage without realizing it creates a taxable event. Always compare both the total property value and the debt structure before closing.
The real math: a dollar example
Let's walk through a realistic 1031 exchange to see the actual tax impact.
The scenario: Sarah bought a rental duplex in 2016 for $400,000. She's claimed $130,000 in depreciation over the years. In 2026, she sells it for $700,000.
Sarah's adjusted basis is $400,000 minus $130,000 depreciation = $270,000. Her total gain is $700,000 minus $270,000 = $430,000. Of that $430,000, the first $130,000 is depreciation recapture (taxed at 25%), and the remaining $300,000 is capital gain (taxed at 15-20%).
Without a 1031 exchange:
| Tax Component | Amount | Tax Rate | Tax Owed |
|---|---|---|---|
| Depreciation recapture | $130,000 | 25% | $32,500 |
| Long-term capital gain | $300,000 | 20% | $60,000 |
| NIIT (3.8% surtax) | $430,000 | 3.8% | $16,340 |
| State income tax (5%) | $430,000 | 5% | $21,500 |
| Total | ~$130,340 |
With a 1031 exchange: Sarah uses a QI, identifies a replacement property within 45 days, and closes on a $750,000 fourplex within 180 days, financing the difference. Her total tax owed: $0.
She just saved $130,340 and upgraded from a duplex to a fourplex that generates more rental income.
She pays roughly $800-$1,000 in QI fees. That's it. The return on that investment is roughly 130:1.
Depreciation recapture: the tax that follows you
Here's something critical that many investors miss about 1031 exchanges: depreciation recapture doesn't disappear. It rolls forward.
When you do a 1031 exchange, your depreciation recapture obligation transfers to the replacement property. The IRS keeps a running tab. If Sarah does another 1031 exchange from her fourplex into a small apartment building ten years later, the depreciation from both the original duplex and the fourplex carries over.
This matters because unrecaptured Section 1250 gain (the IRS's term for depreciation taken on real property) is taxed at a flat 25% rate when it's finally recognized, regardless of your income bracket. And unlike regular capital gains, depreciation recapture is not eligible for the 0% bracket.
The amount of recapture is fixed at the time of exchange and does not diminish over the life of the replacement property. You must track this deferred recapture across every exchange in the chain until you eventually sell for cash.
Keep meticulous records of every 1031 exchange you do: the original purchase price, depreciation claimed, exchange dates, QI documentation, and Form 8824 filings. If you chain three or four exchanges over 20 years, reconstructing the cost basis trail without good records is a nightmare. This is where a net worth tracker with detailed property records becomes invaluable.
The endgame: step-up in basis at death
This is where the 1031 exchange strategy connects to generational wealth building.
Under current tax law (IRC Section 1014), when you die, your heirs inherit your assets at their fair market value on the date of death, not at your original cost basis. This is called the "step-up in basis."
Here's what that means for a lifetime of 1031 exchanges:
Year 1: You buy Property A for $200,000. Year 10: You 1031 exchange into Property B, now worth $500,000. Deferred gain: $300,000. Year 20: You 1031 exchange into Property C, now worth $1,200,000. Deferred gain: $700,000+ (including additional appreciation and depreciation recapture). Year 30: You pass away. Property C is worth $2,000,000.
Your heirs inherit Property C with a cost basis of $2,000,000, the current market value. The $1,800,000 in cumulative deferred gains and depreciation recapture? Gone. Completely erased. If your heirs sell the property the next day for $2,000,000, they owe $0 in capital gains tax.
This is sometimes called the "swap till you drop" strategy, and it's not a loophole or an aggressive tax position. It's the straightforward application of two long-standing provisions in the tax code (Section 1031 and Section 1014) working together.
"Swap till you drop" isn't just clever tax planning. It's the combination of two bedrock provisions of the tax code that, together, can eliminate millions in capital gains taxes across a single lifetime.
Reverse 1031 exchanges: buying before you sell
In a standard 1031 exchange, you sell first, then buy. But what happens if you find the perfect replacement property before your current property has sold? That's where the reverse 1031 exchange comes in.
A reverse exchange follows the same basic rules (45-day identification, 180-day completion, like-kind property), but the order is flipped. You acquire the replacement property first, then sell the relinquished property within 180 days.
The catch: reverse exchanges are significantly more complex and expensive. Here's why:
-
Exchange Accommodation Titleholder (EAT): Because you can't own both properties simultaneously during the exchange, a third-party EAT must take title to either the replacement or relinquished property during the exchange period.
-
Financing challenges: You need to fund the purchase of the new property before you've received proceeds from the old one. This usually requires a bridge loan or significant cash reserves.
-
Higher costs: QI fees for reverse exchanges typically run $4,500 to $7,500, compared to $800 to $1,000 for a standard delayed exchange. Add legal fees, EAT costs, and potential bridge loan interest.
-
Strict compliance: The IRS scrutinizes reverse exchanges more closely. Revenue Procedure 2000-37 provides the safe harbor framework, and deviating from it puts the entire exchange at risk.
Despite the complexity, reverse exchanges are a powerful tool when the timing doesn't line up. In competitive real estate markets, finding the right property on your timeline is often the hardest part.
Delaware Statutory Trusts: the passive 1031 option
What if you're tired of being a landlord but still want the tax deferral? Delaware Statutory Trusts (DSTs) offer a solution.
A DST is a legal entity that holds title to investment real estate, allowing multiple investors to own fractional interests. The IRS confirmed in Revenue Ruling 2004-86 that DST interests qualify as like-kind real property for 1031 exchange purposes.
Why investors use DSTs:
- Passive ownership: No tenants, toilets, or property management headaches. A professional sponsor handles everything.
- Fast closing: DSTs typically close in 3-5 business days, which is a lifesaver when you're racing the 180-day clock.
- Portfolio diversification: You can split your exchange proceeds across multiple DSTs in different markets and property types.
- Lower minimums: DST investments typically start around $100,000, making them accessible for exchanges of various sizes.
The restrictions (the "Seven Deadly Sins"):
To maintain 1031 eligibility, DSTs must follow strict operational rules from Revenue Ruling 2004-86:
- No additional capital contributions after the offering closes
- No refinancing or new debt on the property
- No renegotiating leases (unless tenant bankruptcy)
- Distributing all cash (less reserves) at least quarterly
- Reserves held only in short-term or government securities
- Capital expenditures limited to normal repairs and maintenance
- No reinvestment of sale proceeds
DSTs are securities and typically require accredited investor status ($200,000 annual income or $1 million net worth excluding primary residence). They're illiquid, meaning you can't easily sell your interest, and sponsor quality varies enormously. Do thorough due diligence on the sponsor's track record, the underlying property, and the fee structure before committing exchange proceeds to a DST.
The improvement exchange: build what you want
A lesser-known variant is the improvement exchange (also called a "build-to-suit" or "construction" exchange). This lets you use 1031 exchange proceeds to purchase land or an existing property and make improvements, all within the exchange period.
The structure requires an EAT to hold title while construction is underway. The combined value of the land plus completed improvements must equal or exceed the value of the relinquished property by day 180. All improvements must be finished within the 180-day window.
This is a powerful option if you want to build or substantially renovate a replacement property, but the 180-day construction timeline is tight. It works best when you have permits in hand, contractors lined up, and a realistic construction schedule before the exchange clock starts ticking.
Related party rules: exchanging with family
You can do a 1031 exchange with a related party (siblings, spouse, parents, children, grandchildren, and certain affiliated entities), but the IRS imposes additional restrictions.
The key rule: if you exchange property with a related party, both parties must hold their replacement properties for at least two years. If either party sells within that window, the IRS disqualifies the exchange retroactively.
There's an additional trap: if you acquire replacement property from a related party through a QI, and the related party receives cash (rather than also completing an exchange), the IRS will deny the exchange under Revenue Ruling 2002-83, even if you hold the property for the full two years.
The takeaway: related party exchanges are legal but require careful structuring. Get a tax attorney involved.
Common mistakes that blow up 1031 exchanges
After walking through the rules, here are the most frequent ways investors sabotage their own exchanges:
1. Missing the 45-day deadline. This is the number one killer. Life gets busy, deals fall through, and suddenly day 46 arrives with no written identification. The exchange is dead, with no exceptions, no extensions, and no appeals. Start identifying replacement properties before you even list the relinquished property.
2. Touching the money. If the proceeds hit your bank account, even for a single day, the exchange fails. The QI must hold the funds from closing to closing. Even having the ability to access the funds (constructive receipt) can disqualify the exchange.
3. Forgetting about mortgage boot. You sell a property with a $400,000 mortgage and buy one with a $250,000 mortgage. You just triggered $150,000 in boot. Always model the full capital stack, not just the cash.
4. Mismatched entities. If you sold the property as an LLC but try to buy the replacement in your personal name (or vice versa), the exchange fails. The same taxpayer must be on both sides.
5. Not having the QI in place before closing. The QI must be engaged before the relinquished property closes. You cannot retroactively structure a 1031 exchange after you've already received the proceeds.
6. Panic-buying bad property. The 45-day clock creates pressure to identify something, anything. Investors end up buying overpriced or poorly located property just to complete the exchange. The tax savings are meaningless if you overpay by $100,000 for a property you wouldn't otherwise want.
A 1031 exchange should serve your investment strategy, not dictate it. If you can't find the right property within the timeline, sometimes paying the tax and buying wisely later is the better financial decision.
The Section 121/1031 combination play
Here's an advanced strategy that combines two powerful tax provisions.
Section 121 of the IRC lets you exclude up to $250,000 in gains ($500,000 for married couples) when you sell your primary residence, provided you've owned and lived in the home for at least two of the past five years.
You can convert a 1031 replacement property into your primary residence, but there's a waiting period. Under the rules added by TIPRA in 2005, you must own the replacement property for at least five years before the Section 121 exclusion applies. You also must live in it as your primary residence for at least two of those five years.
Even then, the exclusion is prorated. Any period after December 31, 2008 during which the property was used as investment (rather than primary residence) reduces the exclusion proportionally.
Example: You 1031 exchange into a property and rent it out for three years. Then you move in and live there for three years (six total years of ownership). You'd have three years of qualifying use and three years of investment use, so roughly half of the $500,000 exclusion would apply (about $250,000 in tax-free gains for a married couple), on top of whatever gain was already deferred by the 1031 exchange.
It's complex, but for the right situation, it combines the best of both sections.
What this means for your financial picture
If you own investment real estate, or plan to, the 1031 exchange should be a central pillar of your long-term strategy. The math is unambiguous:
- Tax savings per exchange: easily $50,000-$200,000+ on a typical investment property sale
- Compounding effect: money that would have gone to taxes stays invested, growing over decades
- QI fees: $800-$1,000 for a standard exchange, trivial relative to the savings
- Estate planning impact: combined with the step-up in basis, potential for complete elimination of capital gains across a lifetime
The key is planning ahead. Know what you want to exchange into before you sell, have your QI engaged early, and understand your debt structure to avoid boot. Track every exchange meticulously, because the cost basis trail across multiple exchanges is your financial history, and you'll need it if the IRS ever asks.
Track your investment properties (purchase price, current estimated value, mortgage balance, depreciation claimed, and exchange history) in your net worth tracker. When it's time to evaluate a potential 1031 exchange, you'll have all the numbers at your fingertips instead of scrambling through old tax returns and closing documents.
The 1031 exchange has been in the tax code for over a century. It survived every recent attempt to cap or eliminate it. For real estate investors who understand the rules and plan accordingly, it remains the single most powerful legal tool for building tax-efficient, generational wealth.
That's not a loophole. That's the law, working exactly as written.