A 1031 exchange lets you sell one investment property and roll the proceeds into another without paying capital gains tax at the time of the sale, but the deferral only survives if you follow five 1031 exchange real estate rules: both properties must be like-kind investment real estate, a qualified intermediary must hold the money, you must identify a replacement within 45 days and close within 180, you must reinvest all your equity and debt to avoid taxable boot, and you must report the exchange on IRS Form 8824. Miss any one of them and the full gain becomes taxable, which can mean federal capital gains rates up to 20%, a 3.8% Net Investment Income Tax, and depreciation recapture at up to 25%.1Internal Revenue Service. Net Investment Income Tax
Rule 1: Both Properties Must Be Like-Kind Investment Real Estate
The property you sell (the relinquished property) and the property you buy (the replacement property) both have to be real estate held for business use or investment.2Office of the Law Revision Counsel. 26 USC 1031 – Exchange of Real Property Held for Productive Use or Investment “Like-kind” is broader than most investors expect. A rental duplex is like-kind to a warehouse. An office building is like-kind to raw farmland. The IRS looks at why you hold the property, not what sits on it.
Several categories are excluded outright. Real estate held primarily for resale, such as a fix-and-flip, doesn’t qualify. Your personal residence doesn’t qualify. Neither do stocks, bonds, partnership interests, or other financial instruments.3Internal Revenue Service. Like-Kind Exchanges Under IRC Section 1031 If you own real estate through a partnership, the partnership itself has to do the exchange at the entity level. You can’t exchange your partnership interest and treat it as a property swap.
One geographic limit: U.S. real property is not like-kind to foreign real property.3Internal Revenue Service. Like-Kind Exchanges Under IRC Section 1031 A Miami rental can be exchanged for a Portland office building, but not for a villa in Portugal.
The Vacation Home Safe Harbor
A vacation home you sometimes rent sits in a gray area, so the IRS published a safe harbor. For each of the two 12-month periods immediately before the exchange (for the property you sell) or after the exchange (for the property you buy), the home must be rented at fair market rates for at least 14 days a year, and your personal use cannot exceed the greater of 14 days or 10% of the days it was rented.4Internal Revenue Service. Revenue Procedure 2008-16 A beach house rented 200 days a year with 12 days of personal use qualifies. A ski cabin rented one week a year and used every other weekend does not.
Rule 2: A Qualified Intermediary Has to Hold the Funds
You cannot touch the sale proceeds. If the money from the relinquished property hits your bank account, even for a moment, the exchange fails and the entire gain becomes taxable. A Qualified Intermediary (QI) exists to solve this. The QI steps into the transaction, holds the funds in a separate account, and uses them to buy the replacement property on your behalf.3Internal Revenue Service. Like-Kind Exchanges Under IRC Section 1031
You have to engage the QI before the relinquished property closes. You sign an exchange agreement that assigns your rights in the sale contract to the intermediary. At closing, the title company wires net proceeds directly to the QI. When the replacement property closes, the QI wires those funds to the seller. You never handle the money.
Not just anyone can serve as your QI. Anyone who has acted as your agent during the two years before the exchange is disqualified, and that includes your real estate agent, attorney, accountant, and employees.3Internal Revenue Service. Like-Kind Exchanges Under IRC Section 1031 The intermediary has to be independent so the IRS treats the arrangement as a genuine third-party exchange rather than you accessing your own money through a proxy.
One risk that catches investors off guard: QIs are not federally regulated, and no uniform bonding or insurance requirement protects the funds they hold. If a QI goes bankrupt or commits fraud, your exchange proceeds could be lost. Before hiring one, verify that they carry a fidelity bond and errors-and-omissions insurance, hold exchange funds in segregated accounts rather than commingled with operating funds, and ideally keep those accounts at an FDIC-insured institution. Ask for proof.
Rule 3: Meet the 45-Day and 180-Day Deadlines
Two clocks start the day the relinquished property closes. Neither one pauses for weekends, holidays, or market conditions.
The 45-Day Identification Period
By the 45th calendar day after closing, you must deliver a written identification of every potential replacement property to your QI. The identification has to be specific enough that the IRS can’t question what property you meant, so use a street address or legal description. Miss the 45th day and the exchange fails automatically.2Office of the Law Revision Counsel. 26 USC 1031 – Exchange of Real Property Held for Productive Use or Investment
You can identify replacement property three ways:
- Three-Property Rule: up to three properties of any value. This is the most common approach.
- 200% Rule: more than three properties, but their combined fair market value can’t exceed 200% of the relinquished property’s value.
- 95% Rule: any number of properties at any value, but you must actually close on at least 95% of the total value identified.
Most investors use the three-property rule because it’s simple and has no value cap. The 95% rule sees little use in practice because failing to close on even one identified property can blow up the entire exchange.3Internal Revenue Service. Like-Kind Exchanges Under IRC Section 1031
The 180-Day Exchange Period
You must close on the replacement property by the 180th calendar day after the relinquished property closed, or by the due date (including extensions) of your federal tax return for the year of the sale, whichever comes first.2Office of the Law Revision Counsel. 26 USC 1031 – Exchange of Real Property Held for Productive Use or Investment That “whichever is earlier” phrase trips up investors who sell late in the year. Close a sale in November and your return is due April 15, well short of 180 days. For any exchange that closes in the final quarter, filing a tax extension is practically mandatory.
The 45-day window runs inside the 180-day window, not on top of it. After spending up to 45 days identifying, you have roughly 135 days left to actually close.
Rule 4: Reinvest All Your Equity and Debt to Avoid Boot
A fully tax-deferred exchange requires reinvesting all the equity from the sale. Anything you receive that isn’t like-kind real property is called “boot,” and boot is taxable up to the amount of your deferred gain.2Office of the Law Revision Counsel. 26 USC 1031 – Exchange of Real Property Held for Productive Use or Investment Boot shows up in two main ways.
Cash boot happens when you pull cash out of the exchange or when the replacement costs less than the net sale price of the relinquished property. The leftover cash is taxable.
Mortgage boot, also called debt relief, happens when the new loan is smaller than the loan you paid off. Sell a property with a $500,000 mortgage and replace it with one carrying $400,000 in debt, and the $100,000 difference is taxable boot.
The practical rule is to buy equal or up. The replacement property’s total purchase price should equal or exceed the net sale price of the relinquished property, and the new debt should equal or exceed the old debt. If your new mortgage is lower, you can add cash at closing to offset the debt relief and eliminate the boot.
Closing Costs and Boot
Not every dollar leaving the exchange creates boot. Legitimate transactional costs tied to selling or buying the exchanged properties, such as broker commissions, title insurance, recording fees, transfer taxes, and QI fees, can generally be paid from exchange funds without triggering a taxable event. Costs related to obtaining a new loan, such as loan origination fees and lender-required appraisals, are typically not treated as exchange expenses and can create boot if paid from the exchange account. Pay loan costs out of pocket rather than from the QI’s escrow.
Rule 5: Report the Exchange on Form 8824
Every 1031 exchange has to be reported on IRS Form 8824, filed with your federal tax return for the year you transferred the relinquished property.3Internal Revenue Service. Like-Kind Exchanges Under IRC Section 1031 The form details both properties, the timeline, any boot received, and the gain recognized or deferred. Even a perfect exchange with zero taxable boot still requires Form 8824.
Basis Carryover
The deferred gain doesn’t disappear. It gets baked into the replacement property’s tax basis. Your new property’s basis equals the basis of the old property, adjusted for any boot paid or received.2Office of the Law Revision Counsel. 26 USC 1031 – Exchange of Real Property Held for Productive Use or Investment Exchange a property with a $100,000 adjusted basis for a $500,000 replacement, and the new property’s basis starts at $100,000 (plus any recognized gain). That low basis means higher depreciation recapture and a larger taxable gain the day you eventually sell without doing another exchange.
Depreciation Recapture Follows You
While the exchange defers your capital gain, it also carries forward all the depreciation you claimed on the relinquished property. When you finally sell in a taxable transaction, the accumulated depreciation is recaptured and taxed at a maximum federal rate of 25%, separate from and in addition to the long-term capital gains rate. After several rounds of exchanges over a career, the accumulated depreciation can be substantial.
Exchanging With a Related Party
Exchanging property with a family member or a business entity you control triggers extra scrutiny. If you do a 1031 exchange with a related party, both of you must hold your respective properties for at least two years after the exchange. If either side sells within that window, the deferred gain becomes taxable in the year of the disposition.5Internal Revenue Service. Revenue Ruling 2002-83 The IRS also has a catch-all provision that disqualifies any exchange structured as part of a series of transactions designed to sidestep the two-year requirement. Related parties for this purpose include siblings, spouses, ancestors, lineal descendants, and entities where you own more than 50%.
State Taxes Are a Separate Question
Federal deferral doesn’t guarantee state deferral. Most states follow the federal 1031 rules, but a few either don’t conform or impose additional requirements. Some states require non-resident sellers to withhold a percentage of the sale price when investment property changes hands, even in a 1031 exchange, with rates typically ranging from roughly 3% to 8%. The withholding is usually credited against your state tax liability, but the cash leaves the exchange and has to be replaced to avoid creating boot. Check the rules in both the state where the relinquished property sits and the state where you’re buying before you assume you’re fully covered.