Skip to content
immi2us.com
Life in USA

When an F-1 student becomes a resident for tax purposes

Most F-1 students stop being exempt after five calendar years. In year six you can become a resident alien, owe FICA on OPT pay and report worldwide income.

5 min read
Summarize in AI
Illustration of a kitchen table seen from above, with reading glasses, a sticky note, a potted plant and a cup of coffee.

This is for F-1 students, including those on OPT or the STEM OPT extension, who have been in the United States for several years and want to know when they become a resident for tax purposes and what changes when they do. It is written for the year of the switch. It is not for students in their first five years, who usually file Form 8843 and Form 1040-NR as nonresident aliens, and it does not cover J-1 researchers, whose count works differently.

Here is the situation that catches people. A student arrives for a bachelor's degree, stays for a master's, then works on OPT and STEM OPT. Somewhere in year six, without any change in visa, the student becomes a resident alien for tax purposes. The payroll office does not always notice, the tax software does not ask, and the student keeps filing Form 1040-NR. The result is a wrong return and, often, Social Security and Medicare tax that should have been withheld and was not.

The rule

An F-1 student is an "exempt individual," whose days do not count toward the substantial presence test. That exemption generally lasts five calendar years. After that, the student is not exempt "if you have been exempt as a teacher, trainee, or student for any part of more than 5 calendar years" unless they show both that they do not intend to reside permanently in the United States and that they have substantially complied with the requirements of their visa (IRS, Publication 519).

Three details matter:

  • Any part of a year counts as a year. Arriving on December 20 uses up that calendar year.

  • Earlier student or exchange years count. Years in J-1 student status, or an earlier F-1 program, count toward the five.

  • Once days count, the ordinary test applies. You become a resident alien when you reach 31 days in the year and 183 weighted days over three years, counting only non-exempt days (IRS, Substantial presence test).

The exception for students who show no intent to reside permanently is a facts-and-circumstances test that looks at your closer connection abroad and whether you have taken steps toward a green card. A student whose employer has filed a PERM application or an I-140 will have a hard time meeting it.

The timeline for one student

Aditya arrived on F-1 on August 12, 2021, for a master's degree, then went onto OPT and STEM OPT. He has been in the US every year since, apart from short trips.

Calendar yearStatus for taxWhat he files
2021 (from August 12)Exempt year 1, nonresident alienForm 8843; Form 1040-NR if he had US income
2022Exempt year 2, nonresidentForm 8843 and Form 1040-NR
2023Exempt year 3, nonresidentSame
2024Exempt year 4, OPT starts, nonresidentSame; no FICA withheld on OPT wages
2025Exempt year 5, STEM OPT, nonresidentSame
2026Days now countHe reaches 183 days on July 2, 2026, so he meets the test, and his residency starting date is January 1, 2026, his first day present that year

From January 1, 2026, Aditya is a resident alien for the whole year. He files Form 1040, not Form 1040-NR, for 2026.

What changes in the year you become a resident

FICA. The exemption from Social Security and Medicare tax covers F-1 students who are nonresident aliens. "The exemption does not apply to F-1, J-1, or M-1 students who become resident aliens" (IRS, Foreign student liability for Social Security and Medicare taxes). On OPT or STEM OPT wages, that is 7.65 percent of pay. Tell your payroll office in January of the year you expect to switch, and give it the facts it needs to start withholding. If payroll keeps treating you as exempt after you become a resident, the withholding is wrong, and fixing it after the year ends is harder than starting on time.

There is one survivor. The student FICA exception for on-campus jobs with your own school, while enrolled at least half time, applies whatever your tax residency.

The return. Form 1040, with worldwide income, the standard deduction and, if married, the option to file jointly. The 2026 standard deduction for a single filer is $16,100 (IRS).

Treaty benefits. Most treaties have a saving clause that stops a resident alien from using the treaty's student articles. Some exceptions survive. Publication 519's own example is a Chinese student who became a resident alien on January 1, 2026, and could keep excluding scholarship income under Article 20 of the US-China treaty because of an exception to the saving clause. Check your treaty before you assume the benefit ends.

Foreign accounts. As a resident alien you are a US person for the FBAR. Accounts at home that together exceeded $10,000 at any time in the year need FinCEN Form 114, and larger balances may need Form 8938 with your return (FinCEN, FBAR).

Bank forms. Replace the W-8BEN you gave your US bank with a Form W-9.

If FICA was withheld when it should not have been

The opposite mistake happens too: an employer withholds FICA from a student who is still a nonresident alien. Ask the employer for a refund first. If it will not refund it all, file Form 843 with the IRS, with the attachments Publication 519 lists, including Form 8316 (Publication 519).

If you became a resident partway through a year

A student who leaves the country for long stretches, or who arrived late in year one, can meet the test later in year six, with a residency starting date after January 1. That is a dual-status year: Form 1040 with a Form 1040-NR statement, no standard deduction, and no joint return unless a married couple chooses full-year residency. The post on the dual-status tax year covers it.

What people get wrong

"My visa hasn't changed, so my tax status hasn't." Tax residency follows the day count, not the visa.

"OPT is always FICA-exempt." Only while you are a nonresident alien.

"Five years from my arrival date." Five calendar years, any part counting. August 2021 to the end of 2025 is five.

"I can stay nonresident by claiming I'll go home." The exception needs proof of no intent to reside permanently and substantial compliance with the visa, and steps toward a green card count against you.

If you are near the boundary, for example with a pending green card petition, a long absence, or a mix of J-1 and F-1 years, have a tax professional who handles nonresident returns review your count before filing.

Sources

Also inStudent
Share

Keep reading

Illustration of a kitchen table seen from above, with a pen, a potted plant, a cup of coffee and reading glasses.
Travel

Rules for remote work on a visitor visa

No regulation names remote work on a visitor visa. The ban on employment and the B purpose tests decide it, and the answer depends on how much you work.

5 min read

Get new posts by email

Visa Bulletin moves, rule changes and new guides, in one short email. No spam.

Unsubscribe in one click. No spam, ever.