1031 Exchange vs Capital Gains Tax: What You Keep
Table of Contents
1031 Exchange vs Capital Gains Tax: The Core Difference
Deferral vs Avoidance: What Each One Actually Does
Side-by-Side Comparison: Tax Scenarios at a Glance
Reading the Table: What Actually Changes Your Outcome
When the Table Tips Toward Paying Tax
How Much Capital Gains Tax You Pay Without an Exchange
Depreciation Recapture: The Cost Most Sellers Miss
A Worked Example: Pay Now vs. Exchange
State-Level Tax Variations
The 1031 Exchange Timeline: 45/180 Days and What Happens in Each
The Qualified Intermediary Role in 1031 Exchanges
When a 1031 Exchange Beats Paying Capital Gains Tax
The Swap 'til You Drop Exit Strategy
Frequently Asked Questions
Last Updated: September 30, 2026
1031 Exchange vs Capital Gains Tax: The Core Difference
The 1031 exchange vs capital gains tax decision is the single most consequential choice a real estate investor makes at sale. A 1031 exchange defers capital gains tax when you reinvest proceeds into like-kind property; paying capital gains tax means settling the bill now and keeping what's left. At TheRayMartinAgency, we help investors understand the implications of these choices, as the gap between the two outcomes can significantly impact future investment capacity.
The IRS governs both paths under Internal Revenue Code Section 1031, and the rules are strict. Miss a deadline or mishandle proceeds, and the deferral disappears.
Deferral vs Avoidance: What Each One Actually Does
Tax deferral postpones a tax liability to a future date; tax avoidance eliminates it permanently. A 1031 exchange is deferral, not avoidance. You are not forgiven the tax, you are moving it down the road by rolling your adjusted cost basis into the replacement property.
That distinction matters because your eventual tax bill does not vanish, it compounds. A lower basis means a larger gain when you finally sell outright.
Watch Out The most expensive mistake investors can make is treating a 1031 exchange as tax-free. It is tax-deferred. Investors who forget this may fail to plan for the eventual recapture of depreciation and the deferred gain, and the final sale can be more impactful than expected.
Side-by-Side Comparison: Tax Scenarios at a Glance
The table below summarizes how the two paths differ across the factors that decide your net proceeds, and, unlike most overviews, it puts the tax mechanics and the basis math side by side so you can see where the money actually goes.
Edward Collins, JD, CFP®, AAMS, RFC
Factor | Pay Capital Gains Tax | |
Tax timing | Deferred to future sale | Due in the year of sale |
Depreciation recapture | Carried forward into replacement property | Taxed at up to 25% |
Long-term capital gain rate | Deferred | 0% / 15% / 20% by bracket |
Net investment income tax | Deferred | 3.8% may apply above thresholds |
State tax | Deferred where state conforms | Varies; some states tax as ordinary income |
Net proceeds available | Full amount reinvested | Reduced by tax owed |
Basis in new property | Carried over (lower) | Stepped up to purchase price |
Deadline pressure | 45/180-day rules apply | None |
Complexity | Requires a qualified intermediary | Standard closing |
Future tax exposure | Larger deferred gain accumulates | Settled and closed |
The right column is simpler. The left column usually leaves more capital working for you, but it also carries a larger embedded liability into the future.
Reading the Table: What Actually Changes Your Outcome
Three rows do most of the work:
Recapture. This is the line most sellers overlook. It is taxed at up to 25% regardless of your capital gains bracket, so it hits high- and low-income investors similarly.
Basis. A 1031 exchange carries your old basis forward, which means a bigger taxable gain later. Paying tax now resets basis to the purchase price, which can reduce future liability.
State conformity. If your state does not follow federal Section 1031 treatment, the deferral may be partial. Confirm before closing.
Key Takeaway The exchange does not eliminate tax, it relocates it. The trade is immediate liquidity and reinvestment capacity in exchange for a larger deferred liability down the road.
When the Table Tips Toward Paying Tax
If you are exiting real estate entirely, need liquidity, or the replacement options available to you are weaker than the tax cost, the right column wins. The deciding question is not "how do I avoid tax" but "do I have a better property to roll into." If yes, exchange. If you are done with real estate, pay the tax and move on.
How Much Capital Gains Tax You Pay Without an Exchange
Selling outright triggers two federal layers, and they are calculated separately. Long-term capital gains on the appreciation are taxed at preferential rates, 0%, 15%, or 20% depending on taxable income and filing status, while depreciation recapture is taxed at a maximum rate of 25%. Add state tax on top, and the combined hit is substantial.
Many investors underestimate this because they focus only on the headline capital gains rate and ignore recapture entirely.
Depreciation Recapture: The Cost Most Sellers Miss
Depreciation recapture is the portion of your gain attributable to prior depreciation deductions, taxed at a maximum rate of 25%. You claimed those deductions against rental income for years. The IRS wants that benefit back when you sell.
The mechanism is worth walking through, because it is where most sellers get surprised. Under IRS Publication 544, when you sell business or investment property, the gain is split into two buckets:
Unrecaptured Section 1250 gain, the lesser of your total gain or the depreciation you claimed, taxed at up to 25%.
Remaining capital gain, the rest of the appreciation, taxed at the 0%/15%/20% long-term rates.
A 1031 exchange defers recapture alongside the capital gain. Paying tax means writing that check now.
A Worked Example: Pay Now vs. Exchange
Assume an investor bought a rental for $400,000, claimed $120,000 of depreciation over ten years, and sells for $600,000. The gain is $320,000, $200,000 of appreciation plus $120,000 of recapture.
Line Item | Pay Capital Gains Tax | 1031 Exchange |
Sale price | $600,000 | $600,000 |
Adjusted basis | $280,000 | $280,000 |
Total gain | $320,000 | $320,000 |
Depreciation recapture (up to 25%) | ~$30,000 | Deferred |
Long-term capital gain (15% assumed) | ~$30,000 | Deferred |
Federal tax due at sale | ~$60,000 | $0 |
Equity available to reinvest | ~$540,000 | $600,000 |
Basis in replacement property | Stepped up to purchase price | Carried over (lower) |
*Figures are illustrative and exclude state tax, net investment income tax, and closing costs.
Watch Out A 1031 exchange does not erase the recapture. It carries the same depreciation history into the replacement property, so the eventual recapture is larger, not smaller. Plan for it.
State-Level Tax Variations
State treatment of capital gains varies widely. A handful of states impose no income tax on gains, while others tax them as ordinary income, which can push the effective rate well above the federal 20% ceiling. Some states also impose their own recapture rules or decouple from federal Section 1031 treatment entirely, meaning a federally valid exchange can still trigger a state-level liability.
The 1031 Exchange Timeline: 45/180 Days and What Happens in Each
The 1031 exchange timeline 45/180 days is unforgiving: you have 45 days from closing to identify replacement properties in writing, and 180 days total to close on them. Both clocks start the day your relinquished property closes.

