Skip to content

Guide · 1031 exchange

How Does a 1031 Exchange Work?

Last reviewed July 2026 by the 5D Accounting team

Short answer

A 1031 exchange lets you sell an investment or business property and roll the proceeds into another like-kind real estate investment without paying capital gains tax right now. The key word is defer. A 1031 exchange delays the tax. It does not automatically erase it. The catch is that 1031 exchanges have strict rules, deadlines, and documentation requirements. You generally have 45 days to identify replacement property and 180 days to close, and the sale proceeds need to be handled by a qualified intermediary. This is something to plan before the sale closes with your CPA, qualified intermediary, and real estate team.

How does a 1031 exchange work?

You sell an investment or business property and reinvest the proceeds into another like-kind investment or business property. Done correctly, the capital gain is deferred instead of taxed in the year of sale, which keeps more of your money working in the next deal.

The money cannot touch your hands in between. A qualified intermediary holds the sale proceeds and uses them to purchase the replacement property. This needs to be set up before the sale closes, not after the money has already been received.

That is one of the biggest mistakes people make. They sell first, deposit the money, and then ask about a 1031 exchange. At that point, it may already be too late.

A 1031 exchange should not be viewed as just a closing task. It affects your basis, depreciation, debt, future tax exposure, cash flow, and long-term investment plan. That is why it should be reviewed before the deal is already locked in.

What are the 1031 exchange deadlines?

Two hard clocks start when you sell the relinquished property. You have 45 days to identify the replacement property in writing, and 180 days to close on the replacement property.

These deadlines are strict. Missing either deadline can cause the exchange to fail, which means the gain becomes taxable.

There are also tax filing considerations that can affect the timing, especially if your tax return due date comes before the 180-day exchange period ends. This is another reason to involve your CPA early instead of waiting until tax filing season.

To fully defer the tax, you generally need to buy replacement property of equal or greater value, reinvest all net proceeds, and replace any debt relief with new debt or additional cash. If you keep cash, reduce your investment, or reduce your debt without replacing it, part of the exchange may be taxable. That taxable portion is often called boot.

What qualifies as like-kind property?

For real estate, like-kind is broader than most people think. A rental house can be exchanged for a commercial building. An apartment building can be exchanged for raw land. It does not have to be the same type of property.

The important part is use. Both the property you sell and the property you buy need to be held for investment or business purposes.

A 1031 exchange generally does not apply to your personal home, and it usually does not work for property held mainly for resale or flipping. That distinction matters because investment property and inventory are not the same thing.

This is where planning matters. The tax result depends on the facts: how the property was used, how long it was held, how the replacement property will be used, how the debt is structured, and whether the exchange fits your bigger tax plan.

Can I avoid capital gains tax with a 1031 exchange?

You defer the tax. You do not simply make it disappear.

Each exchange pushes the gain into the next property. If you later sell the replacement property without doing another exchange, the deferred gain can become taxable at that time.

There is a long-game estate planning angle. If you keep exchanging and eventually pass the property to heirs, the step-up in basis at death may reduce or eliminate some or all of the deferred gain. But that is not something to assume casually. It needs to fit your full tax, investment, cash flow, and estate plan.

This is where ongoing tax planning can matter. The right answer is not always to do the exchange. Sometimes it is better to exchange. Sometimes it is better to sell, pay the tax, refinance, restructure, or hold. The best answer depends on the numbers, the property, your income, your cash flow, and your long-term plan.

Why should I talk to a CPA before doing a 1031 exchange?

A 1031 exchange is not something to figure out after closing. The rules are strict, the deadlines are unforgiving, and the sale proceeds need to be handled correctly from the start.

Your CPA can help you review the tax impact, projected gain, depreciation recapture, debt replacement, boot, basis, future depreciation, and how the exchange fits your overall tax strategy.

At 5D Accounting, we help clients look beyond the transaction. Through 5D Advisory, we review tax projections, rental activity, depreciation, entity structure, cash flow, and long-term planning so decisions like a 1031 exchange are not made in isolation.

This page is general information only. If you are considering a 1031 exchange, you should work with your CPA, qualified intermediary, and other appropriate professionals before the sale closes.

Every situation is a little different. If you want a straight answer for yours, we are happy to look.

Plan a 1031 exchange with us

Frequently asked

How does a 1031 exchange work in Utah?
A 1031 exchange in Utah follows the same federal rules. Utah does not create a separate exchange system. You sell investment or business real estate, have a qualified intermediary hold the proceeds, identify replacement property within the required deadline, and reinvest into like-kind real estate to defer the capital gain.
Can I avoid capital gains tax by using a 1031 exchange?
A 1031 exchange defers capital gains tax. It does not automatically eliminate it. The gain carries into the replacement property, and if you later sell without another exchange, the deferred gain may become taxable. If the property is held until death, a step-up in basis may reduce or eliminate the deferred gain for heirs, depending on the facts and the law at that time.
How long do I have to complete a 1031 exchange?
You generally have 45 days from the sale to identify replacement property in writing and 180 days total to close on the replacement property. Both deadlines are strict, and the 45-day deadline is especially unforgiving. In some cases, your tax return due date can also matter, so this should be reviewed early with your CPA.
Do I need a qualified intermediary for a 1031 exchange?
Yes. In a standard delayed 1031 exchange, you should have a qualified intermediary in place before the sale closes. You cannot take possession of the sale proceeds and then decide to do a 1031 exchange later. The qualified intermediary holds the funds between the sale and purchase so the exchange is properly structured.
What happens if I receive the money from the sale?
If you receive or control the sale proceeds, the exchange may fail. The money needs to be handled through a qualified intermediary so you do not have actual or constructive receipt of the funds. This is one of the biggest reasons to set up the exchange before closing, not after.
Can I do a 1031 exchange on my personal home?
Usually no. A 1031 exchange is for property held for investment or business use, not your personal residence. There are separate home-sale exclusion rules that may apply to a personal home, but those are different from a 1031 exchange. If a property has mixed personal and rental use, the facts need to be reviewed carefully.
Is a 1031 exchange always the best move?
No. A 1031 exchange can be powerful, but it is not automatically the right answer. You need to compare the tax savings, replacement property quality, debt structure, cash flow, future depreciation, estate plan, and long-term exit strategy. A bad investment does not become a good investment just because the taxes are deferred.
How can 5D Accounting help with a 1031 exchange?
5D Accounting can help you review the tax side of the decision before you sell, including estimated gain, depreciation recapture, boot risk, debt replacement, basis, future tax impact, and whether the exchange fits your broader plan. For clients who want year-round support, our 5D Advisory service helps review these decisions before they become urgent, not months later during tax season.

Keep reading

This is general tax information, current as of July 2026, not advice for your specific situation. Tax rules change and depend on your facts. For guidance you can rely on, talk to a CPA.