1031 Exchange: Defer Capital Gains Tax on Real Estate Sales
1031 Exchange: Defer Capital Gains Tax on Real Estate Sales
Photo by Immo Wegmann on Unsplash
When you sell an investment property at a gain, the IRS typically wants 15–23.8% of that gain in capital gains tax (plus depreciation recapture at 25%). A 1031 exchange lets you defer all of that by rolling the proceeds into another "like-kind" property. Done correctly, you can repeat this process indefinitely — building a real estate portfolio without ever paying capital gains tax until you eventually cash out.
Named after Section 1031 of the Internal Revenue Code, this is one of the most powerful tax-deferral strategies available to real estate investors.
How a 1031 Exchange Works
The basic concept: sell Property A, take the proceeds, and buy Property B. Instead of pocketing the gain and paying taxes, you defer the tax by reinvesting into a replacement property.
The gain doesn't disappear — it gets embedded in the new property's basis (cost basis). When you eventually sell the replacement property without doing another 1031, you pay taxes on the cumulative deferred gain. Or, if you hold the property until death, heirs receive a stepped-up basis and the deferred gain vanishes entirely.
What gets deferred:
- Long-term capital gains tax (15–23.8% depending on income)
- Net Investment Income Tax (3.8% for high earners)
- Depreciation recapture (25% flat rate)
On a property with significant appreciation and depreciation, this can mean deferring six figures in taxes.
The Rules
1031 exchanges have strict requirements. Violating any of them can disqualify the exchange and trigger full immediate taxation.
Like-Kind Property
Both the relinquished (sold) and replacement properties must be "like-kind." For real estate, this is broad: almost any investment real estate qualifies. You can exchange:
- A single-family rental for a multifamily building
- Raw land for a commercial office building
- A condo for a warehouse
- Rental property in one state for rental property in another state
What doesn't qualify:
- Your primary residence
- Vacation homes (unless they meet rental use tests)
- Real estate held primarily for sale (fix-and-flip)
- Foreign property for domestic property (and vice versa)
- Real estate for personal property (can't exchange a rental property for equipment)
The 45/180 Day Deadlines
This is where most people get tripped up.
45-day identification deadline: You have 45 days from the sale of your relinquished property to identify potential replacement properties in writing. You must name the property (address, legal description, or other clear identifier) in a document signed by you and delivered to the qualified intermediary.
Identification rules:
- 3-property rule: Identify up to 3 properties (any value)
- 200% rule: Identify any number of properties, provided their total FMV doesn't exceed 200% of the relinquished property's value
- 95% rule: Identify any number of properties if you acquire 95% of their total value
The 3-property rule is most commonly used. Identify more than 3 if the values are within 200% of your relinquished property's sale price.
180-day purchase deadline: You must close on the replacement property within 180 days of selling the relinquished property (or the tax return due date for that year, if earlier — file an extension to preserve the full 180 days).
These deadlines are ironclad. No extensions except in Presidentially declared disaster areas.
Value Requirements
To defer 100% of capital gains:
- Equal or greater value: The replacement property must be worth at least as much as the relinquished property's sale price
- Equal or greater equity: You must use all the equity (net proceeds) from the sale in the replacement property
If you receive cash ("boot") or acquire a less expensive property, you pay tax on the difference.
Example:
- Sell for: $500,000
- Mortgage payoff: $150,000
- Net proceeds: $350,000
- Must invest at least $500,000 in replacement property
- Must use all $350,000 in net proceeds (can take on new debt to make up the difference)
If you buy a replacement property for $450,000, you've received $50,000 in "boot" — you'll pay tax on that portion.
The Qualified Intermediary (QI)
You cannot touch the money from the sale. The proceeds must go directly to a Qualified Intermediary (QI), also called an exchange accommodator. The QI holds the funds until you purchase the replacement property.
If the sale proceeds pass through your hands at any point — even briefly — the exchange is disqualified and you owe taxes immediately.
Finding a QI:
- Title companies often offer QI services
- Specialized 1031 exchange companies (IPX1031, Asset Preservation Inc., etc.)
- Your closing attorney may refer one
- Cost: typically $700–$1,200 for a straightforward exchange
Hire the QI before you close the sale of the relinquished property. The QI must be identified upfront — you can't set one up after the fact.
Choose carefully: The QI holds your money. Use an established, reputable company. Check for E&O insurance and see if funds are held in segregated accounts. QI insolvency has cost some investors their exchange funds.
Types of 1031 Exchanges
Delayed Exchange (Most Common)
Sell first, buy second. This is the standard 1031 structure with the 45/180 day windows described above.
Simultaneous Exchange
Close both transactions on the same day. Rare and complex — requires precise coordination. Mostly used when you're directly swapping with another investor.
Reverse Exchange
Buy the replacement property first, then sell the relinquished property. This requires an Exchange Accommodation Titleholder (EAT) to hold the replacement property since you can't own both simultaneously during the exchange.
Reverse exchanges are more expensive ($5,000–$10,000+ in QI/EAT fees) and have the same 45/180 day windows — just applied to the sale rather than the purchase. Useful when you find your replacement property before you sell your existing one.
Improvement (Construction) Exchange
Use exchange funds to improve a replacement property before taking title. Must be completed within 180 days. Useful if you can't find a replacement property of equal value — you buy cheaper and use remaining exchange funds to improve it. Complex and requires careful QI coordination.
Step-by-Step Process
- Hire a QI before closing on your relinquished property sale
- Sell the relinquished property — proceeds go directly to QI
- Identify replacement properties within 45 days (in writing to the QI)
- Negotiate and go under contract on your replacement property
- QI funds the purchase at closing using the held exchange proceeds
- Close within 180 days of the relinquished property sale
Tax Basis in the Replacement Property
The deferred gain carries forward as a reduced basis in the replacement property.
Example:
- Original property: purchased for $200,000, depreciated by $40,000, sold for $500,000
- Adjusted basis at sale: $160,000
- Gain: $340,000
- Replacement property purchased for: $500,000
Your basis in the replacement property is:
$500,000 (cost) - $340,000 (deferred gain) = $160,000
The replacement property is worth $500,000 but your tax basis is only $160,000 — carrying forward all the deferred gain and depreciation.
The new depreciation schedule starts fresh from $500,000 (over 27.5 years for residential rental, 39 years for commercial), which generates current depreciation deductions even though the gain is deferred.
Common Mistakes
Missing the 45-day deadline: The most common failure. Don't close on your sale until you're confident you can identify replacement properties. Have alternatives ready before you sell.
Receiving boot unintentionally: Personal property included in the sale (appliances, furniture) that you keep can count as boot. Make sure personal property in the sale is worth $0 or is excluded.
Not planning for debt: If your relinquished property had a mortgage, you must replace that debt (or put in additional cash) on the replacement property. Trading a $300,000 mortgaged property for a $300,000 all-cash property means you've received "mortgage relief boot" — you'll pay tax on the debt reduction.
Using a QI that's related to you: The QI can't be your attorney, accountant, employee, or a related entity. Using a disqualified intermediary voids the exchange.
Mixing primary residence and rental: If you later convert the replacement property to your primary residence, you don't immediately owe taxes — but you must wait at least 5 years to sell and qualify for the $250,000/$500,000 home sale exclusion on the pre-exchange appreciation.
1031 + Estate Planning
The most powerful 1031 strategy: exchange forever, die holding the property.
Heirs inherit with a stepped-up basis to the property's fair market value at death. The decades of deferred capital gains and depreciation recapture simply evaporate. A $200,000 property you've 1031-exchanged into a $2,000,000 portfolio transfers to your heirs with a $2,000,000 basis — no capital gains tax on the prior appreciation, ever.
This makes 1031 exchanges a cornerstone of multi-generational real estate wealth transfer strategies.
Is a 1031 Exchange Right for You?
1031 exchanges make sense when:
- You have significant capital gains in a property (depreciation + appreciation)
- You want to upgrade to a larger or different type of property
- You're in a high-income year and want to defer the tax hit
- You have a long time horizon and plan to hold real estate indefinitely
They're less useful when:
- Your gain is small (exchange costs may exceed the tax savings)
- You need the cash from the sale
- You're near retirement and expect lower income/tax rates later
- The replacement property market is unfavorable
Run the numbers: compare the tax cost of cashing out vs. the exchange costs (QI fees, buying costs on the replacement property, potentially paying a premium for a rushed purchase).
The Bottom Line
A 1031 exchange is one of the most valuable tools in the real estate investor's toolkit. By deferring capital gains indefinitely, you keep more capital working in your portfolio — compounding rather than paying taxes. Combined with estate planning, it can result in permanently eliminating the tax liability.
The rules are strict and the timelines unforgiving, so work with a reputable QI and ideally a tax advisor who specializes in real estate. But for serious real estate investors, the learning curve is worth it.
Real estate investing strategies and tax optimization are covered in the Frugal Rise newsletter — subscribe for practical wealth-building guides.