Leaving California or New York for Spain: Ending State Tax Residency
Moving abroad does not automatically end state tax residency. How California and other states see you after you move to Spain.

By Lorenzo, Spain Expat Consulting · Last checked: December 2026
Federal tax follows Americans everywhere. State tax should not, but some states do not let go easily. California in particular can keep treating you as a resident after you have moved to Spain if your ties remain. That can mean paying Spanish tax, federal tax and state tax on the same salary.
Short answer: Moving abroad does not automatically end state tax residency. California keeps taxing people who remain domiciled there unless they are outside the state for more than a temporary purpose. Its safe harbor treats you as a non-resident if you are abroad for at least 546 consecutive days under an employment-related contract, with return visits of no more than 45 days a year. Other states, like New York, look mainly at domicile. Cut your ties clearly, and plan it together with the Beckham Law, because state tax on top of Spanish tax gets little relief.
What are the key facts?
Point | California |
|---|---|
Main test | Domicile and whether you are away for more than a temporary purpose |
Safe harbor | At least 546 consecutive days abroad under an employment-related contract |
Return visits | No more than 45 days in any tax year covered by the contract |
Exceptions | Intangible income above $200,000 in a year, or a main purpose of avoiding tax |
Spouse | Covered if also away for 546 consecutive days |
Sources: California Revenue and Taxation Code section 17014 and the FTB’s residency pages.
How does the 546-day safe harbor work?
Under section 17014(d), a person domiciled in California who is absent for an uninterrupted 546 consecutive days under an employment-related contract is treated as outside the state for other than a temporary purpose. Visits home totalling 45 days or less a year do not break it. It is meant for people working abroad, such as transferees or employees of a Spanish company, not for retirees or people living on investments.
If you do not fit the safe harbor, California weighs your ties: where your home is, where your spouse and children live, where your driver’s licence, voter registration, bank accounts and professional licences are, and how much time you spend there.
What about other states?
States differ. Some have no income tax at all. Others, such as New York, focus on domicile: if you never really gave up your New York home base, they can argue you are still domiciled there. The practical steps are similar everywhere: sell or rent out your home on a long lease, move your licences and registrations, and keep proof of your Spanish life.
Why it matters for the Beckham Law
The Beckham Law can cut your Spanish tax on salary to 24%. If a state still taxes the same salary, much of that advantage disappears, because state taxes get little or no relief for Spanish tax. Before you rely on the regime, make sure your state residency really ends. Read the Beckham Law and US tax and moving to Spain from the USA.
Planning a move from California or New York? Book a Beckham Law consultation or WhatsApp Lorenzo.
A checklist for cutting state ties
Sell your home or rent it out on a long-term lease.
Surrender or stop renewing your state driver’s licence and register to vote from abroad.
Move bank accounts and mail to your Spanish address where possible.
Keep a log of days spent in the state.
File a final part-year resident return for the year you leave.
Frequently asked questions
Does the safe harbor apply to remote workers?
It requires an employment-related contract and the full 546 days away. Remote employees often qualify; people without a contract need to rely on the general ties test.
Can California tax my RSUs after I leave?
States can tax equity earned while you lived there. See stock options and RSUs.
What if I move to Texas first?
Moving through a no-tax state can help only if the move is real. A short stop does not change your domicile.
Do I still file a federal return?
Yes. US citizens file federal returns wherever they live.
Make the move clean on both sides
We plan your Spanish arrival and Beckham Law timing around your state exit. Book a Beckham Law consultation or WhatsApp Lorenzo.
This article is general information, not legal or tax advice. Fees, thresholds and procedures change, so check the official sources linked above or speak to us before you act.
Need help applying this information to your circumstances? Speak with Spain Expat Consulting about the assistance available for your next steps.