1031 Exchange: Deferring Taxes on Real Estate

Section 1031 of the tax code allows real estate investors to defer capital gains tax by reinvesting sale proceeds into a like-kind property. This powerful strategy lets your investment continue growing without an immediate tax hit. Some investors chain 1031 exchanges throughout their careers, potentially deferring gains until death when heirs receive a stepped-up basis. The rules are strict, and missing a deadline can disqualify the entire exchange.
How a 1031 Exchange Works
You sell your investment property and use the proceeds to purchase a replacement property of equal or greater value. A qualified intermediary holds the funds between the sale and purchase because you cannot touch the money. The replacement property must be like-kind, which for real estate means any real property held for investment or business use. You can exchange an apartment building for a retail space, raw land for a rental house, or virtually any real property combination.
Critical Deadlines
- 45-day identification period: you must identify potential replacement properties in writing within 45 days of selling
- You can identify up to three properties regardless of value, or more under the 200 percent rule
- 180-day completion period: you must close on the replacement property within 180 days of selling
- Both deadlines are calendar days with no extensions, even if the deadline falls on a weekend or holiday
Qualified Intermediary Requirement
You must use a qualified intermediary to hold the exchange funds. This cannot be your attorney, accountant, real estate agent, or anyone who has acted as your agent in the previous two years. The intermediary receives the proceeds at closing, holds them in a segregated account, and disburses them to purchase the replacement property. If the proceeds touch your hands or accounts, the exchange is disqualified.
Boot and Partial Exchanges
If you receive cash or other non-like-kind property in the exchange, that amount is called boot and is taxable. Boot commonly occurs when the replacement property costs less than the relinquished property or when you pull out some cash. Mortgage boot occurs when the debt on the replacement property is less than the debt on the sold property. To fully defer all gain, the replacement must be equal or greater in both price and debt.
The 45-Day / 180-Day Rules and Qualified Intermediary Mechanics
Section 1031 defers capital gains tax when one investment real property is exchanged for another of 'like-kind.' The deferral is conditioned on two absolute deadlines: 45 days after closing on the relinquished property to identify up to three replacement candidates (or any number whose combined value is under 200% of the relinquished value), and 180 days total to close on one of the identified properties. Missing either deadline by a single day produces full recognition of the deferred gain — there is no hardship extension.
Why a Qualified Intermediary Is Mandatory
The taxpayer must never touch the proceeds between sale and purchase. Treasury Reg §1.1031(k)-1(g) requires a Qualified Intermediary (QI) — an independent third party who holds the proceeds in a separate escrow account and disburses them to the replacement property closing. Using an attorney or CPA who represented the taxpayer in the prior two years disqualifies the exchange. QI fees typically run $800 to $1,500 for a standard forward exchange; reverse exchanges (replacement bought before relinquished sells) cost $5,000+ due to parking-title complexity.
What Qualifies as 'Like-Kind' After TCJA
- Real property held for investment or business use — all U.S. real property is like-kind to all other U.S. real property under Section 1031(a)
- Raw land for an apartment building: qualifies
- Commercial office for residential rental: qualifies
- Primary residence: does not qualify (Section 121 exclusion applies instead)
- Vacation homes: qualify only if the taxpayer meets a safe-harbor usage test under Rev. Proc. 2008-16 (limited personal use)
- Foreign real property: never like-kind to U.S. real property; foreign-to-foreign can qualify
- Post-TCJA: personal property (equipment, aircraft, collectibles) no longer qualifies as of 2018
Boot and Partial Deferral
Any non-like-kind value received in the exchange — cash, debt relief not offset by new debt, personal property — is 'boot' and taxable up to the amount of deferred gain. Trading a $500,000 rental (basis $200,000, gain $300,000) for a $450,000 replacement and $50,000 cash produces $50,000 of recognized gain immediately, with the remaining $250,000 deferred into the replacement's basis. Depreciation recapture under Section 1250 is recognized first to the extent of boot before the capital-gains portion.
References
- IRS: Like-Kind Exchanges Under IRC Section 1031 (irs.gov/businesses/small-businesses-self-employed/like-kind-exchanges-real-estate-tax-tips)
- IRS: Publication 544 Sales and Other Dispositions of Assets (irs.gov/publications/p544)
Key Takeaways
- Section 1031 defers capital gains when exchanging real property held for investment/business for 'like-kind' real property.
- Since TCJA, only real property qualifies — personal property (equipment, art) no longer.
- Identify replacement within 45 days and close within 180 days of selling the relinquished property.
- Qualified Intermediary must hold proceeds — touching the money disqualifies the exchange.
- 'Boot' received (cash, relief of debt) is taxable up to the amount of deferred gain.
Common Mistakes to Avoid
- Receiving sale proceeds directly, losing 1031 treatment entirely.
- Missing the 45-day identification window — there's no extension.
- Exchanging into a primary residence or flip, which disqualifies the investment-use requirement.
- Forgetting depreciation recapture still applies on any boot received.
- Using 1031 across state lines without checking state conformity — California, Pennsylvania have quirks.
Marcus Q.'s 1031 Exchange: Deferring $140K of Gain Tax
Marcus Q. files jointly with his spouse in Texas and owns a Houston rental duplex he bought for $280,000 in 2018. In 2025 he sold it for $510,000 and used a Section 1031 like-kind exchange to roll the proceeds into a larger $680,000 triplex in Austin. The exchange deferred roughly $56,000 of federal tax on the gain — not eliminated, but pushed into the future when he eventually sells without exchanging.
- Relinquished property sale: $510,000 | Adjusted basis after depreciation: $244,000
- Realized gain: $266,000 ($230,000 appreciation + $36,000 depreciation recapture)
- Without 1031: federal LTCG at 20% on appreciation + 25% on recapture ≈ $55,000; NIIT 3.8% adds ~$10,100
- Replacement property: Austin triplex at $680,000, purchased within 180-day window
- Qualified intermediary used to hold proceeds — Marcus never touched the $510K
- New carryover basis in triplex: $244,000 + $170,000 additional cash invested = $414,000
- Tax deferred: ~$65,100 | Tax owed in 2025 from the exchange: $0
1031 exchanges are pure deferral, not forgiveness — the new property carries the old basis, so the gain will eventually be recognized when sold outright. The strict rules: like-kind real property only (personal property 1031s ended with TCJA), 45-day identification window, 180-day closing window, proceeds must flow through a Qualified Intermediary (never touch the taxpayer's hands). Done correctly, investors can chain 1031s across decades until death, at which point heirs receive a step-up in basis that eliminates the deferred gain entirely.
Scenario: Otis K. Defers $87,000 of Gain via Section 1031
Otis K., single in Kansas at $250,000, sold a rental duplex in 2024 at a $300,000 gain and rolled proceeds into a larger commercial building using a Section 1031 like-kind exchange. 1031 applies to real property held for investment or business use (not primary homes after TCJA); strict timelines and a qualified intermediary are required.
- Sale price: $620,000. Adjusted basis: $320,000. Realized gain: $300,000.
- 45-day identification window: Otis identified 3 replacement properties in writing.
- 180-day closing window: closed on the new building day 162.
- Qualified intermediary held all proceeds - Otis never constructively received funds.
- Deferred gain: $300,000. Federal tax deferred: roughly $87,000 (20% LTCG plus depreciation recapture at 25%).
Otis's $87,000 of deferred federal tax stays in the new property's basis reduction - it is a deferral, not a forgiveness, and resurfaces when he eventually sells without another 1031. Step-up in basis at death can ultimately erase the deferred tax for heirs. Form 8824 reports the exchange; Revenue Procedure 2000-37 and IRC 1031 are the framework. TCJA limited 1031 to real property only after 2017.
Try Our Free Calculators
Get accurate estimates in seconds
Frequently Asked Questions
What qualifies as 'like-kind' property in a 1031 exchange?
What are the 45-day and 180-day deadlines in a 1031 exchange?
Why do I need a qualified intermediary for a 1031 exchange?
What happens to the deferred capital gain when I eventually sell?
Can I do a 1031 exchange on my primary residence?
Sources & References
- Tax Foundation — Property Tax Rates by State
- IRS — Deducting Property Taxes
- IRS — Estate and Gift Taxes
- IRS — Frequently Asked Questions on Estate Taxes
All tax data is sourced from official government publications and updated regularly. Last verified: March 2026.


