Section 1031 of the tax code is the single most powerful tool in a real estate investor's tax playbook. Sell a property, buy another, defer every dollar of capital gains tax. Done correctly, you can roll the same equity through property after property for decades without paying a penny in federal capital gains.
This article is educational, not tax advice. Always work with a qualified intermediary and tax professional on any 1031 exchange.
The Short Version
Sell Property A. Use the proceeds to buy Property B of equal or greater value. Capital gains tax is deferred. Rinse and repeat until you die, at which point your heirs get a stepped-up basis and those gains vanish entirely. Legal, common, and underused.
The Hard Rules
Like-Kind Requirement
Both properties must be "like kind" — which for real estate means basically any investment real estate for any other. Single-family rental exchanges into 4-plex? Fine. Warehouse into raw land? Fine. Primary residence or flip property? Not allowed — must be held for investment.
Qualified Intermediary (QI)
You cannot touch the sale proceeds. A QI holds them in escrow between sale and purchase. Using your own attorney or CPA doesn't qualify. Cost: $800–$1,500 per exchange.
The 45-Day Identification Window
From the day you close the sale, you have 45 calendar days to identify up to 3 potential replacement properties (or more, under alternative rules). The list must be in writing to your QI.
The 180-Day Close Window
From the sale close, you have 180 calendar days to close on one of your identified replacements. The 45-day and 180-day clocks run concurrently — so effectively you have 135 days after identification.
The Calendar is Unforgiving
No extensions. No exceptions. Miss the 45-day ID or 180-day close by a single day and the entire exchange is disqualified. Every gain becomes immediately taxable.
Same or Greater Value
To fully defer all gains, the replacement property must be:
- Equal or greater total value than the sale property
- Carry equal or greater mortgage debt
- All proceeds reinvested (any cash you pocket is called "boot" and is taxable)
Worked Example
You sell a Baltimore rental for $450K. Original cost basis: $200K. You'd owe capital gains on $250K — roughly $50K–$75K at combined federal + state rates.
Instead, you 1031 into two DC rowhomes totaling $475K. You defer the full $250K gain. Your new cost basis on the replacements carries the old basis forward. No tax today.
When It Works Best
- Moving up in value — trading a small rental for a larger one
- Diversifying — swapping one concentrated property for multiple
- Geographic relocation — exchanging out of one market into another
- Pre-retirement — setting up lower-management properties via exchange
When It Doesn't Work
- You need the cash
- You want out of real estate entirely
- The replacement math doesn't pencil (1031 should not drive bad acquisitions)
- You hold the property in a different entity than you plan to buy in (strict identity rules)
The Ultimate Play: Die With It
The real magic of the 1031 is pairing it with the step-up in basis at death. Your heirs inherit the property at its current market value, wiping out the deferred gain entirely. Decades of compounded deferral, erased. It is the closest thing to a legal tax cheat code in the U.S. code.
Getting Started
Line up a QI 30–60 days before your sale close. Coordinate early with your CPA and attorney. Identify candidate replacement properties before you sell, not after — the 45-day window is shorter than it sounds. And never, under any circumstances, take receipt of the sale proceeds yourself.
Ready to finance your next deal?
Get a rate quote in under 60 seconds — no credit pull, no obligation.