1031 Exchanges for San Francisco Investors: The Practical Playbook
How to defer capital gains tax when you sell a San Francisco investment property — the timeline, the rules that actually matter, the replacement strategies that work for SF appreciation, and the traps that cost investors millions every year.

Why 1031 exchanges matter so much in San Francisco
If you've owned an SF investment property for 10+ years, the embedded capital gain is often larger than your original purchase price. Federal capital gains, California state tax, depreciation recapture, and the 3.8% net investment income tax can stack to 35 – 40%+ of your gain at sale.
A 1031 exchange defers all of that — federal and California — if you follow the rules. For SF investors with large gains, it's the most important tax tool in the playbook.
Christopher's lens: A 1031 isn't just a tax trick. It's a wealth-architecture decision — what property profile do you want to own for the next 10 – 20 years? I've helped SF landlords use exchanges to swap operationally-painful buildings for cleaner, larger, more passive assets without writing a tax check.
This guide pairs with the landlord exit strategy guide and the investing in SF multi-family guide.
The rules in one page
| Rule | What it means |
|---|---|
| Like-kind | Any U.S. investment real estate qualifies — apartment, retail, industrial, land. Not your primary residence. |
| 45-day ID period | From close of sale, you have 45 days to identify replacement(s) in writing. No extensions. |
| 180-day close | You must close on replacement(s) within 180 days of sale. No extensions. |
| Qualified Intermediary (QI) | Sale proceeds go to a QI, not you. Touch the money and you blow the exchange. |
| Equal-or-greater | Replacement must equal or exceed sale price AND sale equity to fully defer. |
| Same taxpayer | Title on the relinquished property and the replacement must be the same taxpayer ID. |
Miss the 45-day or 180-day deadline and the exchange fails entirely. There are no extensions for weather, fires, or family emergencies — except in narrowly-defined federally-declared disasters.
The three identification rules (pick one)
- Three-property rule — identify up to 3 properties, any value (most common)
- 200% rule — identify any number, total value ≤ 200% of sale
- 95% rule — identify any number, but you must close on ≥ 95% of identified value
What "like-kind" really means
Generous. Any U.S. investment real estate exchanges for any other U.S. investment real estate. Examples that all qualify:
- SF triplex → Texas apartment building
- SF condo (rental) → Idaho retail strip center
- Raw land → finished commercial building
- Several small properties → one large property (or vice versa)
What does not qualify:
- Your primary residence (use §121 exclusion instead)
- Property held primarily for sale (flips, dealer inventory)
- Foreign real estate (must exchange foreign for foreign)
- Personal property
The most common SF exchange strategies
1) "Trade up" — bigger, cleaner asset
Sell an operationally-painful SF multi-unit (rent-controlled, deferred maintenance, tenant disputes — see tenant nonpayment guide) → buy a larger newer building in a market with friendlier landlord-tenant law (Texas, Tennessee, Arizona, Idaho).
Why it works in SF: SF rent-control buildings often have outsized appreciated value but constrained income. Trading the appreciated equity into a higher-yielding market often doubles cash flow without writing a tax check.
2) "Trade out of management" — Delaware Statutory Trust (DST)
Sell the SF property → buy fractional interest in an institutionally-managed DST. Fully passive. 1031-eligible.
Pros: zero management. Diversified. Estate-planning friendly.
Cons: illiquid (typical hold 5 – 10 years). Fees. You don't control the asset.
3) "Trade up locally" — stay in SF or Bay Area
Sell one SF building → buy a larger SF building, or a Bay Area suburban multifamily.
Pros: you know the market. SF appreciation history.
Cons: cap rates remain compressed; SF landlord-tenant complexity continues.
4) "Trade into a future primary residence"
Buy a property, hold and rent it for a defined period (typically 2+ years with proper documentation), then convert to primary residence. Eventually combine with §121 exclusion. Aggressive — needs a CPA and attorney to architect correctly.
Worked example: SF triplex sale, $3.5M
| Line | Amount |
|---|---|
| Sale price | $3,500,000 |
| Original basis | $700,000 |
| Depreciation taken | $500,000 |
| Adjusted basis | $200,000 |
| Realized gain | $3,300,000 |
| Federal capital gains (20%) | $660,000 |
| Depreciation recapture (25%) | $125,000 |
| CA state tax (~13.3%) | $439,000 |
| Net investment income tax (3.8%) | $125,000 |
| Total tax bill without 1031 | ~$1,349,000 |
| Tax bill WITH 1031 | $0 (deferred) |
That deferred tax becomes purchasing power on the replacement.
The timeline that actually works
| Day | Action |
|---|---|
| Day -60 | Engage QI, CPA, exchange-experienced agent |
| Day -30 | Pre-screen replacement markets |
| Day 0 | Close sale of relinquished property |
| Day 1 – 45 | Tour, evaluate, identify properties |
| Day 45 | Written ID delivered to QI |
| Day 45 – 180 | Negotiate, contract, inspect, finance |
| Day 180 | Close on replacement |
Most failed exchanges fail in the 45-day window. The market doesn't cooperate with your timeline. Have your replacement strategy ready before you close the sale.
The traps that blow exchanges
- Touching the money — even briefly. Always through the QI.
- Wrong taxpayer — LLC sells but new LLC buys. Same EIN must hold both.
- Boot — any cash or debt relief you don't reinvest is taxable.
- Identifying too late — postmark on day 46 = fail.
- Closing too late — extensions don't exist outside federally-declared disasters.
- Related-party purchases — special rules; talk to your CPA.
- Reverse exchange complications — possible but expensive.
When 1031 doesn't make sense
- Small embedded gain — tax cost low, complexity not worth it
- You actually want the cash (true exit)
- You need liquidity for non-real-estate uses
- Estate plan: holding to step-up at death may beat exchanging now (consult estate attorney)
Next steps
Read the landlord exit strategy guide for the broader sale-or-hold framework, and the multi-family investing guide for the buy side.
📞 Considering an exchange? Reach out via the contact page. Exchanges live or die on the pre-close planning — earlier is always better.
Frequently asked questions
The questions San Francisco buyers, sellers, and landlords ask me most often on this topic. All answers are expanded by default — click any question to collapse it.
How long do I have to identify replacement property in a 1031 exchange?+
Can I do a 1031 exchange on my primary residence?+
Can I exchange a San Francisco property for property in another state?+
What's a DST and is it really a 1031?+
Can I touch the sale proceeds during the exchange?+
Related San Francisco guides
Keep going — these are the next reads I'd hand a investor client after this one.
How to evaluate, underwrite, finance, and operate San Francisco multi-family properties — written from over a decade of buy-side and listing experience. Covers cap rates, rent-controlled rent rolls, condo and TIC exits, soft-story risk, and the underwriting mistakes that quietly destroy returns.
Accessory Dwelling Units are the single highest-yielding improvement most SF property owners can make. This guide covers the real costs, realistic rents, financing options, rent-control implications, and the timeline owners should actually expect.
An SF investment Realtor explains why San Francisco cap rates look unattractive on paper, what they actually mean for total return, and how sophisticated investors use them in this market.
The complete, plain-English guide to San Francisco rent control: which buildings are covered, how much rent can legally go up, allowable passthroughs, owner move-in and Ellis Act rules, buyouts, and the mistakes that cost landlords and tenants the most money.
Christopher Lee's definitive first-time buyer playbook for San Francisco — how to set a real budget, choose the right neighborhood, win in multiple offers, navigate TICs and condos, and avoid the mistakes that cost SF buyers six figures.
The pre-listing playbook San Francisco sellers actually need: which projects return more than they cost, what to skip, the realistic prep timeline, and how staging works in SF (where Victorians, Edwardians, and small-footprint condos each need different treatments).
How much home can you afford?
Run real numbers on jumbo loan limits, down payment, and monthly costs for a San Francisco purchase.