How to Use a 1031 Exchange to Defer Capital Gains

A 1031 exchange lets you sell an investment or business property, buy a replacement property, and defer the capital gains tax you’d normally owe on the sale. The process follows strict IRS rules on timing, property types, and how funds are handled. Miss any of them and the tax bill comes due immediately. Here’s how the exchange works from start to finish.

What Qualifies as a 1031 Exchange

Since the Tax Cuts and Jobs Act took effect in 2018, Section 1031 applies only to real property used for business or held as investment. That includes rental houses, apartment buildings, commercial buildings, raw land, and similar assets. Properties are considered “like-kind” if they share the same general nature, regardless of differences in grade or quality. An apartment complex is like-kind to a vacant lot, and a retail building is like-kind to a warehouse. Improved and unimproved real estate both qualify.

Several categories are excluded. Personal property such as machinery, equipment, vehicles, artwork, collectibles, and intellectual property no longer qualifies. Property held primarily for sale (think house flips) doesn’t qualify either. And real property located in the United States is not like-kind to real property outside the country, so you can’t exchange a domestic rental for an overseas one.

Your primary residence doesn’t qualify because it’s personal-use property. A vacation home you occasionally rent out sits in a gray area; the IRS generally expects the property to be held predominantly for investment or business purposes.

How the Exchange Process Works

A 1031 exchange isn’t a single transaction. It’s a sequence of steps that must be completed in a specific order.

Step 1: Sell the relinquished property. List and sell the property you want to exchange out of. Before closing, you need a qualified intermediary (QI) in place to receive the sale proceeds. The QI holds the funds in escrow so you never take possession of the cash. If you touch the money, the exchange fails.

Step 2: Identify replacement properties within 45 days. Starting from the day you close on the sale, you have exactly 45 calendar days to formally identify potential replacement properties in writing to your QI. You can identify up to three properties regardless of their value, or more than three as long as their combined fair market value doesn’t exceed 200% of the property you sold.

Step 3: Close on the replacement property within 180 days. You must acquire one or more of the properties you identified within 180 calendar days of the original sale’s closing date. The QI releases the exchange funds directly to the closing. These 180 days run concurrently with the 45-day identification window, so you effectively have 135 days after identification to close.

Both deadlines are firm. Weekends, holidays, and market conditions don’t extend them. If day 45 falls on a Saturday, you still need your identification submitted by that Saturday.

The Role of a Qualified Intermediary

A qualified intermediary is the person or company that holds your sale proceeds between the two transactions. Using one is the most common way to structure a 1031 exchange, and it exists for a specific reason: if you receive the cash from your sale, even briefly, the IRS treats the exchange as a taxable event.

You cannot act as your own intermediary. The IRS also prohibits anyone who has served as your agent within the previous two years from filling this role. That includes your real estate agent, broker, accountant, attorney, or employee. The QI needs to be an independent third party.

QIs are not federally regulated, so their qualifications and protections vary. Look for one that carries fidelity bonds or errors-and-omissions insurance and holds exchange funds in segregated, FDIC-insured accounts. Fees typically range from $600 to $1,200 for a standard exchange, though complex transactions cost more.

Understanding “Boot” and How It Triggers Tax

A 1031 exchange defers your entire capital gain only when you reinvest all of the proceeds and take on equal or greater debt. Any portion of the transaction that falls short creates what’s called “boot,” which is the taxable piece of the deal.

Boot shows up in two main ways:

  • Cash boot: If you sell a property for $450,000 but only reinvest $400,000 into the replacement, the remaining $50,000 is boot and gets taxed as a capital gain.
  • Mortgage boot: If the mortgage on your old property was $200,000 but the mortgage on the replacement is only $100,000, that $100,000 reduction in debt is treated as boot. This catches many exchangers off guard because they reinvested all their cash proceeds but didn’t carry forward enough debt.

Certain closing costs paid from exchange funds can also create boot if they aren’t considered qualified exchange expenses. Costs directly tied to the sale (broker commissions, title insurance, transfer taxes) are generally fine. Non-transaction expenses like property repairs, rent prorations, or utility credits may not be. Boot can also arise if you receive non-like-kind property as part of the deal, such as personal property or partnership interests bundled into the transaction.

To avoid boot entirely, reinvest all net sale proceeds into the replacement property and take on debt equal to or greater than what you had on the relinquished property. If you want a smaller mortgage on the new property, you can offset the difference by adding more cash at closing.

Reporting the Exchange on Your Tax Return

Even though a 1031 exchange defers your tax, you still need to report it to the IRS. You’ll file Form 8824, “Like-Kind Exchanges,” with your tax return for the year the exchange took place. The form asks for descriptions of both properties, the dates of the sale and acquisition, and the financial details of each leg of the transaction.

Your basis in the replacement property carries over from the relinquished property, adjusted for any boot you paid or received. This is important because the deferred gain doesn’t disappear. It’s embedded in your new property’s lower tax basis, which means you’ll face a larger gain when you eventually sell, unless you do another 1031 exchange at that point.

Reverse and Improvement Exchanges

In a standard exchange, you sell first and buy second. But the IRS also allows reverse exchanges, where you buy the replacement property before selling the old one. This is useful when you find the perfect property and can’t wait for your current one to sell. Reverse exchanges are more complex and expensive because the QI or an exchange accommodation titleholder must take title to one of the properties temporarily. Fees for reverse exchanges often run $5,000 or more.

An improvement exchange (sometimes called a build-to-suit exchange) lets you use exchange funds to make improvements on the replacement property before taking title, as long as everything is completed within the 180-day window. The improvements must be done while the property is held by the exchange accommodation titleholder, not after you take ownership.

Key Rules to Keep Straight

Both properties must be held for investment or business use. You can’t exchange into a property you plan to live in immediately. The IRS looks at your intent at the time of the exchange, and converting a replacement property to personal use shortly after acquisition raises red flags. A common guideline is to hold and rent the replacement property for at least two years before converting it.

Related-party exchanges are allowed, but if either party disposes of their property within two years of the exchange, the deferred gain becomes taxable. The 45-day and 180-day deadlines cannot be extended for any reason short of a federally declared disaster in certain cases. And if your tax return is due (including extensions) before the 180th day, your exchange deadline is your filing deadline unless you file an extension.

There’s no limit to how many times you can do a 1031 exchange, and there’s no cap on the dollar amount. Some investors chain exchanges together over decades, deferring gains across multiple properties and compounding their equity without a tax hit along the way.