Individual Tax

Written and reviewed by Christopher Meeker, EA · Last reviewed:

1031 Exchanges

Can I sell my rental property and buy another without paying tax now?

Yes, if you set it up as a like-kind exchange under section 1031 before the sale closes. When you trade real estate held for rent, business or investment for other real estate you will hold the same way, the gain is deferred. It is not taxed now and carries into the replacement property through a lower tax basis. Three rules carry the deal. For the usual delayed exchange described here, arrange for a qualified intermediary before closing and keep the proceeds outside your control. You must identify the replacement in writing within 45 days and receive it within 180 days. And the same taxpayer must sell and buy. To defer all of the gain, put all the net sale cash into the replacement and take on at least as much debt as you paid off, or add your own cash to make up the difference. Cash you keep, and debt you shed without replacing it, are taxable, starting with the gain that came from past depreciation, which is taxed at up to 25%.

The gain is postponed, not erased. In our example, selling a $900,000 rental outright would cost $115,993.00 of federal tax. Exchanging it for a $1,000,000 property defers all $570,000 of gain, while trading down to an $800,000 property and keeping $100,000 makes that $100,000 taxable now, costing $22,128.00. The deferred gain is taxed when you later sell in a taxable sale, unless you exchange again or keep the property until death; under current law your heirs’ basis then generally becomes its value.

26 USC 1031(a)-(d), (f), (h), like-kind exchanges

U.S. federal income tax, including the 3.8% net investment income tax, for an exchange in 2026. The examples assume a married couple filing jointly who own a rental house directly, have no cost segregation history and do not deal with related parties. Reverse exchanges, tenancy-in-common interests, partnership exchanges and state taxes are noted but not explained in detail. We found no federal change to section 1031 enacted as of October 20, 2026.

THE 1031 EXCHANGE WORKFLOW

The same sale, two ways to reinvest

Set up the exchange before the sale closes, identify the replacement within 45 days, buy it within 180 days while matching cash and debt, then carry the deferred gain forward. Both couples sell the same rental with the same $570,000 gain; only how much they reinvest differs.

Select A or B to update only the overview. Both examples remain visible in every detailed step.

Two continuing examples: what changes and what stays the same
FactExample AExample B
Property sold$900,000 rental; basis $280,000; gain $570,000Same
At closing$300,000 mortgage paid off; $550,000 to the intermediarySame
Replacement$1,000,000 fourplex: $550,000 cash and a $450,000 loan$800,000 duplex: $450,000 cash and a $350,000 loan
Cash taken outNone$100,000

Meet a married couple filing jointly who bought a rental house years ago for $400,000, and follow them two ways: $80,000 for the land and $320,000 for the building. They have taken $120,000 of depreciation, so their adjusted basis is $280,000. On June 1, 2026 they sell it for $900,000, pay $50,000 of selling and exchange costs and pay off the $300,000 mortgage, leaving $550,000, which goes to a qualified intermediary. Their gain is $570,000: $900,000 less $50,000 of costs and $280,000 of basis. In Example A they buy a $1,000,000 fourplex with the whole $550,000 and a new $450,000 loan. In Example B they buy an $800,000 duplex with $450,000 of the exchange money and a new $350,000 loan, and take the remaining $100,000. How much they reinvest is the only difference. The couple also earn $150,000 in wages. Federal tax uses 2026 rates and the $32,200 standard deduction; rental income from the properties and state taxes are left out of the comparison.

Explore an example

THE FOUR-STEP OVERVIEW
Step 1Set up the exchange before the sale closes

Qualifying property, same taxpayer, intermediary holds the cash.

Step 2Identify the replacement within 45 days

A signed list delivered by day 45.

Step 3Buy within 180 days and match cash and debt

Cash kept and debt not replaced are taxable.

Step 4Report it and carry the gain forward

Form 8824, the new basis and what happens later.

Step 1

Set up the exchange before the sale closes

An exchange has to be set up before the old property is transferred. Once you or your agent can reach the sale money, the opportunity is gone.

What qualifies, and what must happen before closing

Only real property qualifies, and both the property you give up and the property you get must be held for productive use in a business or for investment, such as rentals, commercial buildings or land. Real estate is broadly like kind: an apartment building for a warehouse or vacant land works, but U.S. and foreign property do not. Your own home does not qualify, nor does property held mainly for sale, such as a house bought to fix and resell. The same taxpayer must sell and buy. A single-member LLC without a corporate election is treated as its owner, but a partnership and its partners are different taxpayers, so changes in who holds title need advice first.

