The Basics

What Is a 1031 Exchange? The Complete Guide

Everything you need to know about 1031 exchanges: how they work, who qualifies, the step-by-step process, common mistakes, costs, and whether one makes sense for your situation.

Written by Top1031 ResearchPublished Updated 18 min read
Key takeaway

A 1031 exchange lets you sell business or investment real property and defer the capital gains tax by reinvesting the proceeds into like-kind replacement property. You keep more of your equity invested instead of sending it to the tax authorities, but only if you meet strict deadlines and rules.

Sell an investment property at a profit and the tax bill arrives in four separate layers: federal capital gains, depreciation recapture, the net investment income tax, and state income tax. In a high-tax state, together they can take 25% to 40% of your gain before you put a dollar back to work.

A 1031 exchange is the part of the tax code that lets you defer that bill. You sell investment real estate, reinvest the proceeds in another property, and postpone all the capital gains tax on the sale. It is named for Section 1031 of the Internal Revenue Code, which has existed in some form since 1921 and, since the Tax Cuts and Jobs Act of 2017, applies only to real property.

Who a 1031 exchange is for

A 1031 exchange is built for owners of real property held for investment or for productive use in a trade or business. That includes rental houses, apartment buildings, commercial offices, industrial warehouses, retail centers, farmland, and vacant land held for appreciation.

The typical candidate is an investor facing a large capital gains bill on a sale who wants to keep the full amount of equity working in real estate rather than handing a big share of the gain to federal and state tax authorities.

Who a 1031 exchange is not for

  • Primary-residence sellers. Your home does not qualify unless you first convert it to a genuine rental property and hold it long enough to establish investment intent.
  • Fix-and-flip operators. Property held primarily for resale (dealer property) is excluded.
  • Investors who want out of real estate entirely. The exchange requires reinvestment into like-kind real property; you cannot exchange into stocks, bonds, or cash.
  • Small-gain sellers. If the tax you would defer is modest relative to the constraints and costs, the exchange may not be worth the effort. Run the calculator with your actual numbers to decide.

How deferral works

Here is what those four layers of tax look like when you sell at a profit:

Tax

Rate

Notes

Federal long-term capital gains

0%, 15%, or 20%

Rate depends on taxable income

Depreciation recapture

25%

Applies to depreciation deductions claimed over the holding period

Net investment income tax (NIIT)

3.8%

Applies above $200K single / $250K married AGI

State income tax

0-13.3%

Varies by state; California taxes gains as ordinary income

A 1031 exchange defers all four. On a $400,000 gain in a high-tax state, that can keep $120,000 to $160,000 invested instead of leaving for the IRS and the state.

The operative word is defer. The tax is not erased, only pushed forward. Many investors keep exchanging for decades, rolling each gain into the next property. If a property eventually passes to heirs, they may receive a stepped-up basis under current law, which can eliminate the deferred gain entirely.

The like-kind requirement

Both the property you sell (the relinquished property) and the one you buy (the replacement property) must be real property, but "like-kind" is read broadly. You can sell a single-family rental and buy a warehouse, or sell farmland and buy an apartment building. What matters is the nature of the asset, real estate for real estate, not its type, quality, or location within the United States.

Foreign real property exchanged for domestic property does not qualify.

The same-taxpayer rule

The taxpayer that sells must be the taxpayer that buys. If your LLC sells a property, the same LLC has to acquire the replacement, not you personally and not a different entity. A single-member LLC is disregarded for tax purposes, so its individual owner is the taxpayer; for multi-member LLCs and partnerships, the entity itself is the taxpayer. The LLC and partnership guide covers the details.

How a deferred exchange works: five steps

The most common form is the deferred exchange: sell first, then buy the replacement inside a fixed window.

Step 1 - Prepare. Before listing the property, engage a qualified intermediary, the independent party who holds your sale proceeds so you never touch them, consult a CPA, and start scouting replacements. Your QI must be under contract before the sale closes.

Step 2 - Close on the sale (Day 0). The proceeds go straight to your QI, not to you. Both the 45-day and 180-day clocks start.

Step 3 - Identify replacement property (by Day 45). You have exactly 45 calendar days to identify potential replacements in writing to your QI. No extensions. The most common approach is the 3-Property Rule: name up to three properties of any value. The 200% Rule and the 95% Rule are alternatives; see identification rules explained.

