About the document
- Who files:
- Foreign students (F, J, M, Q), teachers and trainees (J, Q) and their family members excluding days of presence from the substantial presence test
- Country:
- United States
- Category:
- Nonresident taxes and ITIN (IRS)
- How to fill:
- Cards with hints → original form → PDF
- Price:
- form free · chat: first document free, then $9 per document
- Last updated:
Who is an exempt individual
For tax purposes, an exempt individual is someone whose days in the U.S. are not counted when residency is tested. The Form 8843 instructions list teachers and trainees on a J or Q visa, students on an F, J, M or Q visa, professional athletes competing in a charitable sports event, and foreign government-related individuals on A or G visas (other than A-3 and G-5).
A student or trainee qualifies only while substantially complying with the visa — not engaging in activities prohibited by immigration law that could cost them their status. Holders of A or G visas other than A-3 and G-5 are not required to file Form 8843.
The substantial presence test in brief
You are a U.S. resident for 2025 if you were physically present at least 31 days in 2025 and 183 days over 2025, 2024 and 2023, counting all days in 2025, one-third of the days in 2024 and one-sixth of the days in 2023. Any day you are in the U.S. for any part of the day counts as a day of presence.
Form 8843 lets you exclude the days you were an exempt individual. Limits: a student can't exclude days after being exempt for any part of more than 5 calendar years unless they establish they don't intend to reside permanently in the U.S.; a teacher or trainee can't if exempt for any part of 2 of the 6 prior years (with an exception when a foreign employer paid all compensation).
Alone or with Form 1040-NR
- you have income and file Form 1040-NR — attach Form 8843 to the return and mail it to the address in the 1040-NR instructions;
- you don't have to file a return (for example, a student with no income) — mail Form 8843 alone to the Department of the Treasury, Internal Revenue Service Center, Austin, TX 73301-0215;
- when filing alone, complete both addresses at the top (in your country of residence and in the U.S.) and sign page 2;
- either way, the deadline is the 1040-NR due date: April 15, 2026 if you received wages subject to withholding, otherwise June 15, 2026.
Common mistakes
- line 1a shows your first arrival instead of your most recent entry on that visa — check your I-94 record at i94.cbp.dhs.gov;
- line 1b omits the date of change and previous status after a change of status inside the U.S. (for example, B-2 to F-1) — the date is on your I-797;
- line 4a counts only full days — any day you were in the U.S. for any part of the day counts;
- a student fills in Part II or a teacher Part III: students complete Parts I and III, teachers and trainees Parts I and II;
- “Yes” on line 12 without an attached statement showing you don't intend to reside permanently in the U.S.;
- the visa type changed over the years, but no statement with the new visa type and the date it was acquired is attached;
- a form filed on its own is not signed — without a return, the signature on page 2 is required.
What to attach
- when filing a return — put Form 8843 together with Form 1040-NR;
- if your visa type changed in 2019–2024 — a statement showing the new visa type and the date it was acquired;
- “Yes” on line 12 (student for more than 5 years) — facts showing you don't intend to reside permanently in the U.S.;
- teachers or trainees using the exception to the 2-of-6-years rule — information verifying that a foreign employer paid all compensation.
How to fill it out with FoxDocs
The FoxDocs chat asks for your name, SSN or ITIN (if any), whether you file the form alone (then your foreign and U.S. addresses), visa type and date of most recent entry, status on December 31 and any change, citizenship, passport country and number, days in the U.S. in 2025, 2024 and 2023, and the days of 2025 you exclude.
Then Part III for students (school, program director or DSO, visas held 2019–2024, lines 12–14) or Part II for teachers and trainees (institution, program director, visas by year, line 8). Everything is printed in English on the official IRS form. FoxDocs does not complete Part IV (athletes) or Part V (medical conditions); you sign by hand.