Investment Taxes

1031 Exchange: Complete Guide to Tax-Deferred Real Estate

By Editorial Team — reviewed for accuracy Updated
Last reviewed:

1031 Exchange: Complete Guide to Tax-Deferred Real Estate

A 1031 exchange — named after Section 1031 of the Internal Revenue Code — allows you to sell an investment or business property and defer all capital gains taxes by reinvesting the proceeds into a “like-kind” replacement property. There is no limit on how many times you can do this, and if you hold the final property until death, the step-up in basis can eliminate the deferred gain entirely. For real estate investors, it is the single most powerful tax deferral tool available. But the rules are strict, the deadlines are absolute, and mistakes can result in full taxation of the gain.

Data Notice: Figures, rates, and statistics cited in this article are based on the most recent available data at time of writing and may reflect projections or prior-year figures. Always verify current numbers with official sources before making financial, medical, or educational decisions.


How a 1031 Exchange Works

The Basic Structure

  1. Sell your investment property (the “relinquished property”)
  2. Transfer the proceeds to a qualified intermediary (QI) — you cannot touch the money
  3. Identify one or more replacement properties within 45 days
  4. Close on the replacement property within 180 days
  5. Result: Capital gains tax on the sale is deferred — your basis in the old property carries over to the new property

What Gets Deferred

When you exchange properly, you defer:

  • Capital gains tax — Both short-term and long-term rates (up to ~20% + 3.8% NIIT)
  • Depreciation recapture — The unrecaptured Section 1250 gain taxed at up to 25%
  • State capital gains tax — Varies by state

For a property with $200,000 of gain and $100,000 of accumulated depreciation, the tax deferral can exceed ~$60,000+ in combined federal and state taxes.


The “Like-Kind” Requirement

The replacement property must be “like-kind” to the relinquished property. For real estate, this requirement is very broad:

What Qualifies as Like-Kind

Relinquished PropertyReplacement PropertyLike-Kind?
Apartment buildingOffice buildingYes
Vacant landShopping centerYes
Single-family rentalWarehouseYes
FarmlandCondo used as rentalYes
Commercial buildingRaw landYes
U.S. real propertyU.S. real propertyYes

The key rule: Both properties must be held for investment or business use. The specific type of real estate does not matter — an apartment building is like-kind to vacant land, which is like-kind to a strip mall.

What Does NOT Qualify

SituationWhy Not
Primary residenceNot held for investment/business use
Property you flip (dealer property)Held for sale to customers, not investment
U.S. property → Foreign propertyNot like-kind (must be within same country)
Real property → Personal propertyDifferent asset classes (post-TCJA, only real property qualifies)
Stocks, bonds, partnership interestsSpecifically excluded from Section 1031

Important change: The Tax Cuts and Jobs Act of 2017 eliminated 1031 exchanges for personal property (equipment, vehicles, artwork). Only real property exchanges are permitted for tax years after 2017.


The Two Critical Deadlines

These deadlines are absolute. No extensions, no exceptions, no reasonable-cause relief.

45-Day Identification Period

Starting from the day you close on the sale of your relinquished property, you have exactly 45 calendar days to identify potential replacement properties in writing to your qualified intermediary.

Identification rules:

RuleLimit
Three-Property RuleIdentify up to 3 properties, regardless of value
200% RuleIdentify any number of properties, but total FMV cannot exceed 200% of the relinquished property’s sale price
95% RuleIdentify any number of properties of any value, but you must acquire 95% of their aggregate FMV

Most exchangers use the Three-Property Rule for simplicity. You are not required to acquire all identified properties — just one (or more) from your list.

180-Day Exchange Period

You must close on the replacement property within 180 calendar days from the sale of the relinquished property (or by the due date of your tax return, including extensions, if earlier).

Example timeline:

EventDate
Sell relinquished propertyMarch 1
45-day identification deadlineApril 15
180-day closing deadlineAugust 28

If you miss either deadline by even one day, the entire exchange fails and the gain is fully taxable.


The Qualified Intermediary (QI)

You cannot receive the sale proceeds directly. The money must flow through a qualified intermediary — a third party who holds the funds between the sale and the purchase.

What the QI Does

  1. Prepares the exchange documents before your property closing
  2. Receives the sale proceeds from the closing/title company
  3. Holds the funds in a segregated escrow account
  4. Disburses the funds to the title company when you close on the replacement property

Choosing a QI

  • Not your attorney, CPA, broker, or agent — Anyone who has acted as your agent within the past 2 years is disqualified
  • Check for insurance and bonding — QI funds are not FDIC-insured; if the QI goes bankrupt, your money could be lost
  • Verify they use segregated accounts — Commingled accounts increase risk
  • Fees: Typically ~$750-$1,500 for a standard exchange

Boot: What Triggers Partial Taxation

“Boot” is any value received in the exchange that is not like-kind property. Boot is taxable to the extent of your realized gain.

Common Sources of Boot

TypeExample
Cash bootYou receive some cash from the sale proceeds instead of reinvesting the full amount
Mortgage bootYour new mortgage is smaller than the old one (the difference is boot)
Non-like-kind propertyYou receive personal property as part of the deal
Excess closing costsThe QI pays expenses that do not qualify as exchange expenses

How to Avoid Boot

To fully defer all gain:

  1. Reinvest all proceeds — The purchase price of the replacement property must equal or exceed the sale price of the relinquished property
  2. Replace or exceed the mortgage — Your new mortgage must be equal to or greater than the old mortgage (or you make up the difference with additional cash)
  3. Do not receive any cash — All proceeds must flow through the QI to the replacement property

