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.

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.
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.
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.
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.
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.
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 alien | Resident alien | |
|---|---|---|
| Taxed on | US-source income | Worldwide income, like a US citizen |
| FICA | Exempt as an F/J/M student under 5 calendar years | Generally liable, same as a citizen |
| Form 8843 | Required while claiming exempt-individual days | Not applicable |
| Indian income | Generally outside US tax | Reportable — 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.
Questions
Does my visa decide whether I am a US tax resident?
How long can an F-1 student stay a nonresident?
Do I pay Social Security and Medicare tax on OPT?
What is Form 8843 and what happens if I do not file it?
Does FICA start when I move from F-1 to H-1B?
Can a resident alien student still avoid FICA?
Do I have to report my Indian income to the IRS?
What if I do not have a Social Security number?
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)

