Skip to content

How does a 1031 exchange work?

A 1031 exchange lets an investor sell one investment property and defer the capital gains tax. The investor then buys another investment property of equal or greater value. However, the IRS sets two strict deadlines for the whole swap. First, you identify a replacement property within 45 days of the sale. Then you close on that property within 180 days in total. A qualified intermediary also holds the sale money throughout the deal.

how does a 1031 exchange work — calculator illustration

In short, the tax does not vanish during an exchange. Instead, the tax bill waits until you sell at a later date. Also, your basis from the old property carries into the new one. Therefore, careful records matter for many years after the swap ends. Next, the steps below show the full process in order.

How does a 1031 exchange work step by step?

First, you sell your old investment or business property as usual. The sale proceeds then go to a qualified intermediary, not to you. Next, you send the intermediary a written list of replacement properties. You must send that list within 45 calendar days of closing. Then you buy one of the listed properties within 180 days. Finally, the intermediary releases the funds at the replacement closing.

The intermediary step matters more than many investors first expect. If the sale cash touches your hands, the exchange can fail. Therefore, you sign the exchange agreement before the first closing happens. Also, you cannot use a close relative or your own agent here. The IRS explains the basic structure in its like-kind exchange guidance for real estate for investors and owners.

The 45-day and 180-day deadlines

Both clocks start on the day your sale closes. The 180-day period includes the first 45 days, not extra time. Weekends and holidays also count, so the IRS gives no bonus days. For example, suppose your sale closes on Monday, January 5, 2026. Then your identification deadline falls on Thursday, February 19, 2026. Your final exchange deadline then falls on Saturday, July 4, 2026.

DayStepWhat happens
Day 0Sale closesThe intermediary receives your sale proceeds
Day 45Identification deadlineYou send a signed, written property list
Day 180Exchange deadlineYou close on the replacement property
After day 180Exchange fails if lateThe deferred tax becomes due

Miss either date by one day, and the exchange fails completely. As a result, the full tax bill becomes due on that gain. Therefore, put both dates in your calendar on day one. Also, set a reminder at least one week before each deadline. Meanwhile, line up backup properties in case your first choice falls through. You may list more than one candidate within the IRS limits. Still, your written list must stay clear, specific, and on time.

Worked example: how does a 1031 exchange work in numbers?

Say you sell a rental property for $500,000 this year. Your adjusted cost basis is $300,000, and your selling costs are $30,000. First, the amount realized equals $500,000 minus $30,000, or $470,000. Next, the capital gain equals $470,000 minus $300,000, or $170,000. Then a 20 percent tax rate gives a tax bill of $34,000. That rate combines 15 percent federal tax and 5 percent state tax.

Now you buy a replacement property for $550,000 with the proceeds. You keep no cash from the sale at all in this case. Therefore, you defer the full $34,000 of tax in this exchange. In short, the deferral rate reaches 100 percent in this example. However, a missed deadline would make that whole $34,000 due instead. As a result, the deadlines are worth as much as the tax saving.

A second example with a larger gain

Now consider a bigger sale with a larger gain instead. You sell a property for $750,000, and selling costs reach $40,000. Your adjusted cost basis is $450,000 in this second case. First, the amount realized equals $750,000 minus $40,000, or $710,000. Next, the capital gain equals $710,000 minus $450,000, or $260,000.

Then the tax at the same 20 percent rate equals $52,000. You buy a replacement property for $800,000 and keep no cash. Therefore, you defer the full $52,000 in this second example too. Also, the larger replacement price keeps the deferral fully intact here. In short, bigger gains make the deadline discipline even more valuable. Still, the same two clocks, 45 days and 180 days, apply.

How does a 1031 exchange work when you keep some cash?

Cash you keep from a sale has a name: boot. Boot is taxable, up to the size of your total gain. For example, return to the first example with its $170,000 gain. Suppose you keep $20,000 in cash and reinvest the rest fully. Then tax applies to that $20,000 slice of the gain only. At 20 percent, the tax due now equals $4,000 in total.

Meanwhile, the other $150,000 of gain stays deferred in the new property. At the same rate, that deferred slice equals $30,000 of tax. Therefore, partial boot gives you a partial deferral, not a failed exchange. Also, a smaller replacement price can create mortgage boot as well. In short, equal or greater value protects the full deferral best. If you want your own dates and tax figure, try our free 1031 exchange calculator before you list or sell.

Key rules for a valid exchange

First, both properties must serve investment or business use only. Your own home does not qualify, and neither does a vacation home. Next, both properties must be real estate within the United States. Also, the same taxpayer must sell the old and buy the new. Therefore, you cannot swap ownership names in the middle of the deal.

In addition, the replacement must cost at least as much for full deferral. A cheaper replacement usually leaves some taxable boot behind for you. Finally, you report the whole exchange to the IRS each time. The IRS instructions for Form 8824 explain each reporting line in detail. You can also check the IRS overview of Form 8824 for filing basics and due dates.

Common mistakes that break an exchange

The most common mistake is simple: touching the sale money yourself. Even a brief deposit into your own account can kill the exchange. Next, many investors start their property search far too late. As a result, day 45 arrives before they find a suitable replacement. Therefore, serious investors scout replacements before the first sale even closes.

Another mistake involves naming the wrong property type by accident. For example, a home you plan to live in does not qualify. Also, some investors forget that the two clocks run together. Meanwhile, others assume holidays extend the deadlines, but they never do. In short, a short checklist and early advice prevent most failures. Still, one missed rule can undo months of careful planning.

Note: This article gives general information and estimates only. It does not give tax or legal advice. Exchange rules are strict, so work with a qualified intermediary and a tax professional.

Frequently Asked Questions

Can I do a 1031 exchange on my primary home?

No, a primary home does not qualify for an exchange. The property must serve investment or business use, like a rental. Therefore, a home you live in stays outside the rules.

What happens if I miss the 45-day deadline?

The exchange fails, and the full tax becomes due. The IRS grants no extensions for either of the two deadlines. As a result, most investors set reminders well before day 45.

Do I have to spend all the sale money on the replacement?

Yes, full spending gives you a full tax deferral here. Cash you keep is boot, and the IRS taxes that part. Still, a partial exchange can still defer the remaining gain.

What is a qualified intermediary?

A qualified intermediary is a neutral third party in the deal. This party holds your sale proceeds between the two closings. Also, you cannot act as your own intermediary at any point.

What does like-kind mean for real estate?

For real estate, like-kind has a broad and flexible meaning. Most investment real estate can swap for other investment real estate. For example, a rental home can swap for a small commercial building.

Can I exchange into a property I already own?

No, you cannot exchange into a property you already own. The replacement must be a new purchase for you or your entity. Therefore, plan your target list with fresh properties only.

Related tools

Also try these free calculators and utilities from UA Tools.