
1031 Exchange for Rental Property: Deferring the Capital Gains Tax (2026)
Sam Tato · Landlord & Founder of Doortrackr
Published October 16, 2026·Last updated October 16, 2026·19 min read
Table of contents
- What is a 1031 exchange for rental property?
- Does a 1031 exchange eliminate the tax or just delay it?
- What are the 45-day and 180-day rules?
- What is a qualified intermediary and do you need one?
- What is boot, and why does it trigger tax?
- Does depreciation recapture go away in a 1031 exchange?
- What does the basis math actually look like? (worked example)
- When does a 1031 exchange NOT make sense?
- How do you report a 1031 exchange to the IRS?
- Frequently asked questions about 1031 exchanges for rental property
Quick answer: a 1031 exchange lets you sell a rental property and roll the proceeds into another investment property without paying capital gains tax that year. The gain is deferred, not forgiven. It travels into the replacement property's basis and comes due when you eventually sell that one, unless you exchange again or hold until death. To qualify, you must identify a replacement within 45 days of the sale, close on it within 180 days, and never touch the money in between. A qualified intermediary holds the funds. Miss any of those rules and the whole thing is a taxable sale.
I have never done a 1031 exchange, and if I am honest, the main reason is not the tax math. It is the clock. I do not like being time pressured, and a 1031 is a 45-day deadline sitting on top of the biggest financial transaction a small landlord makes. The only version I would consider is one where I already had the next property in mind, or a solid enough lead pipeline that I was confident the right one would show up. Selling first and shopping under deadline sounds like a way to buy a bad property with extra steps.
I have thought about selling my duplex exactly once, for about ten minutes, right after a tenant called about a furnace at 9 PM on a Tuesday. What stopped me that night was the tax bill. The capital gains guide walks through what selling actually costs: depreciation recapture at up to 25%, long-term gains at 0/15/20%, and the 3.8% NIIT if your income clears the threshold. A 1031 exchange is the legal way to say "not yet" to all of it.
This is the companion guide. The other post covers what you owe when you sell. This one covers how to not owe it yet. The year-round recordkeeping that makes any of this provable is in the guide to tracking rental income and expenses.
What is a 1031 exchange for rental property?
A 1031 exchange (named for Section 1031 of the tax code) is a swap: you sell one investment property and buy another, and the IRS treats it as a continuation of the same investment rather than a sale. No gain is recognized. No tax is due that year. The catch is that the gain does not disappear. It moves into the new property's basis, so when you eventually sell that one, the deferred gain is still sitting there waiting.
The IRS is blunt about this in Fact Sheet FS-2008-18: "Gain deferred in a like-kind exchange under IRC Section 1031 is tax-deferred, but it is not tax-free." That sentence is the whole article in eleven words. Everything else is the rules for keeping the deferral.
Does a 1031 exchange eliminate the tax or just delay it?
Delay it. This is the single most misunderstood thing about 1031 exchanges, and the misunderstanding costs people money.
When you exchange, your adjusted basis from the old property carries over to the new one. Per IRS Publication 544 and Publication 551, the basis of the replacement property is generally the basis of the property you gave up, adjusted for any additional money you put in or cash you took out. So if you bought a rental for $134,000, claimed $30,000 of depreciation, and your adjusted basis is now $104,000, that $104,000 follows you into the replacement property. If the replacement costs $250,000, your basis in it is roughly $104,000 plus the $146,000 of new money, not a fresh $250,000.
That means two things. First, your depreciation deduction on the new property is smaller than it would be if you had just bought it outright (lower basis, less to depreciate). Second, when you eventually sell the replacement without exchanging again, all the deferred gain from the first property comes due on top of whatever the second property gained on its own. You have not saved the tax. You have postponed it, and in the meantime you had the full proceeds working for you instead of the IRS holding a chunk.
The endgame that makes this powerful: if you hold until death, your heirs get a stepped-up basis to fair market value. The deferred gain dies with you. That is a morbid sentence, but it is the actual strategy behind "exchange until you die," and it is why some landlords never sell.
What are the 45-day and 180-day rules?
These are the two deadlines that make or break the exchange, and they are absolute. Per the Form 8824 instructions:
45 days to identify. From the day you transfer the relinquished property, you have 45 calendar days to identify potential replacement properties in writing. The identification must be signed by you and delivered to the qualified intermediary (or another party to the exchange who is not your agent). You can identify up to three properties regardless of value (the "three-property rule"), or more if their combined value stays under 200% of the relinquished property's value. Miss the 45-day window and the exchange fails entirely.
180 days to close. From the same start date, you have 180 calendar days (or until your tax return due date, including extensions, whichever comes first) to actually close on the replacement property. The property you close on must be substantially the same as what you identified. Miss the 180-day window and the exchange fails.
Both clocks start on the same day and run at the same time. Day 1 is the day you close the sale of your old property. By day 45 you need a signed, specific identification of what you are buying. By day 180 you need to own it. There are no extensions for "I could not find anything" or "the seller backed out" or "the inspection went badly." The IRS does not care about your timeline problems. A presidentially declared disaster is roughly the only thing that moves these dates.
The 45-day window is the one that actually kills exchanges. Six weeks to find a property, run the numbers, and commit in writing is not a lot of time, especially in a market where good rentals move in days. Landlords who do this well start shopping before they sell. Landlords who do it badly spend day 44 panic-identifying a property they do not want, which is how you end up trading a duplex you understood for a fourplex you do not.
What is a qualified intermediary and do you need one?
Yes, you need one. In a deferred exchange (which is what nearly every 1031 is, since simultaneous swaps are rare), you cannot touch the sale proceeds. Not deposit them, not hold them in escrow yourself, not route them through your account for even a day. Per the IRS FAQ on like-kind exchanges, taking "actual or constructive receipt" of the proceeds disqualifies the exchange and makes the entire gain immediately taxable.
A qualified intermediary (QI) is a third party who holds the money between the sale and the purchase. They receive the proceeds when your old property closes, hold them while you identify and close on the replacement, and transfer the funds to buy the new property. You never see the cash. The QI prepares the exchange documents and keeps you on the right side of the receipt rule.
QI fees typically run $600 to $1,500 for a standard deferred exchange, plus $300 to $500 per additional property. That is real money, and it is one of the reasons a 1031 makes less sense at small scale. If your total tax deferral is $8,000, a $1,000 QI fee is a meaningful haircut. If your deferral is $80,000, it is a rounding error. The math changes completely based on how much gain you are deferring, which is why the "should I even do this" question matters more than the mechanics.
One more rule: your QI cannot be your agent. Your attorney, your CPA, your real estate agent, or anyone who has acted as your agent in the past two years is a "disqualified person" per the Form 8824 instructions. You need an independent third party.
What is boot, and why does it trigger tax?
Boot is anything you receive in the exchange that is not like-kind real property. Cash is the obvious one. But boot also includes debt relief: if the mortgage on your replacement property is smaller than the mortgage on the one you sold, the IRS treats the difference as boot, per 26 USC 1031 and Publication 544.
Boot is taxable in the year of the exchange, up to the amount of your total gain. So if you sell a rental for $220,000, exchange into a $180,000 property, and pocket $40,000 in cash, that $40,000 is boot and it is taxable. The remaining gain is still deferred, but you just created a tax bill on the portion you took out.
The temptation is real. You sell a rental, the QI is holding $90,000, and you think "I could just take $15,000 for the kitchen the new place needs." That $15,000 is boot. It is taxable. And if the amount of boot equals or exceeds your total gain, you have converted the entire exchange into a taxable sale while paying a QI fee for the privilege.
The cleanest exchange is one where the replacement property costs at least as much as the one you sold and carries at least as much debt. Equal or up, no cash out, no boot. Anything less and you are doing partial deferral math on Form 8824, which is the kind of sentence that should tell you to call your CPA first.
Does depreciation recapture go away in a 1031 exchange?
No. It defers along with everything else, and this is the part that matters most for landlords.
The capital gains guide covers the recapture stack in detail: all the depreciation you claimed (or could have claimed) comes back as unrecaptured Section 1250 gain at a maximum rate of 25% when you sell. A 1031 exchange defers that recapture into the replacement property's basis, just like it defers the capital gain. It does not eliminate it. When you eventually sell the replacement without exchanging, the recapture character of the original depreciation is still baked into your basis.
This matters because it means the exchange decision is not "pay 25% recapture now or never pay it." It is "pay 25% recapture now or pay it later, on a bigger number, if the property keeps appreciating." The deferral is still worth it for most landlords who plan to hold long-term, because the time value of that deferred tax working for you in the new property compounds. But go in with open eyes: you are carrying the recapture forward, not erasing it.
What does the basis math actually look like? (worked example)
Using my own duplex as the example, because the numbers are real and the situation is one a lot of small landlords will recognize.
What I actually spent (real numbers): purchase price $134,000, closing costs about $4,500, roughly $20,000 in capital improvements over the years (a roof, a furnace, the kind of work that has to be capitalized). Original basis: $158,500.
What I have to invent (I have not sold): say I have claimed $30,000 of depreciation, so my adjusted basis is $128,500. Say I sell for $220,000 with $13,000 in selling costs, so the amount realized is $207,000 and the total gain is $78,500.
Full honesty on that $30,000: it is a stand-in. If you asked me for my actual adjusted basis today, I would be digging through past tax returns to reconstruct it. That is exactly the problem this section is about.
Now the exchange. Instead of paying the tax stack from the capital gains guide (roughly $15,000 to $18,000 federal, depending on NIIT), I exchange into a $250,000 rental. The QI holds the $207,000. I add $43,000 of new money (or new financing) to close the gap.
My basis in the new property: the $128,500 adjusted basis from the duplex carries over, plus the $43,000 of new money, so roughly $171,500. Not $250,000. My annual depreciation deduction on the new place is based on $171,500, not the purchase price. And the $78,500 gain from the duplex is still in there, deferred, waiting.
If I sell that second property years later for $300,000 without exchanging, the taxable gain is not just the $50,000 the new property appreciated. It is the $78,500 deferred from the duplex plus the $50,000, minus whatever additional depreciation I claim on the new place. The bill compounds. That is the trade.
The recordkeeping point nobody makes: every number in that example depends on records. The $134,000 purchase, the $4,500 closing costs, the $20,000 in improvements, the depreciation year by year. If you cannot prove the improvements, your basis is lower and your deferred gain is higher. If you cannot prove the depreciation, the IRS computes it as "allowed or allowable" anyway and you get the worst of both. The Schedule E expense categories guide covers how the annual tracking works. The reason it matters here is that a 1031 exchange turns your adjusted basis into the single most important number in the transaction, and that number is only as good as the years of records behind it. A shoebox does not survive a 1031. A system that files every receipt to the property and job in 30 seconds does.
When does a 1031 exchange NOT make sense?
Four situations where the honest answer is "skip it."
Your gain is small enough that the QI fee eats the benefit. If you are deferring $5,000 in tax and the QI costs $1,200, you are paying 24% of the benefit for the privilege. At that point, selling outright and paying the tax might be the cleaner move, especially if you want the stepped-up basis reset on the new purchase.
You cannot find a replacement you actually want. The 45-day clock does not care about your standards. If the market is thin and the only properties available are ones you would not buy without a deadline, you are about to trade a property you understand for one you settled on under pressure. That is not a tax strategy. That is a bad purchase with extra steps. The version of this I would consider doing is the one where the next property is already in mind, or the lead pipeline is strong enough that the 45 days is a formality. Selling first and hoping is not a plan.
You want the cash. A 1031 defers the tax but locks the equity into real estate. If you are selling because you want out of landlording, or because you need the money for something else, the exchange does not help. It is a tool for staying in the game, not leaving it.
Your records are a mess. This is the one nobody talks about, and I will put my own name on it: if someone asked me for my adjusted basis today, producing it would be a forensic project through my past tax returns. The entire exchange rests on that number, and that number rests on years of depreciation records, improvement receipts, and closing documents. If those records live in a shoebox or a spreadsheet you stopped updating in 2024, the QI cannot help you. The exchange will still work mechanically, but you will be guessing at the basis, and guessing at a number the IRS can audit is a bad plan. Fix the books first, then think about exchanging. If you are earlier in the landlord journey and still setting up the systems, the first-90-days guide covers the recordkeeping habits that pay off here.
How do you report a 1031 exchange to the IRS?
On Form 8824, filed with your tax return for the year of the exchange. Even if you recognized no gain at all, you must report the exchange. The form figures the deferred gain, any recognized gain (if you received boot), and the basis of the replacement property.
The form asks for the dates (when you transferred, when you identified, when you received the replacement), the properties (legal description or address), the financial details (amount realized, adjusted basis, gain), and whether any related parties were involved. If you received any boot, Part III figures the taxable portion.
This is not a form to wing. The Form 8824 instructions are dense, and the basis calculations carry forward into every future year you own the replacement property. The annual side of the books that feeds into all of this is in the Schedule E plain-English guide. A CPA who has done 1031 reporting before is worth the fee in the year you exchange, the same way they are worth it in the year you sell.
Frequently asked questions about 1031 exchanges for rental property
Can you do a 1031 exchange on a rental property?
Yes. Rental property held for investment or business use qualifies for 1031 treatment. Per 26 USC 1031, the exchange must be real property held for productive use in a trade or business or for investment, exchanged for other real property held for the same purposes. A rental house, a duplex, an apartment building, or even vacant land held for investment all qualify. Your primary residence does not.
Is a 1031 exchange only for big landlords?
No. Anything that helps you keep more of your money working helps at any scale, and the right choices early in your investing matter the most because those choices compound. The scale question is about the fee math, not eligibility: a QI fee of $1,000 is a bigger relative cost when you are deferring $8,000 than when you are deferring $80,000. Run the numbers for your actual gain before deciding.
What is the 45-day rule in a 1031 exchange?
You have 45 calendar days from the date you transfer the relinquished property to identify potential replacement properties in writing. The identification must be signed, specific (legal description, street address, or distinguishable name), and delivered to the qualified intermediary or another party to the exchange who is not your agent. Per the Form 8824 instructions, missing the 45-day window disqualifies the exchange.
What is the 180-day rule in a 1031 exchange?
You have 180 calendar days from the date you transfer the relinquished property to close on the replacement property, or until the due date of your tax return (including extensions) for that year, whichever is earlier. The replacement property must be substantially the same as what you identified within the 45-day window. Per IRS Fact Sheet FS-2008-18, these deadlines are absolute and cannot be extended except for presidentially declared disasters.
Do you need a qualified intermediary for a 1031 exchange?
Yes, for a deferred exchange. You cannot take actual or constructive receipt of the sale proceeds. A qualified intermediary holds the funds between the sale and the purchase. Per the IRS FAQ, using a QI is the standard safe harbor for avoiding constructive receipt. The QI cannot be your attorney, CPA, real estate agent, or anyone who has acted as your agent in the past two years.
Does a 1031 exchange avoid depreciation recapture?
It defers the recapture, along with the rest of the gain, into the replacement property's basis. It does not eliminate it. Per IRS Publication 544, the deferred gain (including the recapture character) carries over. When you eventually sell the replacement property without exchanging, the deferred depreciation recapture comes due. The capital gains guide covers the recapture stack in detail.
What happens if a 1031 exchange fails?
If you miss the 45-day identification window or the 180-day closing window, or if you take receipt of the proceeds at any point, the exchange fails and the transaction is treated as a taxable sale. The entire gain (depreciation recapture plus capital gain) is recognized in the year of the original sale. Per the Form 8824 instructions, you would report the disposition as a sale on Form 4797 and Schedule D, and the QI fee you paid is a sunk cost.
Tax disclosure: this article is general education, not tax advice, and your situation has facts (holding period, state, entity structure, improvement history, income, timing) that change the answer. Every rule above links to the IRS source so you can verify it, and a CPA who can see your actual numbers is worth the fee in the year you exchange. Figures verified against IRS publications and the 2026 Form 8824 instructions in October 2026.
Keep your expenses organized all year — not just at tax time.
Try Doortrackr free.
Sign up free