The short version
- A 1031 exchange lets you defer capital gains tax when you sell investment or business real property and buy like-kind real property.
- To defer all of the gain, you generally need to buy property of equal or greater value and replace the debt you paid off, or add cash.
- You have 45 days from the sale to identify replacement property in writing and 180 days to close, and these deadlines are strict.
- A qualified intermediary must hold the sale proceeds, because touching the money can disqualify the exchange.
- Exchanges are reported on IRS Form 8824, and the rules are technical enough that you should work with a CPA and an experienced intermediary.
Selling a rental property at a gain usually means a tax bill. A 1031 exchange, named for Section 1031 of the Internal Revenue Code, lets real estate investors defer that tax by rolling the proceeds into another investment property. Used well, it can help you trade up to larger properties, consolidate a portfolio or move into a different market without losing a large share of your equity to taxes along the way.
The rules are strict, though, and small mistakes can turn a planned exchange into a taxable sale. This guide covers the core requirements, the timeline, how boot works and the most common pitfalls. It is general information. Tax law is detailed and changes over time, so work with a CPA and an experienced qualified intermediary before you list your property.
The basic requirements
To qualify for tax deferral under Section 1031, an exchange generally must meet these conditions.
Like-kind real property
Since 2018, Section 1031 applies only to real property. The good news is that like-kind is interpreted broadly for real estate. A single-family rental can be exchanged for an apartment building, raw land, a retail center or a triple net lease property. Real property in the United States is not like-kind with real property outside the United States.
Investment or business use
Both the property you sell (the relinquished property) and the property you buy (the replacement property) must be held for investment or for productive use in a trade or business. Property held primarily for resale, such as a quick flip, generally does not qualify, and neither does a personal residence.
Same taxpayer
The taxpayer who sells must be the taxpayer who buys. If an LLC taxed as a partnership sells, that same entity generally needs to acquire the replacement. A single-member LLC that is disregarded for tax purposes is usually treated as its owner. Changing ownership structure right before or after an exchange can create problems, so plan it with your advisors.
Equal or greater value and debt
To defer all of the gain, two things generally need to be true:
- The replacement property’s price is equal to or greater than the net sale price of the relinquished property.
- You reinvest all of the net proceeds and replace any debt that was paid off, either with new debt or with additional cash.
For example, suppose you sell a hypothetical rental for $600,000 with a $250,000 mortgage paid off at closing. To fully defer, you would typically buy property for at least $600,000, reinvest all the net equity and take on at least $250,000 of new debt or add equivalent cash. Buy for less, or keep some cash, and part of the gain becomes taxable.
The 45-day and 180-day deadlines
The timeline starts on the day the relinquished property closes:
- 45-day identification period. You must identify potential replacement properties in a signed, written notice delivered to your qualified intermediary or another permitted party by midnight of day 45.
- 180-day exchange period. You must close on the replacement property within 180 days of the sale, or by your tax return due date (including extensions) for that year, whichever comes first.
The two periods run at the same time, not back to back. Identification rules limit what you can name, most commonly up to three properties of any value, or more than three if their total value stays within 200 percent of what you sold. Other options exist but have strict conditions.
Tip: Start looking for replacement property before you sell. Forty-five days goes quickly, especially in a competitive market.
The role of the qualified intermediary
In a standard delayed exchange, you cannot receive the sale proceeds, even briefly. A qualified intermediary (QI) signs an exchange agreement with you before the sale closes, receives the proceeds directly from escrow, holds them and then delivers them to buy the replacement property.
Some people cannot serve as your QI, including your agent, your employee and certain people who have acted as your attorney, accountant or real estate broker within the past two years. Choose an established intermediary and ask how funds are protected while they hold them.
Understanding boot
Boot is any value you receive in the exchange that is not like-kind property. The two common forms are:
- Cash boot, such as proceeds you keep or that are used for non-qualifying costs at closing.
- Mortgage boot, when the debt on your replacement property is lower than the debt you paid off and you do not make up the difference with cash.
Boot does not ruin the exchange. It is generally taxable up to the amount of your realized gain, while the rest can still be deferred.
Types of exchanges
- Delayed exchange. The most common structure: sell first, then buy within the deadlines.
- Reverse exchange. You buy the replacement first. An exchange accommodation titleholder holds title to one property while you complete the sale, and similar time limits apply.
- Improvement (build-to-suit) exchange. Exchange funds are used to make improvements on the replacement property before you take title, again using an accommodation titleholder. Only improvements completed within the exchange period count toward value.
Reporting and record keeping
Exchanges are reported on IRS Form 8824 with your tax return for the year the relinquished property was transferred. The form shows the properties, dates, values, any boot and the calculation of deferred gain and basis. Keep the exchange agreement, identification notice, closing statements and QI records together.
Your accounting needs to reflect the carried-over basis and depreciation correctly. If you manage your books in TenantLoop’s accounting tools, you can track each property separately, which makes the handoff to your CPA cleaner. For the bookkeeping side, see our article on 1031 exchange accounting.
Why investors exchange instead of selling
Deferring the tax is the headline, but the reasons behind an exchange are usually practical:
- Trading up. The full equity, including the untaxed gain, goes into a larger building or a better location.
- Less hands-on work. A tired portfolio of scattered single-family homes can become one newer building, or a property leased to a single commercial tenant.
- A new market. You can leave an area where rents have stalled and buy where demand is growing, without losing part of your equity to tax on the way.
- Consolidating or splitting. Several small properties can go into one, or one large property into several, as long as the values and deadlines work.
A worked timeline
Here is a hypothetical delayed exchange from start to finish:
- Before listing. The investor signs an exchange agreement with a qualified intermediary and talks to a CPA about the expected gain.
- Day 0, March 1. The rental closes for $600,000. The net proceeds go straight to the intermediary.
- By day 45, April 15. The investor sends the intermediary a signed list of three possible replacement properties.
- Day 70. One of the three goes under contract for $720,000, with a loan larger than the one paid off at the sale.
- By day 180, August 28. The purchase closes. The intermediary wires the exchange funds to closing, and no cash comes back to the investor.
Because the replacement cost more, the debt went up and no cash was received, there is no boot and the full gain is deferred. If the investor had bought for $550,000 instead, the $50,000 difference would generally be taxable.
Special cases worth knowing
- Vacation homes. A home used mostly for personal stays does not qualify. The IRS gives a safe harbor for a dwelling rented at fair rent for at least 14 days a year, with personal use kept to the greater of 14 days or 10 percent of the days rented, measured over the two years before or after the exchange.
- Related parties. Exchanging with a relative or a company you control is allowed, but both sides generally have to keep their properties for two years or the deferral can be lost.
- Fractional interests. Tenancy-in-common interests and certain Delaware statutory trust interests can count as replacement real property when they are structured for it. They suit investors who want to step away from day-to-day management.
- A former home that became a rental. If you lived in a property and later rented it, the home sale exclusion and a 1031 exchange can sometimes be combined. This is one of the more technical areas, so get advice before you sell.
Exchanges and estate planning
Some investors keep exchanging for decades. Under current federal law, when an owner dies, heirs generally receive the property with a basis stepped up to its value at that time, so the gain that was deferred through every exchange may never be taxed. Tax law can change, and state rules differ, which is why exchanges and estate plans are usually reviewed together with a CPA and an estate attorney.
Keeping the records together
An exchange is easier to defend when every document sits with the property: the exchange agreement, both closing statements, the identification notice with the date it was sent, the intermediary’s statements and the depreciation history. In TenantLoop accounting, files attach to the property and the general ledger keeps its full history, so the numbers your CPA needs for Form 8824 are in one place.
Mistakes that sink an exchange
- Receiving or controlling sale proceeds instead of using a QI.
- Missing the 45-day identification or 180-day closing deadline.
- Buying less than you sold or failing to replace debt, creating unexpected boot.
- Changing the taxpayer or entity that holds title.
- Exchanging property that does not meet the investment or business use requirement.
- Forgetting state tax rules, which can differ from federal treatment.
A 1031 exchange is a powerful tool, but it rewards planning. Talk to a CPA early, line up your intermediary before you sell and treat every deadline as fixed.
If you are doing this for real.
Can I do a 1031 exchange on my primary residence?
No. A 1031 exchange applies to real property held for investment or for use in a trade or business. A personal residence may qualify for a different exclusion, which a CPA can explain.
What happens if I miss the 45-day deadline?
If you do not properly identify replacement property within 45 days, the exchange generally fails and the sale is treated as taxable. The deadline is not extended for weekends or holidays, though limited relief can apply in federally declared disasters.
What is boot in a 1031 exchange?
Boot is anything you receive that is not like-kind property, such as leftover cash or a reduction in debt that is not offset. Boot is generally taxable up to the amount of your gain.
Do I need special accounting for an exchange?
Yes. The replacement property generally carries over the basis of the property you sold, adjusted for any cash added or boot received, which affects future depreciation. See our 1031 exchange accounting article.
Can I use a 1031 exchange to buy property before I sell?
Yes, through a reverse exchange, where an exchange accommodation titleholder holds one of the properties temporarily. These are more complex and more expensive than standard exchanges.