USA
US Tax for Visa Holders

US Tax on F-1 and H-1B: Residency, FICA and the Form Everyone Forgets

Your visa does not decide your tax status. A day count does — and getting it wrong costs real money in Social Security and Medicare tax. The mechanism, straight from the IRS.

7 November 2026 6 min read Pay & Tax
In this guide (7 sections)

Most tax confusion among Indian students and professionals in the US comes from one wrong assumption: that your visa decides your tax status. It does not. A day count does, and the consequences — thousands of dollars of Social Security and Medicare tax, which form you file, which deductions you may take — follow from it.

This is the mechanism, from the IRS's own pages.

This is general information, not tax advice. Tax outcomes turn on your specific facts. Use this to understand the mechanism and the vocabulary, then check your own position against the IRS pages linked at the end, or with a qualified tax professional.

1. The test that decides everything

You are treated as a US resident for tax purposes if you meet the Substantial Presence Test for the calendar year. The IRS states you must be physically present in the US on at least:

  • 31 days during the current year, and
  • 183 days during the three-year period that includes the current year and the two years before it, counting:
    • all the days in the current year,
    • ⅓ of the days in the first year before, and
    • ⅙ of the days in the second year before.
The IRS's own worked example. Present 120 days in each of 2023, 2024 and 2025. For 2025 you count 120 (2025) + 40 (⅓ of 2024) + 20 (⅙ of 2023) = 180 days. That is under 183, so you are not a resident under the test — despite being in the US for part of three consecutive years.

Note what is absent from that test: your visa category. An H-1B holder who arrives in November may be a nonresident for that year. An F-1 student in year six may be a resident. The day count rules.

2. The exemption that pauses the clock

Before you count days, check whether you are an exempt individual. The term does not mean exempt from tax — it means those days do not count toward the test.

The IRS lists, among others:

  • A student temporarily present under an F, J, M or Q visa who substantially complies with the visa's requirements.
  • A teacher or trainee temporarily present under a J or Q visa, on the same condition.
  • Foreign government-related individuals on A or G visas (other than A-3 and G-5).

Separately, the IRS states that foreign students in F-1, J-1 or M-1 status for less than 5 calendar years are generally nonresident aliens.

"Calendar years", not twelve-month periods. Arriving in August 2022 means 2022 is a full calendar year of the five. Five calendar years can be as little as about four years and five months of actual presence — which is why students are routinely surprised to become residents mid-degree.

The form almost nobody files — and the penalty for skipping it

This is the most expensive detail on this page.

If you exclude days because you were an exempt individual, the IRS states you must file Form 8843, Statement for Exempt Individuals, with your tax return — and if you do not have to file a return, you must still send Form 8843 by the return due date.

And then, in the IRS's own words: if you do not timely file Form 8843, you cannot exclude the days you were present in the US as an exempt individual.

Read that consequence again. Miss the form, lose the exclusion, and those days count toward the Substantial Presence Test. That can retroactively make you a resident alien — which can make you liable for Social Security and Medicare tax you were not withholding, and change what you owe. The IRS allows an exception only where you can show by clear and convincing evidence that you took reasonable steps to learn and comply.

3. FICA: where the real money is

Social Security and Medicare tax — together FICA — is a flat deduction from every paycheck with no deduction or bracket to soften it. Whether you owe it is the largest single financial consequence of your residency status.

The IRS states that nonresident alien students in F-1, J-1 or M-1 status for less than five calendar years are exempt from Social Security and Medicare tax on wages for services performed in the US.

Exempt employment explicitly includes:

  • On-campus student employment up to 20 hours a week (40 during summer vacation).
  • Off-campus student employment allowed by USCIS.
  • Practical training employment, on or off campus — which means OPT and STEM OPT.
If you are on OPT and FICA is being deducted, that is worth checking. Payroll systems frequently default to withholding it. The IRS lists practical training as exempt employment for a nonresident alien student under five calendar years. Raise it with your employer's payroll team first — and there is an IRS process for claiming a refund of wrongly withheld FICA if the employer will not adjust it.

When the exemption stops

The IRS is explicit that it does not apply:

  • to spouses and children in F-2, J-2 or M-2 status;
  • to employment not allowed by USCIS, or not closely connected to the purpose the visa was issued for;
  • to students who change to a non-exempt immigration status; or
  • to students who become resident aliens.

That third point is the H-1B moment. When your status changes from F-1 to H-1B, the student FICA exemption ends. On a six-figure salary that is a noticeable drop in take-home pay, and it arrives in the same month as a status many people expect to feel like a promotion.

The narrower exemption that survives residency

There is a second, separate exemption under IRC 3121(b)(10) — the "student FICA exemption" — which applies to all students regardless of tax residency. The IRS states it covers services performed by a student employed by the school, college or university where the student is enrolled at least half-time, where the work is incidental to the course of study.

So a foreign student who has become a resident alien may still qualify — but only for on-campus work at their own institution. The IRS states plainly: off-campus jobs, or working for other employers, do not qualify. The detail is in Revenue Procedure 2005-11.

4. What changes when you become a resident

