F-1 and J-1 Visa Tax Rules: Residency, FICA, and OPT

F-1 and J-1 Visa Tax Rules: Residency, FICA, and OPT

If you are in the U.S. on an F-1 or J-1 visa, you are generally treated as a nonresident alien for tax purposes during your first five calendar years of presence. That means you pay U.S. tax only on U.S.-source income, file Form 1040-NR instead of Form 1040, and are exempt from Social Security and Medicare (FICA) taxes on student wages.

The IRS explains the student exemption in its guidance on the Substantial Presence Test. Two major immigration changes have now reshaped the landscape: the DHS Duration of Status rule is final, and in effect, so F-1 students are admitted for a fixed period (typically four years or program length) instead of open-ended “D/S,” and the post-completion grace period has been reduced from 60 days to 30 days.

Here’s what you need to watch:

  • First 5 calendar years: Exempt from the Substantial Presence Test, nonresident alien, FICA-exempt on student wages.
  • Fixed admission: F-1 students now receive a set end date on their I-94, not “D/S.”
  • 30-day grace period: Down from 60 days after program completion.
  • Form 8843: Required every year you are in exempt status, even with zero income.

F-1 or J-1 Visa Holder? Know Your U.S. Tax Status

Greenback helps you determine residency and file your taxes correctly.

Below, you’ll find a plain-language walkthrough of how residency works, what you must file, how OPT and stipends are taxed, and the practical steps to take before your next deadline.

How Does U.S. Tax Residency Work for F-1 and J-1 Students?

The IRS uses two tests to decide if you are a U.S. tax resident. Meeting either one makes you a resident alien:

  • Green Card Test: You are a lawful permanent resident at any point during the calendar year.
  • Substantial Presence Test (SPT): You are physically present for at least 31 days in the current year and 183 days under a three-year weighted formula (current year at 100%, prior year at 1/3, year before at 1/6).

For the full calculation, see our Substantial Presence Test guide.

The F-1/J-1 exemption: During your first five calendar years in the U.S., days on an F-1 or J-1 visa do not count toward the SPT. This keeps you classified as a nonresident alien, which changes how much income you report and which taxes you pay.

Tax StatusIncome ReportedFICA on Student Wages?Tax ReturnForeign Account Reporting?
Nonresident alien (first 5 years)U.S.-source onlyNo (exempt)Form 1040-NRGenerally no
Resident alien (year 6+)WorldwideYesForm 1040Yes (FBAR, FATCA)

Once you become a U.S. tax resident, your obligations expand: worldwide income, FICA on wages, and foreign account reporting. FBAR (FinCEN Form 114) is required if your non-U.S. accounts exceed $10,000 combined at any point in the year, and FATCA Form 8938 kicks in at higher thresholds.

What Tax Forms Do F-1 and J-1 Students Have to File Each Year?

Even if you owe no tax, you have filing obligations.

  • Form 8843 (every year): All F-1 and J-1 visa holders (and F-2/J-2 dependents) must file Form 8843 every year in exempt status, even with no income. For the full walkthrough, see our Form 8843 guide for visa holders.
  • Form 1040-NR (if you had U.S. income): Nonresident aliens with U.S.-source wages, scholarships above tuition, or stipends file Form 1040-NR. For line-by-line help, see our Form 1040-NR filing guide or compare it to the regular 1040 in our Form 1040 vs. 1040-NR breakdown.
  • Treaty benefits: Many countries have tax treaties with the U.S. that provide exemptions or reduced rates for students. For example, students from China can exclude up to $5,000 under Article 20 of the U.S.-China treaty. Claim treaty benefits on Form 8833 and check the IRS tax treaty tables.
  • State returns: State residency rules differ from federal rules. Some states may treat you as a resident for state tax purposes even while you are a federal nonresident alien. Check your state’s rules.

How Are Student Scholarships, Stipends, and OPT Income Taxed?

Not all student income is treated the same.

Income TypeTax TreatmentFICA (During Exempt Years)
Scholarships used for tuition and required feesTax-freeN/A
Scholarships used for room, board, living expensesTaxable on 1040-NRN/A
Teaching or research assistant stipendsTaxable wagesExempt
On-campus employmentTaxable wagesExempt
Optional Practical Training (OPT)Taxable wagesExempt (see DIGNITY Act note below)
Curricular Practical Training (CPT)Taxable wagesExempt

For OPT, the FICA exemption saves you 7.65% of wages. If your employer withheld FICA in error while you were still a nonresident alien on OPT, you can request a refund. See the IRS page on Social Security and Medicare taxes for foreign students.

What Is the New DHS “Duration of Status” Rule for F-1 Students?

Status (April 2026): The rule is finalized and in effect. F-1 students are no longer admitted for “duration of status.” Instead, your I-94 now carries a specific end date, and you must apply to extend your stay before it expires if your program runs longer.

What the final rule means in practice:

  • Fixed admission period: Up to four years, or the length of your program, whichever is shorter.
  • Grace period reduced to 30 days: The post-completion grace period is now 30 days, down from 60, for all students completing their programs.
  • Extensions required: If your program extends beyond your admission period, you must file an extension of stay with USCIS before your I-94 end date.
  • Retroactive application: The rule applies to current F-1/J-1 holders, not just new arrivals.

Tax implications: If the shorter grace period or a delayed extension causes a gap in valid F-1/J-1 status, days that would otherwise have been exempt could start counting toward the Substantial Presence Test. A brief status gap can accelerate when you become a U.S. tax resident, so timing your extensions carefully matters more than ever.

USCIS premium processing fee increase (effective March 1, 2026)

