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 CPA Advisory 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 CPA 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 a CPAFrequently asked
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.
