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: June 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.

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.

Which days count

Presence is generally counted if you were physically in the United States at any time during the day, unless a specific exclusion applies. The exclusions are real and they are where raw travel totals and countable days part company. IRS guidance excludes certain transit days, some commuter days, some medical-condition days, and days on which the person is an exempt individual.

That term is easy to misread. In substantial-presence language, "exempt individual" does not mean exempt from U.S. tax. It means certain days of U.S. presence may be excluded from this counting test. Students, teachers, trainees, diplomats, and similar categories have their own IRS rules, limits, and filing requirements, and that status is not automatic or permanent.

Three things people get wrong

Tracking this yourself? AtlasDays keeps a private, dated travel record on your iPhone and counts the days that matter: visa limits, residency thresholds, and country totals. Get the app →

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. If you meet the raw count but believe you should still be treated as a nonresident, the closer connection exception and Form 8840 are where that argument lives.

Where to check, and where to stop

This page explains concepts and is not tax advice. Once you are asking whether specific days count, whether an exception applies, or whether a treaty position changes the result, exempt-individual history and cross-border filing exposure are where qualified professional advice earns its cost.

When the three-year count stops being a guess

AtlasDays keeps a dated travel record by country on your iPhone, so you do not have to reconstruct the same U.S. presence timeline from memory every time a tax-residence question comes up.

Get AtlasDays on the App Store