1031How to 1031 Exchange
CalculatorDeadlines

Home  /  The guide

What is a 1031 exchange?

A 1031 exchange lets you sell an investment property and buy another one without paying capital gains tax on the sale, as long as you follow a strict set of IRS rules. Here's how it works, in plain English.

Identify
Within 45 days of your sale
Close
Within 180 days, or by your tax-return due date
Qualifies
U.S. real estate held for investment or business
Tax deferred
Up to ~37% of the gain, combined*

The basics

Section 1031 of the Internal Revenue Code says that when you exchange real property held for investment or business use for other real property of a "like kind," you don't recognize a gain or loss on the transaction. In practice, that means the capital gains tax — and depreciation recapture — you would normally owe on a sale is deferred and carried forward into your new property.

You'll also hear it called a like-kind exchange, a tax-deferred exchange, or a Starker exchange (after a 1979 court case that allowed the sale and purchase to happen at different times).

Deferred, not forgiven

A 1031 exchange postpones tax; it doesn't erase it. Your original cost basis carries over to the replacement property, and the deferred gain becomes taxable when you eventually sell without exchanging again.

Why investors use it

Keep more money working

Money that would have gone to taxes stays invested, so you can buy a larger or better property.

Upgrade or reposition

Trade a management-heavy rental for a newer building, a different market, or a passive investment.

Diversify or consolidate

Exchange one property into several — or several into one — to change your risk profile.

Estate planning

Under current law, heirs generally receive a "stepped-up" basis at death, which can eliminate gains deferred through a lifetime of exchanges.

What qualifies — and what doesn't

Both the property you sell (the relinquished property) and the property you buy (the replacement property) must be held for productive use in a trade or business or for investment. "Like-kind" is broad for real estate: almost any U.S. investment real estate can be exchanged for any other.

Generally qualifies

Rental homes and apartment buildings · Office, retail and industrial property · Raw land · Farmland and ranches · Long-term ground leases (generally 30+ years) · Interests in a Delaware Statutory Trust (DST)

Does not qualify

Your primary residence · Fix-and-flip or other property held primarily for sale · Stocks, bonds and notes · Partnership or LLC interests · Personal property (since 2018) · U.S. property exchanged for foreign property

The 45/180-day timeline

Most exchanges are delayed exchanges: you sell first, then buy. Two deadlines start the day you close on the sale, and they run at the same time — not one after the other.

  1. 01 · Day 0Sell your property

    Sale proceeds go straight to a qualified intermediary, never to you.

  2. 02 · By day 45Identify replacements

    Deliver a signed, written list to your intermediary by midnight of day 45.

  3. 03 · By day 180Close on the purchase

    Or by your tax-return due date (with extensions) if that comes first.

No extensions for weekends or holidays

Both deadlines are calendar days. If day 45 falls on a Sunday, it's still day 45. The IRS generally only extends these deadlines for federally declared disasters. If you sell late in the year, file a tax-return extension so the April deadline doesn't cut your 180 days short.

Use our deadline calculator →

Identification rules

Your 45-day identification must follow one of three rules:

RuleWhat you can identifyBest for
3-property ruleUp to three properties of any valueMost investors — simple and common
200% ruleAny number of properties, as long as their combined value is no more than 200% of what you soldSpreading into several smaller properties
95% ruleAny number and value — but you must actually buy at least 95% of the total value you identifiedRarely used; very little margin for error

Many investors list a backup property in case the first deal falls through. DST interests are often used as backups because they can typically close quickly.

Qualified intermediaries

You can't touch the sale proceeds. If you receive the money — or even have the right to it — the exchange fails. That's why a qualified intermediary (QI, also called an exchange accommodator) holds the funds between sale and purchase and handles the exchange documents.

See what qualified intermediaries typically charge →

Boot and full deferral

Boot is anything you receive in an exchange that isn't like-kind property. Boot is taxable (up to the amount of your gain), but it doesn't disqualify the rest of the exchange. The two most common kinds:

The rule of thumb for deferring 100%

Buy replacement property worth the same or more than the net sale price, reinvest all of your net proceeds, and replace any debt you paid off with new debt or additional cash.