A sale followed by a purchase is not an exchange, even when the two properties are similar. If you, or your agent, receive or can draw on the sale money before you receive the replacement, the deal becomes a taxable sale. The usual protection is a qualified intermediary: under a written exchange agreement signed before the old property transfers, your sale contract is assigned to the intermediary, the buyer is notified in writing, and the closing proceeds go to the intermediary, which may not release them to you until the exchange ends. A recent employee, attorney, accountant, investment banker, broker or real estate agent generally cannot be your qualified intermediary, and neither can a related person under the exchange rules. The two-year lookback disregards prior section 1031 exchange services and routine financial, title insurance, escrow or trust services provided by a financial institution, title insurance company or escrow company.

Movable furniture and appliances generally do not qualify as real property for an exchange. Their value can create taxable gain even when they come with the building. Have the intermediary and preparer separate the real estate from other assets and plan how each will be paid for. The incidental-property rules do not turn personal property into qualifying real estate.

26 USC 1031(a)-(d), (f), (h), like-kind exchanges · Treas. Reg. 1.1031(a)-1(a)(3), (b), (c) · Treas. Reg. 1.1031(k)-1(a)-(c), (f), (g)(4), (g)(6), (k) · Treas. Reg. 301.7701-3(b)(1)(ii) · Starker v. United States, 602 F.2d 1341 (9th Cir. 1979), reproduced by OpenJurist · Carlton v. United States, 385 F.2d 238 (5th Cir. 1967), reproduced by OpenJurist · IRS, Like-Kind Exchanges: Real Estate Tax Tips · Reg. 1.1031(a)-3, real property for exchanges · Reg. 1.1031(k)-1(c)(5), (g)(7)(iii) and (k), incidental property and disqualified persons · Click v. Commissioner, 78 T.C. 225 (1982), reproduced by CourtListener

EXAMPLE A

$550,000 goes to the intermediary, not to the couple

The house has been rented to tenants for years, so it is held for investment, and the couple own it in their own names, as they will the replacement. Before the June 1, 2026 closing they sign an exchange agreement with a qualified intermediary, assign the sale contract to it and notify the buyer in writing. At closing, $300,000 pays off the mortgage, $50,000 pays commissions and other costs, and the remaining $550,000 goes straight to the intermediary.

Records to keep

The signed exchange agreement, the assignment and buyer notice, and the closing statement showing $550,000 paid to the intermediary.

Result and next action

The sale is the first half of an exchange. Nothing is taxed yet.

EXAMPLE B

The same setup, with plans to keep some cash

B’s sale, closing and intermediary are identical, and B’s $550,000 also goes to the intermediary. B already expects to buy a less expensive property and keep some of the money, but that decision does not need to be made at closing; the intermediary simply holds the cash.

Result and next action

B is also in a valid exchange so far.

26 USC 1031(a)-(d), (f), (h), like-kind exchanges · Treas. Reg. 1.1031(k)-1(a)-(c), (f), (g)(4), (g)(6), (k) · Carlton v. United States, 385 F.2d 238 (5th Cir. 1967), reproduced by OpenJurist · Treas. Reg. 301.7701-3(b)(1)(ii) · Reg. 1.1031(a)-3, real property for exchanges · Reg. 1.1031(k)-1(c)(5), (g)(7)(iii) and (k), incidental property and disqualified persons · Click v. Commissioner, 78 T.C. 225 (1982), reproduced by CourtListener

Step 2

Identify the replacement within 45 days

The 45-day clock starts the day the old property is transferred. The replacement must be identified in writing by midnight of day 45.

The 45-day and 180-day deadlines

Both deadlines run from the day you transfer the old property. By midnight of day 45 you must identify the replacement in a signed writing, describing it clearly, and deliver it to the intermediary or another permitted person. You can identify up to three properties of any value, or more if their total value does not exceed 200% of what you sold; a larger list works only if you actually acquire at least 95% of its value. You must receive the replacement by day 180 or by the due date of your return for the year of the sale, including extensions, whichever comes first.