DHS published a final rule on January 9, 2026, increasing USCIS premium processing fees to reflect inflation from June 2023 through June 2025. The new fees apply to any Form I-907 postmarked on or after March 1, 2026. For F-1 students, the most relevant change is Form I-765 premium processing (OPT and STEM OPT categories), which increased from $1,685 to $1,780 for 30-day adjudication. See the official USCIS announcement on premium processing fee increases and the USCIS Fee Schedule.

Will the DIGNITY Act End the OPT FICA Exemption?

The DIGNITY Act is a comprehensive immigration reform bill introduced in July 2025. One small provision would end the FICA tax exemption for F-1 graduates working on OPT. The bill remains in committee and, given the legislative calendar, is unlikely to see a floor vote before the 2026 midterm elections.

What that means for you: the FICA exemption for OPT still exists. If you are on OPT now, you continue to save 7.65% on wages. At a $60,000 OPT salary, that’s about $4,590 in payroll tax savings per year.

Keep an eye on this one, but don’t plan around a bill that hasn’t moved.

When Does an F-1 or J-1 Student Become a U.S. Tax Resident?

Your five-year exemption is counted by calendar year, not months. Any part of a calendar year during which you were present in exempt status counts as a full year.

Arrival YearExempt Years (Nonresident)First Year Counted Under SPTFirst Year as Resident Alien
20212021–202520262026 (current year)
20222022–202620272027
20232023–202720282028
20242024–202820292029

For those who arrived in 2021, 2026 is your first year as a resident alien (assuming you meet the SPT day count this year). On the return you file in 2027, you’ll report worldwide income on Form 1040, and if your non-U.S. accounts exceeded $10,000 at any point in 2026, you’ll also file an FBAR.

Example: Priya, a 2021 arrival

Priya started a PhD on F-1 in August 2021. Her exempt years are 2021, 2022, 2023, 2024, and 2025.

  • 2025 tax year (filed in April 2026): She files Form 1040-NR plus Form 8843 as a nonresident alien, reporting only her U.S. graduate stipend.
  • 2026 tax year (filed in 2027): Priya is in the U.S. all year, easily meets the SPT, and is now a resident alien. She files Form 1040, reports worldwide income (including interest on her savings account back home), and files an FBAR because that account topped $10,000 during the year.

The nonresident-to-resident transition often catches students off guard, especially around foreign account reporting, which is why planning ahead matters.

What Should F-1 and J-1 Students Do Before Filing?

  1. Check your I-94 for your fixed admission end date. Assume you no longer have D/S if you are on an F-1.
  2. Plan around the 30-day grace period, not the 60-day one.
  3. Count your exempt years carefully. If you arrived in 2021, you are already a resident alien for the 2026 tax year.
  4. Budget for higher USCIS fees, including the $1,780 I-765 premium processing fee if you need faster OPT adjudication.
  5. File Form 8843 every year, even with no income.
  6. Disclose foreign accounts in the year you transition to resident alien to avoid FBAR penalties.
  7. Get professional help for your transition year. That is the return with the most pitfalls of any you’ll file as a student.

Frequently Asked Questions

Do I need to file a U.S. tax return if I’m an F-1 student with no income?

Yes, you must file Form 8843 each year you are in the U.S. on F-1 or J-1 status, even if you have no income. If you had any U.S.-source income, you also file Form 1040-NR.

When does my 5-year exempt period start and end?

The five-year count is based on calendar years. If you entered in any part of 2022, that’s year one, and your exempt years run 2022 through 2026. Starting in 2027, your days count toward the SPT.

Do I owe Social Security and Medicare taxes on my OPT income?

Under current law, no. F-1 students on OPT are exempt from FICA taxes while in valid F-1 status. The DIGNITY Act would remove this exemption, but that bill remains in committee and is unlikely to pass before the 2026 midterm elections.

What happens if I change from an F-1 to an H-1B visa?

When you switch to H-1B, your F-1 exemption ends, and any remaining exempt years do not carry over. You become subject to the SPT from your H-1B effective date, owe FICA on H-1B wages, and must report worldwide income. You may also need to file FBAR and FATCA Form 8938 if your non-U.S. accounts exceed the thresholds. See our H-1B tax compliance guide and our explainer on whether H-1B holders are resident aliens for details.

How does the new DHS fixed-admission rule affect my tax obligations?

It’s an immigration rule, not a tax rule, but the tax consequences can be real. If the 30-day grace period or a delayed extension causes a gap in your F-1 status, days that were previously exempt could start counting toward the SPT and accelerate when you become a U.S. tax resident.

Ready to Get Your Student Visa Taxes Done Right?

Student visa tax rules are some of the most confusing in the U.S. code, and the stakes in your transition year are high: miss an FBAR, misclassify your residency, or file the wrong form, and the penalties can dwarf any tax you actually owe. You don’t have to sort it out alone.

Every Greenback return is prepared start to finish by a CPA or an IRS Enrolled Agent, many of whom have lived the visa-to-resident transition themselves. You get a flat, upfront price and direct one-on-one access to the accountant handling your return, so you always know who is working on your file and what it will cost.

Whether you need a straightforward Form 1040-NR, a dual-status return in your transition year, FBAR catch-up filing, or a one-time consultation to make sure you’re on track, we can match you with the right accountant for your situation. Learn more about how we help foreign nationals in the U.S. file correctly and confidently.

File Your U.S. Taxes With Confidence as a Visa Holder

Greenback helps you handle residency, forms, and compliance from start to finish.

This article is for informational purposes only and does not constitute tax, legal, or immigration advice. Tax residency rules and immigration policies change frequently. For advice specific to your situation, consult with a qualified tax professional.