The same taxpayer that sells must buy. If your LLC sells, your LLC (not you personally) should take title to the replacement property, with some exceptions for single-member LLCs that are disregarded for tax purposes.

Types of exchanges

Most common

Delayed exchange

Sell first, buy within 180 days. The standard structure described above.

Buy first

Reverse exchange

An "exchange accommodation titleholder" parks the new property while you sell the old one within 180 days. More complex and more expensive.

Build or renovate

Improvement exchange

Exchange funds pay for improvements to the replacement property, which must be completed (to the extent counted) within 180 days.

Same day

Simultaneous exchange

Both closings happen on the same day. Rare today, but still possible.

A worked example

Maria bought a fourplex for $600,000 years ago and has taken $150,000 of depreciation, so her adjusted basis is $450,000. She sells for $1,200,000 and pays $60,000 in selling costs.

Taxable sale1031 exchange
Gain on sale$690,000$690,000
Depreciation recapture (25%)$37,500$0 today
Federal capital gains (20%)$108,000$0 today
Net investment income tax (3.8%)$26,220$0 today
State tax (e.g., 9.3%)$64,170$0 today
Estimated tax due now$235,890$0
Equity available to reinvest≈ $904,000≈ $1,140,000

Simplified illustration assuming no mortgage, the top federal brackets, and the full recapture rate; it ignores alternative minimum tax and other details. Unrecaptured Section 1250 gain is taxed at a maximum of 25%. Actual taxes depend on your situation — run your own numbers with our calculator and confirm with a tax professional.

Common mistakes

  1. Hiring a QI after closing. Once you receive the proceeds, it's too late.
  2. Missing day 45. Start shopping before you sell, and identify backups.
  3. Accidentally creating boot. Using exchange funds for non-exchange costs (like loan fees, security deposits or prorated rents) can create taxable boot.
  4. Changing the taxpayer. Selling in an LLC and buying in your personal name — or vice versa — can break the exchange.
  5. Buying from a related party without understanding the special two-year holding rules.
  6. Exchanging a flip. Property bought to resell quickly is generally not "held for investment."
  7. Forgetting Form 8824. Every exchange must be reported on IRS Form 8824 for the year of the sale.

Frequently asked questions

Can I do a 1031 exchange on my primary residence?

No. A 1031 exchange only applies to property held for investment or business use. Your home may qualify for a separate exclusion of up to $250,000 of gain ($500,000 for married couples) under Section 121. Some properties — like a home you've converted to a rental — can involve both rules.

What happens if I miss the 45-day deadline?

The exchange generally fails and the sale is treated as an ordinary taxable sale. Your QI will typically release your funds after day 45 (or after day 180, depending on your agreement and whether properties were identified).

Do I have to buy a more expensive property?

To defer all the tax, you generally need to buy equal or greater value and reinvest all net proceeds. Buying less creates taxable boot, but the remaining gain can still be deferred — a partial exchange.

Can I exchange one property for several?

Yes. You can sell one and buy several (or the reverse), as long as you follow the identification rules and timelines.

Can I move into the replacement property later?

Possibly, but you must first genuinely hold it as an investment. The IRS provides a safe harbor for dwelling units (Rev. Proc. 2008-16), and special rules can limit the home-sale exclusion on property acquired in an exchange within the previous five years.

Can I exchange into a Delaware Statutory Trust (DST)?

Yes. Under Revenue Ruling 2004-86, an interest in a properly structured DST is treated as a direct interest in real estate. DSTs are passive, fractional investments — learn more in our companion DST guide.

Is a 1031 exchange tax-free?

No — it's tax-deferred. However, if you hold exchanged property until death, current law generally gives your heirs a stepped-up basis, which can eliminate the deferred gain.

Do state taxes follow the federal rules?

Most states follow federal 1031 treatment, but some (such as California) track deferred gains when you exchange into out-of-state property and require annual filings. Check your state's rules.

✓

Expert review pending. This page will be reviewed by a licensed CPA or tax attorney before publication. [Placeholder: reviewer name, credentials and bio link.]

Sources

See what you could defer

Plug in your sale price and basis to estimate the tax a 1031 exchange could postpone.

Open the calculator