Taxes on OPT and STEM OPT

Reviewed November 29, 2026 · F1Work editorial team

Short answerMost F-1 students on OPT or STEM OPT are nonresident aliens for tax purposes during their first five calendar years in the U.S., and nonresident F-1 students are exempt from Social Security and Medicare (FICA) on OPT wages. You still owe federal income tax and usually state income tax. Each year you file Form 1040-NR if you had U.S. income, plus Form 8843 to claim your exempt-individual days. Once you pass the substantial presence test, usually in your sixth calendar year, you become a resident for tax purposes and FICA applies.
697
open internships today
1%
of internships say they sponsor visas
82%
of internships have no citizenship or clearance rule
10,996
entry-level jobs for after you graduate

Live from the F1Work board on December 1, 2026: open U.S. postings from employers’ own hiring systems. Full breakdown in the sponsorship report.

A calculator, two blank tax forms and a short stack of coins

Resident or nonresident for tax

Tax residency is separate from immigration status. F-1 students are “exempt individuals” for the substantial presence test for part of five calendar years, so their days in the U.S. don’t count toward it. Any part of a year counts as one of those five years: arriving in August 2022 uses 2022 as a full year.

After those years, your days count and you usually become a resident alien for tax, even though you are still on F-1 or OPT. The IRS substantial presence test page shows how days are counted.

FICA: Social Security and Medicare

The IRS says nonresident alien students in F-1 status are exempt from FICA on wages for work allowed by USCIS, including OPT and STEM OPT. The exemption ends when you become a resident alien for tax.

Payroll systems often get this wrong. Check your first pay stub for Social Security and Medicare lines.

  1. If FICA was withheld by mistake, ask your employer’s payroll team to refund it and correct your Form W-2.
  2. If the employer won’t, file IRS Form 843 with Form 8316 and the documents the instructions list (W-2, I-20, EAD, visa page, I-94).

Income tax and withholding

  • Federal income tax applies to OPT wages. Nonresidents fill in Form W-4 using the IRS’s special instructions for nonresident aliens (see Publication 515).
  • Nonresidents generally can’t take the standard deduction. Publication 519 lists an exception for students from India under the tax treaty between the United States and India.
  • Some tax treaties exempt part of a student’s or trainee’s income for a limited time. Publication 901 lists them; your employer may ask for Form 8233 to apply a treaty at payroll.
  • State income tax depends on where you live and work.
  • The federal unemployment tax (FUTA) does not apply to wages of nonresident F-1 students, according to Publication 515.

Forms to file each year

FormWho filesWhat it does
Form 8843Every F-1 student who is an exempt individual, even with no incomeClaims your exempt days for the substantial presence test
Form 1040-NRNonresidents with U.S. incomeReports income and tax; claims refunds and treaty benefits
Form 1040Students who have become resident aliens for taxSame return U.S. residents file
State returnDepends on your stateState income tax

Nonresidents who received wages with withholding file by the regular April deadline; those without wages generally have until June. Check the IRS form pages for the exact dates each year.

1099 and self-employment on OPT

On regular OPT, contract or 1099 work related to your degree can count as employment. Publication 519 says nonresident aliens are not subject to self-employment tax, but income tax still applies and nothing is withheld, so you may need to pay estimated tax during the year. Keep records of hours and payments for SEVP reporting too. STEM OPT does not allow self-employment.

Common mistakes

  • Using consumer tax software built for residents and filing a 1040 by mistake. Many schools give students access to nonresident tax software.
  • Skipping Form 8843 because you had no income.
  • Claiming the standard deduction as a nonresident when no treaty allows it.
  • Ignoring FICA withheld in error.

Find these jobs on F1Work

Tools and data

Questions

Do F-1 students on OPT pay Social Security and Medicare?
Not while they are nonresident aliens for tax, usually the first five calendar years. After that, FICA applies.
Do I file 1040-NR or 1040 on OPT?
1040-NR while you are a nonresident for tax. Once you pass the substantial presence test, usually in your sixth calendar year, you file Form 1040.
What if my employer withheld FICA on OPT wages?
Ask payroll to refund it and fix your W-2. If they won’t, file Form 843 with Form 8316.
Do I need Form 8843 if I had no income?
Yes. Every F-1 exempt individual files Form 8843 for each year in the U.S.
Do I pay self-employment tax on 1099 income on OPT?
Not as a nonresident alien, according to IRS Publication 519. Income tax still applies.

Official sources

Related guides

All guides · Free tools · Browse jobs A to Z

F1Work is not a law firm and this is not legal advice. Rules change; confirm your own case with your school’s DSO or an immigration attorney.