Example:

RelinquishedReplacement
Sale/Purchase price$500,000$600,000
Mortgage$300,000$350,000
Equity reinvested$200,000$250,000
Boot$0Full deferral

vs.

RelinquishedReplacement
Sale/Purchase price$500,000$400,000
Mortgage$300,000$200,000
Equity reinvested$200,000$200,000
Boot$100,000 (mortgage boot) + $0 cashPartial taxation on the $100,000

Reverse 1031 Exchanges

In a reverse exchange, you acquire the replacement property before selling the relinquished property. This is useful in competitive markets where you cannot wait to sell before buying.

How It Works

  1. An Exchange Accommodation Titleholder (EAT) — typically set up by the QI — acquires the replacement property on your behalf
  2. You then sell the relinquished property within 180 days
  3. The EAT transfers the replacement property to you

Key Differences

  • More expensive (additional legal and holding costs)
  • More complex documentation
  • Same 45-day and 180-day deadlines apply (but the clock starts differently)
  • The EAT must hold the property under a QEAA (Qualified Exchange Accommodation Arrangement)

Depreciation and Basis Carryover

When you complete a 1031 exchange, the basis of the relinquished property carries over to the replacement property (adjusted for boot and exchange expenses). This means:

  • Your depreciable basis on the new property is lower than its purchase price
  • You continue depreciating on the same schedule as the old property for the carryover portion
  • Any additional basis (from purchasing a more expensive property) starts a new depreciation schedule

For a full overview of depreciation rules, see our real estate investment tax guide.


The Step-Up in Basis at Death

One of the most powerful aspects of 1031 exchanges is the interaction with the step-up in basis at death. If you defer gains through repeated 1031 exchanges over your lifetime and then hold the final property until death, your heirs receive a stepped-up basis equal to fair market value at death. All deferred gains — potentially decades of appreciation and depreciation recapture — are eliminated permanently.

This is why many real estate investors pursue a “swap till you drop” strategy: exchange into new properties as long as you live, and let the step-up wipe the slate clean. For more on this and other strategies, see capital gains tax strategies.


Reporting a 1031 Exchange

You report a 1031 exchange on Form 8824 (Like-Kind Exchanges), filed with your tax return for the year of the exchange. The form requires:

  • Description of properties exchanged
  • Dates of the identification and exchange periods
  • Relationship between parties (related-party exchanges have additional rules)
  • Fair market values and adjusted bases
  • Boot received
  • Gain recognized (if any)

If you also have rental income from your properties, report it on Schedule E. Review tax filing deadlines to ensure your 180-day window and return due date align properly.


Common Mistakes

  1. Touching the money — If you receive the proceeds directly (even for a moment), the exchange fails. Always use a QI.
  2. Missing the 45-day deadline — No identification = no exchange. Identify early.
  3. Exchanging your primary residence — Section 1031 requires investment/business use. However, you can convert a primary residence to a rental, wait 2+ years, and then exchange.
  4. Related-party exchanges — If you exchange with a related party (family member, controlled entity) and either party disposes of the property within 2 years, the exchange is disqualified.
  5. Forgetting state taxes — Some states (California) will tax you on the deferred gain when you sell the replacement property, even if the replacement property is in a different state. Understand your state’s tax filing obligations.
  6. Not replacing the mortgage — Mortgage reduction creates boot. Make sure your new financing equals or exceeds the old.

Frequently Asked Questions

Can I do a 1031 exchange on my primary residence?

Not directly. Section 1031 requires that both properties be held for investment or business use. However, you may be able to combine the Section 121 exclusion ($250K/$500K for primary residence sales) with a 1031 exchange if the property was used as both a primary residence and a rental. Consult a tax professional for this complex scenario.

How many times can I do a 1031 exchange?

There is no limit. You can exchange indefinitely, deferring gains from property to property throughout your lifetime. Each exchange carries the deferred gain forward, and the step-up in basis at death can eliminate it entirely. Use the standard deduction guide and other resources to optimize your overall tax position.

Can I exchange into multiple replacement properties?

Yes. You can split one relinquished property into multiple replacement properties, or consolidate multiple relinquished properties into one replacement. As long as the identification rules and deadlines are met, and you reinvest all proceeds, the exchange qualifies.

What if I can’t find a replacement property in 45 days?

The exchange fails, and the gain is fully taxable. To mitigate this risk: start searching for replacement properties before you list the relinquished property, identify three properties (using the three-property rule) to give yourself options, and consider a reverse exchange if you find the right property before selling.

Is there a minimum holding period?

The IRS does not specify a minimum holding period for the relinquished property, but you must demonstrate intent to hold for investment or business use. A common safe harbor is at least 2 years. The IRS has created a safe harbor for properties converted from personal use to rental use that requires holding as a rental for 2 years with at least 14 days of rental per year. For a full picture of rental property taxes, see our real estate investment tax guide.


Key Takeaways

  • A 1031 exchange defers all capital gains and depreciation recapture taxes when you reinvest in like-kind real property
  • The 45-day identification and 180-day closing deadlines are absolute — no exceptions
  • You must use a qualified intermediary to hold the funds — touching the money disqualifies the exchange
  • “Like-kind” for real estate is very broad — any investment/business real property qualifies
  • To fully defer, reinvest all proceeds and replace or exceed the mortgage
  • The step-up in basis at death can permanently eliminate deferred gains (“swap till you drop”)
  • Report on Form 8824 with your tax return

Tax information is for educational purposes only and does not constitute tax advice. Consult a licensed tax professional and qualified intermediary for guidance specific to your exchange.