Answered October 2026

You likely use California Form 540 for 2025 if California was your ongoing home all year; your 90 H-1B days and F-1 history do not by themselves require Form 540NR.

“I transitioned from F1 to H1B in October 2025 (I was on F1 from July 2022 to September 2025). I've been living in California since May 2024 on OPT. Since I haven't been in the US for 5 years yet and only spent 90 days on H1B last year, do I file as a resident (Form 540) or non-resident (Form 540NR) for my California state tax return?”

Summary

California can call you a resident even if your federal return treats you as a nonresident alien. The deciding question is whether your California home and work were ongoing throughout 2025 or genuinely temporary—not whether you had reached five years in the United States.

Your California form depends on whether California was your ongoing home throughout 2025, only a temporary stay, or became your home partway through the year—not on your F-1/H-1B day count.

California was your home all yearlikely route

If your California home and job were long-term or indefinite throughout 2025, use **2025 Form 540**. A long or indefinite California work assignment is an example of a stay that is not temporary or transitory, and FTB directs full-year residents to Form 540 (or Form 540 2EZ, if eligible). Your account of living and working there since May 2024 points toward this route, but the purpose and ties still matter. [FTB Publication 1031 (2025), Sections E, G and H; 2025 Form 540NR Booklet, “Which Form Should I Use?”]

California stay stayed temporaryif temporary

If you kept your main home and stronger ties elsewhere and can establish that your California stay remained genuinely throughout 2025, use **2025 Form 540NR** as a full-year nonresident and report California-source income, including pay for services performed there. If you spent more than nine months in California, you must overcome the statutory resident with satisfactory evidence. [California Revenue and Taxation Code §§ 17014(a)(1), 17016; FTB, Part-year resident and nonresident; 2025 Form 540NR Booklet]

Your California stay changed during 2025if it changed

If your stay was genuinely temporary at the start of 2025 but became long-term during the year, use **2025 Form 540NR** as a . Report income from all sources while resident and California-source income while nonresident. The change date comes from your circumstances, not automatically from the October H-1B start. [FTB Publication 1031 (2025), Sections E, G and I; 2025 Form 540NR Booklet, “How Nonresidents and Part-Year Residents are Taxed”]

These routes assume you have a California filing requirement; the 2025 FTB instructions make filing conditional on the applicable income requirements. [FTB Publication 1031 (2025), Section E]

Read the full explanation

Watch out for

Federal days do not choose your California formThe IRS student-day exclusion and the rule counting H-1B days concern federal tax residency. California instead asks whether your stay was for more than a ; being on F-1 until September does not itself make you a California nonresident. [IRS, Exempt individual—Who is a student; IRS, Taxation of H-1B individuals; California Revenue and Taxation Code § 17014(a)(1)]
Nine months is a presumption, not an absolute ruleIf you spent more than nine months physically in California during 2025, state law presumes you were a resident. You can overcome that with satisfactory evidence that your stay was temporary or transitory; living there for fewer than nine months does not, by itself, establish nonresidency. [California Revenue and Taxation Code § 17016; FTB Publication 1031 (2025), Section H]
Your visa change is not necessarily your move dateDo not automatically mark October 2025 as the start of California residency. If your California home and work were already long-term while you were on OPT, you may have been a resident before the H-1B change; if your stay genuinely changed from temporary to long-term during 2025, the route applies. [FTB Publication 1031 (2025), Sections E, G and H]
The filing extension did not extend paymentThe automatic extension gives you until October 15, 2026, to file your 2025 California return. Any amount owed was due April 15, 2026, so paying now does not erase possible penalties and interest. [FTB, Extension to file, updated March 18, 2026]

Next steps

Use your 2025 living and work history to choose the correct California form, then meet the imminent filing deadline.

First

Map your California home and work during 2025

Compare how long you were physically in California, where your main home and closest ties were, and whether your work had a definite short end date or was long-term. Under California Revenue and Taxation Code §§ 17014 and 17016, more than nine months physically in the state creates a rebuttable resident presumption; FTB Publication 1031 (2025), Sections G–H, gives the relevant ties and work-assignment examples: https://www.ftb.ca.gov/forms/2025/2025-1031-publication.pdf.

Requirements

2025 travel dates and California addresses
Lease or other housing records
OPT and H-1B work assignments
Evidence of a continuing main home and ties elsewhere, if any

After classifying your stay

Prepare the 2025 form that matches those facts

For a full-year California resident, prepare Form 540: https://www.ftb.ca.gov/forms/2025/2025-540-booklet.html. If you were a full-year nonresident with California-source income or became a resident during 2025, prepare Form 540NR and Schedule CA (540NR): https://www.ftb.ca.gov/forms/2025/2025-540nr-booklet.html. FTB's 540NR instructions expressly allow you to use information from a federal Form 1040-NR; its Form 540 instructions do not give an express 1040-NR conversion for line 13, so do not invent a number for that line.

Requirements

2025 W-2s and other income records
Federal return information, including Form 1040-NR if that is what you filed

Payment was due April 15, 2026

Pay any California balance as soon as possible

Use FTB's electronic payment options at https://www.ftb.ca.gov/pay/payment-options.html. The automatic extension is for filing only; FTB says 2025 tax owed was due April 15, 2026, to avoid penalties and interest: https://www.ftb.ca.gov/file/when-to-file/extension-to-file.html.

Requirements

Your calculated 2025 California balance, if any

By October 15, 2026

File your 2025 California return by October 15

