Taxes

Form 1040-NR for Nonresidents: F/J Students, Form 8843, Treaty Benefits

If you're a nonresident alien for tax purposes, here's when you need Form 1040-NR, when Form 8843 alone is enough, and how to use your country's tax treaty.

In short: If you're a nonresident alien for tax purposes (most F-1, J-1, and early-year H-1B visa holders) and you have US income, you file Form 1040-NR. If you're a student or trainee with zero taxable income, you still mail Form 8843 to document that your days in the US are excluded from the substantial presence test. The deadline is April 15 if you had withheld wages, or June 15 without them. Egypt, Morocco, and Tunisia all have US tax treaties that may exempt part of your income, but the exact terms depend on the specific treaty article.

Who has to file Form 1040-NR?

Per the IRS, you file Form 1040-NR if you're a nonresident alien for tax purposes (a separate question from your immigration status) and any of these apply: you were "engaged or considered to be engaged in a trade or business in the United States," you had US income that wasn't fully taxed at the source, or you're a fiduciary for a nonresident estate or trust. What matters most for most readers here: the IRS automatically treats nonresident students, teachers, and trainees on F, J, M, or Q visas as engaged in a US trade or business, so any taxable wages or scholarship income trigger a 1040-NR filing requirement regardless of the amount.

Resident vs. nonresident for tax purposes isn't your immigration status — it's a separate test, the substantial presence test, plus visa-specific exemptions. That's why a green card holder is usually a resident alien automatically (the green card test), while an F-1 student can remain a nonresident for tax purposes for years despite actually living in the US.

Why F/J students file Form 8843 even with no income

This is where new students trip up most often. Form 8843 is not a tax return and doesn't report income; it's a statement explaining why your days of presence are excluded from the substantial presence test because you're an "exempt individual" under your visa category. Per the IRS, everyone on an F, J, M, or Q visa — including F-2/J-2 dependents — must file it, even with zero US income.

  • No income requiring a return? Mail Form 8843 alone, due June 15 of the following year.
  • Have income requiring 1040-NR? Attach 8843 to the return and it shares that filing deadline.
  • Every dependent on an exempt visa (spouse or child) completes and signs their own copy; a parent signs for a child who can't sign.

A standalone Form 8843 cannot be e-filed — it's printed and mailed to the IRS address in the form's instructions. Many students skip it because they have no income, then run into a documentation gap years later when applying for a green card or change of status.

Note: Skipping Form 8843 usually carries no direct penalty for someone with no income, but it can mean your exempt year isn't clearly counted toward your five-year limit, and you may later have to prove you were a nonresident that year.

When do you switch from nonresident to resident?

