Follow on Instagram

Substantial presence test examples

Two women in a financial-themed scene with Russian text and a US flag credit card, suggesting cross-border finance topics

What this page covers

Substantial presence test examples

This page is for simple, educational examples of how the U.S. substantial presence test can work in practice for non‑U.S. citizens and non‑green card holders.

The examples below are only illustrations. They are not tax advice or a substitute for checking the official IRS rules or speaking with a qualified tax professional about your situation.

In brief

  • The substantial presence test looks at how many days you were physically in the United States over the current year and the two prior years, using a weighted day‑count formula.
  • Example outcomes can differ: two people with the same total days over three years may get different results depending on how those days are spread across the years.
  • Use these examples to understand the logic of the test at a high level, then confirm the exact rules and calculations with official IRS guidance or a qualified adviser.

What to do

The substantial presence test is one way the United States decides whether a non‑U.S. citizen or non‑green card holder is treated as a U.S. tax resident for a given year. In general, it looks at your U.S. days in the current year and the two prior years, and applies a weighted formula to those days.

Example 1: You spent 140 days in the U.S. in the current year, 120 days in the prior year, and 90 days in the year before that. Under the weighted formula, all days in the current year are counted in full, some days from the prior two years are counted at reduced weights, and the total is compared with the IRS threshold. Depending on that total, you may meet the substantial presence test and be treated as a U.S. tax resident for that year, unless an exception applies.

Example 2: You spent 90 days in the U.S. in each of the last three years. Even though the total number of days over three years is the same as in Example 1, the weighted calculation may produce a different result because your days are spread more evenly. In some cases, this pattern may fall below the threshold, and you may not meet the substantial presence test, again subject to any specific exceptions or tie‑breaker rules.

What to keep in mind

These examples are simplified and do not cover every detail of the substantial presence test, such as exempt days, closer connection claims, or treaty tie‑breaker rules that may change the outcome for a particular person.

The IRS can update rules, thresholds, or interpretations over time, and different fact patterns can lead to different tax residency conclusions even when the day counts look similar at first glance.

Always check the latest IRS instructions and, where needed, discuss your specific travel history, visa status, and home‑country ties with a qualified tax adviser before relying on any example to make decisions.