How do I minimize tax on real estate?
You're selling an appreciated investment property. Three paths: pay the tax now, 1031-exchange into another property, or roll the gain into a Qualified Opportunity Fund. Same numbers, three very different outcomes.
Three tax paths, same numbers
Path 1 · Pay tax now, take cash
- Net sale proceeds: $845,000
- − Mortgage payoff: $0
- − Depreciation recapture tax: $40,560 (at 33.8%)
- − Capital gains tax: $79,200 (at 28.8%)
- = Cash in hand today: $725,240
- Grown at 7.0%/yr for 10 yrs: $1,426,657
- − Tax on that growth at exit: $202,008
- After-tax value at year 10: $1,224,649
- In today's dollars: $622,549
Path 2 · 1031 exchange (defer all tax)
- Reinvested as equity (after payoff): $845,000
- Tax deferred (not eliminated): $119,760
- If held to death → stepped-up basis → tax disappears for heirs
- Grown at 7.0%/yr for 10 yrs: $1,662,243
- − Deferred tax paid at exit: $119,760
- − Tax on new appreciation at exit: $235,366
- After-tax value at year 10: $1,307,117
- In today's dollars: $664,472
Path 3 · Qualified Opportunity Fund Pro
Full QOF modeling with growth projection, 10-year step-up, and rural-vs-non-rural comparison is included on the Pro tier.
If you pursue the 1031
Start your 1031 with a qualified intermediary Funds in segregated FDIC accounts; 24–48hr setup. Partner link — Fundamento may be compensated. Partners have no bearing on the directory or on which firms are vetted.Premier members get integrated access to: 1031 and cost-segregation modeling built into the flow, with the criteria for choosing a qualified intermediary and an ASCSP-certified firm. Our directory of real-estate-specialist CPAs and attorneys is free for every tier, and you contact each firm directly — for entity structuring and decisions on OZ Funds.
What this calculator doesn't model
- Holding to death — all three paths assume a taxable sale at year 10; a step-up at death would remove the exit tax in every path, most powerfully for the 1031.
- NIIT fine structure — the 3.8% applies to the lesser of net investment income or the excess over the MAGI threshold; here it is applied flat when you select it.
- Depreciation on the replacement property — a 1031 replacement generates its own depreciation and future recapture, not modeled here.
- State-specific 1031 conformity — Pennsylvania, for example, doesn't fully recognize 1031 at the state level.
- QOF structuring fees — typically 1–2% annual + 10–20% promote on appreciation.
- Installment sales — a fourth path that spreads gain over multiple years.
- Cost segregation — accelerates depreciation; reduces current-year tax but increases future recapture.
- The interaction with passive activity losses — relevant if you have suspended losses on the property.
Read these next in the Library
1031 exchange — defer the tax forever (or until death)
The mechanics, the 45/180 day windows, and how it chains with step-up at death.
Opportunity Zones (OZ 2.0) — now permanent
What the OBBB Act (July 2025) changed, and the rural QROF enhancements.
Step-up in basis at death
The most underused estate strategy. Combined with 1031, it eliminates lifetime gains entirely.
Cost segregation — accelerate depreciation
Reclassifies 20–30% of basis into shorter-life buckets; worth a $3K–$10K study on properties over $500K.
How the math works (plain English)
When you sell an investment property, two things get taxed. Capital gain is the price above your basis — taxed at long-term rates (15% or 20% federal, plus state, plus 3.8% NIIT if you're high-earning). Depreciation recapture is the depreciation you wrote off over the years — it comes back as ordinary income. 25% is the federal cap on real property; this tool charges the recapture rate you enter.
A 1031 exchange (IRC §1031) defers all of that tax if you reinvest the entire proceeds into "like-kind" real estate. Strict timing: 45 days to identify the next property; 180 days to close. Most serious rental investors trade up through 1031s for decades, then hold until death — at which point heirs get a stepped-up basis and the embedded gain disappears entirely.
A Qualified Opportunity Fund defers the original gain to a later tax year (the OBBB Act of July 2025 removed the old 2026 deadline; this tool charges that deferred tax at the end of year 1), and — this is the powerful part — any appreciation on the QOF itself is tax-free if you hold for 10+ years. The first new round of QOZ designations under the OBBB takes effect Jan 1, 2027.
These are real money decisions. Use this to size the choice and narrow the conversation — then run the final structure past a CPA and a real estate attorney before you sign anything.