1031 Exchange Calculator
Planning a like-kind exchange? Enter your relinquished and replacement property details to see how much capital gains tax you can defer, whether you'll owe tax on boot, and your critical 45-day and 180-day deadlines.
Commissions, closing costs, etc.
Original cost + improvements - depreciation
Total depreciation claimed
Remaining balance on current property
Beyond exchange proceeds
Date of relinquished property sale
IRS 1031 exchange rules for 2025 and 2026
The like-kind exchange rules in IRC §1031 have been stable since the Tax Cuts and Jobs Act rewrote them for exchanges completed after December 31, 2017. That rewrite (TCJA §13303) is permanent law — unlike many individual TCJA provisions, the real-property-only limitation has no sunset date, and the 2025 OBBBA left §1031 untouched. There is also no dollar cap on how much gain a single exchange can defer.
Real property only (post-TCJA)
Only real property held for investment or for productive use in a trade or business qualifies. Rental homes, apartment and commercial buildings, raw land, easements, and long-term leaseholds are in. Personal property (vehicles, equipment, aircraft, art, crypto), dealer inventory such as fix-and-flips, stocks, bonds, and partnership interests are out. US real property is never like-kind to foreign real property (IRC §1031(h)).
"Like-kind" is broad for real estate
Like-kind refers to the nature of the property, not its grade or quality (Treas. Reg. §1.1031(a)-1(b)). Any qualifying US real property is like-kind to any other: you can swap raw land for an apartment building, a single rental condo for a strip mall, or a farm for an office — improved versus unimproved does not matter. What matters is that both ends are real property held for investment or business use.
Qualified intermediary requirement
In a deferred exchange you may never take possession of the sale proceeds. A qualified intermediary (QI) under the Treas. Reg. §1.1031(k)-1(g)(4) safe harbor must hold the funds between closings; if cash passes through your hands or your agent's, the IRS treats it as constructive receipt and the whole transaction becomes a taxable sale. Your attorney, CPA, broker, or employee is a “disqualified person” and cannot serve as your QI.
Same-taxpayer rule
The taxpayer that sells the relinquished property must be the same taxpayer that acquires the replacement. Selling personally and buying through your multi-member LLC (or vice versa) breaks the exchange. Disregarded entities are the safe exception: a single-member LLC or revocable living trust is treated as its owner for tax purposes, so title can sit with your disregarded entity on either end without ending the exchange.
The 45-day and 180-day deadline timeline
Both clocks start on the same day — the closing of your relinquished property sale — and run concurrently in calendar days (IRC §1031(a)(3); Form 8824 instructions). Weekends and holidays count, and neither deadline moves if it lands on one. The IRS only extends these dates through formal disaster-relief notices.
| Day | Milestone | What must happen |
|---|---|---|
| 0 | Relinquished property closes | Sale closes; your qualified intermediary receives the proceeds. Both deadline clocks start today. |
| 45 | Identification deadline | Replacement property must be identified in a signed writing, unambiguously described (street address or legal description), and delivered to the QI by midnight. |
| 180 | Exchange period ends | You must have received (closed on) the replacement property — or by your tax return due date for the year of sale, whichever is earlier. |
The return-due-date trap: for a fourth-quarter sale, the 180-day period can run past the April filing deadline. Because the exchange period ends at the earlier of 180 days or your return due date, you must file an extension (Form 4868) to keep the full window.
The three identification rules
Within the 45-day window you may identify more than one candidate property, but only under one of three alternative limits set by Treas. Reg. §1.1031(k)-1(c)(4):
| Rule | Limit | When it's used |
|---|---|---|
| 3-property rule | Up to 3 properties of any combined value | The default for most exchanges — a first choice plus backups, with no value math. |
| 200% rule | Any number of properties, if their combined fair market value is no more than 200% of the relinquished property's sale price | Diversifying one large sale into several smaller replacements. |
| 95% rule | Any number and any value — but only if you actually acquire at least 95% of the total identified value | Rarely used fallback for identifying a portfolio you genuinely intend to buy nearly all of. |
Boot and dollar-for-dollar gain recognition
Receiving boot — anything of value that is not like-kind real property — does not blow up an exchange; it makes part of the gain taxable under IRC §1031(b). Gain recognition is dollar for dollar: each dollar of boot recognizes one dollar of realized gain, capped at the total realized gain. The formula is recognized gain = min(total boot, realized gain). To defer everything, buy replacement property of equal or greater value, reinvest all net proceeds, and take on equal or greater debt (or replace reduced debt with fresh cash).
The three scenarios below were computed with the same engine that powers the calculator above, all at the 15% long-term capital gains rate:
| Line | A — full deferral | B — cash boot | C — debt-relief boot |
|---|---|---|---|
| Sale price (relinquished) | $500,000 | $500,000 | $600,000 |
| Selling costs | $30,000 | $0 | $0 |
| Adjusted basis | $280,000 | $300,000 | $350,000 |
| Old mortgage paid off | $150,000 | $200,000 | $300,000 |
| Replacement purchase price | $650,000 | $420,000 | $520,000 |
| New mortgage | $330,000 | $200,000 | $220,000 |
| Realized gain | $190,000 | $200,000 | $250,000 |
| Cash boot | $0 | $80,000 | $0 |
| Mortgage (debt-relief) boot | $0 | $0 | $80,000 |
| Recognized (taxable) gain | $0 | $80,000 | $80,000 |
| Deferred gain | $190,000 | $120,000 | $170,000 |
| Tax due now (25% recapture + 15% LTCG) | $0 | $18,000 | $19,000 |
| Tax on an outright sale (no exchange) | $36,500 | $36,000 | $44,500 |
| New basis of replacement | $460,000 | $300,000 | $350,000 |
Example A — full deferral. The investor trades up: the $650,000 replacement costs more than the $470,000 realized on the sale, every dollar of equity is reinvested, and the new $330,000 mortgage exceeds the $150,000 paid off. No boot, so the entire $190,000 gain is deferred and $36,500 of tax that an outright sale would trigger stays invested. The trade-off: the replacement's basis is $460,000, not its $650,000 price.
Example B — cash boot. Selling for $500,000 but buying a $420,000 replacement leaves $80,000 of proceeds in the investor's pocket. Dollar for dollar, that recognizes $80,000 of the $200,000 gain. Because recognized gain is treated first as unrecaptured §1250 gain, $60,000 is taxed at 25% and the remaining $20,000 at 15% — $18,000 due now, while $120,000 of gain remains deferred.
Example C — mortgage boot without touching a dollar. Here the investor reinvests all cash but replaces a $300,000 loan with only a $220,000 loan. The $80,000 of net debt relief is boot even though no cash was pocketed, recognizing $80,000 of gain and costing $19,000 now. The fix is in the regulations (Treas. Reg. §1.1031(b)-1(c)): debt relief can be offset by adding fresh cash to the purchase — contributing $80,000 of new cash here would have made this a full deferral. Cash boot received, by contrast, can never be offset by taking on extra debt.
How 1031 interacts with depreciation recapture
Every year of depreciation on a rental builds up a future recapture bill: on sale, gain attributable to straight-line depreciation is taxed as unrecaptured §1250 gain at up to 25% instead of the 0%, 15%, or 20% capital gains rates. A 1031 exchange defers that recapture layer along with the rest of the gain — but it also carries the old property's depreciation history into the replacement through the reduced basis, so the recapture bill keeps compounding across successive exchanges. Use the depreciation recapture calculator to size the 25% layer on an outright sale, and the capital gains tax calculator for the rate that applies above it. If the property was ever your home, the home sale capital gains calculator handles the Section 121 exclusion — and the Section 121 vs 1031 comparison covers conversions where both provisions can apply to one sale. Serial exchangers often plan to hold until death: heirs receive a stepped-up basis under IRC §1014, which erases the deferred gain and the accumulated recapture entirely.
Related-party exchanges and holding periods
IRC §1031(f) polices exchanges between related parties — family members and entities under more than 50% common ownership as defined in §§267(b) and 707(b). If you swap with a related party, both of you must hold the received properties for at least 2 years. A disposition by either party within 2 years retroactively triggers the deferred gain in the year of that disposition, and Form 8824 must be filed for each of the 2 years following the exchange. Statutory exceptions cover death, compulsory or involuntary conversions under §1033, and exchanges the taxpayer can show were not structured for tax avoidance. The classic foot-fault is buying your replacement property from a related seller who takes cash and walks away — §1031(f)(4) catches that basis-shifting pattern even when a qualified intermediary sits in the middle.
For unrelated-party exchanges there is no fixed statutory holding period, but intent matters: both properties must be held for investment or business use, and a property bought or sold too quickly invites the argument that it was held for resale. Practitioners commonly point to the 2-year related-party standard, and to Rev. Proc. 2008-16's safe harbor for rental use of vacation homes, as reference points. One friendly rule: under IRC §1223(1) the replacement property tacks on the relinquished property's holding period, so it is immediately long-term if the old property was.
Frequently asked questions
What is a 1031 exchange?
A 1031 exchange (also called a like-kind exchange) allows real estate investors to defer capital gains taxes when selling an investment property by reinvesting the proceeds into a similar "like-kind" property. Under IRC Section 1031, the gain is deferred rather than eliminated — it reduces the basis of the replacement property, so the tax comes due when you eventually sell without exchanging.
What property qualifies for a 1031 exchange in 2025 and 2026?
Since the Tax Cuts and Jobs Act (TCJA §13303) took effect for exchanges after December 31, 2017, only real property held for investment or business use qualifies — and that limitation is permanent law, not a temporary provision that sunsets. Rental houses, apartment buildings, commercial buildings, raw land, and certain long-term leaseholds all qualify. Personal residences, fix-and-flip inventory, stocks, bonds, partnership interests, and all personal property (vehicles, equipment, aircraft, franchises) do not. US real property is also never like-kind to foreign real property under IRC §1031(h).
What are the 1031 exchange deadlines?
Two deadlines run concurrently from the day you close the sale of the relinquished property (IRC §1031(a)(3)): (1) the 45-day identification period — you must identify replacement property in a signed writing delivered to your qualified intermediary within 45 calendar days; and (2) the 180-day exchange period — you must receive the replacement property within 180 calendar days, or by the due date (including extensions) of your tax return for the year of the sale, whichever comes first. Both counts include weekends and holidays and are not extended when they land on one.
What is 'boot' in a 1031 exchange?
Boot is any value you receive in the exchange that is not like-kind real property. The two common forms are cash boot (sale proceeds you keep instead of reinvesting) and mortgage boot (net debt relief — your old loan payoff exceeds the new loan plus any fresh cash you contribute). Boot does not disqualify the exchange; it makes part of the gain taxable. In our cash-boot example, selling for $500,000 and buying a $420,000 replacement leaves $80,000 of boot, so $80,000 of the $200,000 gain is recognized and $120,000 stays deferred.
What is dollar-for-dollar gain recognition?
"Dollar for dollar" describes how boot converts deferred gain into taxable gain under IRC §1031(b): every dollar of boot you receive causes one dollar of your realized gain to be recognized (taxed now), until the boot equals the full realized gain. The formula is recognized gain = the lesser of total boot or total realized gain. Receiving $80,000 of boot against a $200,000 realized gain recognizes exactly $80,000; boot beyond the realized gain would be a return of capital, not extra taxable gain.
Do I need a qualified intermediary?
Effectively yes, for any deferred (non-simultaneous) exchange. If you or your agent touch the sale proceeds — even briefly — the IRS treats you as being in constructive receipt of cash, and the transaction becomes a taxable sale (Treas. Reg. §1.1031(k)-1(f)). A qualified intermediary (QI) under the §1.1031(k)-1(g)(4) safe harbor holds the proceeds between closings and acquires and transfers the properties on paper. Your QI cannot be a "disqualified person": your attorney, accountant, real estate agent, employee, or someone who acted as your agent within the prior two years.
How is depreciation recapture taxed in a 1031 exchange?
In a full deferral (no boot), depreciation recapture is deferred along with the rest of the gain. If boot causes gain to be recognized, the recognized gain is treated first as unrecaptured Section 1250 gain, taxed at up to 25% (to the extent of the depreciation you claimed), and any recognized gain above that layer is taxed at your long-term capital gains rate (0%, 15%, or 20%). In our debt-relief example, $80,000 of recognized gain splits into $70,000 taxed at 25% and $10,000 at the capital gains rate — $19,000 due now versus $44,500 on an outright sale.
What is the new basis of the replacement property?
The replacement property's basis equals its purchase price minus the gain you deferred (IRC §1031(d)). In the full-deferral example, a $650,000 replacement carrying $190,000 of deferred gain starts with a basis of $460,000, not $650,000. That lower basis means smaller depreciation deductions going forward and a larger taxable gain when you eventually sell without another exchange — the deferred gain rides along inside the reduced basis.
Can I do a 1031 exchange on my primary residence?
No. Section 1031 only applies to property held for productive use in a trade or business, or for investment — your home is neither. Primary residences get their own break: the Section 121 home-sale exclusion. If you convert a rental into your residence, or a residence into a rental, the two provisions can interact (Rev. Proc. 2005-14 allows applying §121 and §1031 to the same sale in some conversions). Our Section 121 vs 1031 comparison tool walks through that decision.
What is the related-party 2-year rule?
If you exchange with a related party (family members, or entities under more than 50% common ownership per IRC §267(b)/§707(b)), IRC §1031(f) requires BOTH parties to hold their received properties for at least 2 years after the exchange. If either side disposes of its property within 2 years, the originally deferred gain becomes taxable in the year of that disposition. Exceptions apply for death, involuntary conversions, and transactions the IRS accepts as not tax-avoidance motivated. Buying replacement property FROM a related party who cashes out is the classic trap the rule targets.
Sources
Key Tax Terms
Cost Basis
The original purchase price of an asset (plus adjustments like commissions and reinvested dividends), used to calculate capital gain or loss when you sell.
Capital Gains
The profit from selling a capital asset (stocks, real estate, etc.) for more than its purchase price. Capital gains are classified as short-term or long-term based on holding period.
Long-Term Capital Gains
Profits from selling assets held for more than one year, taxed at preferential rates of 0%, 15%, or 20% depending on your taxable income.
Depreciation
A tax deduction that spreads the cost of a business asset over its useful life. Section 179 and bonus depreciation may allow full first-year expensing for qualifying assets.
Related Calculators
Depreciation Recapture Calculator
Section 1245 ordinary-rate and Section 1250 25%-capped recapture, LTCG + NIIT on rental or equipment sales
Capital Gains Tax Calculator
LTCG 0/15/20% rates + 3.8% NIIT based on income brackets
Capital Gains Tax on Home Sale
Section 121 $250k/$500k exclusion, partial exclusion, depreciation recapture, LTCG + NIIT
Rental Income Tax
Depreciation, passive loss rules, capital gains on sale
Section 121 vs 1031 Exchange
Home-sale exclusion ($250k/$500k permanent) vs investment-property deferral (45/180-day rules) — combined-strategy worked example