1031 Exchange Calculator: Capital Gains Tax Deferral & Boot
Estimate the capital gains and depreciation recapture tax a like-kind exchange lets you defer, check whether your replacement property avoids taxable boot, and see your 45-day identification and 180-day closing deadlines.
By Suhaib Hassan · Updated · How we verify formulas
—
With 1031 exchange
Taxable sale
—
45 days to identify replacements in writing
180 days to close (or your tax return due date, if earlier)
Taxable Sale vs 1031 Exchange
Side-by-side reconciliation of gain, tax and cash to reinvest.
| Item | Taxable Sale | 1031 Exchange | Difference |
|---|
The Three Identification Rules
- Three-property rule: identify up to three potential replacements of any value.
- 200% rule: identify any number, as long as their total value is no more than 200% of the relinquished property's value ($1,700,000 here).
- 95% rule: if you exceed both, you must actually acquire at least 95% of the total value you identified.
Cash Boot & Mortgage Boot
Cash boot is sale proceeds you don't reinvest — including money you receive directly rather than through the qualified intermediary. Mortgage boot arises when your new debt is less than the debt paid off, unless you make up the difference with additional cash. Boot is taxable up to the amount of your gain.
How this 1031 exchange calculator works
Adjusted basis = purchase price + improvements − depreciation. Realized gain = sale price − selling costs − adjusted basis. In a taxable sale, gain up to the depreciation taken is taxed as recapture (up to 25%), the rest at the long-term capital gains rate, plus the 3.8% net investment income tax if it applies and your state's rate.
In an exchange, only boot is taxed: cash boot = net equity − cash put into the replacement; mortgage boot = old debt − new debt − any extra cash added. The recognized gain is the smaller of total boot and the realized gain; the rest is deferred and carried into the replacement property's basis.
By Suhaib Hassan · Formula verified 27 Sep 2026; deadlines, qualifying property and reporting rules re-checked 16 Oct 2026 against IRC §1031 and the IRS Form 8824 instructions · How CalculatePilot verifies formulas →
What property qualifies for a 1031 exchange?
- Real property only. Since 1 January 2018, Section 1031 covers only real property. Equipment, vehicles, artwork, collectibles and intellectual property no longer qualify.
- Held for investment or business use. Rentals, land, commercial buildings and similar property can qualify. Property held primarily for sale, such as a flip, does not.
- Like-kind is broad for real estate. Improved and unimproved real property are generally like-kind to each other, so you can swap a rental house for land or a commercial building.
- U.S. and foreign property do not mix. U.S. real property is not like-kind to real property outside the United States.
How a delayed 1031 exchange works, step by step
- Hire a qualified intermediary (QI) before you close the sale. The sale proceeds must go to the QI, not to you. Receiving the money yourself can disqualify the exchange or make it taxable boot.
- Close the sale of the relinquished property. This starts both clocks.
- Day 45: identify replacement properties in a signed written notice sent to the QI or another party to the exchange.
- The earlier of day 180 or your tax return due date (including extensions): receive the replacement property. Filing an extension can matter here, so ask your adviser if a sale closes late in the year.
- Report the exchange on Form 8824 with your return for the year you transferred the property.
Your agents, such as your attorney, accountant or broker, and related parties cannot act as your qualified intermediary. If the QI fails to meet a timing rule, the gain may be taxable in the year of the sale.
Reverse and improvement exchanges
In a reverse exchange you buy the replacement property first. To keep it eligible, an exchange accommodation titleholder (EAT) holds title under a qualified exchange accommodation arrangement (Rev. Proc. 2000-37 as modified by Rev. Proc. 2004-51). The same 45-day and 180-day clocks apply, and the arrangement is typically more complex and costly than a standard delayed exchange, so plan it with your intermediary and tax adviser before buying.
Related-party exchanges and the 2-year rule
If you or a related party sells the property received in the exchange within 2 years of the last transfer, the deferred gain is generally reported in the year of that sale. Exceptions include death, involuntary conversion, and cases without a tax-avoidance purpose. Related-party exchanges also require Form 8824 for the two following years.
Vacation homes and rentals
A vacation home qualifies only if it is genuinely held for investment or business use. The IRS safe harbor in Rev. Proc. 2008-16 asks that the property be owned at least 24 months before the exchange (and 24 months after, for the replacement). In each of the two 12-month periods, it must be rented at a fair rental for at least 14 days, and your personal use must not exceed the greater of 14 days or 10% of the days rented. A main home does not qualify for a 1031 exchange at all.
Worked example with the calculator defaults
You bought a rental for $400,000, added $50,000 of improvements, claimed $110,000 of depreciation, and sell for $850,000 with $55,250 of costs and a $220,000 mortgage payoff. Your adjusted basis is $340,000 and your realized gain is $454,750.
| Item | Taxable sale | 1031 exchange |
|---|---|---|
| Depreciation recapture (25%) | $27,500 | $0 |
| Federal capital gains (20%) | $68,950 | $0 |
| Net investment income tax (3.8%) | $17,281 | $0 |
| State tax (9.3%) | $42,292 | $0 |
| Total tax now | $156,022 | $0 |
Buying a $950,000 replacement with a $320,000 mortgage replaces the old debt and reinvests all $574,750 of net equity, so there is no boot. The deferred $454,750 gain lowers the replacement basis to $495,250. If you instead bought a $700,000 property with a $100,000 mortgage, the debt drop would leave about $94,750 of mortgage boot taxable now.
What happens to the deferred gain?
The tax is deferred, not forgiven. It is built into the replacement property's lower basis, so depreciation deductions are lower too. You can exchange again and keep deferring. If you sell outright, the deferred gain is taxed then. If you hold until death, heirs generally receive a stepped-up basis, which can eliminate the deferred gain.
Planning an exchange? Read the 45-day and 180-day rules explained, with a deadline checklist.
Key takeaways
- A 1031 exchange defers capital gains and depreciation recapture tax on real property held for investment or business use. It does not eliminate them.
- Hire a qualified intermediary before closing. Identify replacements within 45 days and close within 180 days, or by your tax return due date if earlier.
- Only boot is taxed. Reinvest all net equity and replace the debt to defer the full gain.
- Deferred gains lower the replacement property's basis. Report the exchange on Form 8824.
Frequently asked questions
What is a 1031 exchange?
A 1031 exchange lets you sell real property held for investment or business use and buy another like-kind property while deferring the capital gains and depreciation recapture tax, under Section 1031 of the Internal Revenue Code.
What is boot in a 1031 exchange?
Boot is any value you receive that isn't like-kind property — cash you take out, or a reduction in mortgage debt that you don't offset with added cash. Boot is taxable up to the amount of your realized gain.
What are the 45-day and 180-day deadlines?
You must identify potential replacement properties in writing within 45 days of selling the relinquished property, and complete the purchase within 180 days of the sale or by your tax return due date (including extensions), whichever comes first.
Does a 1031 exchange eliminate the tax?
No, it defers it. The deferred gain reduces the basis of the replacement property and becomes taxable when you eventually sell without exchanging again — although heirs may receive a stepped-up basis.
Can I use a 1031 exchange on my home?
Not on a main home. Section 1031 applies to real property held for investment or used in a business. A main home may instead qualify for the Section 121 exclusion of up to $250,000 of gain ($500,000 married filing jointly).
Do I need a qualified intermediary for a 1031 exchange?
For a delayed exchange, yes in practice. The sale proceeds must be held by a qualified intermediary so you never have access to the cash. Your own agents, such as your attorney, accountant or broker, and related parties cannot serve as the intermediary.
What happens if I miss the 45-day deadline?
If you do not identify replacement property in writing within 45 days of the sale, the exchange generally fails and the gain is taxable in the year of the sale. The 45-day and 180-day periods run at the same time from the date you transfer the old property.
What is a reverse 1031 exchange?
A reverse exchange means buying the replacement property before selling the old one. To qualify, an exchange accommodation titleholder holds title to one of the properties under a qualified exchange accommodation arrangement (Rev. Proc. 2000-37), and the same 45-day and 180-day periods apply.
Can I do a 1031 exchange on a vacation home or rental?
Only if it is held for investment or business use, not as a personal home. The IRS safe harbor in Rev. Proc. 2008-16 looks for 24 months of ownership with at least 14 days of fair rental in each of the two 12-month periods, and limited personal use.
Can I exchange into a property outside the United States?
No. U.S. real property is not like-kind to real property outside the U.S., so a U.S. rental generally must be exchanged for U.S. real property.
What form reports a 1031 exchange?
Form 8824, filed with your tax return for the year of the transfer. It shows the realized and recognized gain, any boot, and the basis of the replacement property.
Related Real Estate Calculators
Analyze the properties on both sides of the exchange.