The 1031 Like-Kind Exchange Guide: How to Sell Real Estate and Defer Capital Gains Taxes

Komon Lab | Real Estate Tax Strategy

When you sell an investment property at a profit, the IRS taxes your gain at federal capital gains rates of 15% to 20%, plus a potential 3.8% Net Investment Income Tax (NIIT) under IRC Section 1411. On a $500,000 gain, that is $94,000 to $119,000 in federal taxes alone, before state taxes. A 1031 like-kind exchange under IRC Section 1031 lets you defer 100% of that tax by reinvesting the proceeds into a replacement property. Here is the complete statutory playbook.

How a 1031 Exchange Works: The Core Mechanics

A 1031 exchange allows you to sell a qualifying investment or business-use property (“relinquished property”) and reinvest the proceeds into a new qualifying property (“replacement property”) while deferring all capital gains tax. The key statutory requirements under IRC Section 1031(a):

  • Like-kind property: Both properties must be held for productive use in a trade/business or for investment. “Like-kind” for real estate is extremely broad: you can exchange a single-family rental for a commercial building, raw land for an apartment complex, or a retail strip mall for industrial warehouses.
  • No personal-use property: Your primary residence, vacation homes used primarily for personal enjoyment, and property held primarily for resale (dealer/flipper inventory) do not qualify.
  • U.S. property only: Both properties must be located within the United States. You cannot exchange domestic property for foreign property.

IRC § 1031 Exchange Strict Statutory Timeline & Escrow Architecture

The non-extendable 45-day identification deadline, 180-day purchase closing period, and Qualified Intermediary (QI) safe harbor.

DAY 0: CLOSING Relinquished Sale Funds to QI Escrow No Constructive Receipt

DAY 45: IDENTIFICATION Midnight Strict Deadline 3-Property Rule OR 200% Rule No extension for weekends/holidays

DAY 180: ACQUISITION Replacement Closed Full Equity Reinvested Debt ≥ Relinquished Debt

45 Calendar Days Window

Total 180 Calendar Days (Runs concurrently from Day 0, NOT Day 45)

THE FOUR TAX TIERS DEFERRED UNDER IRC § 1031: ✔ Federal Capital Gains Tax: Up to 20% on long-term appreciation ✔ Depreciation Recapture (IRC § 1250): Flat 25% on cumulative depreciation claimed ✔ Net Investment Income Tax (NIIT): 3.8% ACA surtax (IRC § 1411) ✔ State Capital Gains: Up to 13.3% depending on jurisdiction Final Goal: Continuous exchanges until death resets cost basis to FMV under IRC § 1014 (“Swap ‘Til You Drop”).

The Two Critical Deadlines You Cannot Miss

Commercial architectural floor plans and a calendar on a modern conference table
Statutory escrow mechanics: coordinating with a qualified intermediary to meet the strict 45-day identification and 180-day exchange closing deadlines.
Deadline Requirement Consequence of Missing
45-Day Identification Period You must identify potential replacement properties in writing within 45 calendar days of closing on the relinquished property sale. No extensions, no exceptions, even if the 45th day falls on a weekend or holiday. The entire exchange fails. All gains become immediately taxable in the year of sale.
180-Day Exchange Period You must close on the replacement property within 180 calendar days of the relinquished property sale, or by the due date (including extensions) of your tax return for the year of the sale, whichever is earlier. The entire exchange fails. All deferred gains become immediately taxable.

The Three Identification Rules

When identifying replacement properties within the 45-day window, you must follow one of these three IRS rules:

  • Three-Property Rule: You may identify up to 3 replacement properties of any value. This is the most commonly used rule and provides maximum flexibility.
  • 200% Rule: You may identify any number of properties, but their combined fair market value cannot exceed 200% of the relinquished property’s sale price.
  • 95% Rule: You may identify any number of properties of any value, but you must actually acquire properties representing at least 95% of the total identified value. This rule is extremely difficult to satisfy and rarely used.

