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

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.
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
| Form | Who files | What it does |
|---|---|---|
| Form 8843 | Every F-1 student who is an exempt individual, even with no income | Claims your exempt days for the substantial presence test |
| Form 1040-NR | Nonresidents with U.S. income | Reports income and tax; claims refunds and treaty benefits |
| Form 1040 | Students who have become resident aliens for tax | Same return U.S. residents file |
| State return | Depends on your state | State 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
- IRS: foreign student liability for Social Security and Medicare taxes
- IRS: substantial presence test
- IRS: taxation of nonresident aliens
- IRS: Form 1040-NR
- IRS: Form 8843
- IRS Publication 515 (withholding on nonresident aliens)
- IRS Publication 519 (U.S. tax guide for aliens)
- IRS Publication 901 (U.S. tax treaties)
- USCIS: OPT for F-1 students
- Study in the States: STEM OPT Hub
Related guides
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.