Pro Tip Identify a backup property. The rules let you name up to three properties regardless of value, or more if you stay within the 200% rule. A backup costs nothing and saves exchanges when a primary deal falls through at day 60.
The Qualified Intermediary Role in 1031 Exchanges
The qualified intermediary role in 1031 is non-negotiable: a QI is a neutral third party who holds your sale proceeds so you never take actual or constructive receipt of the funds. Touch the money yourself, even briefly, and the exchange is disqualified.
When a 1031 Exchange Beats Paying Capital Gains Tax
A 1031 exchange wins whenever you intend to keep reinvesting in real estate and want your full equity working rather than a taxed-down amount. Paying capital gains makes sense when you are exiting real estate entirely, need liquidity, or the replacement options available to you are weaker than the tax cost.
The Swap 'til You Drop Exit Strategy
The swap 'til you drop method means exchanging repeatedly through your lifetime, deferring tax each time, and holding until death. At that point, heirs generally receive a step-up in basis, and the deferred gain can be eliminated for them.
Frequently Asked Questions
Is it better to pay capital gains tax or do a 1031 exchange?
It depends on what you plan to do with the money. A 1031 exchange defers federal capital gains tax, depreciation recapture, and net investment income tax when you reinvest all net proceeds into like-kind investment property. If you need cash for non-real-estate purposes or plan to hold the property until death for a step-up in basis, paying the tax may be simpler. Run both scenarios with a calculator before deciding.
What are the strict timelines for a 1031 exchange?
The 1031 exchange timeline 45/180 days gives you two deadlines. You have 45 calendar days from closing to identify up to three replacement properties in writing, or more under the 200% rule. You then have 180 calendar days total, or the due date of your tax return if earlier, to close on the replacement property. Missing either deadline disqualifies the exchange and triggers the full tax bill.
What is the downside of a 1031 exchange?
You defer tax, not erase it. Your adjusted cost basis carries over to the replacement property, so a future sale without another exchange creates a larger taxable gain. You also take on strict deadlines, must use a qualified intermediary, and cannot touch the sale proceeds during the exchange. Replacement properties may also carry lower cash flow or higher risk than what you sold.
How does the IRS define like-kind property for exchange purposes?
Under Internal Revenue Code Section 1031, like-kind refers to the nature or character of the property, not its quality or grade. Almost any real property held for productive use in a trade or business or for investment qualifies, including land, office buildings, retail centers, and apartments. Your primary residence does not qualify, and property held primarily for sale does not either.
How much capital gains tax will I pay on a real estate sale?
Long-term capital gains on investment property are taxed at federal rates of 0%, 15%, or 20% depending on your taxable income, plus a 3.8% net investment income tax at higher income levels. Depreciation recapture is taxed at up to 25%. State taxes apply on top. The exact figure depends on your adjusted cost basis, holding period, and state of residence.
Schedule an initial consultation





Comments