# Ca Residency Leaving California

> Leaving California for Texas, Florida, Nevada or abroad, tax year 2026. Who is a California resident under R&TC 17014 and Regulation 17014, domicile versus residence, the closest-connection test, the nine-month presumption (R&TC 17016) and the six-month visitor rule, the 546-day employment-contract safe harbor with its 45-day and $200,000 limits, the change-of-residence date, how Form 540NR taxes a part-year year (California tax rate times California taxable income, prorated exemption credits), which California-source income (real estate, installment sales, wages for work in California, partnerships, non-competes) stays taxable after the move, the qualified retirement income exclusion (R&TC 17952.5 and 4 U.S.C. 114), and the records that decide a residency audit. Trigger on "leaving California", "moving out of California taxes", "California residency audit", "part-year resident California", "540NR", "546 day rule", "California domicile".

- Skill: `openaccountants/ca-residency-leaving-california` (Agent Skill)
- Install (CLI): `npx get-skill add openaccountants/ca-residency-leaving-california`
- Raw SKILL.md: https://api.skillmd.com/api/skills/openaccountants/ca-residency-leaving-california/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: AI & ML
- License: AGPL-3.0-or-later (code) / OpenAccountants Guide License v1.0 (c
- Author: openaccountants (https://skillmd.com/u/openaccountants)
- Updated: 2026-11-15
- Page: https://skillmd.com/skills/openaccountants/ca-residency-leaving-california

---


# Leaving California: residency, domicile and the part-year return, tax year 2026

> **Source-cited draft.** Built from R&TC 17014, 17016 and 17952.5, California Code of Regulations Title 18, Regulations 17014, 17951-1, 17951-2, 17951-3, 17951-5, 17951-6, 17952 and 17953 (official Westlaw CCR site, read through Firecrawl), FTB Pub. 1031 (2025), the 2025 Form 540NR booklet, the 2026 California Tax Rate Schedules and 4 U.S.C. 114 (govinfo), read on 2026-11-13. No accountant has reviewed it. All outputs must be reviewed by a qualified tax professional before filing.

**Answer first.** California taxes a resident on all income and a nonresident only on California-source income. A resident is anyone in California for other than a temporary or transitory purpose, or anyone domiciled in California who is away only temporarily (R&TC 17014(a)). Moving out ends residence when the absence stops being temporary; it ends domicile only when the person abandons any intention of returning **and** settles elsewhere to stay indefinitely. More than nine months in California in a year raises a rebuttable presumption of residence (R&TC 17016). A California domiciliary away for at least **546 consecutive days** under an employment contract is treated as a nonresident unless intangible income exceeds **$200,000** in a contract year or the main purpose is tax avoidance; return visits totalling 45 days or less a year are ignored (R&TC 17014(d)). In the year of the move, file Form 540NR: tax on total taxable income at California rates, times California taxable income over total taxable income.

## Scope and who this is for

For a person who lives in California and is moving to another state or country, and the adviser helping them. Out of scope: the full-year resident return (`ca-540-individual-return`), the figures (`ca-income-tax`), federal residency and multi-state allocation in general (`us-multi-state-residency-and-allocation`), a US citizen's federal position abroad (`us-citizen-moving-abroad-tax`), the federal residency tests for non-citizens (`us-tax-residency`), and the Florida side of a move there (`fl-moving-to-florida-domicile`).

## Ask the client first

1. **When did you decide not to come back, and when did you settle in the new place with the plan to stay indefinitely?** Regulation 17014(c) needs both.
2. **How many days were you in California this year, and in each year after the move?** Calendar or travel records (R&TC 17016, the six-month rule, the 45-day limit).
3. **Is the move under an employment contract, for how long, and how much intangible income (interest, dividends, gains) will you have each year?** The 546-day safe harbor.
4. **What happened to the California home: sold, rented, or kept for your own use?** Regulation 17014 examples and Regulation 17951-3.
5. **Any sale before the move with payments after it, a business sale with a non-compete, or pay after the move for work before it (bonus, stock options, RSUs, deferred pay, severance)?** Regulations 17952 and 17951-6; refer the compensation items.
6. **Is your spouse moving at the same time, and is there community property?**

## The method, step by step

1. **Domicile before and after.** Regulation 17014(c): the place of the true, fixed, permanent home, to which the person intends to return whenever absent. One domicile at a time. A Californian "loses his California domicile the moment he abandons any intention of returning to California and locates elsewhere with the intention of remaining there indefinitely". Both limbs.
2. **Residence in each part of the year.** R&TC 17014(a): resident if in California for other than a temporary or transitory purpose, or domiciled here and outside for a temporary or transitory purpose. Regulation 17014(a): a domiciliary "remains a resident unless he is outside of this State for other than temporary or transitory purposes"; a person resident by presence who leaves for other than a temporary purpose "thereupon ceases to be a resident".
3. **Test the employment-contract safe harbor** (R&TC 17014(d)) if the absence is under an employment-related contract. If it applies, the person is outside California for other than a temporary purpose for the whole period.
4. **Count days and test the presumption** (R&TC 17016). More than nine months in aggregate raises a presumption, rebuttable by evidence of a temporary purpose. Fewer days proves nothing on its own.
5. **Fix the date residence ended.** Status depends on conduct during the entire year and ordinarily cannot be settled until the year closes (Regulation 17014(e)).
6. **Source the income after that date** under Regulations 17951-1 to 17951-6, 17952 and 17953; test retirement income under R&TC 17952.5 and 4 U.S.C. 114.
7. **Prepare Form 540NR** for the move year: Schedule CA (540NR) columns A to D for total income as if resident all year, column E for income while resident plus California-source income while nonresident; line 36 California tax rate = tax on total taxable income (line 31) over total taxable income (line 19), rounded to four decimals; line 37 = California taxable income (line 35) times that rate; line 38 exemption credit percentage = line 35 over line 19 (not more than 1.0000).
8. **File with a statement where status is in doubt.** Regulation 17014(d)(2): a person presumed resident, or with any question about status, should file a return for the year with a signed statement and evidence, even if they believe they had no California-source income.

### Rates, bands and thresholds

| Rule | Figure | Conditions | Source |
| --- | --- | --- | --- |
| Presumption of residence | More than nine months in aggregate in the taxable year | Rebuttable by satisfactory evidence of a temporary or transitory purpose | [R&TC 17016](https://leginfo.legislature.ca.gov/faces/codes_displaySection.xhtml?lawCode=RTC&sectionNum=17016) |
| Six-month visitor rule | Presence not exceeding an aggregate of six months in the taxable year | Only for a person domiciled outside California who keeps a permanent abode at the domicile and acts only as a seasonal visitor, tourist or guest | [Regulation 17014(b)](https://govt.westlaw.com/calregs/Document/IEB5956134C8311EC89E5000D3A7C4BC3?viewType=FullText&transitionType=Default&contextData=(sc.Default)) |
| Employment-contract safe harbor | Absent for an uninterrupted period of at least 546 consecutive days | Domiciled in California, under an employment-related contract; separate contracts cannot be combined (Pub. 1031 example) | [R&TC 17014(d)](https://leginfo.legislature.ca.gov/faces/codes_displaySection.xhtml?lawCode=RTC&sectionNum=17014); [FTB Pub. 1031 (2025)](https://www.ftb.ca.gov/forms/2025/2025-1031-publication.pdf) |
| Return visits ignored | Not more than 45 days in aggregate in a taxable year | Under the safe harbor | [R&TC 17014(d)(1)](https://leginfo.legislature.ca.gov/faces/codes_displaySection.xhtml?lawCode=RTC&sectionNum=17014) |
| Intangible income bar | More than $200,000 of income from stocks, bonds, notes or other intangibles in any taxable year the contract is in effect | Safe harbor lost; each spouse tested separately | [R&TC 17014(d)(2)](https://leginfo.legislature.ca.gov/faces/codes_displaySection.xhtml?lawCode=RTC&sectionNum=17014) |
| Accompanying spouse | Also outside California for other than a temporary purpose if absent 546 consecutive days with the covered spouse | R&TC 17014(d)(3) | same |
| Tax avoidance | Safe harbor does not apply if the principal purpose of the absence is to avoid tax | R&TC 17014(d)(4) | same |
| Form 540NR tax rate | Tax on total taxable income divided by total taxable income, four decimals | Line 36 | [2025 Form 540NR booklet](https://www.ftb.ca.gov/forms/2025/2025-540nr-booklet.pdf) |
| Exemption credit percentage | California taxable income over total taxable income, not above 1.0000 | Line 38; not applied to the renter's credit, child care credit or other state tax credit | same |

## Boundary and exception table

### Who is a resident (Regulation 17014)

| Item | Rule | Source |
| --- | --- | --- |
| Temporary or transitory, 17014(b) | Passing through, a brief rest or vacation, completing a particular transaction or a short contract | [Regulation 17014](https://govt.westlaw.com/calregs/Document/IEB5956134C8311EC89E5000D3A7C4BC3?viewType=FullText&transitionType=Default&contextData=(sc.Default)) |
| Not temporary, 17014(b) | A long or indefinite stay for health, business needing a long or indefinite period, a job that may last permanently or indefinitely, retiring with no definite intention of leaving | same |
| Closest connection, 17014(b) | "the state with which a person has the closest connection during the taxable year is the state of his residence" | same |
| Keeping domicile, 17014(c) | Kept "as long as he has the definite intention of returning here regardless of the length of time" | same |
| Proof, 17014(d)(1) | Affidavits of friends and business associates about the reasons for being outside the state should be submitted; voting and filing as a resident elsewhere are relevant to domicile but "of little value in determining one's residence"; no weight to where charitable gifts go | same |
| Timing, 17014(e) | Status depends on conduct during the entire year; "it will not be possible, ordinarily, to determine his status until after the close of the year" | same |

**Facts the examples weigh** (Regulation 17014(b) examples 1 to 3): where the person spends time each year and for how many months; which homes they keep and use, and whether a California house is rented out or kept with a caretaker; where bank accounts are; social, club and business connections and business office space; where relatives are. In example 2 a Nevada declaration and bank accounts did not outweigh six or seven months a year in a kept California estate with California clubs and business: the person was a resident. The examples apply equally where the other place is a country.

**Domicile and residence differ.** A domiciliary absent for other than a temporary purpose (a long posting abroad) is not a resident while away, but stays domiciled in California; while domicile stays here, any later absence that is only temporary leaves the person a resident.

### Income California still taxes after the move

| Income | Rule | Source |
| --- | --- | --- |
| California real or tangible property | Rents and gains are California-source "regardless of where the sale or transfer is consummated", with or without a business here | [Regulation 17951-3](https://govt.westlaw.com/calregs/Document/IF42CDB934C8311EC89E5000D3A7C4BC3?viewType=FullText&originationContext=documenttoc&transitionType=CategoryPageItem&contextData=(sc.Default)) |
| Wages | Continuous employment in California for a definite part of the year: total pay for that period. Work here at intervals: by working days (daily, weekly or monthly pay), by miles (mileage pay), or by the part reasonably attributable to California services | [Regulation 17951-5](https://govt.westlaw.com/calregs/Document/IF45E4BD34C8311EC89E5000D3A7C4BC3?viewType=FullText&originationContext=documenttoc&transitionType=CategoryPageItem&contextData=(sc.Default)) |
| Professionals | Nonresident attorneys, physicians, accountants, engineers include the entire fees for services performed in California, even if not regularly practising here | same, (a)(3) |
| Partnerships | Distributive share to the extent derived from California sources; payments for services or use of capital are also gross income | [Regulation 17951-1](https://govt.westlaw.com/calregs/Document/IF40E08F34C8311EC89E5000D3A7C4BC3?viewType=FullText&originationContext=documenttoc&transitionType=CategoryPageItem&contextData=(sc.Default)) |
| Shares, bonds, bank deposits | California-source only if the property has a business situs here; but trading in California so regularly, systematically and continuously as to be doing business here is taxed as business income | [Regulation 17952(b), (c)](https://govt.westlaw.com/calregs/Document/IF473F6B34C8311EC89E5000D3A7C4BC3?viewType=FullText&originationContext=documenttoc&transitionType=CategoryPageItem&contextData=(sc.Default)) |
| Installment sale of intangibles before the move | Source fixed at the time of sale: later installment gains are California-source (absent a business situs exception) | Regulation 17952(d), same |
| Covenant not to compete on the sale of a California business | Sourced by the apportionment factors of the business sold for the year of sale "in all but unusual circumstances" | [Regulation 17951-6](https://govt.westlaw.com/calregs/Document/IF4696F634C8311EC89E5000D3A7C4BC3?viewType=FullText&originationContext=documenttoc&transitionType=CategoryPageItem&contextData=(sc.Default)) |
| Trust and estate income from intangibles | Not California-source unless the property has a business situs here or the trust licenses its use here; the trustee's residence is immaterial | [Regulation 17953](https://govt.westlaw.com/calregs/Document/IF47CD0504C8311EC89E5000D3A7C4BC3?viewType=FullText&originationContext=documenttoc&transitionType=CategoryPageItem&contextData=(sc.Default)) |
| Qualified retirement income | Not California-source for any part of the year the taxpayer was not a resident (qualified plans, IRAs, 403(b), 457 and the other plans listed) | [R&TC 17952.5](https://leginfo.legislature.ca.gov/faces/codes_displaySection.xhtml?lawCode=RTC&sectionNum=17952.5); [Regulation 17951-2](https://govt.westlaw.com/calregs/Document/IF42450134C8311EC89E5000D3A7C4BC3?viewType=FullText&originationContext=documenttoc&transitionType=CategoryPageItem&contextData=(sc.Default)) |
| Federal limit | "No State may impose an income tax on any retirement income of an individual who is not a resident or domiciliary of such State". Nonqualified deferred pay is protected only as substantially equal periodic payments over life or at least 10 years, or excess-benefit plan payments after employment ends | [4 U.S.C. 114](https://www.govinfo.gov/content/pkg/USCODE-2024-title4/html/USCODE-2024-title4-chap4-sec114.htm) |

### Records that decide an audit

Keep, for the move year and after: a day-by-day calendar with travel records; the reason for the move and proof it is not temporary (job offer, lease or purchase, a business set up there); what happened to the California home; where bank accounts, clubs, business office space and family are, before and after; names of people who can give affidavits on why the person is outside California.

### Move checklist

1. Decide the intention, and record when both domicile limbs became true.
2. Make the new place the main home (example 2).
3. Decide the California home: kept and used is a connection; rented is California-source rent.
4. Move bank accounts, clubs and office space.
5. Plan visits back: after domicile moves, a visit is temporary under the six-month rule only if all four conditions hold; under the safe harbor, keep visits to 45 days or less a year.
6. Time sales: a sale before the move fixes the source in California for later installments; California real estate is California-source whenever sold.
7. Keep the records above; file with a signed statement if status is in doubt.

## Worked cases

### Case 1: the part-year return (computation)

Dana, single, left San Jose for a permanent job in Austin on May 31, 2026. Total 2026 taxable income as if resident all year (Form 540NR line 19) is $200,000. California taxable income (line 35: everything while resident plus California-source income after, here the rent on her San Jose condo) is $80,000. Tax on $200,000 from the 2026 Schedule X: $3,310.88 plus 9.3% of $124,803 = $14,917.56, entered as $14,918 on line 31. California tax rate (line 36): $14,918 / $200,000 = 0.0746. California tax before credits (line 37): $80,000 x 0.0746 = $5,968. Exemption credit percentage (line 38) 0.4000, so her $153 personal credit (2025 amount, pending the 2026 figure) becomes $61.20.

```oa-check
name: CA 2026 Form 540NR part-year tax, single
inputs:
  total_ti: 200000
  ca_ti: 80000
  credit: 153
steps:
  - total_tax: round(3310.88 + (total_ti - 75197) * 0.093, 0)
  - ca_rate: round(total_tax / total_ti, 4)
  - ca_tax: ca_ti * ca_rate
  - credit_pct: min(ca_ti / total_ti, 1)
  - prorated_credit: credit * credit_pct
expected:
  total_tax: 14918
  ca_rate: 0.0746
  ca_tax: 5968
  credit_pct: 0.4
  prorated_credit: 61.20
```

### Case 2: does the 546-day safe harbor apply? (decision)

Sam, domiciled in San Diego, takes a two-year contract in Germany from February 1, 2026 to January 31, 2028 (729 days). He comes home for a 40-day visit in 2026 and expects $150,000 of interest and dividends a year. Days 729 is at least 546; visits 40 do not exceed 45; intangible income $150,000 does not exceed $200,000: the safe harbor applies and he is a nonresident for the contract period (a 1 below). If his investment income were $250,000 in any contract year, the safe harbor would fail (a 0) and his status would turn on the general closest-connection facts.

```oa-check
name: CA 546-day employment contract safe harbor test
inputs:
  days_away: 729
  visit_days: 40
  intangible_income: 150000
  intangible_income_alt: 250000
steps:
  - ok_days: clamp(days_away - 545, 0, 1)
  - ok_visits: clamp(46 - visit_days, 0, 1)
  - ok_income: clamp(200001 - intangible_income, 0, 1)
  - applies: ok_days * ok_visits * ok_income
  - ok_income_alt: clamp(200001 - intangible_income_alt, 0, 1)
  - applies_alt: ok_days * ok_visits * ok_income_alt
expected:
  applies: 1
  applies_alt: 0
```

## When to refuse or refer

- Refer equity compensation (options, RSUs), deferred bonuses and severance relating to work before the move and paid after it: the regulations read here do not print how California sources or accrues them.
- Refer spouses who move at different times or a spouse who stays, and community-property splits.
- Refer any case where a California home stays in regular use, California business activity continues, or long periods are spent here after the move (example 2).
- Refer an open FTB residency inquiry or audit, and any statute-of-limitations question.
- Refer retirement income received by someone no longer resident but still domiciled in California: 4 U.S.C. 114 protects only a person who is neither resident nor domiciled.
- Refuse to say that a declaration of domicile, a new driver's licence or voter registration alone ends California residence (Regulation 17014(d)(1) and example 2).

## Filing and payment

| Step | When and where | Source |
| --- | --- | --- |
| Part-year or nonresident return | Form 540NR with Schedule CA (540NR), due April 15, 2027 for 2026; automatic extension to file to October 15, 2027, not to pay | [2025 Form 540NR booklet](https://www.ftb.ca.gov/forms/2025/2025-540nr-booklet.pdf) |
| Status in doubt | File anyway, with a signed statement and evidence (Regulation 17014(d)(2)) | [Regulation 17014](https://govt.westlaw.com/calregs/Document/IEB5956134C8311EC89E5000D3A7C4BC3?viewType=FullText&transitionType=Default&contextData=(sc.Default)) |
| Estimated tax after the move | Nonresidents with California-source income still follow Form 540-ES | `ca-estimated-tax-540es` |

## Completion checklist

- [ ] Domicile date recorded with both limbs evidenced.
- [ ] Residence end date fixed on the whole year's conduct.
- [ ] Day count kept; nine-month presumption and six-month rule tested.
- [ ] 546-day safe harbor tested where there is an employment contract (45 days, $200,000, spouse).
- [ ] Each post-move income item sourced; installment sales and non-competes checked.
- [ ] Retirement income tested under R&TC 17952.5 and 4 U.S.C. 114.
- [ ] Form 540NR lines 31, 35 to 39 computed; rate rounded to four decimals.
- [ ] Records kept; statement attached if status is in doubt.

## Sources

| Source | URL | Read on |
| --- | --- | --- |
| R&TC 17014 (California Legislative Information, through Firecrawl). Read for (a) resident, (c) temporary absence, (d) the 546-day safe harbor, 45 days, $200,000, spouse and tax-avoidance limbs. | https://leginfo.legislature.ca.gov/faces/codes_displaySection.xhtml?lawCode=RTC&sectionNum=17014 | 2026-11-13 |
| R&TC 17016. Read for the nine-month presumption. | https://leginfo.legislature.ca.gov/faces/codes_displaySection.xhtml?lawCode=RTC&sectionNum=17016 | 2026-11-13 |
| R&TC 17952.5. Read for (a) the qualified retirement income exclusion for nonresident periods and (b) the plan list. | https://leginfo.legislature.ca.gov/faces/codes_displaySection.xhtml?lawCode=RTC&sectionNum=17952.5 | 2026-11-13 |
| 18 CCR 17014 (official CCR on Westlaw, through Firecrawl). Read for (a) to (e) and the closest-connection and six-month text. | https://govt.westlaw.com/calregs/Document/IEB5956134C8311EC89E5000D3A7C4BC3?viewType=FullText&transitionType=Default&contextData=(sc.Default) | 2026-11-13 |
| 18 CCR 17951-1. Read for the partnership rule. | https://govt.westlaw.com/calregs/Document/IF40E08F34C8311EC89E5000D3A7C4BC3?viewType=FullText&originationContext=documenttoc&transitionType=CategoryPageItem&contextData=(sc.Default) | 2026-11-13 |
| 18 CCR 17951-2. Read for the source list and the retirement income sentence. | https://govt.westlaw.com/calregs/Document/IF42450134C8311EC89E5000D3A7C4BC3?viewType=FullText&originationContext=documenttoc&transitionType=CategoryPageItem&contextData=(sc.Default) | 2026-11-13 |
| 18 CCR 17951-3. Read for real and tangible property. | https://govt.westlaw.com/calregs/Document/IF42CDB934C8311EC89E5000D3A7C4BC3?viewType=FullText&originationContext=documenttoc&transitionType=CategoryPageItem&contextData=(sc.Default) | 2026-11-13 |
| 18 CCR 17951-5. Read for wages and professionals. | https://govt.westlaw.com/calregs/Document/IF45E4BD34C8311EC89E5000D3A7C4BC3?viewType=FullText&originationContext=documenttoc&transitionType=CategoryPageItem&contextData=(sc.Default) | 2026-11-13 |
| 18 CCR 17951-6. Read for (a)(6) the covenant not to compete factors. | https://govt.westlaw.com/calregs/Document/IF4696F634C8311EC89E5000D3A7C4BC3?viewType=FullText&originationContext=documenttoc&transitionType=CategoryPageItem&contextData=(sc.Default) | 2026-11-13 |
| 18 CCR 17952. Read for (b) situs, (c) business situs and (d) installment sales. | https://govt.westlaw.com/calregs/Document/IF473F6B34C8311EC89E5000D3A7C4BC3?viewType=FullText&originationContext=documenttoc&transitionType=CategoryPageItem&contextData=(sc.Default) | 2026-11-13 |
| 18 CCR 17953. Read for nonresident beneficiaries. | https://govt.westlaw.com/calregs/Document/IF47CD0504C8311EC89E5000D3A7C4BC3?viewType=FullText&originationContext=documenttoc&transitionType=CategoryPageItem&contextData=(sc.Default) | 2026-11-13 |
| FTB Pub. 1031 (2025). Read for section E Safe Harbor and its examples 1 and 2. | https://www.ftb.ca.gov/forms/2025/2025-1031-publication.pdf | 2026-11-13 |
| 2025 Form 540NR booklet. Read for How Nonresidents and Part-Year Residents Are Taxed and lines 32, 36, 38 and 39. | https://www.ftb.ca.gov/forms/2025/2025-540nr-booklet.pdf | 2026-11-13 |
| 2026 California Tax Rate Schedules. Read for Schedule X used in Case 1. | https://www.ftb.ca.gov/forms/2026/2026-540-tax-rate-schedules.pdf | 2026-11-13 |
| 4 U.S.C. 114 (govinfo). Read for (a) and (b)(1). | https://www.govinfo.gov/content/pkg/USCODE-2024-title4/html/USCODE-2024-title4-chap4-sec114.htm | 2026-11-13 |

Not yet confirmed: the 2026 Form 540NR booklet was not published on 2026-11-13, so line numbers are from 2025; how California sources post-move equity compensation, bonuses and severance (FTB Pub. 1004 and the accrual rule in R&TC 17554 were not read); the split of community or joint income between a resident and a nonresident spouse; the separate Regulation 17016 text was not opened (the statute was).

## Today's figures and who stands behind this skill

This file is an AI skill (tax rules your AI follows) from OpenAccountants, copied on 2026-11-13. Rates, thresholds and deadlines change. For the current version of this skill, its official sources and the named accountant (if any) who stands behind it, call `get_skill` with slug `ca-residency-leaving-california` on the OpenAccountants connector (https://www.openaccountants.com/connect), or read https://www.openaccountants.com/skills/ca-residency-leaving-california. If neither is available, confirm every figure against the official source pages cited above before relying on it.