Step 4 - Close on the replacement (by Day 180). You must receive the replacement within 180 days of the sale, or by the due date of your tax return (including extensions), whichever comes first. Your QI releases the held funds to complete the purchase.

Step 5 - File and report. Report the exchange on IRS Form 8824 with your federal return. Some states add their own reporting.

For a day-by-day breakdown, see the 1031 exchange timeline.

Full deferral requirements

To defer the entire gain, you generally have to meet two conditions:

  1. Reinvest all the equity. The replacement property's total acquisition cost must equal or exceed the net sale price of the property you sold.
  2. Replace all the debt. The mortgage on the replacement must equal or exceed the mortgage you paid off, or you make up the difference with additional cash.

Fall short on either, by buying cheaper or carrying less debt, and the difference is called boot, which is taxable.

Common points of failure

Failure

Why it happens

Missing the 45-day deadline

Investors sell before building a replacement pipeline

Constructive receipt

Sale proceeds touch the investor's hands instead of going to the QI

Entity mismatch

Selling from one entity and buying through another

Identification not in writing

A verbal conversation does not satisfy the regulations

Financing delays

Lender cannot close before Day 180; filing Form 4868 for a tax extension can protect the full window

What a 1031 exchange costs

A qualified intermediary's fee for a standard deferred exchange usually runs $750 to $1,500. Reverse and improvement exchanges cost more. There is no fee to the IRS for the exchange itself. Everything else is the ordinary cost of buying and selling real estate: commissions, title insurance, escrow, inspections, financing. The closing costs guide breaks it down line by line.

When a 1031 exchange might not make sense

The exchange is worth doing only if the tax you would defer outweighs the constraints it imposes: the 45-day clock to find a replacement, the reinvestment and debt rules, and the reduced liquidity of staying in real estate. When the gain is small, when your basis is already high enough that there is little gain left to defer, when you can't realistically source a replacement inside 45 days, or when you simply want out of real estate, those constraints can weigh more than the savings.

The answer is in the numbers. Run the calculator with your actual property details. Defer $15,000 and the constraints may outweigh it. Defer $150,000 and the math looks very different.

The bottom line

A 1031 exchange is one of the most powerful tax-deferral tools available to real estate investors. Done correctly, it keeps your capital fully invested instead of sending a large share to taxes. It works only if you understand the rules, meet the deadlines, and work with qualified professionals.

Quick answers

Frequently asked questions

How long do I have to complete a 1031 exchange?

You have 45 days from the sale to identify replacement property, and 180 days to close on it. Both deadlines are absolute, with no extensions. The 180-day window shrinks to the due date of your tax return (including extensions) if that comes first.

Can I do a 1031 exchange on my primary residence?

Not directly. Section 1031 applies only to property held for business or investment use. If you convert a primary residence into a rental and hold it as one for a sufficient period (most advisors suggest at least two years), it can qualify. There are also combination strategies that use both Section 121, the primary-residence exclusion, and Section 1031 for a property that served both purposes.

Can I exchange into a property in a different state?

Yes. Like-kind refers to the nature of the property (real estate for real estate), not its location, so you can sell in California and buy in Texas. Some states, California in particular, track the deferred gain and may tax it when the replacement is eventually sold, even if that replacement sits in another state.

What is "boot" in a 1031 exchange?

Boot is any value you receive in the exchange that does not qualify for deferral. The common forms are cash boot (taking cash out of the exchange) and mortgage boot (reducing your debt without replacing it with additional cash). Boot is taxable up to the amount of your realized gain.

Do I need to use a qualified intermediary?

Yes, for a deferred exchange. The intermediary holds your sale proceeds so you never take constructive receipt of the funds. Touch the money yourself, even briefly, and the exchange fails. The QI must be engaged before the sale closes.

How many times can I do a 1031 exchange?

There is no limit. Many investors exchange repeatedly over a lifetime, rolling gains from property to property for decades. Some have done it five, ten, or more times, compounding their equity while deferring the tax over a career.

What happens to the deferred tax when I die?

Under current law, your heirs receive a stepped-up basis in the property, meaning the basis resets to fair market value at the time of your death. That can eliminate the deferred gain entirely. It is a major reason some investors keep exchanging rather than selling and paying the tax.

The live marketBrowse current DST offeringsCompare active offerings identified through public SEC filings and documented sources. Browse active DST offerings