A 1031 exchange in California lets you sell an investment property and roll the proceeds into another one without paying capital gains tax right away. The tax is deferred, not erased. For California landlords sitting on decades of appreciation, it's one of the few legal ways to defer a large tax bill at sale.
It also comes with strict deadlines and a California-specific catch most people don't know about. Here's how it works in 2026, and when it does and doesn't make sense.
What qualifies for a 1031 exchange
Section 1031 only applies to property held for productive use in a trade or business or for investment. If you live in the house, it's not eligible. The Tax Cuts and Jobs Act narrowed §1031 to real property only in 2018, so equipment and other personal property no longer qualify.
The rules:
- Like-kind. For real estate this is broad. You can exchange an apartment building for raw land, a rental house for a commercial unit, or a triplex for a 1/32nd interest in a Delaware Statutory Trust. Almost any U.S. real property held for investment is like-kind to any other.
- Equal or greater value. To defer all the tax, the replacement must cost at least as much as the one you sold, and you must reinvest all the net proceeds. Less than that and the difference becomes taxable boot.
- Same taxpayer. The name on the old title and the new title must match. If an LLC sold, the same LLC buys.
- Investment intent, both sides. Flipping doesn't qualify because it's inventory, not investment. Most CPAs want to see at least a year or two of rental use on both sides.
Your primary residence doesn't qualify at all. For a primary, the §121 exclusion is almost always better: $250,000 of gain excluded for a single filer, $500,000 married filing jointly, if you've lived there two of the last five years. For most homeowners, §121 wipes out the entire federal gain on its own. We cover the broader picture in our guide to the tax consequences of selling a house in California.
The two deadlines that trip people up
This is where most exchanges fail. The clock starts the day your sale closes, and it does not stop for anything.
- 45 days to identify. You have 45 calendar days to identify your replacement property in writing, delivered to your qualified intermediary. You can identify up to three properties of any value (the "three-property rule"), or more under the 200% rule if total fair market value doesn't exceed 200% of what you sold. No extensions. Weekends and holidays count.
- 180 days to close. You must close on the replacement within 180 days of the original sale, or by your tax filing deadline (including extensions), whichever is earlier. If you sold in November, file an extension or you'll lose part of the 180 days.
Barring a federally declared disaster in your county, the dates are the dates.
You also can't touch the money. A qualified intermediary (QI) has to hold the proceeds between sales. The QI signs onto your sale contract, takes the funds at close, and wires them at the next closing. If the cash hits your bank account, even for an hour, the exchange is dead and the full gain becomes taxable. Pick a QI that's bonded, segregates client funds, and has been in business through at least one downturn.
Boot: the silent tax bill
Boot is anything you receive in the exchange that isn't like-kind property. Two flavors:
- Cash boot. You sold for $1.2M, bought for $1M, walked with $200K. That $200K is taxable to the extent of your gain.
- Mortgage boot (debt relief). Sold a property with a $700K mortgage, bought one with a $500K mortgage. The $200K reduction in debt is treated like cash received, even if no cash changed hands. This one ambushes people.
To fully defer, replace both the equity and the debt.
Variants: reverse and improvement exchanges
The standard "forward" exchange is sell first, buy within 180 days. Two variants exist for tighter timing:
- Reverse exchange. Buy the replacement first, then sell the old one within 180 days. An Exchange Accommodation Titleholder (EAT) parks title to one of the properties since you can't legally own both during the exchange. Expect $7,500 to $15,000+ in fees vs. $1,000 to $2,500 for a forward.
- Improvement (construction) exchange. Use exchange proceeds to build or improve the replacement inside the 180-day window. Useful when the replacement isn't worth enough on its own to absorb all the proceeds.
Both add complexity. Don't attempt either without a QI and CPA who do them regularly.
The California clawback
Here's the part specific to California, and the part most out-of-state CPAs miss.
If you do a 1031 to defer California-source gains and then move that investment out of state, California still wants its cut eventually. Under the clawback rule (R&TC §18032), when you finally sell the replacement in a taxable sale, California taxes the portion of the gain originally deferred from the California property, even if you live in Texas now and the new property is there.
California also requires an annual information return, FTB Form 3840, every year you hold the replacement (or any successor, if you keep exchanging). Miss the filing and the FTB can deem the deferred gain immediately taxable and assess penalties.
Here's how it plays out. Say you defer a $1M California-source gain by exchanging an SF fourplex into a Texas apartment building in 2020. You file Form 3840 every year. In 2032 you sell the Texas building for a $1.5M gain. Federal tax hits the full $1.5M. California taxes the original $1M of deferred gain at 9.3% to 13.3% depending on bracket, roughly $93,000 to $133,000, even though you haven't lived in California for a decade.
The only escapes: keep exchanging forever, sell into another California property, or die holding the property (heirs get a stepped-up basis and the deferred gain disappears federally). For basis step-up details, see capital gains on inherited property in California.
The takeaway: a 1031 defers California tax, it doesn't escape it by leaving the state.
When a 1031 exchange is worth it
It makes sense when:
- Large deferred gain, low basis. A property bought in 1985 for $200K and worth $2M today has a $1.8M gain. Federal cap gains at 20%, plus 3.8% NIIT, plus 13.3% California, plus depreciation recapture at 25%, easily runs $500K+. Deferral matters.
- You genuinely want to stay invested in real estate. Not just dodge tax, but keep owning rentals.
- You're upgrading or repositioning. Trading three tired single-families for one well-located commercial building. Moving geographically into a growth market.
- Estate planning. Hold until death and heirs get a stepped-up basis, wiping out the federal deferred gain ("swap till you drop").
- DST as a soft landing. A Delaware Statutory Trust is a fractional interest in institutional real estate that qualifies as like-kind. Passive, easy to identify in 45 days, typically 4-6% returns, locked 5-10 years.
When it isn't
A 1031 is a tool for staying in the game. If you're trying to get out of being a landlord, it's the wrong tool. Trading one rental for another to dodge taxes, when you're tired of tenants and repairs, just buys you a new set of the same problems in a property you researched in 45 days.
Other reasons people skip the exchange:
- Small gain. Bought in 2019, gain is $80K, deferred tax maybe $20K to $25K. Not worth the QI fees, deadline pressure, and constraints.
- Primary residence. §121 is better and simpler.
- You need liquidity. Retirement, tuition, debt payoff. Locked-up money doesn't help.
- Tight inventory. A 45-day window is brutal in a thin market.
- Property in rough shape. Won't sell fast enough to hit the 180-day clock.
- Leaving California permanently. The clawback follows you forever. Some sellers prefer to pay once and never deal with Form 3840.
How selling for cash fits
If you're done being a landlord, a straight cash sale is often the cleaner path. You'll owe the capital gains tax, but you walk away with no tenants, no deadlines, no intermediary, no twenty-year FTB filing.
Run the real math against a 1031:
- Commissions. A traditional listing runs 5% to 6% in realtor fees. On a $1.5M rental that's $75K to $90K, often a meaningful chunk of the tax you were trying to defer.
- Closing costs. Seller-side closing costs in California run another 1% to 3%, plus transfer taxes (San Francisco's is brutal at higher tiers, see our SF transfer tax guide).
- Holding costs. Mortgage, insurance, vacancy risk, repairs to make it salable.
We buy rental properties across the Bay Area for cash, tenants in place or vacant, any condition. We're the buyer, not an agent, so there's no commission and no listing. If you're weighing your options, read about selling a Bay Area rental and getting out of being a landlord.
Talk to a professional first
A 1031 exchange has real tax consequences and tight deadlines. Always confirm the details with a CPA or tax attorney and a qualified intermediary before you sell. This article is general information, not tax advice.
Frequently asked questions
Can I do a 1031 exchange on my primary residence?
No. §1031 only applies to investment or business property. For a primary, the §121 exclusion is the better tool, $250K excluded if single, $500K married filing jointly, after two years of residence. If you've converted a former primary into a rental, ask a CPA about combining a partial exchange with §121.
How much does a 1031 exchange cost?
A standard forward exchange runs $1,000 to $2,500 in QI fees. Reverse and improvement exchanges run $7,500 to $15,000+ because of the EAT structure. Add legal and CPA fees, plus normal closing costs on both transactions.
What happens if I miss the 45-day or 180-day deadline?
The exchange fails and the entire gain becomes taxable in the year of the original sale. No extensions outside federally declared disasters. If you see a deadline slipping, talk to your QI about alternative identifications or a partial exchange.
Do I still have to file in California if I exchange into an out-of-state property?
Yes. File FTB Form 3840 every year you hold the replacement, until you do a taxable sale or exchange back into California real estate. Miss it and California can assess the deferred tax plus penalties.
Can I exchange into a Delaware Statutory Trust?
Yes. DSTs are IRS-approved as like-kind. Passive, easy to identify in 45 days. Downsides: illiquid 5-10 year holds, capped upside, sponsor risk. Good for landlords who want out of active management but want to keep deferring.
What if I die holding the replacement property?
Federal capital gains disappears. Heirs get a stepped-up basis to fair market value at death and can sell with little or no federal tax. The basis step-up generally extinguishes the California clawback on heir sales too. Confirm with an estate attorney.
Is a 1031 worth it for a $200K gain?
Usually not in California. Deferred tax is maybe $50K to $70K. Set against QI fees, the 45-day pressure, and a 20-year filing obligation, most sellers prefer to pay once and move on.
If you're sitting on a Bay Area rental trying to decide between a 1031, a listing, and a cash sale, get a real cash offer here and use it as one of the numbers in your spreadsheet. We'll have a price within 24 hours, and if a 1031 or a listing nets you more after taxes and fees, we'll say so. Call or text 415-800-1415.
About Roe
Roe is part of the Maple Home Buyers team. Roe leads the Maple Home Buyers team in the Bay Area. Family-owned, BBB accredited, 2,000+ homes purchased since 2009.
Learn more about our team →Thinking about selling? Get a free, no-obligation offer.
A real local person picks up. No high-pressure pitch, no credit check, no obligation.