Submit the selected 2025 form to the California Franchise Tax Board by October 15, 2026, the automatic-extension filing deadline. FTB lists electronic filing options at https://www.ftb.ca.gov/file/ways-to-file/online/index.html; some options are free and others may charge a fee. The dated deadline is stated at https://www.ftb.ca.gov/file/when-to-file/extension-to-file.html.

Requirements

Completed Form 540 or Form 540NR

Legal sources

This answer uses California's Revenue and Taxation Code, the Franchise Tax Board's 2025 residency and form instructions, and IRS guidance on federal student and H-1B day counting.

California Revenue and Taxation Code § 17014

California defines residency by the purpose of a person's presence in the state, rather than by the federal visa-day calculation.

California Revenue and Taxation Code § 17014

(a)(1)

(1) Every individual who is in this state for other than a temporary or transitory purpose.

Read the full text

California Revenue and Taxation Code § 17016

More than nine months in California creates a rebuttable, not conclusive, presumption of residency.

California Revenue and Taxation Code § 17016

Every individual who spends in the aggregate more than nine months of the taxable year within this State shall be presumed to be a resident. The presumption may be overcome by satisfactory evidence that the individual is in the State for a temporary or transitory purpose.

Read the full text

FTB Publication 1031 (2025)

Attending school in California does not automatically make a person either a California resident or nonresident.

FTB Publication 1031 (2025)

Section G, Guidelines for Determining Residency

For instance, students who are residents of California leaving this state to attend an out-of-state school do not automatically become nonresidents, nor do students who are nonresidents of California coming to this state to attend a California school automatically become residents.

Read the full text

FTB Publication 1031 (2025)

The strength of a person's ties to California versus elsewhere helps decide residence.

FTB Publication 1031 (2025)

Section G, Guidelines for Determining Residency

The underlying theory of residency is that you are a resident of the place where you have the closest connections. In using these factors, it is the strength of your ties, not just the number of ties, that determines your residency.

Read the full text

FTB Publication 1031 (2025)

A long or indefinite California work assignment is an example of a resident stay.

FTB Publication 1031 (2025)

Section H, Temporary or Transitory Purposes

For instance, if your employer assigns you to an office in California for a long or indefinite period, if you retire and come to California with no specific plans to leave, or if you are ill and are in California for an indefinite recuperation period, your stay is other than temporary or transitory.

Read the full text

2025 Form 540NR Booklet

For 2025, FTB assigns Form 540NR to nonresidents and part-year residents, and Form 540 to full-year residents.

2025 Form 540NR Booklet

Which Form Should I Use?

Use Form 540NR if either you or your spouse/RDP were a nonresident or part-year resident in taxable year 2025. If you and your spouse/RDP were California residents during the entire taxable year 2025, use Form 540, California Resident Income Tax Return, or 540 2EZ, California Resident Income Tax Return.

Read the full text

2025 Form 540NR Booklet

Form 540NR is used by people with California-source income who were nonresidents or who changed residency during 2025.

2025 Form 540NR Booklet

How Nonresidents and Part-Year Residents are Taxed

Nonresidents of California who received California sourced income in 2025, or moved into or out of California in 2025, file Form 540NR.

Read the full text

FTB Publication 1031 (2025)

A part-year resident reports all income for the resident period and California-source income for the nonresident period.

FTB Publication 1031 (2025)

Section I, Income Taxable by California

Part-year residents of California are taxed on all income received while a resident and only on income from California sources while a nonresident.

Read the full text

IRS, Exempt individual—Who is a student

The five-calendar-year student rule concerns which days count toward federal tax residency, not which California form to use.

IRS, Exempt individual—Who is a student

When a student is not exempt

You will not be an exempt individual as a student if you have been exempt as a teacher, trainee, student, Exchange Visitor, or Cultural Exchange Visitor on an “F,” “J,” “M,” or “Q” visa for any part of more than 5 calendar years, unless you establish to the satisfaction of the IRS that you do not intend to reside permanently in the United States, and you have substantially complied with the requirements of your nonimmigrant status.

Read the full text

IRS, Taxation of H-1B individuals

An H-1B day is not excluded under the federal student exemption.

IRS, Taxation of H-1B individuals

The substantial presence test

However, the rules allowing an “exempt individual” to exclude U.S. days of presence do not apply to H-1B aliens.

Read the full text

FTB, Extension to file

The 2025 California return can be filed under the automatic extension through October 15, 2026.

FTB, Extension to file

Personal

The deadline is October 15, 2026.

Read the full text

FTB, Extension to file

The filing extension did not postpone payment of 2025 California tax.

FTB, Extension to file

Personal

An extension to file your tax return is not an extension to pay. Pay the amount you owe by April 15, 2026 to avoid penalties and interest.

Read the full text

2025 Form 540 Booklet

The published Form 540 federal-AGI line names Forms 1040 and 1040-SR, leaving a Form 1040-NR conversion unexplained here.

2025 Form 540 Booklet

Line 13

Line 13 – Federal Adjusted Gross Income (AGI) from federal Form 1040 or Form 1040-SR, line 11b

Read the full text

These are the official rules for the cited 2025 return and the agency pages on their stated update dates; rules can change.

This is general information about official tax processes, not legal advice, and SettleKit is not a law firm.

Join the SettleKit newsletter

We research the hard parts of settling in the US and write articles you will not find anywhere else. Subscribe to get each new article by email.

One email per new article. Unsubscribe anytime.

This is likely not your only questionCheck out SettleKit, the best source on the internet for newcomers to the US.
Build your free roadmap