Skip to content
US Federal · SPT

SPT exempt individuals: students, teachers, and the day-count exclusions

The IRS Substantial Presence Test lets certain visa categories, students (F, J, M, Q), teachers and trainees, and others exclude their US days entirely.

10 min read

The IRS Substantial Presence Test counts your US days, but not all of them. Certain visa categories exclude their US days entirely from the SPT calculation. If you're an exempt individual, you can spend years in the US without becoming a tax resident. The categories are narrow, and the exclusions have time limits.

The five exempt-individual categories

  • Foreign government-related individual on A or G visa.
  • Teacher or trainee on J or Q visa (limited).
  • Student on F, J, M, or Q visa (limited).
  • Professional athlete in the US for charitable sports events.
  • Individual unable to leave due to medical condition that arose while in the US.

Students (F, J, M, Q visas)

Students are exempt for any 5 calendar years. The 5 years don't have to be consecutive, they're cumulative. After year 5, the student becomes subject to the full SPT calculation.

Practical consequence: an undergraduate from China who spent 4 years on F-1 then takes a 1-year OPT remains exempt through year 5. In year 6, days start counting toward the SPT, and prior years (when the student was exempt) don't count. You can model that transition in the substantial presence test calculator: enter zero days for each exempt year and your real day count for the first non-exempt one, and the weighted three-year total comes out the way the IRS would compute it.

Warning:

Year 5 is a hard cutoff. Once you've used 5 years (any portion of a calendar year counts), you can no longer claim exemption as a student. The SPT applies in full from year 6 onward.

Teachers and trainees (J, Q visas)

Teachers and trainees are exempt for 2 of the last 6 calendar years. The 2-year window resets after a certain period of non-exempt status. This is the IRS's way of preventing back-to-back J-1 sponsorships from creating permanent exempt status.

If you're on J-1 as a teacher and have been exempt for 2 of the last 6 years, you cannot claim exemption, you're subject to the SPT.

Foreign government-related (A, G visas)

Diplomats, consular officers, and certain employees of international organizations on A or G visas exclude their US days indefinitely while on the visa. Family members on derivative visas (A-2, G-4, etc.) are also generally exempt.

Professional athletes for charitable events

Days spent in the US to compete in a charitable sports event don't count. This is narrow, it doesn't apply to commercial competitions or appearance fees.

Medical condition exception

If you intended to leave the US but couldn't because of a medical condition that arose while in the US, those days don't count. The exception requires a doctor's certification and is examined carefully on audit. Pre-existing conditions are not covered.

Filing Form 8843

Most exempt individuals must file Form 8843 (Statement for Exempt Individuals) with the IRS for each year they claim exemption, even if they don't owe US tax. The form documents your visa category, US presence, and basis for exemption. Late filing or omission can disqualify the exemption.

Tip:

Track every US day even while exempt. When the exempt period ends, your SPT clock starts counting, and you'll need a clean record to apply the rules from day one of non-exempt status.

Track US days through your exempt period

Tax Days handles exempt-individual statuses: configure your visa category, and the app correctly excludes exempt days from the SPT calculation while still recording them for Form 8843.

FAQ

Frequently asked questions

Who counts as an exempt individual under the Substantial Presence Test?

There are five categories: foreign government related individuals on A or G visas, teachers or trainees on J or Q visas, students on F, J, M, or Q visas, professional athletes in the US for charitable sports events, and people unable to leave because of a medical condition that arose while in the US. Exempt individuals generally exclude their US days from the SPT calculation, but most categories have time limits.

How long are students exempt from the Substantial Presence Test?

Students on F, J, M, or Q visas are generally exempt for any 5 calendar years, and those years are cumulative rather than consecutive. Any portion of a calendar year counts as a full year for this purpose. From year 6 onward the SPT applies in full, and the prior exempt years do not count toward the formula.

How does the exemption work for teachers and trainees on J visas?

Teachers and trainees on J or Q visas are generally exempt for 2 of the last 6 calendar years, and the window resets after a certain period of non-exempt status. If you have already been exempt for 2 of the last 6 years, you typically cannot claim the exemption again and become subject to the SPT.

Do I need to file Form 8843 if I don't owe US tax?

Generally yes. Most exempt individuals must file Form 8843 (Statement for Exempt Individuals) for each year they claim the exemption, even when no US tax is due. The form documents your visa category, US presence, and basis for exemption, and late filing or omission can disqualify the exemption.

Should exempt individuals still track their US days?

Yes, tracking is generally worthwhile even while exempt. When the exempt period ends, your SPT clock starts counting, and you will need a clean record to apply the rules from the first day of non-exempt status. You also need presence details each year for Form 8843.