Big Sale TaxHans Goldstein: Tax & Exit Planning
Home / Tax Tools / Moving states before a sale
Tax Tool Analysis

Moving Out of California Before a Big Sale: What Works

residency
Short answerA genuine move to a no-income-tax state before a sale can remove state tax on gains sourced to where you live, mainly stock, partnership interests and other intangibles. It does not remove tax on real estate located in your old state, and California keeps taxing installment gain on stock sold while you were a resident. The move must be real and completed before the sale.

How it works

States tax residents on all income and nonresidents only on income sourced to the state. A capital gain from selling an intangible, such as stock in a company or an LLC interest, is generally sourced to the seller's state of residence.

So if you are a resident of Nevada, Texas, Florida, Washington (which has its own capital gains excise tax), or another state without an income tax on that gain when the sale happens, your old state generally cannot tax that gain.

The catch is in three places: what counts as a real change of residence, which gains stay sourced to the old state no matter where you live, and what happens to installment payments after you move.

Searching for a "California exit tax"? There is none in force, and the California-specific rules (FTB guidance, what stays taxable after you leave, Proposition 40) are on our California exit tax page.

Domicile and residency tests

California. A resident is anyone in California for other than a temporary or transitory purpose, or domiciled in California and outside it for a temporary or transitory purpose.

The FTB looks at where you have your closest connections, and presumes residency for any year in which you spend more than nine months in the state (FTB Publication 1031).

Factors include where your home is, where your spouse and children live, where you vote, hold a driver's license, bank, see doctors and keep professional and social ties.

New York. The state's nonresident audit guidelines list five primary factors for domicile: home, active business involvement, time, items "near and dear" and family connections. Separately, a person who keeps a permanent place of abode in New York and spends more than 183 days there is taxed as a statutory resident even if domiciled elsewhere.

Changing domicile requires both moving and intending to stay. The burden of proving a change is on the taxpayer. Keeping the old house, the old club memberships and the old doctors while claiming a new domicile is how cases are lost.

Gains your old state still taxes

  • Real property. Gain on real estate is sourced to the state where the property sits. California taxes a nonresident's gain on California property, including on installment payments received years later (FTB Publication 1100, examples 2 and 7).
  • Installment sales of stock made while a resident. FTB Publication 1100, example 8: a California resident sells stock on an installment basis, moves to Florida, and receives payments later. The capital gain stays taxable by California because the seller was a resident when the stock was sold. The interest on the note follows the seller's residence when received.
  • New York accrual on moving out. New York requires a part-year resident moving out to accrue items that would be reportable under the accrual method at the time of the move, including gain elected to be reported on the installment basis (Form IT-203 instructions, special accruals).
  • Business income from in-state operations. Gain that flows through to owners from a pass-through business with in-state operations, or a sale of assets of such a business, can be sourced or apportioned to that state regardless of where the owner lives. The structure of the sale (stock versus assets) matters.
  • Retirement income is different. Federal law at 4 USC 114 bars states from taxing nonresidents on most retirement income, such as qualified plan and IRA distributions. It does not cover sale proceeds or installment notes.

Who it fits, and who it does not

Good fit: owners selling stock or membership interests in a company, who have a real reason and desire to live in the new state, and who can move fully before the sale is agreed.

Poor fit: sellers of in-state real estate, owners who plan to keep their main home and family life in the old state, and anyone whose deal is already signed or closing within weeks. A move made in a rush right before closing, followed by a return, is exactly the pattern auditors look for.

Worked example

Assumptions (site tax engine, 2026 law, labeled): married filing jointly, $200,000 of other ordinary income, a $5,000,000 long-term capital gain on the sale of company stock, all reported in 2026. California figures use the FTB 2026 rate schedule.

Resident ofFederal (income tax, AMT, NIIT)StateTotal added tax
California$1,191,465$630,263$1,821,728
Nevada$1,191,465$0$1,191,465

