F-1 Student Taxes: Form 8843, Nonresident Alien Status and 1040-NR
What an F-1 student has to file with the IRS, and when the nonresident rules end. Facts as of November 2026.
Key takeaways:
- F-1 students are generally nonresident aliens for tax purposes for up to five calendar years; any part of a year counts as a full year.
- Form 8843 is required every year in exempt status, even with no income; Form 1040-NR is for U.S.-source income.
- Wages from OPT, CPT, and on-campus work are generally FICA-exempt while you are a nonresident.
- Treaties and state rules vary, so check your country’s treaty article and your state’s filing rules.
1. The quick answer
Quick answer: F-1 students are generally treated as nonresident aliens for tax purposes for their first five calendar years in the U.S., because those days are excluded when counting toward the substantial presence test. During that time you file Form 8843 every year, even with no income, and Form 1040-NR if you have U.S. income that requires a return. Wages from on-campus work, CPT, and OPT are generally exempt from FICA (Social Security and Medicare) while you remain a nonresident.

2. Nonresident status and the 5-calendar-year rule
Tax residency is not the same as immigration status. A foreign national becomes a U.S. resident for tax purposes by holding a green card or by meeting the substantial presence test: 31 days in the current year and a weighted total of 183 days over three years. F-1 students are “exempt individuals,” which means their U.S. days are excluded from that count.
Per the IRS, students on F, J, M, and Q visas are exempt individuals who can generally exclude days for up to five calendar years, and partial years count: a December 2021 arrival uses 2021 as year one. After the fifth year, days generally count under the substantial presence test. Applying that rule, a student who arrived in 2021 is exempt for 2021 through 2025 and generally becomes a resident alien for tax purposes in 2026 (see the IRS residency examples).
Once you become a resident for tax purposes, you report worldwide income on Form 1040 and may have additional reporting for foreign accounts. Plan this change before your sixth calendar year, especially if you are on OPT or starting a company. Founders should also read foreign founder U.S. taxes and the substantial presence test, which covers what happens when the exemption ends.
Note that the five-year rule is separate from your immigration status. Your school’s international office (the DSO) can confirm your status dates; see SEVIS and the I-20 explained.
3. Form 8843 and Form 1040-NR
Form 8843 is an information statement, not a tax return. Per the IRS, each exempt individual files their own, including dependents, and the requirement depends on your status, not your income. The main risk of not filing is losing the day exclusion, which could make you a tax resident.
Form 1040-NR is the nonresident return. You generally need it if you have U.S.-source income such as wages, taxable scholarship amounts, or stipends. Scholarships used for tuition and required fees are tax-free, while amounts for room, board, or living expenses are taxable.
For the 2025 tax year (filed in 2026), these are the usual deadlines (confirm on IRS.gov):
- April 15, 2026: 1040-NR with Form 8843 attached, if you had wages subject to U.S. withholding.
- June 15, 2026: Form 8843 alone, or 1040-NR if you had no wages subject to withholding.
- October 15, 2026: if you filed Form 4868 for an extension, which does not extend time to pay.
Deadlines for the 2026 tax year will fall in 2027; confirm exact dates on IRS.gov. Nonresidents also usually cannot claim the standard deduction, with limited treaty exceptions. Do not file a resident Form 1040 simply because it is more familiar; the wrong form can create errors.

4. FICA, treaties, and state returns
FICA. Nonresident F-1 students are generally exempt from FICA on authorized on-campus work, CPT, and OPT; confirm with your payroll office. FICA is 6.2% Social Security plus 1.45% Medicare, or 7.65% combined; on $10,000 of wages that is $765. Income tax still applies. If an employer withheld FICA in error, ask the employer to correct it first; the IRS refund process is a fallback. Once you become a resident alien for tax purposes, FICA generally applies.
Treaty benefits. Some countries have tax treaties that reduce or exempt certain student income. Some treaties cap the benefit by dollar amount or years, so read your country’s treaty article. Treaty claims use forms such as Form 8233 or W-8BEN with an employer, or Form 8833 with a return. A tax professional can confirm what applies to you.
State returns. State filing depends on residence, source income, and withholding, not federal exempt status. Texas and Florida have no broad individual income tax; California uses Form 540NR for nonresidents.
Business income. Earning from a side business or a startup is a different analysis from wages and may require different forms; see F-1 OPT and STEM OPT for starting your own startup and CPT vs OPT. Whatever your visa, the IRS expects accurate reporting. If your situation spans several years or countries, speak to a tax professional or attorney.
Where DoubleCheck fits
DoubleCheck helps businesses and founders start legal work with AI, verify it, and, when professional advice is warranted, connect with an independent attorney, including for immigration questions. Attorney availability and practice areas vary. Attorneys on DoubleCheck are independent professionals; an attorney-client relationship forms only if an attorney accepts your engagement.
Sources: IRS, Substantial presence test; IRS, About Form 8843; IRS, Tax residency status examples.
FAQ
Do F-1 students have to file taxes?
Yes, in the sense that every F-1 student claiming excluded days files Form 8843, even with no income, per the IRS. Form 1040-NR is also required if you have U.S.-source income, such as wages or taxable scholarships.
How long is an F-1 student a nonresident alien for taxes?
Up to five calendar years, with any part of a calendar year counting as a full year, per IRS rules. After that, days generally count under the substantial presence test.
Do F-1 students pay Social Security and Medicare taxes on OPT?
Generally no while a nonresident. Nonresident F-1 students are generally exempt from FICA on authorized OPT, CPT, or on-campus work, but income tax still applies. Confirm with your employer’s payroll office and the IRS.
Can I use TurboTax or another resident tax program?
Resident return software is built for Form 1040, which nonresidents generally do not file. You would need nonresident forms, so use a tool or preparer that supports Form 1040-NR.
General information only. This article is not legal, tax, investment, or accounting advice.