Taxes for F-1 students from Form 8843 to 1040-NR
Which tax forms an F-1 student files depends on two questions: are you a nonresident, and did you have US income? A decision guide from Form 8843 to 1040-NR.

This post is for F-1 and J-1 students who are trying to work out which US tax forms they owe, from the student with no income to the one on OPT with a full salary. It is the overview and the decision. The how-to for each form is in separate posts on Form 8843 and Form 1040-NR. It does not cover state income tax, which every state handles differently, and it is not tax advice for your situation.
The answer comes from two questions. First, are you a nonresident alien for tax purposes? Most F-1 and J-1 students are, for their first five calendar years in the US, because students are "exempt individuals" who do not count days toward the substantial presence test (IRS, Publication 519). Second, did you have US income that is subject to tax? If you are a nonresident with no taxable US income, you file only Form 8843. If you had taxable income, such as wages, you file Form 1040-NR and attach Form 8843.
Below: the steps to decide, a table of common cases, the deadlines, what goes wrong, and how you know you are done.
Step 1: decide whether you are a nonresident
The substantial presence test counts days in the US over three years. F, J, M and Q students do not count days while they are exempt individuals, which lasts for any part of five calendar years. After that, you start counting days unless you can show you do not intend to live permanently in the US and have substantially complied with your visa.
The years are calendar years, and any part of a year counts as one. A student who arrived on August 20, 2022 used 2022, 2023, 2024, 2025 and 2026 as their five years and starts counting days on January 1, 2027.
J-1 teachers and trainees, as opposed to students, have a different limit: they are exempt for two of the last six calendar years (IRS, substantial presence test).
Step 2: decide whether you had taxable US income
Taxable income includes wages from an on-campus job, CPT or OPT, taxable parts of scholarships and fellowships (generally amounts for living costs rather than tuition and required fees), and some investment income. Money sent from home to pay your expenses is not US income.
The Form 1040-NR instructions say you do not need to file a 1040-NR if you were an F, J, M or Q student with no income subject to tax under section 871 (IRS, Instructions for Form 1040-NR).
Step 3: pick your forms
| Your situation | What you file |
|---|---|
| Nonresident, no US income | Form 8843 only |
| Nonresident, on-campus wages, CPT or OPT | Form 1040-NR, with Schedule OI, plus Form 8843 |
| Nonresident, taxable scholarship only | Form 1040-NR plus Form 8843 |
| Nonresident, Indian student under treaty Article 21(2), single, gross income at or below $15,750 for 2025 | Form 8843; the 1040-NR instructions exempt you from filing it |
| Resident alien after your five years | Form 1040, like a US resident; no Form 8843 |
| Spouse or child in F-2 or J-2 status | Their own Form 8843, even with no income |
Each family member files a separate Form 8843. The IRS does not let a nonresident file jointly with a spouse.
Step 4: check for a tax treaty
Your country may have a treaty that exempts some income. China's treaty, for instance, exempts up to $5,000 a year of a student's personal services income. Treaty benefits are claimed on Form 1040-NR, and for wages you can ask your employer to apply them during the year on Form 8233 (IRS, Form 8233). Our post on tax treaties for students from India, China and South Korea covers those three in detail.
Deadlines
For the 2025 tax year, Form 1040-NR was due April 15, 2026 if you had wages subject to US income tax withholding, and June 15, 2026 if you did not. Form 8843 is due on the same date as the 1040-NR would be. If you file only Form 8843, you mail it by itself to the address in Publication 519: Department of the Treasury, Internal Revenue Service Center, Austin, TX 73301-0215.
The same pattern applies to later years: the 15th day of the fourth month after year end with wages, the sixth month without. Check the current year's instructions.
A worked case
Kwame arrived on F-1 in August 2024. In 2025 he worked 15 hours a week as a teaching assistant, earning $14,000 in wages with federal tax withheld.
He is a nonresident; 2025 is his second exempt year.
He had wages, so he files Form 1040-NR with Schedule OI, attaching Form 8843, by April 15, 2026.
He is not owed a refund of Social Security or Medicare tax because none should have been withheld on his campus job; if it had been, he would ask his employer first.
His wife, an F-2, files her own Form 8843 with no income.
What goes wrong
Filing Form 1040 as a resident by mistake, usually because consumer software asks the wrong question. A nonresident who files as a resident may claim credits they are not entitled to.
Skipping Form 8843 because there was no income. It is still required for each exempt individual.
Counting the five years from your arrival date instead of by calendar year.
Assuming F-2 spouses do not need to file anything.
How you know you are done
You have a copy of each Form 8843 you mailed, and, if you had income, an accepted or mailed Form 1040-NR. Keep W-2s, 1042-S forms and your I-20s with your tax records. Future immigration filings, including H-1B and green card petitions, may ask you to show you filed.
If you have income from a business, investments abroad that may now be taxable, or are unsure of your residency after five years, a tax professional who works with nonresidents is worth the fee.


