Taxation

Substantial Presence Test

The substantial presence test is the IRS day-count rule that determines whether a foreign individual is a US resident alien for tax purposes. An individual meets it if present in the US at least 31 days in the current year and at least 183 days over a three-year weighted count: all current-year days, one-third of prior-year days, and one-sixth of days two years prior.

The substantial presence test is the IRS day-count rule that decides whether a foreign individual is a US resident alien for tax purposes. Resident aliens are taxed like US citizens on worldwide income. Nonresident aliens are taxed only on US-source income under a separate regime. For a US company paying a foreign contractor, the test is the dividing line between two completely different documentation and reporting paths. The IRS sets out the rule on its Substantial Presence Test page.

The Day Counts

The IRS states that an individual is considered a US resident for tax purposes if physically present in the US on at least “31 days during the current year, and 183 days during the 3-year period that includes the current year and the 2 years immediately before that” (IRS Substantial Presence Test).

The 183-day figure is not a simple sum. The IRS counts:

  1. All the days the individual was present in the current year, and
  2. One-third of the days present in the first year before the current year, and
  3. One-sixth of the days present in the second year before the current year.

So a person who spent 120 days in the US in each of three years counts 120, plus 40 (one-third of 120), plus 20 (one-sixth of 120), for a weighted total of 180. That is below 183, so the person does not meet the test for the current year even though they spent 360 actual days in the US across the period. The weighting is what makes the test easy to misread.

Why It Matters to a US Payer

The test result selects the tax form a contractor must provide before payment.

  • Resident alien. A foreign individual who meets the substantial presence test is a US resident alien. They complete Form W-9 like a US person, and the payer reports payments the same way it reports payments to any US contractor.
  • Nonresident alien. A foreign individual who does not meet the test is a nonresident alien. They complete Form W-8BEN, and the payment falls under nonresident alien withholding, with a default 30 percent rate on US-source income unless a treaty reduces it.

Collecting the wrong form means the payer applies the wrong withholding and files the wrong year-end return. A W-9 from someone who is actually a nonresident alien can leave required withholding uncollected, and the payer carries personal liability for tax it should have withheld.

Days That Do Not Count

Not every day of physical presence counts toward the 183-day total. The IRS excludes, among others, days a regular commuter travels from Canada or Mexico, days in transit between two foreign locations, and days an “exempt individual” such as certain teachers, students, and foreign-government-related individuals is present. These exclusions can pull the weighted total below 183 even after a long US stay, which is why the determination depends on facts the payer cannot guess from a head count.

Omnivoo Contract Management collects the correct tax form from each foreign contractor, sorts resident aliens from nonresident aliens, and applies the right withholding and year-end reporting for each.

Frequently asked questions

What are the exact day counts in the substantial presence test?
Per the IRS, an individual is treated as a US resident for tax purposes if physically present in the US on at least 31 days during the current year and 183 days during the 3-year period that includes the current year and the 2 years immediately before. The 183-day total is weighted: all current-year days count fully, one-third of the days in the first year before the current year, and one-sixth of the days in the second year before.
Why does the substantial presence test matter to a US payer?
It decides which tax form a contractor gives you. A foreign individual who meets the test is a US resident alien and is taxed like a US person, so the payer collects Form W-9 and reports on a 1099 where required. A foreign individual who does not meet the test is a nonresident alien and gives Form W-8BEN, which puts the payment under the nonresident alien withholding rules.
What is the difference between the substantial presence test and the green card test?
They are the two separate routes to US resident-alien status. The green card test treats a lawful permanent resident as a resident regardless of days present. The substantial presence test is the day-count route for individuals without a green card. Meeting either one makes the individual a resident alien for that year, according to the IRS.
Do all days physically present in the US count?
No. The IRS excludes certain days, such as days a person commutes from Canada or Mexico for work, days in transit between two foreign points, and days an exempt individual such as a teacher, student, or foreign-government-related individual is present. Those exclusions can lower the weighted total below 183 even when an individual spent significant time in the US.

Related articles

Omnivoo handles this for you

Stop worrying about Indian payroll and compliance terms. Omnivoo manages everything (PF, ESI, TDS, professional tax, and more) across all 28 states.

Get started