Welcome to Sprintax Returns!

You can use these guides to get started

What is the Substantial Presence Test?

This article is for information only and is not tax advice.

The Substantial Presence Test is one of the IRS methods to decide your residency status for US tax purposes. The status can be nonresident, dual-status resident, or resident. If your days in the US meet the test, the IRS treats you as a US resident for tax purposes. The other method is the Green Card Test.

How does the Substantial Presence Test work for 2026?

You meet the test if you meet two conditions. You are in the US for at least 31 days in 2026. You are in the US for at least 183 days over a 3-year period. The following table shows how to count the days in the 3-year period.

YearDays that count
2026 (current year)All of your days in the US.
2025 (first prior year)One-third of your days in the US.
2024 (second prior year)One-sixth of your days in the US.

What is an example of the Substantial Presence Test calculation?

You spent 120 days in the US in each of 2024, 2025, and 2026. The count is 120 + 40 + 20 = 180 days. This is less than 183, so you do not meet the test for 2026.

Which days count as days in the US?

Any day that you are physically present in the US counts, even for part of a day. The US means the 50 states, the District of Columbia, and US territorial waters. It does not include US territories or US airspace.

Which days do not count?

  • Days that you regularly commute to work in the US from a residence in Canada or Mexico.

  • Days in transit in the US for less than 24 hours between two foreign places.

  • Days that you work as a crew member on a foreign vessel.

  • Days that you could not leave the US because of a medical condition that began while you were in the US.

  • Days that you were an exempt individual.

Who is an exempt individual for the Substantial Presence Test?

Exempt individual status here affects how you count days. It does not exempt you from US tax. The following groups can be exempt individuals for the day count:

  • Individuals related to a foreign government on A or G visas, except A-3 and G-5.

  • Teachers and trainees on J or Q visas who substantially comply with their visa requirements.

  • Students on F, J, M, or Q visas who substantially comply with their visa requirements.

  • Professional athletes who compete in a charitable sports event.

Do I need to file Form 8843?

Yes, if you exclude days because you are an exempt individual or because of a medical condition. File Form 8843 with your tax return. If you do not have to file a return, send it to the IRS by the due date of the return. If you file it late, you generally cannot exclude those days.

Can I be a nonresident even if I meet the Substantial Presence Test?

Yes. You may qualify for the closer connection exception. You must be in the US for fewer than 183 days in the year. You must also have a closer connection to one foreign country, where you kept your tax home for the whole year. You must not have applied for a green card. You claim the exception on Form 8840. Foreign students may qualify under a separate exception.

How does Sprintax decide my residency status?

Sprintax decides it for you on Step 1, Residency. Sprintax uses the information that you enter and the IRS rules to determine your status.