Selling an investment property at a large gain usually means handing a meaningful slice of it to the IRS and your state. Section 1031 of the Internal Revenue Code offers a legal alternative: swap one investment property for another and carry the gain forward instead of paying tax on it now. The concept is simple. The execution is not, and most failed exchanges die on procedure, not on substance.
This guide walks through a standard delayed exchange in the order you will experience it.
What a 1031 exchange actually does
A like-kind exchange lets you defer recognition of gain when you exchange real property held for productive use in a trade or business or for investment for other real property held for the same purposes. Note the word defer. The gain does not disappear. Your replacement property takes a carryover basis, so the untaxed gain is embedded in the new asset and would surface if you later sell in a taxable transaction.
That deferral covers more than capital gains tax. It also postpones depreciation recapture, which for many long-held rentals is a large part of the bill. Investors who exchange repeatedly can push the tax off indefinitely, and under long-standing law, heirs generally receive a basis stepped up to fair market value at death, which can erase the deferred gain entirely.
A few limits matter from the start:
- Since the Tax Cuts and Jobs Act took effect in 2018, only real property qualifies. Equipment, vehicles and other personal property no longer do.
- Your primary residence does not qualify. Home sales are governed by a separate exclusion under Section 121.
- Property held primarily for resale, such as a fix-and-flip, is generally treated as inventory and is excluded.
- US real estate and foreign real estate are not like-kind to each other.
Within US real estate, "like-kind" is broad: a rental condo can be exchanged for a strip center, or raw land for an apartment building.
Step 1: Plan before you sign a listing agreement
The exchange has to be structured before the sale closes. Once you have received the proceeds, it is too late. Before listing, confirm three things with your CPA: that the property qualifies, that you will be the same taxpayer on both sides (the entity or person selling must be the one buying), and roughly how much tax is at stake.
The same-taxpayer rule trips up many investors. If an LLC taxed as a partnership owns the relinquished property, the partnership must acquire the replacement. Individual partners cannot simply go their separate ways with their share of the proceeds without careful, advance restructuring.
Step 2: Engage a qualified intermediary
In a delayed exchange, you cannot have actual or constructive receipt of the sale proceeds. A qualified intermediary (QI) steps into the transaction, takes assignment of the sale contract, holds the funds in escrow and later uses them to acquire the replacement property on your behalf.
Your QI cannot be someone who has acted as your agent recently, such as your attorney, accountant, real estate agent or employee within the prior two years (with limited exceptions for routine services).
Investor tip
Ask any prospective QI how exchange funds are held, whether accounts are segregated by client, what fidelity bond and errors-and-omissions coverage it carries, and whether you will need dual signatures to release money. Your entire deferred tax bill sits in that account.
Step 3: Respect the 45-day and 180-day clocks
Two deadlines start running the day your relinquished property closes, and they run at the same time, not one after the other.
45 daysto identify replacement property in writing
180 daysto close on the replacement property
0extensions for weekends or holidays
The identification must be in writing, signed and delivered to the QI or another permitted party by midnight of day 45. The 180-day period ends early if your tax return for the year of the sale is due first, so a sale late in the year may require you to extend your return to preserve the full window.
You can identify replacement property under one of three rules:
| Rule | What you can identify | Best suited for |
|---|
| Three-property rule | Up to three properties of any value | Most investors; simple and flexible |
| 200% rule | Any number of properties whose combined value is no more than twice the sale price | Buyers spreading proceeds across several smaller assets |
| 95% rule | Unlimited properties, but you must acquire at least 95% of the total value identified | Rare, specialized situations |
Because deals fall through, smart investors identify one primary target and two alternates.
Step 4: Avoid boot and replace your debt
Anything you receive that is not like-kind property is called boot, and boot is taxable to the extent of your gain. It comes in two main forms.
- Cash boot: proceeds left over after the replacement purchase, or funds used at closing for non-qualifying costs such as loan fees or security deposit prorations.
- Mortgage boot: a reduction in debt. If you pay off a $600,000 loan on the sale and take on only a $400,000 loan on the purchase, the $200,000 difference can be taxable unless you offset it with additional cash.
The rule of thumb for full deferral: buy replacement property of equal or greater value, reinvest all of your net equity, and carry equal or greater debt (or make up any shortfall with new cash). Consider an illustrative example. You sell a rental for $1.2 million, with a $400,000 mortgage and $750,000 of net proceeds after costs. To fully defer, you would typically acquire at least $1.2 million of property, put all $750,000 into it and finance the rest. Buy a $1 million property instead, and roughly $200,000 of the gain is likely to be taxable.
Most failed exchanges die on procedure, not on substance: a missed deadline, a check made out to the wrong party, a title in the wrong name.
Step 5: Close, report and handle special cases
At closing, title to the replacement property must be taken by the same taxpayer that sold. The QI wires the exchange funds directly to the closing agent. Afterward, you report the transaction on IRS Form 8824 with your return for the year the relinquished property sold. Keep all exchange documents permanently, since they establish your new basis.
A few additional rules apply:
- Holding period intent: the law has no fixed minimum, but both properties must be held for investment or business use. Many advisors suggest holding at least one to two years to support that intent.
- Related parties: exchanges with family members or controlled entities generally require both sides to hold their properties for at least two years.
- State tax: most states follow the federal treatment, but some track deferred gain when you buy replacement property in another state and may require ongoing filings.
A reverse exchange lets you acquire the replacement before selling, using an exchange accommodation titleholder to park one of the properties. An improvement exchange allows exchange funds to pay for construction on the replacement property, provided the work is completed within the 180-day window.
Fractional interests in a Delaware Statutory Trust are a popular replacement option for investors who want to stop managing property directly or need a quick way to meet the 45-day deadline. Offerings are generally limited to accredited investors.
Foreign sellers face an extra layer. Under FIRPTA, buyers of US real estate from a foreign person generally must withhold 15% of the gross sale price. When the seller is completing a qualifying exchange, it may be possible to apply to the IRS for a withholding certificate that reduces or eliminates that withholding, but the application must be timed carefully against the closing.
The bottom line
A 1031 exchange is one of the most powerful tools available to US real estate investors, turning money that would have gone to taxes into additional buying power. The rules reward preparation and punish improvisation. Line up a reputable qualified intermediary before you list, map out your identification strategy early, match or exceed your price, equity and debt, and keep your CPA and real estate attorney involved from contract to Form 8824. Done properly, the exchange lets your equity keep compounding in real estate instead of resetting with every sale.