Treat both deadlines as fixed. They are not extended because suitable property is hard to find, and you should not count on a weekend or holiday to move them. A tax-return extension can preserve the full 180-day exchange period, but does not extend that period. Check separately whether specific IRS postponement relief applies, including relief for a qualifying disaster. If you need to buy before you sell, a reverse exchange lets an accommodation party hold the new property under similar time limits.

26 USC 1031(a)-(d), (f), (h), like-kind exchanges · Treas. Reg. 1.1031(k)-1(a)-(c), (f), (g)(4), (g)(6), (k) · Rev. Proc. 2018-58, sections 3, 4 and 17 · Rev. Proc. 2000-37 (I.R.B. 2000-40)

EXAMPLE A

Three properties identified by July 16, 2026

Day 45 after the June 1 closing is July 16, 2026. By then A sends the intermediary a signed list of three properties with their addresses: the $1,000,000 fourplex A prefers and two alternatives. Three properties is within the limit regardless of their value.

Records to keep

The signed identification letter and the intermediary’s dated acknowledgment.

Result and next action

A can buy any of the three.

EXAMPLE B

A duplex and a backup identified by July 16, 2026

B identifies the $800,000 duplex and one backup property in the same way by July 16, 2026.

Result and next action

B can buy either property.

Treas. Reg. 1.1031(k)-1(a)-(c), (f), (g)(4), (g)(6), (k) · 26 USC 1031(a)-(d), (f), (h), like-kind exchanges · Rev. Proc. 2018-58, sections 3, 4 and 17

Step 3

Buy within 180 days and match cash and debt

Buy the replacement by day 180, which for a June 1 closing is November 28, 2026. To defer all the gain, use all the exchange cash and replace the old debt with new debt or added cash.

Taxable cash and debt relief

Anything you receive that is not like-kind real property is called boot, and your gain is taxed up to its amount. Cash you keep is boot. So is debt you are relieved of: if the mortgage on the old property was larger than the debt on the new one, the difference counts as cash received, unless you add your own cash to make it up. Taking on more debt does not offset cash you take out. Qualifying selling and exchange costs reduce the gain. In these examples, the $50,000 of costs is paid from the $900,000 sale proceeds before the money reaches the intermediary. After those costs and the $300,000 mortgage payoff, $550,000 remains. B reinvests $450,000 and keeps $100,000. The costs are already reflected in those amounts, so do not subtract them again from the $100,000 B keeps.

Taxable gain comes first from past depreciation. On a building depreciated in equal annual amounts, that part is taxed at no more than 25%. Depreciation on assets identified by a cost segregation study can trigger ordinary-income recapture. The result depends on the assets’ tax classifications, the recognized gain and the property received, not simply the number of components in the replacement. Review those assets separately before assuming the exchange defers all gain. Gain beyond the depreciation is taxed at capital gain rates, and any taxable gain may also bear the 3.8% net investment income tax. A related-party exchange generally loses deferral if either party disposes of the exchanged property within two years. Using an intermediary does not remove the related-party rules.

26 USC 1031(a)-(d), (f), (h), like-kind exchanges · Treas. Reg. 1.1031(b)-1(a), (c) · Treas. Reg. 1.1031(d)-2, Examples 1 and 2 · Instructions for Form 8824, lines 15, 18 and 21 through 25 · 26 USC 1(h)(1)(E), (h)(6) · 26 USC 1245(b)(4) · IRC 1411(a) and (b), net investment income tax · Teruya Bros. v. Commissioner, 580 F.3d 1038 (9th Cir. 2009) · Reg. 1.1031(d)-2, debt and cash in an exchange · IRS Publication 544, like-kind exchanges and exchange expenses

EXAMPLE A

A reinvests in a $1,000,000 fourplex and recognizes no gain

A closes on the fourplex in September 2026 using all $550,000 from the intermediary and a new $450,000 loan. A receives no cash, and the new $450,000 loan is larger than the $300,000 mortgage paid off, so A has no debt relief either. With no boot, none of the $570,000 gain is taxable now.

Records to keep

The purchase closing statement, the new loan documents and the intermediary’s final accounting.

Result and next action

A’s exchange defers the whole gain.

EXAMPLE B

B keeps $100,000 and pays $22,128.00 of tax now

