AtlasDays
Menu
Flag of the United States

US Substantial Presence Test: What Travelers Need to Know

A practical explainer of what the U.S. substantial presence test is trying to determine, why the count is weighted across three years, and where exceptions and treaty issues matter.

Last verified: September 2026

In short: the substantial presence test decides whether the IRS treats you as a U.S. resident for tax purposes based on physical presence. It is not a simple annual 183-day rule. The count is weighted across three calendar years, so medium-length stays repeated over several years can become tax-relevant faster than people expect. It is a tax test, not a visa or immigration status.

Current-year minimum
31 qualifying US days
Weighted minimum
183 days across the current and two preceding calendar years
Weights
Current year: all days; previous year: one third; year before that: one sixth
How the conditions combine
Both minimums must be met

How the weighted count works

The formula looks at the current calendar year plus the two calendar years before it.

  1. Count all countable days of U.S. presence in the current year.
  2. Add one-third of the countable days from the first preceding year.
  3. Add one-sixth of the countable days from the second preceding year.

To meet the test, the usual starting point is that you were present in the United States for at least 31 days in the current year and the weighted three-year total reaches at least 183 days.

The IRS example in Publication 519 shows why the weighting matters: 120 days in each of three consecutive years totals only 180 under the formula, so that pattern does not meet the test. The point is that prior years keep contributing, not that the arithmetic is hard.

Both requirements matter. With 122 qualifying days in each of three years, the total is 122 + 40⅔ + 20⅓ = 183, and the current-year 31-day condition is also met. But 30 days this year, 365 last year and 365 the year before do not meet SPT: the weighted total is high enough, while the current-year minimum is not.

Keep the fractions until the comparison

Treasury regulation 301.7701(b)-1(c)(1) says fractional days from the weighting are not rounded to the nearest whole number. For example, 122 current-year days, 122 prior-year days and 121 days two years earlier produce 182⅚. That is still below 183. Rounding the individual yearly contributions before adding them can also change the answer.

Which days can be excluded?

Any part of a day in the US normally counts. Publication 519 identifies these exclusion categories, each with conditions:

“Exempt individual” means certain days can be left out of this test, not that the person is exempt from all US tax. This is a category summary, not a determination that a particular stay qualifies. The official sources below link directly to Publication 519’s excluded-day rules and the relevant filing instructions.

For SPT, the US includes the 50 states, the District of Columbia and specified territorial waters/offshore areas. US territories and US airspace are not included.

Do exclusions require paperwork or evidence?

Depending on the exclusion, yes. Qualifying students, teachers/trainees, charitable-event athletes and people claiming a medical exclusion generally file Form 8843, even if no income-tax return is otherwise required. That is not a universal filing requirement for every exclusion: foreign-government-related individuals are excepted from the form’s filing instruction.

The form asks for the basis of the claim. Medical exclusions require a signed physician’s statement. Charitable-event athletes attach a statement about the event’s net proceeds; students and teachers/trainees provide institution or program details and visa history, with additional statements in some cases. Keep records supporting the claimed dates and circumstances, and use the correct tax-year instructions. A personal travel log supports the chronology but does not replace a required filing or certification.

Three things people get wrong

Where the raw count is not the last word

Meeting the day count does not automatically settle your status. Closer-connection positions, treaty residence and tie-breaker rules, residency starting and ending dates, and filing consequences can all still matter on the right facts. The ordinary closer-connection exception has its own conditions, including fewer than 183 days of US presence in the current year, a foreign tax home and the required closer connection. It also has Form 8840 filing requirements. It is not an automatic exemption for anyone who meets the weighted count.

Track US day thresholds in AtlasDays

Track both day thresholds automatically from your travel log with the US Substantial Presence Test preset. IRS day-count exclusions are not applied.

Get AtlasDays

FAQ

Do I need 183 actual US days in the selected year?

No. The weighted total can reach 183 with fewer current-year days because the preceding two years contribute. The separate minimum of 31 current-year days must still be met.

Are fractional weighted days rounded up?

No. The regulation retains fractional days for the comparison. A weighted total of 182⅚ does not meet the 183-day threshold.

Are all transit days excluded?

No. The IRS transit exception covers less than 24 hours in the US while travelling between two places outside the US. A journey described as transit does not automatically satisfy that rule.

About this article: AtlasDays provides general information, not legal, tax, or immigration advice. Rules change and outcomes depend on your circumstances, so never rely on it alone: check the linked official source or ask a qualified professional.