Life Money USA
California state 1031 conformity

California Clawback: 1031 Out of State Still Taxes Gain

A 1031 exchange does not let you escape California capital gains tax by moving the property out of state — it only defers it. Under California’s clawback rule, when you eventually sell out-of-state replacement property in a taxable sale, the Franchise Tax Board reaches back and taxes the original California-source gain you deferred, at up to 13.3%. On a $400,000 deferred gain that is $53,200 California still expects, no matter where you live when you sell. And the FTB requires you to file Form 3840 every single year in the meantime to keep that deferred gain on its books.

Emily Martinez, CPA, CCIM
Real Estate Tax Editor
Updated May 29, 2026
11 min
2026 verified
Share

The decision: Marcus exchanges a Sacramento duplex for a Texas rental

Marcus, a single filer and California resident, owns a Sacramento duplex he bought years ago. It has appreciated to a $400,000 unrealized gain. He’s done with California rentals and wants to redeploy into a higher-cap-rate property in Austin. His advisor sets up a proper IRC §1031 like-kind exchange: a qualified intermediary holds the proceeds, he identifies the Austin property within 45 days, and closes within 180 days. The exchange is clean. No federal tax. No California tax. The full $400,000 gain is deferred.

Marcus assumes he has now “gotten the gain out of California.” The property is in Texas. Texas has no state income tax. He even plans to move to Austin himself. So when he eventually sells the Austin rental for a $400,000-plus profit, he expects to owe federal capital gains tax and nothing to any state.

That assumption is wrong, and it’s expensive. Under California’s clawback rule, the $400,000 of California-source gain he deferred never left California’s reach. When Marcus sells the Austin property in a taxable sale, California taxes that original $400,000 deferred gain as ordinary income at up to 13.3% — $53,200 — even though he’s now a Texas resident selling a Texas property. The decision lever isn’t whether the 1031 works (it does); it’s recognizing that California tax is deferred, not avoided, and planning the exit accordingly.

What the California clawback rule actually says

For exchanges completed on or after January 1, 2014, California requires any taxpayer who defers gain on the exchange of California real property for property located outside California to report and ultimately recognize that California-source gain for California tax purposes when the replacement property is sold or otherwise disposed of in a taxable transaction. The rule lives in California Revenue & Taxation Code §18032 (mirroring IRC §1031), and the reporting mechanism is FTB Form 3840, California Like-Kind Exchanges.

The logic is straightforward from California’s side: the gain accrued while the property sat in California and benefited from California’s economy. California allows the deferral — it conforms to §1031 — but it refuses to let the deferral become permanent avoidance simply because you swapped into an out-of-state asset or changed your residency. The deferred California gain stays sourced to California until a taxable event recognizes it.

Two things California does not tax matter here:

  • Post-exchange appreciation on the out-of-state property. If the Austin rental grows in value after the exchange, that new gain is Texas-source. California has no claim on it.
  • The deferral itself. While you hold the replacement property, California assesses no tax. The bill comes due only on a taxable recognition event.

The math: what Marcus actually owes, and where

Say Marcus sells the Austin rental for a $700,000 total gain — the original $400,000 California-deferred gain plus $300,000 of new Texas appreciation. Here is how the tax splits across jurisdictions in the year of sale, assuming he files single and the gain stacks him into the 20% federal long-term bracket (single income over $533,400 for 2026) plus the 3.8% Net Investment Income Tax (MAGI over $200,000 single, IRC §1411):

Tax / jurisdictionApplies toTax
Federal LTCG (20%)Full $700,000 gain$140,000
Federal NIIT (3.8%)Full $700,000 gain$26,600
California clawback (up to 13.3%)Original $400,000 CA-source deferred gain only$53,200
Texas state income tax$300,000 Texas-source appreciation$0 (no state income tax)
Total tax on the sale$219,800

The $53,200 California line is the clawback. Marcus genuinely believed it was $0 because he moved to a no-tax state and sold a no-tax-state property. California disagreed, because the source of that first $400,000 was California real estate. Note that California has no preferential capital-gains rate — like most states, it taxes long-term gains as ordinary income, so the deferred gain is hit at California’s ordinary marginal rate, topping out at 13.3%.

