Home › Articles › United States · Taxes

The 1031 Exchange: How US Real Estate Investors Defer Capital Gains Tax

⚠️ Disclaimer: For general information only — not tax, financial, legal, or medical advice. Figures may be outdated or incorrect; tax rules change frequently. Verify important decisions with the CRA/IRS or a qualified professional (for health topics, a licensed healthcare provider). You use this information at your own risk.
The short answer

A 1031 exchange — named after Section 1031 of the Internal Revenue Code — lets a US real estate investor sell an investment property and roll the proceeds into another one without paying capital gains tax at the time of sale. The tax is deferred, not forgiven: it carries forward into the replacement property and comes due when you eventually sell without exchanging. Done right, it is one of the most powerful wealth-compounding tools in US real estate. Done sloppily, the exchange fails and the full tax bill lands immediately.

What qualifies: like-kind real property

Since the Tax Cuts and Jobs Act of 2017, Section 1031 applies only to real property. Exchanges of personal property — equipment, vehicles, art, crypto — no longer qualify.

Both the property you sell (the "relinquished property") and the property you buy (the "replacement property") must be:

  • Real property — land, buildings, and interests in real property.
  • Held for productive use in a trade or business, or for investment. A rental property, a commercial building, or raw land held for appreciation qualifies. Your personal residence and a property you flip quickly generally do not.
  • "Like-kind." In real estate, like-kind is interpreted very broadly: an apartment building can be exchanged for raw land, a retail strip for a duplex, a commercial lot for a rental house. The uses do not need to match — only that both are US real property held for investment or business use.

The two deadlines that kill most exchanges

The IRS gives you two strict, concurrent deadlines. Both start on the day you close the sale of the relinquished property:

45-day identification period. Within 45 calendar days, you must identify potential replacement properties in a signed written notice delivered to your qualified intermediary (or the seller). Identification rules give you three options:

  • Three-property rule: identify up to three properties, regardless of value.
  • 200% rule: identify any number of properties, as long as their combined fair market value does not exceed 200% of the relinquished property's value.
  • 95% rule: if you exceed the 200% cap, you must actually close on at least 95% of the total value you identified.

Miss day 45 — even if it falls on a weekend — and the exchange fails.

180-day exchange period. You must close on the replacement property within 180 calendar days of selling the relinquished property, or by the due date of your tax return (with extensions) for the year of the sale, whichever is earlier. The 180 days run concurrently with the 45 — you do not get 45 plus 180. If you sell late in the year, file a tax return extension to preserve the full 180 days.

Calendar days, not business days. No extensions except federally declared disaster relief.

The qualified intermediary: never touch the money

You cannot do a 1031 exchange by selling, pocketing the cash, and buying later. The proceeds must go to an independent qualified intermediary (QI) who holds the funds between the sale and the purchase. If you receive the cash — even briefly — it is "constructive receipt" and the exchange is dead.

Choose a QI before you list the property, and get the exchange agreement signed before closing. The QI cannot be your agent, attorney, accountant, or anyone who has served you in the past two years.

Full deferral requires equal-or-up value

To defer all tax, the replacement property must be worth at least as much as the relinquished property, and you must reinvest all of the equity. Any cash you keep, debt you shed, or non-like-kind property you receive is called "boot" — and boot is taxable in the year of the exchange. Partial exchanges are allowed: you defer tax on the portion reinvested and pay tax on the boot.

Two more tax wrinkles to know about:

  • Depreciation recapture. If you claimed depreciation on the relinquished property, part of your gain may be taxed at the 25% unrecaptured Section 1250 rate even in an exchange — the exchange defers it into the replacement property's basis, but it does not erase it.
  • Related-party exchanges face extra scrutiny and a two-year holding rule.

Reverse and improvement exchanges

  • Reverse exchange: you buy the replacement property before selling the old one, using an exchange accommodation titleholder. More expensive and complex, but useful in hot markets.
  • Improvement (construction) exchange: exchange proceeds fund improvements on the replacement property within the 180-day window. Strict rules apply.

Who it suits — and who should skip it

A 1031 fits buy-and-hold investors who want to upgrade, consolidate, or relocate their portfolio without triggering a tax bill — for example, trading several small rentals for one larger property, or moving capital from a flat market to a growing one. It suits investors with a long horizon who can handle the deadline pressure and the QI fees.

Skip it (or think twice) if you need the cash, if the replacement property would be a personal-use home, if the numbers only work with a perfect identification, or if you are close to death — because heirs generally receive a stepped-up basis that wipes out the deferred gain anyway, making a lifetime of exchanges end tax-free at death.

Frequently asked questions

Can I 1031 my primary residence?

No. Property held for personal use does not qualify. There is a narrow exception for a residence converted to a rental and held as an investment for a meaningful period — check current IRS guidance and get advice before relying on it.

Can I exchange into property in another state?

Yes. Like-kind has no geographic restriction within the US. A California duplex can be exchanged for a Texas apartment building.

What happens if I can't identify a property in 45 days?

The exchange fails. The sale becomes an ordinary taxable sale and you owe capital gains tax for that year. This is why many investors line up candidate properties before closing the sale.

Do I pay any tax at all in a successful exchange?

You pay tax on boot — cash retained, debt relief, or non-like-kind property received. A fully reinvested, equal-or-greater-value exchange with no boot defers the entire gain.

Can foreign investors use 1031 exchanges?

US real property held by a foreign investor can qualify, but FIRPTA withholding rules and the foreign investor's home-country tax treatment add layers of complexity. Get cross-border tax advice.

Is the deferred tax ever forgiven?

Generally no — it reduces your basis in the replacement property, so the gain reappears when you sell. The main exceptions are death (stepped-up basis for heirs) and certain charitable or like-kind strategies layered on top.