Strategic recommendation: Use the Three-Property Rule. Identify your primary target plus two backup properties in case financing or inspection issues arise on Property #1.

The Qualified Intermediary (QI): Non-Negotiable Requirement

You must use a Qualified Intermediary to hold the exchange funds. This is the single most important structural requirement:

  • You cannot touch the money. If sale proceeds pass through your hands, bank account, or control at any point, the exchange is disqualified and all gains are immediately taxable.
  • The QI must be independent. Your attorney, CPA, real estate agent, or any related party who has acted as your agent within the past 2 years cannot serve as QI (the “disqualified person” rules under Treasury Regulation 1.1031(k)-1(k)).
  • No FDIC protection: QI funds are not FDIC-insured. Verify that your QI maintains fidelity bond insurance, errors and omissions coverage, and segregated (not commingled) escrow accounts.
  • Typical QI fees: $750 to $1,500 for a standard delayed exchange. Shop for competitive pricing but prioritize financial strength and insurance coverage over the lowest fee.

Avoiding “Boot”: The Hidden Tax Trap

“Boot” is any non-like-kind property received in the exchange, and it is taxable. Common boot traps:

Boot Type How It Triggers Tax
Cash Boot If the replacement property costs less than the relinquished property’s sale price, the leftover cash is boot and is taxed as capital gain.
Mortgage Boot If the mortgage on the replacement property is lower than the mortgage paid off on the relinquished property, the difference is treated as boot. You must “trade up” in both price and debt.
Non-Real-Property Boot Personal property received in the exchange (furniture, equipment, appliances) is boot. Since the Tax Cuts and Jobs Act of 2017, Section 1031 applies only to real property.

The golden rule: To defer 100% of capital gains, the replacement property must be equal to or greater in both (1) total purchase price and (2) total debt/equity than the relinquished property.

The Ultimate Exit Strategy: Step-Up in Basis at Death

This is the most powerful long-term feature of 1031 exchanges. Under IRC Section 1014, when the property owner dies, the heir receives a “stepped-up” cost basis equal to the fair market value at the date of death. This means:

  • All previously deferred capital gains are permanently eliminated, not merely deferred.
  • A real estate investor can perform multiple sequential 1031 exchanges over decades, deferring millions in capital gains, and upon death, heirs inherit the final property at current market value with zero embedded capital gains tax liability.
  • This is sometimes called the “swap till you drop” strategy and is one of the most significant wealth preservation tools in the U.S. tax code.

Real-Dollar Tax Deferral Example

Scenario Without 1031 With 1031 Exchange
Sale Price $800,000 $800,000
Original Purchase Price (Basis) $300,000 $300,000
Capital Gain $500,000 $500,000
Federal Tax (20% + 3.8% NIIT) $119,000 $0 (deferred)
State Tax (est. 5%) $25,000 $0 (deferred)
Depreciation Recapture (25%) Varies $0 (deferred)
Cash Available for Reinvestment $656,000 $800,000

The $144,000 difference represents capital that continues compounding in real estate rather than being transferred to the IRS.

Companion Real Estate & Wealth Preservation Briefs

Advance your asset protection and tax-advantaged real estate strategies with our related playbooks:

Editorial Disclosures & Real Estate Tax Regulations

This guide synthesizes statutory provisions under IRC Section 1031, Treasury Regulations 1.1031(a)-1 through 1.1031(k)-1, Revenue Procedure 2000-37 (reverse exchanges), and the Tax Cuts and Jobs Act of 2017 (P.L. 115-97) limitation to real property. The Net Investment Income Tax (NIIT) is codified at IRC Section 1411. Step-up in basis rules are codified at IRC Section 1014. Tax rates, depreciation schedules, and regulatory interpretations are subject to legislative change. Komon Lab does not provide individualized tax, legal, or real estate advisory services. Consult a qualified tax advisor, real estate attorney, and Qualified Intermediary before structuring a 1031 exchange.