Filing Taxes in Your First F-1 to H-1B Year: Residency, FICA, the First-Year Choice and Dual Status
F-1 days in your first five calendar years don't count and are FICA-exempt. Switch to H-1B on October 1 and you're usually still a nonresident for that year, filing a 1040-NR and Form 8843, unless the first-year choice makes it dual-status. Plus the first-year choice conditions, getting wrongly withheld FICA back, when FBAR starts, and common mistakes.

F-1 students are generally "exempt individuals" for their first five calendar years in the U.S.: those days don't count, and they're exempt from FICA. Once you switch to H-1B, the days start counting and Social Security and Medicare come out of your pay. Many people switch on October 1, which leaves only 92 H-1B days that year, short of 183, so they're usually still nonresidents for that year and file a 1040-NR with Form 8843. If you qualify, the first-year choice lets you be treated as a resident from October 1, making it a dual-status year. The next year, with a full year in the U.S., you're generally a resident and file a 1040.
Resident or nonresident: count the days first
The substantial presence test: you're a tax resident if you were in the U.S. at least 31 days this year and 183 days counting all of this year, a third of last year and a sixth of the year before.
The F-1 exemption: students on F, J, M or Q visas are exempt individuals for their first five calendar years in the U.S., and those days don't count. The arrival year counts as a full year even if it was only a few months. Prior years exempted as an F or J student are added up, and you file Form 8843 every year.
The count starts the day you're on H-1B. H-1B isn't an exempt status, so from the effective date of the change, every day in the U.S. counts.
A common example
Example (hypothetical): E arrived in August 2023 for a master's, so 2023 through 2027 would have been E's five exempt years. E's H-1B took effect on October 1, 2026, through a change of status inside the U.S. after selection.
2026: January through September on F-1 (including OPT) don't count. October 1 through December 31 on H-1B is 92 days, and the two prior years were exempt, so they count as zero. Ninety-two is short of 183, so E is generally a nonresident for 2026 and files a 1040-NR with Form 8843.
2027: a full year on H-1B and more than 183 days in the U.S., so E is a resident and files a 1040.
The first-year choice: becoming a resident early
The conditions: you aren't otherwise a resident this year; you were in the U.S. for at least 31 consecutive days this year; from the first of those 31 days through year-end, you were here at least 75% of the days (up to five days away can be treated as present); and you meet the substantial presence test next year.
The effect: residency starts on the first day of the earliest qualifying 31-day period. In E's case, E is a resident from October 1, 2026, and the year is dual-status: January through September as a nonresident, reporting only U.S.-source income, and October through December as a resident, reporting worldwide income.
When to file: you can't make the choice until you've actually met the test the following year, so people often extend and file the next summer, with the required statement attached.
Pros and cons: a dual-status year doesn't allow the standard deduction or, usually, a simple joint return, though some deductions and credits work for the resident period. If you're married and one spouse is a resident at year-end, you can look at electing to be treated as residents for the whole year and filing a joint 1040: you get joint rates and the standard deduction, but both of you report a full year of worldwide income. Which is cheaper only shows up when you run every version.
FICA: exempt on F-1, not on H-1B
Nonresident F-1 students are generally exempt from Social Security and Medicare on on-campus work, CPT and OPT that fit their status. Once the five calendar years are up and you become a resident, the exemption ends even if you're still on F-1.
On H-1B you pay. The U.S. and China have no totalization agreement, so there's no exemption, and the employer starts withholding with the first H-1B paycheck.
If FICA was wrongly withheld during OPT, ask the employer for a refund first; if they won't, file Form 843 (with Form 8316) with the IRS.
A few more things to watch
State taxes: if you live in a state with an income tax, you file there; residency for the switch year follows that state's rules. Remote H-1B workers and mid-year movers need to sort out both the residence state and the work state.
Form W-4: nonresidents follow special W-4 rules. Once you're a resident, update it under the normal rules so you don't over- or under-withhold.
Accounts back home: as a tax resident, you file FBAR if your foreign financial accounts in China, including banks, wealth products and insurance, total more than $10,000. Form 8938 applies if you're single and living in the U.S. with more than $50,000 at year-end or $75,000 at any time ($100,000 / $150,000 filing jointly). With the first-year choice, the resident period counts.
H-4 family: a spouse without an SSN who files jointly needs an ITIN; once an H-4 spouse has a work permit, they can get an SSN. Children need SSNs for the child tax credit.
Health insurance: from 2027, H-1B and H-4 households get no premium tax credit on the ACA Marketplace, so compare employer coverage first.
The mistakes we see
Filing the whole year as a resident: tax software goes straight to a 1040 with the standard deduction, when the year was really nonresident or dual-status.
Filing the whole year as a nonresident: you already met the substantial presence test, or made the first-year choice, but still filed a 1040-NR.
Skipping Form 8843: it's due for every exempt year, and a spouse and children each file their own.
No FBAR after becoming a resident: the threshold for accounts back home is easy to cross.
You can fix a wrong return with Form 1040-X. If several years are off, sort out the status for each year first, then amend.
For the full picture
The lottery, PERM, green card dates and a strategy table by profile are in our guide, Planning your H-1B and green card for 2027, and nonresident filing details are in our 1040-NR guide. Your immigration attorney handles the H-1B, and we handle the tax side: counting your days year by year, settling resident or dual-status, comparing the first-year choice and a joint return, and preparing your 1040 or 1040-NR, FBAR and Form 8938. Book a free 15-minute call, or message us on WeChat at YCLUSA.
Questions this article answers
If I switch to H-1B on October 1, am I a resident that year?
Usually not. Your F-1 days within the five-year exemption don't count, and 92 H-1B days fall short of 183, so you're generally a nonresident filing a 1040-NR and Form 8843. If you qualify, the first-year choice lets you be a resident from October 1.
What are the first-year choice conditions?
You're not otherwise a resident this year, you were here at least 31 consecutive days, you were here at least 75% of the days from the first of those 31 through year-end, and you meet the substantial presence test next year. People often extend and file once the next year's test is met.
Do I pay Social Security and Medicare after switching to H-1B?
Yes. Nonresident F-1 students are generally FICA-exempt on qualifying work, but H-1B workers aren't, and there's no U.S.–China totalization agreement. FICA wrongly withheld during OPT can be refunded by the employer or claimed on Form 843.
When do I start filing FBAR for accounts in China?
From the first year you're a U.S. tax resident. FBAR applies when foreign financial accounts total more than $10,000, and Form 8938 above its thresholds; with the first-year choice, the resident period counts.
Ready to talk? The first 15 minutes are on us.
Book online, or send us a few details and we will come back with a written quote within one business day.
