Investment Analysis·8 min read·June 28, 2026

The 1031 Exchange: A Practical Guide to Deferring Capital Gains

A 1031 exchange lets real estate investors defer capital gains tax by reinvesting in like-kind property. Here are the rules, deadlines, and pitfalls you need to know.

Selling an investment property at a profit usually means a hefty tax bill — capital gains tax, depreciation recapture, and often state tax on top. A 1031 exchange, named after Section 1031 of the Internal Revenue Code, lets investors defer all of that by reinvesting the proceeds into another "like-kind" property. Used well, it keeps far more of your equity compounding across a portfolio for decades. Used carelessly, it collapses into a fully taxable sale because of a missed deadline or a technical misstep. This guide covers how the exchange works and where investors most often go wrong.

What a 1031 Exchange Defers

When you sell an appreciated investment property outright, several taxes can come due at once: federal capital gains tax, depreciation recapture taxed at up to 25%, the 3.8% net investment income tax for higher earners, and state capital gains tax. Together these can consume 20–35% of your gain. A properly structured 1031 exchange defers all of them, allowing the full pre-tax amount to roll into your next property.

It is essential to understand that deferral is not forgiveness. The deferred gain carries forward and reduces the cost basis of your replacement property, so it resurfaces if you later sell without exchanging again. This is why many investors chain exchanges across a lifetime — deferring repeatedly — and ultimately pass the property to heirs, whose stepped-up basis can eliminate the deferred gain entirely.

The Two Deadlines That Cannot Be Missed

The 1031 timeline is strict and unforgiving. From the day you close the sale of your relinquished property, the clock starts on two deadlines that run concurrently. You have 45 calendar days to formally identify your replacement property or properties in writing, and 180 calendar days to close on the purchase. There are no extensions for weekends, holidays, or bad luck.

Missing either deadline disqualifies the entire exchange and triggers the full tax bill you were trying to defer. Because 45 days is a short window to find suitable property, savvy investors begin searching before they even sell, and many identify multiple candidate properties to protect against a deal falling through. The identification rules allow naming up to three properties of any value, or more under certain value-based tests.

The Rules for Full Tax Deferral

To defer 100% of your tax, you must meet two requirements. First, the replacement property must be of equal or greater value than the one you sold, and you must reinvest all of your net proceeds. Second, you must replace any debt that was paid off in the sale, either with new financing or additional cash. Any shortfall — cash you pocket or debt you fail to replace — is called "boot" and is taxable, though the rest of the exchange can still qualify.

Just as important, you cannot take control of the sale proceeds at any point. A qualified intermediary must hold the funds between the sale and the purchase. If the money passes through your hands or your bank account, the IRS treats it as a taxable sale, no matter how briefly you held it. Setting up the intermediary before you close is non-negotiable.

Estimate the capital gains tax you could defer and the reinvestment target you need to hit with our 1031 Exchange Calculator before you start the clock.

What Qualifies as Like-Kind

One of the most misunderstood aspects of the 1031 exchange is the term "like-kind." For real estate, it is far broader than most people assume: virtually any real property held for investment or business use qualifies as like-kind to any other. You can exchange a rental house for an apartment building, raw land for a commercial storefront, or a warehouse for a portfolio of single-family rentals.

The critical restriction is that both properties must be held for investment or productive use in a trade or business — not for personal use. Your primary residence does not qualify, and a vacation home qualifies only under specific rental-use conditions. Since the 2017 tax law, personal property and other asset types no longer qualify; the exchange now applies exclusively to real estate.

The Bottom Line

A 1031 exchange is one of the most powerful wealth-building tools available to real estate investors, letting you defer taxes and keep your full equity working across decades. But it is unforgiving of mistakes: the 45- and 180-day deadlines are absolute, all proceeds must flow through a qualified intermediary, and any boot is taxable. Given the stakes and the technical requirements, always execute an exchange with an experienced qualified intermediary and a tax advisor who specializes in these transactions.

Frequently Asked Questions

Can I do a 1031 exchange on my primary residence?+

No. A 1031 exchange applies only to property held for investment or business use. Your primary residence does not qualify, though it may be eligible for the separate capital gains exclusion for home sales. A vacation home qualifies only if it meets specific rental-use tests.

What is a qualified intermediary and why do I need one?+

A qualified intermediary is an independent third party that holds your sale proceeds and facilitates the exchange. You are legally required to use one because you cannot take possession of the funds at any point without disqualifying the exchange. Arrange the intermediary before closing your sale.

What happens if I miss the 45-day or 180-day deadline?+

Missing either deadline disqualifies the entire exchange, and the sale becomes fully taxable. These deadlines are calendar days with no extensions for weekends or holidays, which is why many investors identify replacement properties before they sell.

What is "boot" in a 1031 exchange?+

Boot is any value you receive that is not like-kind property — typically cash you keep or debt that is not replaced. Boot is taxable, but receiving some boot does not disqualify the whole exchange; only the boot portion is taxed while the rest remains deferred.

How many times can I use a 1031 exchange?+

There is no limit. Investors can chain 1031 exchanges indefinitely, deferring gains each time they trade up. Many hold until death, at which point heirs may receive a stepped-up basis that can eliminate the deferred gain — a cornerstone of long-term real estate estate planning.

Related Calculators

This article is for informational purposes only and does not constitute financial, legal, or tax advice.