The exact California rate depends on Marcus’s total California taxable income in the year of sale; 13.3% is the top marginal bracket. A more typical investor whose deferred gain lands in California’s 9.3% bracket would owe roughly $37,200 on the same $400,000. Either way, it is not zero.

Form 3840: the annual filing most people forget

The clawback isn’t a one-time reckoning at sale — it imposes an ongoing obligation. The FTB requires Form 3840 in two phases:

  1. Year of exchange. File Form 3840 with your California return for the tax year you complete the exchange, reporting the deferred California-source gain and the out-of-state replacement property received.
  2. Every year after, until recognition. File Form 3840 each subsequent year that you still hold the deferred gain — even if you have no other reason to file a California return. A Texas resident with zero California income still files Form 3840 annually because of that deferred California gain.

Stop filing and the consequence is real: the FTB is authorized to estimate the previously deferred gain and assess California tax on it, treating your silence as a recognition event. In other words, dropping the annual filing can accelerate the very tax you were deferring. The form is the leash, and California holds it until you sell, exchange again, or die with the property.

What most people get wrong about the clawback

Three myths drive the most expensive mistakes:

Myth 1: “Moving out of California ends my California tax exposure.”

Residency controls where you’re taxed on future income. It does not retroactively un-source a gain that accrued on California property. The deferred gain is California-source by origin, and changing your driver’s license to Nevada or Texas does nothing to it. When the replacement property sells, you file a California nonresident return (Form 540NR) and pay the clawback. California is one of the most aggressive states in the country about tracking departing residents’ California-source income; the clawback is a structural part of that posture, not an oversight.

Myth 2: “A 1031 makes the California gain disappear.”

A 1031 exchange is a deferral, not an exclusion. The only things that make the California-source deferred gain truly vanish are:

  • Death with a step-up. Under IRC §1014, heirs take a stepped-up basis at fair market value on the date of death, wiping out the deferred gain for both federal and California purposes. “Swap till you drop” is the only clean permanent escape.
  • Qualifying primary-residence exclusion. If the replacement property later qualifies as a primary residence under IRC §121, a portion of gain (up to $250,000 single / $500,000 MFJ) may be excluded — but post-2008 nonqualified-use rules and the original deferred 1031 gain limit how much of that exclusion actually applies.

Myth 3: “Texas (or the new state) taxes the whole gain, so California can’t double-dip.”

California taxes only the original California-source portion; the new state taxes only its own in-state appreciation. There’s no double taxation of the same dollars — but if your replacement state also has an income tax (say you exchanged into Oregon at 9.9% or New York at 10.9% instead of Texas), you could owe California on the deferred slice and the new state on the appreciation slice. Choosing a no-income-tax replacement state caps your total state exposure at the California clawback alone.

Does the clawback still apply if I exchange again?

Yes — but a second 1031 continues the deferral rather than triggering it. If Marcus exchanges the Austin property into, say, a Florida property in another valid §1031 exchange, the original $400,000 California-source gain rolls forward into the Florida replacement property. He keeps filing Form 3840 annually, and the clawback waits. The deferred California gain only crystallizes on a taxable recognition event — a cash-out sale, a boot-heavy exchange, or death (which instead delivers the §1014 step-up). Serial exchanges let you defer the California gain indefinitely; they never erase it short of death.

Event after the original CA exchangeClawback triggered?Form 3840 still required?
Keep holding replacement propertyNo (deferral continues)Yes — every year
Second 1031 exchange (out of state)No (gain rolls forward)Yes — every year
Taxable cash saleYes — CA tax due (up to 13.3%)Final filing in year of sale
Death (heirs inherit)No — IRC §1014 step-up wipes gainNo (basis reset)

The 1031 mechanics still have to be clean first