B buys the duplex with $450,000 from the intermediary and a $350,000 loan, and the intermediary pays B the remaining $100,000 after the purchase. B’s new loan is larger than the old mortgage, so there is no debt relief, but the extra debt cannot offset cash taken out. The $100,000 is boot, so $100,000 of the gain is taxable in 2026.

Taxable gain comes first from past depreciation, so the whole $100,000 is taxed at no more than 25%. With B’s wages, it adds $22,128.00 of federal income tax for 2026. B’s modified adjusted gross income is exactly $250,000, so no net investment income tax is due in this example. Additional income could change that result. The 3.8% tax applies to the smaller of net investment income or the amount by which modified adjusted gross income exceeds the joint-return threshold.

Result and next action

B keeps $100,000 in cash and pays tax on that amount; the rest of the gain stays deferred.

Treas. Reg. 1.1031(b)-1(a), (c) · Treas. Reg. 1.1031(d)-2, Examples 1 and 2 · Instructions for Form 8824, lines 15, 18 and 21 through 25 · 26 USC 1(h)(1)(E), (h)(6) · Rev. Proc. 2025-32, sections 4.01, 4.03 and 4.14 (I.R.B. 2025-45) · Reg. 1.1031(d)-2, debt and cash in an exchange · IRS Publication 544, like-kind exchanges and exchange expenses

Step 4

Report it and carry the gain forward

Before you list the property, confirm it is held for rent, business or investment, decide which taxpayer will own the replacement, and engage an independent qualified intermediary after checking the disqualified-person rules and their exceptions in Step 1. Sign the exchange agreement and notify the buyer before closing, and check that the closing statement sends the net proceeds to the intermediary. Put day 45 and day 180 on the calendar, extending your return if its due date would come first. Decide in advance how much cash and debt will go into the replacement, then file Form 8824 and keep the basis records with the new property’s files.

Report the exchange for the year of the sale and record the replacement property’s basis. The deferred gain stays with the new property.

Keep the gain and basis records for the next sale

For these examples, the replacement property’s basis is its cost minus the gain deferred. A’s basis is $1,000,000 less $570,000, or $430,000. B’s basis is $800,000 less $470,000, or $330,000. A different exchange needs a separate calculation for added cash, debt, expenses and other property. You keep depreciating the carried-over basis on the old property’s remaining schedule, and depreciate any added basis as newly acquired property, so annual depreciation is lower than if you had bought the same property with fresh money. Your holding period carries over.

Report the exchange on Form 8824 with your return for the year you transferred the old property. A later taxable sale brings the deferred gain into tax; another exchange can carry it forward again; and under current law, property held until death generally takes a basis equal to its value, so the deferred gain is never taxed. Some states track the deferred gain separately; California, for example, requires an annual form when California property is exchanged for property elsewhere.

26 USC 1031(a)-(d), (f), (h), like-kind exchanges · Treas. Reg. 1.1031(d)-2, Examples 1 and 2 · Treas. Reg. 1.168(i)-6, depreciation after an exchange · Instructions for Form 8824, lines 15, 18 and 21 through 25 · 26 USC 1014(a) · California FTB, 2025 Form FTB 3840 instructions

EXAMPLE A

A defers $570,000 and has a $430,000 basis

A reports the exchange on Form 8824 with the 2026 return. The fourplex’s basis is $280,000, less the $300,000 of debt paid off, plus the $450,000 loan: $430,000. That is $570,000 below its $1,000,000 value, exactly the gain deferred. A continues depreciating the old building’s remaining basis on its old schedule and depreciates the $150,000 of added basis, after separating land, as newly bought property.

If A later sells the fourplex for $1,000,000 in a taxable sale, the $570,000 deferred gain plus the gain from any further depreciation becomes taxable then.

Records to keep

Form 8824, the basis computation and a depreciation schedule that separates carried-over and added basis.

Result and next action

A has postponed tax of about $115,993.00 at 2026 rates, not eliminated it.

EXAMPLE B

B defers $470,000 and has a $330,000 basis

B’s duplex basis is $280,000, less the $100,000 received and the $300,000 of debt paid off, plus the $350,000 loan and the $100,000 of gain taxed: $330,000, which is $470,000 below its $800,000 value. Because only $100,000 of the $120,000 past depreciation was taxed, the other $20,000 remains in the deferred gain and will be taxed at up to 25% on a later sale.

Result and next action

B has turned $100,000 into spendable cash for $22,128.00 of federal tax and deferred the rest.

