Guides/Checked 2026-10-21

F-1 and J-1 students beyond five calendar years

The student exemption lasts five calendar years, counted by calendar year rather than full years. From year six, line 12 of Form 8843 is "Yes" with a statement attached; otherwise your days start counting toward the substantial presence test and you may become a resident for tax purposes.

How the five years are counted

Line 12 of Form 8843 asks whether you were exempt as a teacher, trainee or student for any part of more than five calendar years. The rule: once you have been exempt on an F, J, M or Q visa for any part of more than five calendar years, you cannot exclude your 2025 days as a student unless you establish to the IRS that you do not intend to reside permanently in the United States [1][2].

The operative words are "any part of a calendar year." An F-1 student who arrived in August 2020 has 2020, 2021, 2022, 2023 and 2024 as five calendar years; 2025 is year six and line 12 is "Yes." It is not five periods of 365 days from the entry date.

The years are cumulative, not consecutive: four years of undergraduate F-1, two years at home, then a PhD on a new F-1 still carries the earlier four years [1]. Switching between F and J counts too. Teachers and trainees (J-1 scholars) have a separate "two of the previous six years" rule on line 8 of Part II, not covered here.

How to complete Form 8843 from year six

Check "Yes" on line 12 and attach a statement with sufficient facts to establish that you do not intend to reside permanently in the United States [1]. The facts the IRS says it considers include, but are not limited to [1][2]:

  • Whether you have maintained a closer connection to a foreign country than to the United States: family, home, bank accounts, driver's license, voter registration and so on; details in Publication 519 [3].
  • Whether you have taken affirmative steps to change from nonimmigrant to lawful permanent resident status. That is what line 13 asks: did you apply for a green card or have a change-of-status application pending in 2025.

There is no prescribed format. State your name, SSN or ITIN if any, your program and expected completion date, the ties you keep in your home country, and one clear sentence that you do not intend to reside permanently in the United States. Sign it and mail it behind Form 8843. Our generator derives line 12 from the visa history you enter and reminds you to attach the statement.

If you cannot establish it

From year six, if the conditions above are not met, that year's days count toward the substantial presence test [1][4]. A student in the U.S. all year usually passes 183 days that same year and becomes a resident alien for tax purposes: Form 1040 instead of 1040-NR, worldwide income reported, but also the standard deduction. Immigration status is untouched; the F-1 visa stays what it is.

A common misconception is that becoming a resident ends the U.S.–China treaty benefit. It does not. Article 20 is excepted from the saving clause, so it keeps applying after a student becomes a tax resident; Publication 519 works through exactly this case with a student who arrived in 2021 and became a resident in 2026 [3]. See the guide on Article 20.

Typical year-six situations

  • PhD students and those who went straight from a bachelor's to a master's: the most common case. With a credible study plan and home-country ties, the statement usually supports continued exemption.
  • On OPT: OPT is still F-1 status, and the calendar years keep accumulating. Year six on OPT is handled the same way.
  • Green card application filed, or H-1B selected and waiting: answer line 13 "Yes" truthfully, which weakens the "no intent to reside permanently" claim. Most people file as residents at that point. That is not bad news, it just needs to be worked out correctly.

The generator works out line 12 for you →