The federal tax is identical. The entire difference, $630,263, is the state tax, and it disappears only if the sellers were genuinely Nevada residents when the stock was sold. If they sold on an installment note while still California residents and moved afterward, California would still tax the gain as payments arrive. If the asset were a California building, California would tax it either way.

IRS stance and audit risk

This is a state issue, not a federal one; the IRS does not care where you live. State audit risk is real. California and New York both run residency audits on high-income former residents, review travel records, phone and card data, home ownership and family ties, and can assess tax, interest and penalties years later.

The safest pattern is a clean move well before the sale: sell or lease out the old home, move family and belongings, change licenses, registrations, voting, doctors and advisors, and keep a day-count log.

Costs and fees

The costs are personal and practical rather than fees: buying or renting a new home, moving, possibly selling the old home, part-year resident returns in the year of the move, and the cost of defending a residency audit if one comes. A residency attorney's review before the move is common for large sales.

How it compares with a Section 453 installment sale

A Section 453 installment sale spreads federal and state tax over the payment years. It does not by itself change which state taxes the gain.

In California, the state of residence at the time of the sale controls gain on intangibles, so a sale on a note followed by a move does not shed California tax on the gain; only the interest follows you. Selling after a genuine move, with or without a note, is what changes the state answer.

Sellers of in-state real estate get no state benefit from moving, but can still use an installment sale, a 1031 exchange or other tools to manage timing.

What to know

Moving only helps for gains sourced to your residence, and only if the move is real and done before the sale. Real estate stays taxed where it is. California keeps taxing installment gain on stock sold while you were a resident, and New York requires accrual of installment gain when you move out. Residency audits are common for large sales and the burden of proof is on you.

Free PDF sheet

Long-Term vs Short-Term Capital Gains (2026)

The one-year holding rule, the 2026 0/15/20% thresholds for every filing status, NIIT, recapture, the state layer and a worked $200,000 example: 11 months vs 13 months, and what spreading the gain can save.

Hans Goldstein
Enrolled Agent, admitted to practice before the IRS

By entering your email you agree to receive this sheet and occasional educational emails from Hans Goldstein: Tax & Exit Planning. Unsubscribe anytime.

Frequently asked questions

How to avoid California capital gains tax?
A genuine move to a state with no income tax on that gain, completed before the sale closes, can remove California tax on gain from intangibles such as stock or LLC interests. It does not remove tax on California real estate, and California still taxes installment gain from stock sold while you were a resident. The move must be real, and the burden of proving it is on the taxpayer.
Can I avoid California tax on a business sale by moving to Nevada?
Possibly, for gain on stock or partnership interests sourced to your residence, if you are genuinely a Nevada resident before the sale. Not for California real estate, and not for business income apportioned to California.
If I sell on an installment note and then move, does California still tax the payments?
For the gain, yes. FTB Publication 1100 says gain on intangible property sold while a California resident stays taxable by California even after you move. Interest received after the move is sourced to your new state.
How long do I need to live in the new state before selling?
There is no fixed number of days. What matters is that your domicile changed before the sale. California presumes residency if you spend more than nine months in the state in a year; a clean, documented move well before signing is safest.
Does the federal retirement income law protect sale proceeds?
No. 4 USC 114 limits state taxation of nonresidents' retirement income, such as pensions and IRA distributions. It does not cover gains from selling a business or property.
What does New York look at in a residency audit?
Its nonresident audit guidelines list home, active business involvement, time, items near and dear, and family connections, plus the separate 183-day statutory resident test.
Is moving before a sale legal?
Yes, if the move is real. People are free to change where they live. What fails is a paper move where life stays in the old state.
How Hans helps: the Big Sale Tax Analysis models this path side by side with every other option for your sale and ends with a written recommendation. See the analysis.
Next step

Know your number before you sign.

Start with a free scope call: a short call to see whether the Big Sale Tax Analysis is worth it for your sale. No obligation.

Prefer email? Request the analysis by email.

You talk to Hans Goldstein. Enrolled Agent, admitted to practice before the IRS.

Call Hans: 213-340-2018Book a time