A 1031 exchange lets you sell a rental and buy another one without paying tax on the gain that year. The catch is that the rules are strict and the deadlines do not bend. This guide covers what qualifies, the 45 and 180 day clocks, how many properties you can name, when part of the deal becomes taxable, and what you report on Form 8824, with a worked example.
You give up real property you held for business or investment and receive other real property you will hold the same way. Since 2018 only real property qualifies. A duplex can be exchanged for land, a strip mall or a single-family rental, but not for a boat or equipment, and US property is not like-kind to property abroad.
You must identify the replacement in writing within 45 days of the sale and receive it within 180 days, or by your tax return due date with extensions if that comes first. Cash you take out, and debt that goes down without being replaced, is boot, taxed now up to the amount of your gain. Everything else is deferred, and you report the exchange on Form 8824 for the year of the sale.
If the property does not qualify, a deadline is missed or you control the money, the IRS treats the deal as an ordinary sale, so the gain, including the depreciation you claimed, is taxed in the year you sold. Getting some cash or non-like-kind property, such as furniture, does not sink the exchange: that part is boot and taxed now, and the rest stays deferred. Break the related party rule and the deferred gain is usually taxed later, in the year either side disposes of the property. An exchange set up to get around that rule is treated as a sale from the start.
| Rule | What it means for a landlord | Where it comes from |
|---|---|---|
| Real property only | Land and buildings qualify. Furniture, appliances and vehicles are not like-kind. If you receive them, their value counts as boot; if you give them up, they are treated as a separate sale and reported apart from the exchange on Form 8824. | IRC 1031(a), as changed by the Tax Cuts and Jobs Act for 2018 on |
| Held for business or investment | Both properties must be rentals, business property or investment land. Your home and a house you bought to flip do not qualify. | IRC 1031(a)(1) and (a)(2) |
| Like-kind | Almost any US real property is like-kind to any other US real property, improved or not. US and foreign property are never like-kind. | IRS like-kind exchange tax tips; IRC 1031(h) |
| 45 day identification | Name the replacement in a signed, written document delivered to the right party within 45 days of transferring the property you sell. | Form 8824 instructions; Reg. 1.1031(k)-1(c) |
| 180 day receipt | Receive the replacement within 180 days of the sale, or by your return due date with extensions if that is earlier. | Form 8824 instructions; Reg. 1.1031(k)-1(b) |
| No access to the money | If you control the sale proceeds while you wait to buy, you are treated as having received them and the exchange fails. A qualified intermediary holds them for you. Cash you take out of the deal at the end is boot, not a failure. | Reg. 1.1031(k)-1(f) and (g) |
| Related party limits | An exchange with a relative or a company you control loses its deferral if either side disposes of the property within 2 years. | IRC 1031(f); Form 8824 line 7 |
There is no fixed minimum time you have to own a rental before or after an exchange in the statute itself. What matters is the purpose you held it for, so a property bought and resold within weeks is easy for the IRS to call a property held for sale.
Both clocks start on the day you transfer the property you are selling, and both run at the same time. They are calendar days. A weekend or a holiday on day 45 does not move it to the Monday.
| You close the sale on | Identify replacement by (day 45) | Receive replacement by (day 180) |
|---|---|---|
| March 1, 2027 | April 15, 2027 | August 28, 2027 |
| November 1, 2026 | December 16, 2026 | April 30, 2027, but only if you extend your 2026 return. Without an extension the period ends when the return is due in April 2027. |
The second row is the trap. A sale late in the year has a 180 day window that runs past the April filing date, and the exchange period ends on whichever date comes first. Filing an extension keeps the full 180 days.
The identification has to be in writing, signed by you, and describe the property clearly: a legal description, a street address or a distinct building name. It goes to the person who will transfer the replacement to you, usually your qualified intermediary, or to the seller of the replacement. Telling your agent by phone is not an identification.
You can name more than one property as a backup, which is sensible when the deal you want might fall through. The regulations cap how many:
Break all three and you are treated as if you identified nothing, except for any property you had already received within the 45 days. Most small landlords name one target and one or two backups, which stays inside the 3-property rule without any value test.
Boot is anything you receive that is not like-kind real property. You recognize gain up to the amount of boot, and never more than your total gain. A loss on an exchange is not deductible. The three usual sources are:
The simple way to avoid boot: buy a replacement that costs at least as much as you sold for, put all the cash from the sale into it, and carry at least as much debt or add cash to cover the difference. Exchange expenses, meaning the costs of making the exchange such as the intermediary's fee, commissions, and title and recording fees, reduce the boot you report on Form 8824 line 15. Other items on the closing statement, such as prorated rent or property tax, security deposits and repairs, do not.
You bought a fourplex for $350,000 and have claimed $90,000 of depreciation, so your adjusted basis is $260,000. You sell it for $500,000 and pay off its $200,000 mortgage, which leaves $300,000 with your qualified intermediary. Your realized gain is $240,000. To keep the numbers simple, this ignores closing costs. In a real exchange, Form 8824 lets you use them to lower the boot or to lower the gain, but the same dollar cannot do both.
| Line | A: trade up, keep nothing | B: trade down, take $50,000 |
|---|---|---|
| Replacement price | $600,000 | $450,000 |
| New mortgage | $300,000 | $200,000 |
| Cash from the intermediary into the purchase | $300,000 | $250,000 |
| Cash paid to you (boot) | $0 | $50,000 |
| Debt relief boot (old loan minus new loan) | $0, debt went up | $0, debt stayed the same |
| Gain taxed this year | $0 | $50,000 |
| Gain deferred | $240,000 | $190,000 |
| Basis in the replacement (price minus deferred gain) | $360,000 | $260,000 |
Run your own numbers, with closing costs and a partial exchange, in the 1031 exchange calculator. For what the recapture part alone would cost on an outright sale, use the depreciation recapture calculator.
Section 1031 does not apply if the property you give up was used only as your personal residence. A home you lived in for at least 2 of the last 5 years may instead get the separate section 121 exclusion on some or all of the gain. A property used partly as your home and partly as a rental is split, with a separate Form 8824 worksheet for each part.
A second home you mostly use yourself is not held for investment. Revenue Procedure 2008-16 gives a safe harbor for a dwelling that meets rental and personal use tests during the 2 years before and after the exchange. If you rent a vacation property part of the year, check those tests with your preparer before you count on an exchange.
Real property held primarily for sale is excluded. A house bought to renovate and resell is inventory, not an investment, even if you rent it out for a few months while it is listed.
Related parties include your spouse, children, grandchildren, parents, grandparents, brothers and sisters, and companies, partnerships and trusts you are connected to. If you exchange with one of them and either of you disposes of the property within 2 years of the last transfer, the deferred gain becomes taxable in that year. Exceptions cover a death, an involuntary conversion, or a deal you can show had no tax avoidance purpose. You file Form 8824 for the year of the exchange and the 2 years after it. The 2 year wait does not save a deal built to get around the rule. If you buy the replacement from a relative through a qualified intermediary and the relative walks away with cash, the IRS says it is not a like-kind exchange at all, and you report the property you gave up as sold (Revenue Ruling 2002-83).
An exchange is not a fully taxable sale, so it does not release all of a property's losses suspended under the passive activity loss rules the way a taxable sale would. Those losses can still offset passive income under the usual rules, including any gain the exchange does tax, such as boot. Whatever is left carries forward.
Almost every rental exchange is a deferred exchange: you sell first and buy later. During the gap, the sale money cannot touch your bank account, or the IRS treats you as having received it. A qualified intermediary is the safe harbor that solves this. It signs an exchange agreement with you, receives the proceeds at closing, and uses them to buy the replacement on your behalf.
Your own agent, attorney, accountant or employee within the last 2 years usually cannot serve, because they count as disqualified persons. Set the intermediary up before the sale closes, not after. If an intermediary defaults through bankruptcy or receivership and you miss a deadline because of it, Revenue Procedure 2010-14 gives some relief, but it is far better to choose a bonded, well-established firm.
Form 8824 asks for the dates you transferred and identified property, the value of what you gave up and received, the debt on each side, any cash, your exchange expenses, and the adjusted basis of the property you gave up. That last number is the one people struggle to rebuild years later: the purchase price, the land value, every capital improvement, and every dollar of depreciation allowed or allowable.
SealedFolio keeps each property's purchase price, land value and depreciation schedule on your own computer, with depreciation to date and the remaining basis for every year. When you mark a property sold, depreciation stops in that month. It does not prepare Form 8824 or decide whether an exchange qualifies, because that depends on the deal documents and the rest of your return. It does give you and your preparer the property-level figures to start from, and the per-property Schedule E report for the year of the sale.
For the deductions that build those numbers, start with the 2026 rental property tax deductions guide. For how depreciation is set up in the first place, see rental property depreciation recovery periods, and SealedFolio's depreciation calculator for rental property shows how much has been claimed after any number of years.
Basis and depreciation for every property, kept on your computer
SealedFolio Pro is $19 a month or $179 a year for up to 3 properties. Portfolio is $39 a month or $297 a year for unlimited properties. Both are paid at checkout with a 30-day money-back guarantee.
See SealedFolio pricingThis guide explains general federal rules and is not tax advice. Exchanges are fact-specific and state treatment can differ; confirm your exchange with a tax professional and your qualified intermediary before you sell.
You must exchange real property held for business or investment for other real property held the same way. You identify the replacement property in writing within 45 days of selling, receive it within 180 days or by your tax return due date with extensions if that is earlier, and keep the sale money out of your hands, usually through a qualified intermediary. Any cash or other non-like-kind property you receive is boot, taxed now up to the amount of your gain.
No. Both periods are counted in calendar days from the day you transfer the property you are selling, and they run at the same time. Day 180 is 180 days after the sale, not 180 days after day 45.
Up to three properties of any value, or any number of properties whose combined value is no more than 200% of what you sold. If you identify more than both limits allow, the identification fails unless you actually receive at least 95% of the value of everything you identified.
It can be. If the debt paid off on the property you sell is larger than the debt on the property you buy, the difference is treated as boot unless you make it up with new debt or your own cash. Trading to a replacement that costs at least as much as you sold for, and reinvesting all the cash, avoids it.
No. SealedFolio keeps each property's purchase price, land value, depreciation to date and remaining basis on your own computer, which are the numbers the exchange starts from. The gain, boot and replacement basis are worked out on Form 8824 by you or your preparer, and our free 1031 exchange calculator gives a quick estimate.