Sources

  • IRS, Like-Kind Exchanges Under IRC Code Section 1031: https://www.irs.gov/newsroom/like-kind-exchanges-under-irc-code-section-1031
  • IPX1031, What is a 1031 Exchange? Overview & Rules Guide: https://www.ipx1031.com/what-is-a-1031-exchange/
  • The Tax Adviser, Like-kind exchanges of real estate: Building on the basics: https://www.thetaxadviser.com/issues/2025/sep/like-kind-exchanges-of-real-estate-building-on-the-basics/

This article is general information about US tax rules, not tax advice. 1031 exchanges are deadline-driven and fact-specific — consult a qualified CPA or tax attorney before structuring one.

Share
('Disclaimer — please read. This article is for general information and educational purposes only. It is not tax, accounting, legal, financial, immigration, medical, dental, or health advice, and reading it does not create a professional or client relationship between you and Llandora. Tax and immigration rules change frequently and differ by country, province/state, and personal circumstances; figures, thresholds, and examples in this article may be outdated, incomplete, or incorrect, and may not apply to your situation. Always verify current rules with the official sources (CRA, IRS, IRCC, USCIS) and consult a licensed professional before making any decision. Content about health, medical, or dental topics is general information only and is not a substitute for professional medical advice, diagnosis, or treatment — always seek the advice of a qualified healthcare provider with any questions about a medical condition. Llandora makes no warranty of any kind — express or implied — about the accuracy, completeness, reliability, or timeliness of this content. To the fullest extent permitted by law, Llandora disclaims all liability for any loss, damage, cost, or expense arising from errors or omissions in this article or from any action taken or not taken in reliance on it, whether direct, indirect, incidental, or consequential. You rely on this article entirely at your own risk.', 'Disclaimer — please read. This article is for general information and educational purposes only. It is not tax, accounting, legal, financial, immigration, medical, dental, or health advice, and reading it does not create a professional or client relationship between you and Llandora. Tax and immigration rules change frequently and differ by country, province/state, and personal circumstances; figures, thresholds, and examples in this article may be outdated, incomplete, or incorrect, and may not apply to your situation. Always verify current rules with the official sources (CRA, IRS, IRCC, USCIS) and consult a licensed professional before making any decision. Content about health, medical, or dental topics is general information only and is not a substitute for professional medical advice, diagnosis, or treatment — always seek the advice of a qualified healthcare provider with any questions about a medical condition. Llandora makes no warranty of any kind — express or implied — about the accuracy, completeness, reliability, or timeliness of this content. To the fullest extent permitted by law, Llandora disclaims all liability for any loss, damage, cost, or expense arising from errors or omissions in this article or from any action taken or not taken in reliance on it, whether direct, indirect, incidental, or consequential. You rely on this article entirely at your own risk.', "Avertissement — à lire attentivement. Cet article est fourni à titre informatif et pédagogique uniquement. Il ne constitue pas un conseil fiscal, comptable, juridique, financier, en immigration, médical, dentaire ou en santé, et sa lecture ne crée aucune relation professionnelle ou client entre vous et Llandora. Les règles fiscales et d'immigration changent fréquemment et varient selon le pays, la province/l'État et la situation personnelle ; les chiffres, seuils et exemples de cet article peuvent être obsolètes, incomplets ou inexacts, et peuvent ne pas s'appliquer à votre situation. Vérifiez toujours les règles en vigueur auprès des sources officielles (CRA, IRS, IRCC, USCIS) et consultez un professionnel agréé avant de prendre toute décision. Les contenus relatifs à la santé, à la médecine ou aux soins dentaires sont fournis à titre informatif uniquement et ne remplacent pas un avis médical professionnel, un diagnostic ou un traitement — consultez toujours un professionnel de la santé qualifié pour toute question d'ordre médical. Llandora n'offre aucune garantie, expresse ou implicite, quant à l'exactitude, l'exhaustivité, la fiabilité ou l'actualité de ce contenu. Dans toute la mesure permise par la loi, Llandora décline toute responsabilité pour toute perte, tout dommage, tout coût ou toute dépense découlant d'erreurs ou d'omissions dans cet article ou de toute action entreprise ou non entreprise sur la foi de son contenu, qu'ils soient directs, indirects, accessoires ou consécutifs. Vous vous fiez à cet article entièrement à vos propres risques.", 'Aviso legal — léalo con atención. Este artículo es solo para fines informativos y educativos. No constituye asesoramiento fiscal, contable, legal, financiero, migratorio, médico, dental ni de salud, y su lectura no crea una relación profesional o de cliente entre usted y Llandora. Las reglas fiscales y migratorias cambian con frecuencia y varían según el país, la provincia/estado y las circunstancias personales; las cifras, umbrales y ejemplos de este artículo pueden estar desactualizados, incompletos o ser incorrectos, y pueden no aplicarse a su situación. Verifique siempre las reglas vigentes con las fuentes oficiales (CRA, IRS, IRCC, USCIS) y consulte a un profesional autorizado antes de tomar cualquier decisión. El contenido sobre temas de salud, médicos o dentales es solo información general y no sustituye el consejo, diagnóstico o tratamiento médico profesional: consulte siempre a un profesional de la salud calificado ante cualquier duda médica. Llandora no ofrece ninguna garantía, expresa o implícita, sobre la exactitud, integridad, fiabilidad u oportunidad de este contenido. En la máxima medida permitida por la ley, Llandora rechaza toda responsabilidad por cualquier pérdida, daño, costo o gasto derivado de errores u omisiones en este artículo o de cualquier acción realizada o no realizada basándose en él, ya sean directos, indirectos, incidentales o consecuentes. Usted confía en este artículo enteramente bajo su propio riesgo.')