Skip to content

1031 Exchange Rules: How a Like-Kind Exchange Works

By MoneyQnA EditorialPublished

On this page
  1. 1031 Exchange Rules at a Glance
  2. What Is a 1031 Exchange?
  3. 1031 Exchange Timeline: The 45-Day and 180-Day Rules
  4. How Does a 1031 Exchange Work, Step by Step?
  5. What Is Boot in a 1031 Exchange?
  6. What Happens to Depreciation in a 1031 Exchange?
  7. Is There a Holding Period for a 1031 Exchange?
  8. Can You 1031 Exchange Your Primary Residence?
  9. 1031 Exchange Example
  10. What Should I Do Next?
  11. Frequently Asked Questions
  12. Sources

Quick answer

A 1031 exchange defers tax when you swap investment real estate for more. You have 45 days to name a replacement and 180 days to close.

When you sell a rental or other investment property at a gain, you normally owe capital gains tax and depreciation recapture that year. Section 1031 of the Internal Revenue Code lets you put off that tax if you reinvest in “like-kind” real estate instead of taking the cash. The tax isn’t forgiven. It carries over into the new property and comes due when you eventually sell in a taxable sale.

1031 Exchange Rules at a Glance

Rule Requirement
Eligible property Real property held for business or investment, exchanged for like-kind real property held the same way
Not eligible Your main home, property held mainly for sale (like a flip), and, since 2018, personal property such as equipment or vehicles
Identification deadline 45 days after you transfer the property you’re selling
Closing deadline The earlier of 180 days after the transfer or your tax return due date, with extensions
How many replacements you can identify Up to 3 properties, or any number under the 200% rule
Who holds the cash A qualified intermediary, not you or your agent
Cash or debt relief you receive (“boot”) Taxable, up to your gain
Related-party exchanges Both sides must generally keep the property for 2 years
Reporting Form 8824 with your tax return

What Is a 1031 Exchange?

A 1031 exchange, also called a like-kind or tax-deferred exchange, is a swap of one investment property for another. Under 26 U.S. Code (USC) 1031, no gain or loss is recognized when real property held for productive use in a trade or business or for investment is exchanged solely for like-kind real property that you’ll hold the same way.

Most exchanges today are deferred exchanges: you sell your property first, a qualified intermediary holds the proceeds, and the intermediary uses them to buy your replacement property.

What Counts as Like-Kind Property?

More than most people expect. The Internal Revenue Service (IRS) says on its like-kind exchange page that properties are like-kind if they’re of the same nature or character, even if they differ in grade or quality, and that real properties generally are like-kind to each other whether improved or unimproved. A rental house can be exchanged for an apartment building, raw land or a commercial building.

Two limits:

  • U.S. real property isn’t like-kind to real property outside the United States.
  • Since January 1, 2018, under the Tax Cuts and Jobs Act, only real property qualifies. Equipment, vehicles, artwork and other personal property don’t.

Who Can Do a 1031 Exchange?

Individuals, partnerships, corporations, trusts and limited liability companies that own investment or business real estate. The same taxpayer that sells the old property generally needs to buy the new one.

1031 Exchange Timeline: The 45-Day and 180-Day Rules

The deadlines come straight from the statute and can’t be extended for ordinary reasons like a slow closing.

Day What must happen
Day 0 You close the sale of your old property (the relinquished property). The qualified intermediary receives the proceeds.
By day 45 You identify replacement property in a signed, written document delivered to the intermediary or another party to the exchange.
By day 180, or your tax return due date if earlier You close on the replacement property.

If you sell late in the year, the 180-day window can run past your tax return due date. File an extension so you get the full 180 days.

How Do You Identify Replacement Property?

Under Treasury Regulation 1.1031(k)-1, the identification must be in writing, signed by you, and unambiguous, such as a legal description or street address. You can identify:

  • The 3-property rule: up to three properties of any value, or
  • The 200% rule: any number of properties, as long as their total value doesn’t exceed 200% of the value of the property you sold.

If you identify too many, it’s treated as if you identified none, unless you end up buying at least 95% of the total value of everything you identified.

How Does a 1031 Exchange Work, Step by Step?

  1. Line up a qualified intermediary before you close the sale. Your own agent, attorney or a related party can’t serve, and the instructions for Form 8824 call them “disqualified persons.”
  2. Sign the exchange agreement and assign the sale contract to the intermediary.
  3. Close the sale. The proceeds go to the intermediary, not to you. If you take control of the money, the exchange fails.
  4. Identify replacement property within 45 days.
  5. Buy the replacement within 180 days, with the intermediary sending the funds to closing.
  6. Report the exchange on Form 8824 with your return for the year you sold.

What Is Boot in a 1031 Exchange?