None of this matters if the underlying exchange fails — a failed 1031 means the entire gain is recognized immediately, California clawback and all. The federal §1031 requirements remain non-negotiable:

  • 45-day identification: identify the replacement property within 45 days of relinquishing the California property.
  • 180-day closing: close on the replacement within 180 days (or your tax-filing deadline, whichever is earlier).
  • Qualified intermediary: you cannot touch the proceeds; a QI must hold them.
  • Like-kind real property only: since the 2017 TCJA, §1031 covers real property exclusively — no personal-property exchanges.

Source authority: IRC §1031 and Rev. Proc. 2000-37 (for reverse exchanges); California conformity and the clawback under Cal. Rev. & Tax. Code §18032 with FTB Form 3840 reporting.

The decision lever

Treat the California clawback as a known, scheduled liability — not a surprise at closing. Three moves change the outcome:

  • Model the deferred California tax as a line item in every exit scenario. On a $400,000 deferred gain, that’s $53,200 at the top rate sitting on your balance sheet until you sell. If you’re comparing “1031 now” vs. “sell and pay,” the clawback means you can’t score the exchange as zero California tax — you can only score it as deferred California tax with a time-value benefit.
  • File Form 3840 every year without fail. The annual filing is what keeps the FTB from estimating and assessing the gain early. It costs you a form; skipping it can cost you the deferral.
  • If permanent avoidance is the goal, plan around §1014. Holding the replacement property until death is the only route that erases the California-source gain entirely. Serial exchanges defer; only the step-up forgives.

The 1031 still does its job — it lets you redeploy $400,000 of equity into Austin instead of handing a chunk to the FTB today. Just price the back end correctly: California is patient, it’s tracking the gain on Form 3840, and it will collect up to 13.3% of that original California-source gain the day you cash out, wherever you happen to live.

Join the 2026 tax newsletter

Decision checklists + key 2026 federal/state numbers. Free, one click.

Found this useful? Share it.
Share

Frequently asked

Not at the time of the exchange — a properly structured 1031 defers California tax just like it defers federal tax. But California's clawback rule (since 2014) means the deferred California-source gain comes back into the FTB's reach when you finally sell the out-of-state replacement property in a taxable transaction. You also must file Form 3840 annually to track it.

The clawback is California's rule, in effect for exchanges after Jan 1, 2014, that requires you to report any California-source gain deferred in a 1031 exchange of CA property for out-of-state property — and to pay California tax on that original gain (up to 13.3%) when you ultimately sell the replacement property in a taxable sale, even if you no longer live in California.

Yes. Form 3840 (California Like-Kind Exchanges) must be filed with your California return for the year of the exchange and then every subsequent year until the deferred gain is recognized — even if you have no other California filing requirement. Skipping it lets the FTB estimate and assess the full deferred gain, so the annual filing protects you.

California does not tax the appreciation that occurs on the out-of-state property after the exchange — that belongs to the new state. It taxes only the original California-source deferred gain. California has no preferential capital-gains rate, so that deferred gain is taxed as ordinary income at up to 13.3% (IRC §1031 deferral; Cal. Rev. & Tax. Code §18032).

No. A 1031 exchange defers California tax; it does not erase it. The only ways the California-source deferred gain truly disappears are: (1) you keep exchanging until you die and your heirs receive a stepped-up basis under IRC §1014, or (2) you convert and qualify the property for the §121 primary-residence exclusion within its limits. A taxable sale anywhere triggers the clawback.

Leaving California does not release the deferred California-source gain. Even as a Nevada or Texas resident, when you sell the out-of-state replacement property in a taxable sale you owe California tax on the original deferred CA gain at up to 13.3%, and you file a California nonresident return (Form 540NR) plus Form 3840 to report it.

A second 1031 exchange continues the deferral — California's original deferred gain rolls forward into the next replacement property and you keep filing Form 3840. The clawback is only triggered by a taxable recognition event. You can defer indefinitely through serial exchanges, but the California-source gain stays tracked until a taxable sale or a §1014 step-up at death.

Free newsletter

Join the Life Money USA newsletter

Decision checklists, 2026 federal + state numbers, and our glossary. One click, free.

Join the newsletter