1031 Exchange Basis: How First-Time Investors Defer Capital Gains on Rental Property Sales
1031 Exchange Basis: How First-Time Investors Defer Capital Gains on Rental Property Sales
Last reviewed: 2026-05-08 β ScoutMyTool Editorial
A real estate investor sells a rental property they bought for $250K (after $40K of improvements over the years, basis is now $290K) for $450K. Without a 1031 exchange, they owe capital gains tax on the $160K gain β at 20% federal long-term capital gains rate plus 3.8% Net Investment Income Tax for high earners plus state taxes (e.g., California 13.3%). Total tax could exceed $60K on the $160K gain. With a properly-executed 1031 exchange, the investor defers that tax indefinitely by reinvesting the proceeds into a "like-kind" replacement property. The basis carries over: new property's tax basis is $290K (carried from the old property) plus any "boot" recognition. The deferred gain isn't gone β it's parked, accumulating until eventually sold without 1031 protection. For investors who plan to hold real estate long-term and eventually pass it through estate planning, 1031 exchanges plus stepped-up basis at death can produce essentially permanent gain deferral.
This guide covers the 1031 exchange mechanics, the basis-carryover rule, like-kind property requirements, the 45-day and 180-day deadlines, and how to use the 1031 exchange basis calculator for transaction planning.
What a 1031 Exchange Actually Does
Section 1031 of the Internal Revenue Code allows deferral of capital gains tax on the exchange of "like-kind" property held for investment or business use. The investor doesn't pay tax on the gain at the time of exchange; tax liability transfers to the replacement property's basis.
Mechanics:
- Sell the old (relinquished) property
- Identify replacement property within 45 days
- Close on replacement property within 180 days of original sale
- Use a Qualified Intermediary (QI) β investor cannot directly handle proceeds
- New property's basis = old property's basis + any additional cash invested β any "boot" received
For real estate investors, "like-kind" is liberally interpreted: any US real estate held for investment qualifies. So a residential rental can be exchanged for a commercial building, raw land for an apartment complex, etc. The 2017 Tax Cuts and Jobs Act limited 1031 to real property only (personal property exchanges no longer qualify).
The IRS 1031 exchange overview and Form 8824 instructions cover the official rules; the underlying statute is at 26 USC Β§ 1031 (Cornell LII).
The Basis Carryover Rule
Tax basis is the cost basis used to compute capital gain on sale: gain = sale price β basis. After a 1031 exchange:
New basis = Old basis + Additional cash invested β Boot received + Liabilities assumed β Liabilities released
For the example above: $290K (old basis) + $0 (no additional cash) - $0 (no boot) = $290K new basis on the $450K replacement property. When the investor eventually sells the replacement property without 1031, capital gain = sale price β $290K basis. The deferred $160K gain has been "carried" to the new property.
Boot complications:
- Cash received (some of the proceeds you don't reinvest): taxable as recognized gain
- Mortgage decrease (new mortgage smaller than old): boot in the amount of the decrease
- Personal property included in exchange: boot
For full deferral, replacement property must be:
- Equal or greater value than relinquished property
- Equal or greater debt than relinquished property
- All proceeds reinvested via Qualified Intermediary
The 45-Day and 180-Day Deadlines
Two strict deadlines, both running from the close of the relinquished property sale:
45-Day Identification Period: investor must formally identify replacement property(ies). Three identification rules:
- 3-Property Rule: identify up to 3 properties of any value
- 200% Rule: identify any number of properties so long as combined fair market value β€ 200% of relinquished property value
- 95% Rule: identify any number; must close on properties totaling at least 95% of identified value
180-Day Exchange Period: investor must close on replacement property within 180 days of original sale. This deadline is absolute regardless of weekends/holidays.
If either deadline is missed, the exchange fails and the original sale is treated as a normal taxable sale (full capital gain recognized, tax owed).
The IRS Like-Kind Exchanges section is the authoritative source on deadlines.
How the 1031 Calculator Works
The 1031 exchange basis calculator takes relinquished property basis + sale price + replacement property purchase price + cash boot + loan boot, then computes:
- Recognized gain (taxable amount)
- Deferred gain (carried over)
- New basis on replacement property
Pair with:
- Cap rate calculator for evaluating replacement property
- Cash-on-cash return calculator for replacement property cash return
- ROI rental property calculator for total return analysis
- NOI calculator for income comparison
Worked Examples
Example 1 β Full deferral, equal-value swap. Sell $400K property (basis $250K). Use 1031 to buy $400K replacement. New basis: $250K. Deferred gain: $150K. No tax owed at exchange.
Example 2 β Replacement smaller than relinquished (boot). Sell $400K property (basis $250K). Use 1031 to buy $350K replacement, take $50K cash. The $50K cash is "boot" β recognized gain of $50K (taxable now at long-term capital gains). Remaining deferred gain: $100K. New basis: $250K (carryover) β $0 (no additional cash) = $250K, then adjusted for boot recognition.
Example 3 β Replacement larger than relinquished. Sell $400K (basis $250K). Buy $500K replacement, contributing additional $100K cash. New basis: $250K (old) + $100K (additional cash) = $350K. Deferred gain: $150K. No tax now.
Example 4 β Estate planning interaction. Investor does 1031 exchanges for 30 years, accumulating $2M of deferred gains. Dies holding properties. Per IRS estate basis-step-up rules, heirs receive properties at fair market value basis (stepped up). The $2M deferred gain is permanently eliminated. This "1031 til you die" strategy is a primary estate-planning structure for real estate investors.
Common Pitfalls
The biggest pitfall is missing deadlines. 45 days for identification, 180 days for closing β both absolute, no extensions. Failed exchanges become fully taxable.
The second is using a Qualified Intermediary improperly. Investor cannot touch proceeds directly. QI must hold funds, then disburse to seller of replacement property. Cost: $500-1,500 for typical residential exchange.
The third is taking boot unintentionally. Reducing mortgage size, taking cash out, or including personal property creates taxable recognition. Plan structure carefully with QI.
The fourth is failing to identify replacement property correctly. Identification must be in writing to the QI, must satisfy one of the three rules (3-property, 200%, or 95%). Sloppy identification can disqualify the exchange.
The fifth is not consulting a qualified attorney/CPA. 1031 exchanges have complex rules; consultation costs ($500-3,000 for typical case) are small relative to the tax savings ($30K-100K+ on typical residential investment).
Frequently Asked Questions
Q: What is a 1031 exchange? A: A tax-deferred exchange of like-kind investment property under IRC Section 1031. Capital gains tax is deferred when proceeds are reinvested into qualifying replacement property within strict deadlines.
Q: What property qualifies for 1031 exchange? A: Real property held for investment or business use. Personal residence does not qualify. Personal property (cars, art, etc.) lost 1031 eligibility in 2017 TCJA. US-only; foreign property doesn't qualify. Per IRS Form 8824 guidance.
Q: How long do I have to identify replacement property? A: 45 days from the close of relinquished property sale. Identification must be in writing to the Qualified Intermediary.
Q: How long do I have to close on replacement property? A: 180 days from the close of relinquished property sale. Absolute deadline.
Q: Do I need a Qualified Intermediary? A: Yes. Investor cannot directly handle proceeds; must use a QI to hold funds between sale and replacement purchase. Direct receipt of proceeds disqualifies the exchange.
Q: What is "boot"? A: Any non-like-kind property received in exchange (cash, debt relief, personal property). Boot is recognized as taxable gain in the year of exchange. To fully defer, replacement property must be equal-or-greater value AND equal-or-greater debt.
Q: Can I do multiple 1031 exchanges? A: Yes. Investors commonly do serial 1031 exchanges over decades, accumulating deferred gains. Combined with estate planning, gains can be permanently eliminated via stepped-up basis at death.
Wrapping Up
1031 exchanges defer capital gains tax on like-kind investment property exchanges. New property's basis carries over from old; deferred gain follows. 45-day identification + 180-day closing deadlines are absolute. Use the 1031 exchange basis calculator for basis math, the cap rate calculator and cash-on-cash return calculator for replacement property analysis, the ROI rental property calculator for total return, and the NOI calculator for income comparison. Per IRS Form 8824, proper documentation matters; consult a qualified intermediary and tax professional for transactions. This article is general tax-information, not tax or legal advice; the IRS rules around 1031 exchanges are unforgiving β engage a CPA and a 1031 Qualified Intermediary before initiating one.
For related guides, see cap rate vs cash-on-cash for rentals, IRR for rental properties, term life insurance and the DIME formula, and umbrella insurance for landlords.
Sources & References
- 26 USC Β§ 1031 β Exchange of real property held for productive use or investment (Cornell LII)
- IRS β Like-Kind Exchanges (Form 8824)
- IRS β About Form 8824 instructions
- IRS Publication 544 β Sales and Other Dispositions of Assets
- IRS β Estate tax basics
- IRS Topic 559 β Net Investment Income Tax
- Federation of Exchange Accommodators β 1031 industry standards