Boot is anything you receive that isn’t like-kind property. Under section 1031(b), you’re taxed on your gain up to the amount of boot. Common forms:

  • Cash you take out of the exchange
  • Debt relief, when the mortgage on your new property is smaller than the one on the old property and you don’t add cash to make up the difference; Form 8824 counts net liabilities assumed by the other party as boot
  • Non-like-kind property, such as personal property received in the deal

To defer all the tax, buy replacement property of equal or greater value, reinvest all the cash proceeds, and replace the debt you paid off with new debt or added cash. A “partial 1031” simply means you took some boot and pay tax on that part.

What Happens to Depreciation in a 1031 Exchange?

It carries over. The deferred gain, including the part that would have been depreciation recapture, is built into the new property’s lower basis. When you later sell the replacement property in a taxable sale, the recapture comes due. See depreciation recapture for how that tax is figured, and rental property depreciation for how deductions continue on the new property.

Is There a Holding Period for a 1031 Exchange?

The law doesn’t set a fixed holding period. The test is your intent: the property must be held for investment or business use, not mainly for resale. Two rules involve two years:

  • Related parties. If you exchange with a family member or a related business and either of you disposes of the property within 2 years, the deferred gain becomes taxable, with limited exceptions, according to the Form 8824 instructions.
  • Vacation homes and second homes. IRS Revenue Procedure 2008-16 gives a safe harbor if you own the dwelling for at least 24 months before the exchange, and in each of the two 12-month periods you rent it at a fair rent for 14 days or more and limit personal use to the greater of 14 days or 10% of the days rented. The same standard applies for 24 months after the exchange for the replacement.

Can You 1031 Exchange Your Primary Residence?

No. IRS Publication 523 says a main home isn’t eligible because the exchange must be between property held for business or investment. If you later move into a property you got in a 1031 exchange, you can’t use the home sale exclusion unless you’ve owned it for at least 5 years since the exchange.

1031 Exchange Example

You sell a rental house for $500,000. Your adjusted basis is $250,000, and the mortgage is $150,000. Through a qualified intermediary, you buy a small apartment building for $650,000 with a $300,000 mortgage, reinvesting all $350,000 of net proceeds.

Taxable sale 1031 exchange
Gain $250,000 $250,000 realized, $0 recognized
Boot received n/a $0 (all cash reinvested, more debt taken on)
Tax due now Capital gains and recapture on $250,000 None
Basis in the new property n/a $400,000: the $650,000 price minus the $250,000 deferred gain

If you had kept $50,000 of the proceeds, that $50,000 would be taxable boot. The figures are an illustration and ignore closing costs.

What Should I Do Next?

  1. Confirm the property you’re selling is held for investment or business use.
  2. Talk to a tax professional about your gain, recapture and whether deferral makes sense.
  3. Choose a qualified intermediary before you sign the closing documents.
  4. Start looking at replacement properties before you list, so 45 days is enough.
  5. Plan the replacement price and loan so you don’t receive boot.

Frequently Asked Questions

How Long Do You Have to Complete a 1031 Exchange?

180 days from the sale of your old property, or your tax return due date for that year if it comes first. Identification is due by day 45.

What Is the 1031 Exchange 2-Year Rule?

It usually refers to the related-party rule: if you exchange with a related party, both of you generally must hold the properties for 2 years. It can also refer to the 24-month safe harbor for vacation homes.

Can I Do a 1031 Exchange Into a Property I’ll Live In?

Not right away. The replacement must be held for investment or business use. Converting it to a home later can work, but the home sale exclusion requires 5 years of ownership after the exchange.

Does a 1031 Exchange Avoid Taxes Forever?

It defers them. If you keep exchanging, the gain keeps rolling forward. Publication 544 says no gain is reported on depreciable property transferred at death, so heirs don’t pay the deferred tax on property they inherit.

Can I Do a 1031 Exchange on a Flip?

No. Property held primarily for sale, like a fix-and-flip, doesn’t qualify.

Sources

  • 26 U.S.C. 1031, Exchange of real property held for productive use or investment (45-day and 180-day rules, boot, basis): www.law.cornell.edu
  • 26 CFR 1.1031(k)-1, Treatment of deferred exchanges (identification, 3-property, 200% and 95% rules): www.ecfr.gov
  • IRS, Like-Kind Exchanges, Real Estate Tax Tips (like-kind definition, real property only since 2018, foreign property): www.irs.gov
  • IRS, Instructions for Form 8824 (2025) (qualified intermediaries, disqualified persons, related parties, net liabilities as boot): www.irs.gov
  • IRS Revenue Procedure 2008-16 (dwelling unit safe harbor): www.irs.gov
  • IRS Publication 523, Selling Your Home (main home not eligible, 5-year rule): www.irs.gov
  • IRS Publication 544, Sales and Other Dispositions of Assets (transfers at death): www.irs.gov

General information only, not financial, legal or tax advice. Read our disclaimer

Still have a question?

Ask a licensed loan officer, CPA or advisor. Answers are free and published so others can learn too.

Ask an expert