What Is a 1031 Exchange and How Do Real Estate Investors Avoid Capital Gains?
You bought a rental for $200,000. It is now worth $750,000. Sell it and you owe $140,000 in taxes. A 1031 exchange lets you defer all of it. Here is how it works, the 5 rules, and the strict timeline.

You bought a rental property for $200,000 ten years ago. It is now worth $750,000. If you sell, you owe capital gains tax on $550,000 of appreciation plus depreciation recapture. Your total tax bill could exceed $140,000. That is real money going to the IRS instead of working for you.
A 1031 exchange lets you defer all of that tax by reinvesting the proceeds into another investment property. Instead of paying $140,000 in taxes, you use the full $750,000 to buy a larger property that generates more income. The tax is deferred, not eliminated. But with careful planning, you can defer it for decades, or even permanently through estate planning.
The 1031 exchange has been in the tax code since 1921. The One Big Beautiful Bill Act (OBBBA) of 2025 preserved 1031 exchanges with no caps, no income limits, and no new restrictions. This strategy remains fully available in 2026. (DoorLoop covers IRS 1031 exchange rules for 2026 including all rules, timelines, and types.)
This post explains what a 1031 exchange is, the 5 key rules, the strict timeline, the types of exchanges, and how investors use this strategy to build wealth over decades. If you are new to real estate investing, start with our guide on how to analyze a rental property before considering a 1031 exchange.
What Is a 1031 Exchange?
A 1031 exchange is a provision in Section 1031 of the Internal Revenue Code that allows you to sell investment or business real estate and reinvest the proceeds into another "like-kind" property without recognizing the capital gain for tax purposes. The tax is deferred, not eliminated. You carry the deferred gain forward into the new property's cost basis.
The term "like-kind" is broad. Any U.S. investment real property qualifies as like-kind to any other U.S. investment real property. You can exchange a single-family rental for a multifamily building, a commercial property for vacant land, or a duplex for a short-term rental portfolio. (IPX1031 covers what a 1031 exchange is and the 2026 rules in their overview guide.)
The Tax Impact Without a 1031
Without a 1031 exchange, selling an investment property triggers:
- Long-term capital gains tax: 15-20% on the profit (property held over one year)
- Depreciation recapture: up to 25% on depreciation deductions you claimed during ownership
- Net Investment Income Tax: 3.8% for high-income taxpayers
- State income tax: 0-13% depending on your state
Example: You bought a rental for $200,000, claimed $65,000 in depreciation over 10 years, and sell for $750,000. Your adjusted basis is $135,000 ($200,000 minus $65,000). Total gain: $615,000.
- Capital gains on $550,000 appreciation: $110,000 federal (20%) + $27,500 state (5%) = $137,500
- Depreciation recapture: $65,000 x 25% = $16,250
- Net investment income tax: $550,000 x 3.8% = $20,900
- Total tax bill: approximately $174,650
That is $174,650 paid to the government before you reinvest a dollar. With a 1031 exchange, that entire bill is deferred. (KahnLitwin covers 1031 exchanges in 2026 and OBBBA changes including tax impact calculations.)
The 5 Key Rules
Rule 1: Like-Kind Property
The replacement property must be like-kind to the relinquished property. For real estate, this is broad: any U.S. investment real property is like-kind to any other U.S. investment real property. You can exchange a rental house for an apartment building, a commercial property for land, or a condo for a retail space. (DoorLoop covers like-kind requirements for 2026.)
Rule 2: Same Taxpayer
The taxpayer who sold the relinquished property must be the same taxpayer who buys the replacement property. If you sold the property as an individual, you must buy the replacement as an individual. If an LLC sold it, the same LLC must buy the replacement. (IPX1031 covers same-taxpayer requirements.)
Rule 3: Investment or Business Use
Both the relinquished and replacement properties must be held for investment or business use. Primary residences do not qualify. Vacation homes with significant personal use do not qualify. Fix-and-flip properties typically do not qualify because they are held for sale, not investment. (DoorLoop covers investment use requirements.)
Rule 4: Equal or Greater Value
For 100% tax deferral, the replacement property must be of equal or greater value than the relinquished property. The mortgage on the replacement property must also be equal or greater than the mortgage on the relinquished property. If the replacement property is worth less, the difference is called "boot" and is taxed immediately.
Example: sell for $750,000, buy for $810,000 = 100% deferred. Sell for $750,000, buy for $610,000 = $140,000 boot taxed immediately. (DoorLoop covers equal or greater value and boot rules for 2026.)
Rule 5: Follow the Timeline
- 45 days to identify replacement property (from the date of closing on the sale)
- 180 days to complete the purchase of the replacement property
- These are calendar days, not business days. Weekends and holidays count.
- Missing either deadline disqualifies the exchange and triggers immediate taxation
(DoorLoop covers 1031 exchange timeline requirements for 2026.)
The Timeline in Detail
Day 1 to Day 45: Identification Period
From the closing date of your relinquished property, you have 45 calendar days to identify replacement property. You can identify up to 3 properties (the "3-property rule"). Alternatively, you can identify more than 3 if their total value does not exceed 200% of the relinquished property's value (the "200% rule"). Identification must be in writing, signed, and delivered to the qualified intermediary. (DoorLoop covers 1031 exchange timeline identification rules.)
Day 46 to Day 180: Acquisition Period
You must close on the replacement property within 180 calendar days of closing on the relinquished property. The 180-day period includes the 45-day identification period (you have 135 days after identification to close). If you file a tax return extension, the 180-day period is not extended. It is a hard deadline. (IPX1031 covers the 1031 exchange acquisition period.)
The Qualified Intermediary
You cannot touch the sale proceeds. They must be held by a qualified intermediary (QI). The QI holds the funds from the sale and transfers them to the seller of the replacement property. If you receive the proceeds directly, the exchange is disqualified and you owe taxes immediately. The QI typically charges $750-$1,500 for a standard exchange. (KahnLitwin covers qualified intermediary requirements for 2026.)
Types of 1031 Exchanges
1. Deferred (Delayed) Exchange
Most common type. Sell your property first, then identify and purchase replacement property within the timelines. (DoorLoop covers deferred exchange types.)
2. Simultaneous Exchange
Sell and buy at the same time (same closing). Rare in practice but simplest structurally.
3. Reverse Exchange
Buy the replacement property first, then sell the relinquished property. More complex: the QI takes title to the replacement property and holds it until you sell the relinquished property. Same 45/180 day timelines apply (counted from the date you take title to the replacement). Higher QI fees ($3,000-$5,000+) and requires more planning. (DoorLoop covers reverse exchange types.)
4. Construction (Improvement) Exchange
Use exchange proceeds to improve the replacement property. Can use leftover funds to build improvements on the replacement property within the 180-day period. Useful when the replacement property value is less than the relinquished property and you need to add value to meet the equal-or-greater requirement. (DoorLoop covers construction exchange types.)
Comparison Table: 1031 Exchange Key Rules and Requirements (2026)
| Requirement | Rule | Deadline | Consequence of Non-Compliance |
|---|---|---|---|
| Like-kind property | Any U.S. investment real property | N/A | Exchange disqualified; full tax due |
| Same taxpayer | Same entity must sell and buy | N/A | Exchange disqualified; full tax due |
| Investment/business use | Both properties held for investment | N/A | Exchange disqualified; full tax due |
| Equal or greater value | Replacement must equal or exceed relinquished | At closing | Difference (boot) taxed immediately |
| 45-day identification | Identify replacement in writing to QI | 45 calendar days from sale closing | Exchange disqualified; full tax due |
| 180-day acquisition | Close on replacement property | 180 calendar days from sale closing | Exchange disqualified; full tax due |
| Qualified intermediary | QI must hold all sale proceeds | Throughout process | Constructive receipt disqualifies exchange; full tax due |
| No constructive receipt | Taxpayer cannot touch proceeds | Throughout process | Exchange disqualified; full tax due |
Real-World Examples
Example 1: A 40-year-old who scaled from a condo to a fourplex
A 40-year-old bought a rental condo for $180,000 ten years ago. It is now worth $400,000. He has depreciated $65,000 over 10 years. If he sells: capital gains on $220,000 appreciation = $44,000 federal (20%) + state tax (5% = $11,000) + depreciation recapture ($65,000 x 25% = $16,250) + net investment income tax ($220,000 x 3.8% = $8,360). Total tax bill: approximately $79,610.
Instead, he does a 1031 exchange. He sells the condo for $400,000, uses a QI to hold the proceeds, identifies a $450,000 fourplex within 45 days, and closes within 180 days. He defers all $79,610 in taxes. He now owns a $450,000 fourplex that generates more rental income than the condo. His tax basis carries over, but he has a larger, more profitable property and $79,610 still working for him instead of going to the IRS.
The moment he saw the $79,610 tax estimate from his CPA, he understood why investors use 1031 exchanges. That money stays invested, compounding in a larger property, instead of being consumed by taxes.
Example 2: A 50-year-old who chained 3 exchanges over 20 years
A 50-year-old has done 3 successive 1031 exchanges over 20 years. She started with a $100,000 rental house, exchanged it for a $250,000 duplex, then exchanged that for a $500,000 apartment building, then exchanged that for a $1.2M commercial property. She has deferred capital gains at each step, growing her portfolio from $100,000 to $1.2M without paying capital gains tax.
If she sells the commercial property without exchanging, she will owe taxes on all accumulated gains. But if she holds it until death, her heirs inherit at stepped-up basis ($1.2M), and all deferred taxes are permanently eliminated. The 1031 exchange strategy allowed her to build a $1.2M real estate portfolio on a $100,000 initial investment, deferring taxes for decades.
The power of chaining exchanges is that each deferral keeps more money compounding. Over 20 years, the difference between paying taxes at each step and deferring them is hundreds of thousands of dollars in additional portfolio growth. For more on how real estate fits into a broader investment strategy, see how real estate fits into a diversified portfolio. And if you want a passive alternative that does not require 1031 exchanges, REITs offer real estate exposure without the tax complexity. To understand how equity builds in your investment properties, read what equity is and how to access it. If you are just starting out, house hacking is a low-cost way to build a real estate portfolio.
Common Mistakes
Missing the 45-day or 180-day deadlines. These are hard deadlines. No extensions. No exceptions for weekends, holidays, or weather. Miss them and you owe full taxes.
Receiving the sale proceeds directly. The QI must hold the funds. If you touch the money, the exchange is disqualified.
Buying a property worth less than the one you sold. The difference (boot) is taxed immediately. Always buy equal or greater value for full deferral.
Not using a qualified intermediary. You cannot do a 1031 exchange without a QI. The QI is not your attorney or your real estate agent. It must be an independent party.
Trying to exchange a primary residence. 1031 exchanges are for investment or business property only. Primary residences do not qualify. (You may qualify for the Section 121 exclusion: $250,000 for singles, $500,000 for married couples.)
Not planning ahead. Finding a replacement property in 45 days is stressful. Start looking before you sell. Have 3-5 candidate properties identified before closing on your sale.
Forgetting about state taxes. Some states do not conform to federal 1031 exchange rules. Check your state's treatment before proceeding.
Conclusion
A 1031 exchange allows real estate investors to defer capital gains taxes by reinvesting sale proceeds into a new investment property. The rules: like-kind property, same taxpayer, investment or business use, equal or greater value, and strict timelines (45 days to identify, 180 days to close). A qualified intermediary must hold the proceeds. You can chain multiple exchanges over a lifetime, deferring taxes for decades. At death, heirs inherit at stepped-up basis, eliminating the deferred tax. The OBBBA in 2026 preserved 1031 exchanges, so this strategy remains available.
A 1031 exchange is not a tax loophole. It is a tax deferral strategy that lets you keep more money working for you. Instead of paying $80,000 in taxes on a property sale, you reinvest that $80,000 into a larger property that generates more income. Over 20-30 years of exchanging, the compounding effect is significant. But the rules are strict and the deadlines are unforgiving. Work with a qualified intermediary and a tax professional who specializes in 1031 exchanges.
If you are selling an investment property and expect a significant capital gain, talk to a qualified intermediary before you list the property. Start identifying replacement properties before you close on the sale. The 45-day identification window goes fast. Then read our guide on how to analyze a rental property to make sure your replacement property is a good investment, not just a tax shelter.
This post is for informational purposes only and does not constitute tax, legal, or financial advice. 1031 exchange rules are complex and subject to change. The consequences of errors are significant and potentially irreversible. Always work with a qualified tax attorney, CPA, and Qualified Intermediary before initiating a 1031 exchange. Verify current rules at [IRS.gov](https://www.irs.gov) and review [IRS Publication 544](https://www.irs.gov/publications/p544) for detailed guidance.
Tags
Savvy Nickel Team
Financial education expert dedicated to making complex money topics simple and accessible for everyone.
Recommended Articles
What Is a Safe Withdrawal Rate? The 4% Rule Explained
The 4% rule is the most widely cited retirement guideline, but most people don't know where it came from or when it breaks down. Here's the honest explanation with 2026 research.
Fractional Shares Explained: How to Invest in Amazon With $10
Fractional shares let you buy a slice of any stock or ETF regardless of its price. Here is how they work, which brokerages offer them, and when they actually matter for your portfolio.
How Real Estate Fits Into a Diversified Investment Portfolio
Real estate reduces portfolio volatility and provides income stocks and bonds cannot. With REITs returning 14.9% through mid-2026 and low correlation to the Magnificent 7, here is how to size your allocation and which vehicles to use.
Run the Numbers
Free calculators related to this article.
Mortgage Calculator
Estimate your full monthly payment including principal, interest, property taxes, insurance, and HOA. See your total interest cost and a year-by-year amortization schedule before you commit to a loan.
Open calculator →Refinance Calculator
Compare your current mortgage to a refinance and see your monthly savings, break-even point, and total interest difference. Know exactly when refinancing pays for itself.
Open calculator →Mortgage Payoff Early Calculator
See exactly how many years and how much interest you save by making extra payments on your mortgage. Even one extra payment per year can shave years off your loan and save tens of thousands in interest.
Open calculator →Recommended Books
Related Glossary Terms
1031 Exchange
A 1031 exchange lets real estate investors defer capital gains taxes by reinvesting sale proceeds into a like-kind replacement property under strict IRS timelines.
Real Estate
Real estate is physical property including land and buildings, plus the rights to use them. It is the largest asset class most Americans will ever own, with the typical U.S. home worth $371,757 in mid-2026 and total homeowner equity reaching a record $18 trillion.
Capital Gains
Capital gains are the profits earned when you sell an asset for more than you paid for it, taxed at either short-term rates (ordinary income) or preferential long-term rates depending on how long you held the asset.
real-estate-depreciation
Real estate depreciation is a non-cash tax deduction that lets investors recover property cost over 27.5 years (residential) or 39 years (commercial). The OBBBA restored 100% bonus depreciation permanently in July 2025.
Property Tax
Property tax is an annual tax levied by local governments on real estate based on the property's assessed value. It is a primary funding source for schools, infrastructure, and local services, and one of the largest ongoing costs of homeownership.
Triple Net Lease
A triple net (NNN) lease is a commercial lease where the tenant pays base rent plus property taxes, insurance, and maintenance. As of Q2 2026, overall NNN cap rates sit at 6.82% with investment-grade tenants trading as low as 4.20%.


