How a 1031 Exchange Saves You Tax
When you sell a rental for more than you paid, the IRS taxes the gain twice over: once on the depreciation you took (recapture) and again on the appreciation. A 1031 exchange pushes both into the future, so the full sale proceeds keep working in your next property. Use the IRR calculator to see what that extra equity can earn, and the rental property calculator to check the replacement's cash flow.
1031 Exchange Formulas
Adjusted Basis = Purchase Price + Improvements − Depreciation
Gain = (Sale Price − Selling Costs) − Adjusted Basis
Tax = Recapture (up to 25%) + Capital Gains Rate × Remaining Gain + State Tax
New Basis = Replacement Price − Deferred Gain
Worked Example
- Bought for $300,000, added $20,000 of improvements, took $60,000 of depreciation: adjusted basis $260,000.
- Sold for $550,000 with $33,000 of selling costs: net $517,000, gain $257,000.
- Selling outright at 15% federal and 5% state: $15,000 recapture + $29,550 capital gains + $12,850 state = $57,400 of tax.
- Exchange into a $600,000 property and reinvest all the cash: $0 due now, $57,400 deferred, and the new property's basis is $343,000.
- Trade down to $480,000 instead and $37,000 is boot, costing about $11,100 now while $46,300 stays deferred.
1031 Exchange Rules to Know
- Like-kind: Investment or business real estate for investment or business real estate. A single-family rental can become a small multifamily.
- Qualified intermediary: The sale proceeds must go to an intermediary, not to you, or the exchange fails.
- 45 days: Identify replacement properties in writing.
- 180 days: Close on the replacement, or by your tax return due date if that is sooner.
- Equal or greater: Buy at least your net sale price and reinvest all the cash to defer all of the tax.
- Not for flips or your home: Property held for resale and primary residences don't qualify. See the fix and flip calculator for flips.