Nonresident alienResident alien
Taxed onUS-source incomeWorldwide income, like a US citizen
FICAExempt as an F/J/M student under 5 calendar yearsGenerally liable, same as a citizen
Form 8843Required while claiming exempt-individual daysNot applicable
Indian incomeGenerally outside US taxReportable — this surprises people

The "worldwide income" line is the one to think about early. Once you are a resident for tax purposes, Indian salary, interest, rent and capital gains generally become reportable on your US return. Foreign account reporting obligations can also apply. Both are worth professional advice rather than a blog.

5. The India treaty

The US and India have an income tax treaty, and the IRS publishes the full text and technical explanation. Treaty positions can affect what is taxable and what relief is available.

We are not setting out specific treaty articles here, because the benefit available depends on your status, your income type and the year — and a wrong treaty claim on a return is worse than no claim. The IRS India treaty page is linked below; read it alongside Publication 519, or ask someone who does this for a living.

6. If you have no SSN

If you need to file but are not eligible for a Social Security number, the equivalent identifier is an ITIN, applied for on Form W-7. The IRS page is linked below. Note that F-1 students authorised to work are generally eligible for an SSN, so an ITIN is more commonly needed for a dependent spouse than for the worker.

What we have not published

No tax rates, no brackets, no standard deduction figures, no filing thresholds, no treaty article numbers. All of those change annually, and a stale number on a tax page is actively harmful. The mechanism above is what stays true; the numbers belong on the IRS pages linked below for the year you are filing.

We have also not covered state tax, which is separate and varies — Texas and Washington have no state income tax, California and New York do, and the rules for part-year residents differ again.

Advertisement

Questions

Does my visa decide whether I am a US tax resident?
No. The Substantial Presence Test does, and it is a day count. You are a resident for tax purposes if you are present at least 31 days in the current year and 183 days across a three-year window counting all current-year days, one-third of the prior year's and one-sixth of the year before that.
How long can an F-1 student stay a nonresident?
The IRS states that foreign students in F-1, J-1 or M-1 status for less than 5 calendar years are generally nonresident aliens. Because it counts calendar years, arriving in August still uses up a full year, so five calendar years can be about four years and five months of actual presence.
Do I pay Social Security and Medicare tax on OPT?
The IRS lists practical training employment, on or off campus, as exempt employment for nonresident alien students in F-1, J-1 or M-1 status who have been present less than five calendar years. If FICA is being deducted while you are on OPT, it is worth raising with your employer's payroll team.
What is Form 8843 and what happens if I do not file it?
It is the Statement for Exempt Individuals, used to exclude days from the Substantial Presence Test. The IRS states that if you do not timely file it you cannot exclude those days — which can retroactively make you a resident alien. You must send it even if you are not otherwise required to file a return.
Does FICA start when I move from F-1 to H-1B?
The student exemption does not apply to F-1, J-1 or M-1 students who change to another immigration status which is not exempt. H-1B is not an exempt status, so Social Security and Medicare tax generally begin to apply from that point.
Can a resident alien student still avoid FICA?
Possibly, under the separate student FICA exemption in IRC 3121(b)(10), which applies regardless of tax residency. It only covers work for the school, college or university where the student is enrolled at least half-time and where the work is incidental to the course of study. Off-campus jobs and other employers do not qualify.
Do I have to report my Indian income to the IRS?
If you are a resident alien for US tax purposes, you are generally taxed on worldwide income in the same way as a US citizen, so Indian income generally becomes reportable. Foreign account reporting obligations may also apply. This is a point to take professional advice on.
What if I do not have a Social Security number?
If you must file but are not eligible for an SSN, you apply for an ITIN using Form W-7. F-1 students with work authorisation are generally eligible for an SSN, so an ITIN is more often needed for a dependent spouse.

Sources: IRS — Substantial Presence Test · IRS — Foreign student liability for Social Security and Medicare taxes · IRS — Social Security tax / Medicare tax and self-employment · IRS — Foreign students and scholars · IRS — India tax treaty documents · IRS — Individual Taxpayer Identification Number (ITIN)

Note: This is general information drawn from official sources, not legal or immigration advice. Immigration rules change and individual cases differ — confirm your own position with the official source linked above or a licensed attorney before acting.
For companies & institutes

Get your company featured on BeInCareer

We are read by Indian students and professionals building careers in the United States — the people you are trying to reach. Put your company in front of them.

Featured card on relevant guides Your own profile page Indexed and linkable
Apply to be featured

Featured placements are clearly labelled as featured. We do not sell positions in our data-ranked tables, and we cannot promise a Google ranking.

More in Pay & Tax

Pay & Tax

The Prevailing Wage: The Legal Floor Under Your H-1B Salary

Every H-1B job has a legal minimum wage attached to it, and almost nobody knows what theirs is. We compared the floor...

Nov 7, 2026 4 min read
Pay & Tax

H-1B Salaries: What 391,748 Certified Filings Actually Pay

Salary sites report what people say they earn. This is what employers told the federal government they would pay, on a...

Nov 7, 2026 4 min read