Per the IRS page on the "exempt individual" rule, an F-1 or J-1 student can exclude days of presence as a student for up to five calendar years, a lifetime limit (the years don't need to be consecutive), after which the regular substantial presence test applies and many become resident aliens if they stay in the US. J teachers and trainees generally have a base limit of two years out of the last six, which can be extended in specific situations. Check the IRS page itself for the exact rule that applies to your visa category rather than assuming a number.

Once you become a resident alien (after exhausting your exempt years, or under the ordinary substantial presence test for someone like an H-1B holder), you stop filing 1040-NR and file the regular Form 1040 like any resident, reporting worldwide income rather than only US-source income. That also opens up tools nonresidents generally can't use, such as certain standard deductions and the Earned Income Tax Credit under its own rules — see our first tax return guide.

How to use your country's tax treaty

The United States has income tax treaties with a number of countries, including Egypt, Morocco, and Tunisia, all officially listed on the IRS's income tax treaty list. Jordan, Iraq, Syria, Lebanon, and Yemen are not on that list as of this guide, so never assume your country has a treaty — check the official list yourself.

Having a treaty doesn't mean automatic exemption from all US tax; each treaty has different articles (often a separate one for students/trainees and another for teachers/researchers) with different dollar limits and time conditions. The correct process is:

  1. Open your country's treaty text on the IRS treaty page and find the article that matches your situation (student, trainee, teacher, researcher).
  2. Check IRS Publication 901, which summarizes the key treaty provisions for nonresident aliens.
  3. To exempt wages from withholding at the source, you typically give your employer Form 8233 before you start work, not at year-end.
  4. When you file your return, if you're taking a tax position that reduces your tax based on a treaty, the IRS generally requires Form 8833 to disclose that position, with specific exceptions listed in the form's instructions.

Tip: Don't rely on what a friend from your country tells you about "the exemption percentage" — treaty articles differ by category (student vs. researcher, for example) and can be renegotiated over time. Read the actual article text yourself or work with a preparer who specializes in international tax.

1040-NR vs. the regular 1040 — what's different

Item1040-NR (nonresident)1040 (resident)
Income reportedGenerally US-source income onlyWorldwide income
Standard deductionGenerally not available (except a specific treaty provision for students/trainees from India)Available to everyone
Joint filing with spouseUsually not available, unless you elect to treat a spouse as a residentAvailable
Earned Income Tax CreditNot availableAvailable if you qualify
Tax treaty benefitsCan be claimedUsually no longer apply once you're a resident

The deadlines, in detail

Per the IRS, your deadline depends on your income status:

  • You had wages subject to US withholding or a US business location: the deadline is the 15th day of the 4th month after your tax year ends — usually April 15.
  • No wages subject to withholding (a scholarship only, or no US income at all with just a standalone Form 8843 due): the deadline is the 15th day of the 6th month — usually June 15.

Both deadlines can be extended by filing Form 4868 before the original due date, but an extension only moves the filing date, not the date any tax owed is due. Confirm the exact deadline for your situation on the official IRS page or with your international student office.

Common mistakes nonresidents make

  • Using generic US tax software (a standard TurboTax product, for example) that assumes you're a resident, giving you a standard deduction you don't qualify for and creating a return that contradicts what the IRS knows about your status.
  • Skipping Form 8843 because "it's just paperwork" and you have no income — then discovering the gap later when applying for a green card.
  • Assuming your country has a treaty without checking the IRS's official list yourself.
  • Not giving your employer Form 8233 before starting work, so full withholding happens and you have to claim it back on your return.
  • Copying a friend's treaty claim from a different country or a different visa category with a different article.
  • Not updating your address with the IRS after a move, delaying any notice or refund — see our change of address guide.

What to do next

  1. Confirm your status first: are you actually a nonresident alien this year? Check the substantial presence test and your visa's exempt years on the IRS page.
  2. F/J student with no income? Prepare Form 8843 and mail it before June 15.
  3. Have income? Gather your documents (W-2 or 1042-S) and check your country's treaty text for any exemption.
  4. No Social Security number and need to file a return? See our ITIN guide.
  5. To understand the broader US tax system, start with our US taxes guide.

Frequently asked questions

I'm an F-1 student with zero income this year — do I still file something?

Yes. Per the IRS, you mail Form 8843 even with no US income at all, because it documents excluded days for the substantial presence test and has nothing to do with income.

When do I switch from nonresident to resident for tax purposes?

F-1/J-1 students are exempt individuals for up to 5 calendar years total (a lifetime limit) per IRS.gov, after which the normal substantial presence test applies and many become resident aliens.

Do Egypt, Morocco, or Tunisia have a US tax treaty?

Yes, all three appear on the IRS's official income tax treaty list. Jordan, Iraq, Syria, Lebanon, and Yemen do not, so check your specific country on the list before assuming.

What's the difference between the April 15 and June 15 deadlines?

If you had wages subject to US withholding or a US business location, the deadline is the 15th day of the 4th month after your tax year ends (usually April 15). Without withheld wages, it's the 15th day of the 6th month (usually June 15), per IRS.gov.

Can I e-file Form 1040-NR?

Some IRS-approved software supports e-filing 1040-NR, but a standalone Form 8843 with no attached return must be mailed. Confirm with your software before relying on e-file.

My spouse and kids are here on dependent visas — do they file 8843 too?

Yes, every exempt dependent (F-2 or J-2, for example) completes and signs their own Form 8843, including children; a parent signs for a child who can't sign.

Official sources we reviewed

This guide is general information, not legal, tax or medical advice. Rules and fees change, so check the official source before you act and consult a licensed professional about your case. Found an error? Tell us · Editorial policy