📌 Scenario 1: Full Tax Deferral — Upgrading to a More Expensive Property
An investor purchased a rental property for $400,000, took $80,000 in depreciation, and sold it for $700,000 with $42,000 in selling costs. They reinvested in a replacement property for $850,000 (higher value). Filing as Single with $180,000 taxable income. State tax rate: 4.5%.
Purchase Price:$400,000
Depreciation Taken:$80,000
Sale Price:$700,000
Selling Costs:$42,000
Replacement Price:$850,000
Capital Gain Realized:$338,000
Depreciation Recapture Tax (25%):$20,000
LTCG Tax (15%):$38,700
NIIT (3.8%):$7,144
State Tax (4.5%):$15,210
Total Tax Deferred:$81,054
Tax Savings %:~24.0%
Remaining Basis in Replacement:$512,000
Boot:$0 (replacement price > sale price)
📌 Scenario 2: Partial Deferral — Downsizing with Boot
An investor purchased a commercial property for $1,200,000, took $180,000 in depreciation, and sold for $1,800,000 with $90,000 in selling costs. They reinvested in a smaller property for $1,500,000. Filing as Married Filing Jointly with $300,000 taxable income. State tax rate: 6%.
Purchase Price:$1,200,000
Depreciation Taken:$180,000
Sale Price:$1,800,000
Selling Costs:$90,000
Replacement Price:$1,500,000
Capital Gain Realized:$690,000
Depreciation Recapture Tax (25%):$45,000
LTCG Tax (15%):$88,500
NIIT (3.8%):$16,720
State Tax (6%):$41,400
Total Tax Deferred (partial):$137,620
Tax Savings %:~19.9%
Remaining Basis in Replacement:$810,000
Boot (Taxable):$300,000
Tax Due on Boot:$59,740 (proportion of total tax)
📐 Formulas Used
Adjusted Basis
Adjusted Basis = Original Purchase Price − Accumulated Depreciation
The adjusted basis represents your cost basis in the property after accounting for depreciation deductions taken over the ownership period. Capital improvements increase the basis, while depreciation reduces it.
Amount Realized
Amount Realized = Sale Price − Selling Costs
The net proceeds from the sale after deducting commissions, closing costs, legal fees, and other selling expenses.
Capital Gain Realized
Capital Gain = Amount Realized − Adjusted Basis
This is the total gain that would be taxable if you did not complete a 1031 exchange. The gain consists of two components: depreciation recapture (taxed at 25%) and the remaining capital gain (taxed at LTCG rates).
Depreciation Recapture Tax
Depreciation Recapture Tax = Depreciation Taken × 25%
Depreciation recapture is taxed at a flat 25% rate (Section 1250 recapture). This portion of the gain is attributable to the depreciation deductions you previously claimed.
Long-Term Capital Gains Tax
LTCG Tax = (Capital Gain − Depreciation) × LTCG Rate
The remaining gain (after removing depreciation recapture) is taxed at long-term capital gains rates based on your taxable income and filing status.
Net Investment Income Tax (NIIT)
NIIT = 3.8% × Capital Gain (if MAGI > $200K Single / $250K MFJ)
The Affordable Care Act's 3.8% surtax applies to the lesser of net investment income or the excess of MAGI over the threshold.
Total Tax Deferred
Total Tax Deferred = Depreciation Recapture + LTCG Tax + NIIT + State Tax
This is the total tax you would have owed if you sold without a 1031 exchange. By completing the exchange, all of this tax is deferred.
Remaining Basis in Replacement Property
Remaining Basis = Replacement Price − Capital Gain Deferred
The replacement property's basis carries over from the relinquished property. The deferred gain reduces the basis, meaning you'll have a larger gain when you eventually sell the replacement property (unless you do another 1031 exchange or hold until death).
Boot
Boot = Sale Price − Replacement Price (if positive)
If you receive cash or other property (boot) — i.e., the replacement property costs less than what you sold — the boot is taxable. It reduces the amount of gain deferred.
❓ Frequently Asked Questions
What are the strict timelines for a 1031 exchange?
A 1031 exchange has two critical deadlines: (1) The 45-day identification period — you must identify potential replacement properties in writing to your Qualified Intermediary within 45 calendar days of closing the sale of your relinquished property. (2) The 180-day exchange period — you must close on the replacement property within 180 calendar days or by the due date of your tax return (including extensions), whichever is earlier. These deadlines are strict and cannot be extended, even for weekends or holidays.
What qualifies as "like-kind" property?
For real estate held for investment or business use, "like-kind" has a very broad definition. Any type of real property can be exchanged for any other type of real property within the United States. For example, you can exchange a single-family rental for an apartment building, raw land for a commercial office, or a warehouse for a retail strip mall. The key requirement is that both properties must be held for investment, business, or productive use in a trade or business — personal residences do not qualify.
Do I need a Qualified Intermediary (QI)?
Yes, a Qualified Intermediary (QI) is required for a valid 1031 exchange. You cannot take constructive receipt of the sale proceeds — meaning the cash cannot pass through your hands or bank account. The QI holds the funds from the sale and uses them to acquire the replacement property on your behalf. The QI also prepares the necessary exchange documentation. Choosing a reputable, experienced QI is critical to ensuring your exchange complies with IRS requirements.
What is "boot" and how is it taxed?
"Boot" refers to any non-like-kind property or cash received as part of the exchange. Common examples include: (a) cash proceeds not reinvested, (b) mortgage relief when the replacement property has less debt than the relinquished property, or (c) personal property received. Boot is taxable to the extent of the realized gain. The tax on boot is calculated as: first, any depreciation recapture (up to 25% of boot), and second, capital gains tax on any remaining boot. To achieve full tax deferral, you must acquire a replacement property of equal or greater value and reinvest all net proceeds.
Can I do a 1031 exchange on a primary residence?
No, a 1031 exchange cannot be used for a primary residence. Section 1031 applies only to property held for investment or business use. However, there is the Section 121 exclusion ($250,000 for singles, $500,000 for married couples) that allows you to exclude capital gains on the sale of a primary residence if you've lived in it for at least 2 of the last 5 years. You can also convert a rental property into a primary residence and use both Section 1031 and Section 121 in certain cases, but strict rules apply regarding holding periods.
Can I do a reverse 1031 exchange (buy first, sell later)?
Yes, a reverse 1031 exchange is allowed under IRS Revenue Procedure 2000-37. In a reverse exchange, you acquire the replacement property before selling the relinquished property. This is more complex because the replacement property or the relinquished property must be held by an Exchange Accommodation Titleholder (EAT) — a special entity that holds the property until the exchange is complete. You have 45 days to identify the relinquished property to be sold and 180 days total to complete the sale. Reverse exchanges are more expensive due to the EAT and additional financing complexity.