Under these teaching facts the same sale gives three different results. Sold outright, the rental would cost the couple $115,993.00 of federal tax for 2026. Couple A, who reinvest all the cash and take on more debt, owe nothing now and carry all $570,000 of gain into a property with a $430,000 basis. Couple B, who trade down and keep $100,000, owe $22,128.00 now and carry $470,000 of gain into a property with a $330,000 basis.

Instructions for Form 8824, lines 15, 18 and 21 through 25 · Treas. Reg. 1.1031(d)-2, Examples 1 and 2 · Treas. Reg. 1.168(i)-6, depreciation after an exchange · 26 USC 1014(a)

What to gather

  • The exchange agreement, the assignment and the written notice to the buyer.
  • Both closing statements and the intermediary’s accounting of the money.
  • The signed identification letter and proof it was delivered by day 45.
  • The old property’s purchase records, improvements and depreciation history.
  • Loan payoff and new loan documents.
  • Form 8824 and the basis and depreciation schedule for the replacement.

Questions readers ask

Do I only have to reinvest my profit?

No. To defer all the gain you must reinvest all the net cash from the sale, not just the profit, and replace any debt you pay off with new debt or your own cash. Cash you keep and unreplaced debt are taxed, up to the amount of your gain.

Can my real estate agent, attorney or accountant hold the money?

A recent employee, attorney, accountant, investment banker, broker or real estate agent generally cannot be your qualified intermediary, and neither can a related person under the exchange rules. The two-year lookback disregards prior section 1031 exchange services and routine financial, title insurance, escrow or trust services provided by a financial institution, title insurance company or escrow company. Use an independent intermediary with a written exchange agreement signed before closing.

Can I exchange into a vacation home or a house I will live in?

Both properties must be held for business or investment. A home held for personal use does not qualify. For a dwelling unit, the safe harbor requires you to own the property for at least 24 months immediately before the exchange if it is the property given up, or at least 24 months immediately after the exchange if it is the replacement. In each of the two 12-month periods within that time, rent it at a fair rental price for at least 14 days and limit personal use to the greater of 14 days or 10% of the days rented at a fair rental price. Meeting these conditions protects the qualifying-use requirement. The other exchange rules still apply. Falling outside this safe harbor does not automatically disqualify the exchange.

If you later make the replacement property your main home, you cannot use the home-sale exclusion on a sale during the five-year period beginning with its acquisition in the exchange. Later sales still must meet the home-sale tests, and prior rental use and depreciation may leave part of the gain taxable. See Home Sale Gain Exclusion before planning a move.

Rev. Proc. 2008-16 provides the dwelling-unit safe harbor for the qualifying-use requirement. See sections 3 and 4, including the ownership and use tests in section 4.02.

Does the deferred gain ever go away?

Only in limited ways. It is taxed when you sell in a taxable sale, it carries forward if you exchange again, and under current law it is generally not taxed if you hold the property until death, because your heirs’ basis becomes its value. Otherwise it is a postponement.

What happens to depreciation on the new property?

You keep depreciating the old property’s remaining basis on its old schedule, and depreciate any added basis as a new purchase. Because the basis carries over, yearly depreciation is lower than on a fresh purchase. Depreciation on assets identified by a cost segregation study can trigger ordinary-income recapture. The result depends on the assets’ tax classifications, the recognized gain and the property received, not simply the number of components in the replacement. Review those assets separately before assuming the exchange defers all gain.

Can I sell through my LLC and buy in my own name?

If the LLC has one owner and no corporate election, it is treated as you, so yes. A partnership or multi-member LLC is a different taxpayer from its owners, so it must be the one that sells and buys. Changing who holds title just before or after an exchange can put the deferral at risk; plan it in advance.

Can I exchange property with a relative?

A related-party exchange generally loses deferral if either party disposes of the exchanged property within two years. Using an intermediary does not remove the related-party rules. You must also file Form 8824 for the two years after the exchange.

Official sources

Where to go next

How BackForty can help

BackForty can compare the tax on a sale with the tax on an exchange using your basis and depreciation history, coordinate the timing with your qualified intermediary, and test how much cash and debt you can take out before tax applies. We prepare Form 8824 and the new property’s basis and depreciation schedules, and plan for state reporting.

Discuss this questionIndividual tax preparation