Homeowner HQ · Guides

What is a 1031 exchange?

A 1031 exchange is the investor's counterpart to the homeowner's home-sale tax break — a way to move from one investment property to another without paying the capital gains tax at the moment of the swap. It defers the tax; it does not erase it. This page is general information, not tax advice — talk to a qualified intermediary and a CPA or tax professional on your own facts before any closing, because the structure has to be in place before the first sale closes. The companion guides are Do you pay capital gains tax when you sell your house?, which works the tax on a main home, and How long do you have to live in your house to avoid capital gains tax?, which covers the main-home exclusion tests.

1. The short answer: deferral, not elimination

Under Section 1031 of the Internal Revenue Code, a like-kind exchange lets an investor defer — not eliminate — capital gains tax by exchanging real property held for business or investment use for like-kind real property also held for business or investment use. No tax is paid on the exchange itself when the rules are met in full. The deferred gain does not disappear: it carries into the replacement property and is taxed on a later taxable sale, which is why an exchange is a planning tool for investors who intend to keep holding real estate, not a way to cash out tax-free.

2. What qualifies — real property held for business or investment

Both sides of the exchange have to be real property held for business or investment use: the property given up (the relinquished property) and the property received (the replacement property). Since 2018, a 1031 exchange covers real property only — exchanges of personal property no longer qualify. For real estate, like-kind is read broadly: real property held for business or investment use is generally like-kind to other real property held for business or investment use, so the replacement does not have to be the same kind of building or land as the property sold. Property held mainly for sale, and property held for personal use, does not qualify.

3. Not for a primary residence — the Section 121 exclusion is the homeowner's rule

A 1031 exchange does not apply to a primary residence. A homeowner selling their main home uses the Section 121 exclusion instead — the rule covered in Do you pay capital gains tax when you sell your house? and in How long do you have to live in your house to avoid capital gains tax? — which can exclude gain on a main home outright rather than defer it. The two rules cover different kinds of property: Section 1031 is for property held for business or investment, and Section 121 is for a main home. A property that has genuinely changed use over time can raise questions about which rule fits; that is a question for a tax professional on the full facts, not a planning shortcut.

4. The qualified intermediary — engaged before the first closing

An exchange runs through a qualified intermediary (QI) — an independent party who holds the sale proceeds and moves them into the replacement property. The QI must be engaged before the first closing, and the QI must hold the proceeds between the two closings. This is the rule that kills exchanges in practice: if the seller takes possession of the cash, the exchange fails and the sale is taxed as an ordinary sale. Because the QI cannot be added after the first sale closes, the intermediary is engaged while the relinquished property is being listed and negotiated — never as an afterthought at the closing table.

5. The two hard deadlines — 45 days to identify, 180 days to close

Both deadlines run from the transfer of the relinquished property, and neither can be extended by agreement. First, the replacement property must be identified in writing within 45 days — the identification rules are stated generally and are commonly met by identifying up to three properties. Second, the exchange must close on the replacement property within 180 days — or by the tax-return due date for that year, if that date is earlier. Missing either deadline ends the exchange, so the replacement search starts before the first property closes, not after.

6. Full deferral, boot, basis and Form 8824

Full deferral generally requires buying equal-or-greater value and replacing the debt on the relinquished property. Value the investor keeps instead of reinvesting is taxed: cash kept, or debt relief received, is called boot, and boot is taxable to the extent of the gain. The tax accounting follows the investor into the new property — basis carries over into the replacement property, so the deferred gain, and any deferred depreciation recapture, follows it and is taxed on a later taxable sale. The exchange is reported on Form 8824, the like-kind exchange form filed with the tax return for the year of the exchange.

7. Start before you list

The practical order is fixed by the rules above: talk to a qualified intermediary and a tax professional before listing or closing, because the QI cannot be added after the first sale closes. Line up the intermediary, confirm the property qualifies as business or investment property, and start the replacement search early enough that the 45-day identification window and the 180-day closing window are planned time, not a scramble. In Homeowner HQ, the monthly value and equity line shows what a property is worth and how much equity it carries as both move, so the size of a likely gain — the number the exchange would defer — is visible well before a listing date is chosen, not discovered at the closing table.

What it costs

Homeowners are always free. Realtors pay $25/mo all-in and lenders pay $25/mo to join, at any book size, with no setup fee; messaging is included free for realtors, and lender messaging is $100/mo ($125/mo total for lenders). A lender-sponsored realtor joins for $0.

Questions homeowners ask

What is a 1031 exchange?

A 1031 exchange — a like-kind exchange under Section 1031 of the Internal Revenue Code — lets an investor defer, not eliminate, capital gains tax by exchanging real property held for business or investment use for like-kind real property also held for business or investment use. Since 2018 the exchange covers real property only. The tax is deferred, not forgiven: the deferred gain follows the investor into the replacement property and is taxed on a later taxable sale. This page is general information, not tax advice.

Can you use a 1031 exchange on your primary residence?

No. A 1031 exchange does not apply to a primary residence, because the property must be held for business or investment use. A homeowner selling their main home uses the Section 121 exclusion instead — the rule that can exclude up to $250,000 of gain, or $500,000 married filing jointly, when the ownership and use tests are met. The two rules cover different kinds of property and do not combine on the same sale: investment property follows the 1031 path, and a main home follows the Section 121 path.

What are the 45-day and 180-day deadlines in a 1031 exchange?

Both clocks start on the transfer of the relinquished property. Replacement property must be identified in writing within 45 days — the identification rules are commonly met by identifying up to three properties — and the exchange must close on the replacement property within 180 days, or by the tax-return due date for that year, if that date is earlier. The deadlines are hard: a qualified intermediary must be engaged before the first closing and must hold the proceeds, and if the seller takes possession of the cash the exchange fails, so the intermediary and a tax professional belong in the plan before the first sale closes, not after.