Spending time in the United States can have tax consequences that are easy to overlook. Many international travelers have heard that staying in the country for 183 days can make someone a US tax resident. While 183 days is an important number, it is not quite as simple as it sounds.
The US tax system uses the Substantial Presence Test (SPT) to determine whether certain individuals who are not US citizens or green-card holders should generally be treated as resident aliens for federal tax purposes. The test looks at days spent in the United States over a three-year period, with different weights applied to each year.
As a result, someone can potentially meet the test without spending 183 days in the United States during a single calendar year.
Understanding how the calculation works is important for anyone who regularly travels to the US, works internationally, or divides their time between several countries.
What Is the Substantial Presence Test?
The Substantial Presence Test is a formula used by the Internal Revenue Service to determine whether a person has been physically present in the United States for enough time to generally be considered a US resident for tax purposes.
For most individuals, the calculation considers physical presence during the current year and the two preceding calendar years.
The formula generally works like this:
- Every day present in the current year counts as one full day.
- Days present in the previous year count as one-third of a day.
- Days present in the second preceding year count as one-sixth of a day.
To generally meet the test, a person must have at least 31 days of presence during the current year and at least 183 weighted days under the three-year calculation.
That distinction explains why simply counting 183 days in one year can give you the wrong impression.
Why 183 Days Is Not the Real Number
Suppose someone spends 100 days in the United States in 2026, 90 days in 2025, and 60 days in 2024.
At first glance, the person has never spent anywhere near 183 days in a single year.
But the three-year calculation is different.
The calculation would be:
2026: 100 days × 1 = 100
2025: 90 days × 1/3 = 30
2024: 60 days × 1/6 = 10
The total is 140 weighted days.
So this person would not meet the 183-day threshold based on these numbers alone.
Now consider a traveler who spends 120 days in the US during 2026, 120 days in 2025, and 60 days in 2024.
The calculation becomes:
120 + 40 + 10 = 170 days.
Again, the person has not spent 183 days in any one year, but their weighted total is getting much closer to the threshold.
This is why looking only at the current year’s number can be misleading.
A Simple Example of How the Formula Works
Consider another traveler:
- 150 days in the US in 2026
- 60 days in 2025
- 30 days in 2024
The calculation would be:
150 + (60 ÷ 3) + (30 ÷ 6)
That equals:
150 + 20 + 5 = 175 days.
The traveler still does not reach 183 weighted days.
Now imagine the traveler spent 158 days in 2026 instead.
The calculation becomes:
158 + 20 + 5 = 183 days.
In this example, the individual reaches the 183-day threshold even though they spent fewer than 183 days in the United States during the current year.
This is the key concept behind the Substantial Presence Test.
What Counts as a Day?
Another important issue is determining what actually counts as a day of presence.
Generally, a day during which you are physically present in the United States can count toward the test. This can include days when you arrive or depart during the day.
However, US tax law contains several exceptions and special rules.
For example, certain days may not count if an individual qualifies under specific exceptions. There are also rules involving people who are unable to leave the United States because of a medical condition and special categories of individuals, such as certain students, teachers, trainees, and government-related individuals.
Because these exceptions can significantly change the calculation, travelers should not assume that every day spent physically in the country automatically counts.
The Importance of Your Travel History
Frequent travelers can find the Substantial Presence Test particularly difficult to monitor.
Imagine someone who spends several weeks in the US for business, returns home, and then comes back for another extended visit. Their trips may appear separate from a travel perspective, but the IRS calculation looks at the total qualifying days across the relevant three-year period.
This means maintaining accurate travel records is extremely important.
Keep track of:
- US entry dates
- US departure dates
- Business trips
- Personal visits
- Short return trips
- Days that may qualify for an exception
A complete travel history makes it much easier to determine whether you are approaching the threshold.
Using a Substantial Presence Test Calculator
Manually calculating weighted days is possible, but it becomes inconvenient when you have many trips spread across multiple years.
A substantial presence test calculator can simplify the process by organizing your US travel dates and applying the relevant weighting system.
Instead of adding dates manually, you can enter your periods of physical presence and use the calculation as a planning tool.
This can be especially useful before booking another extended US trip. If your previous travel history already puts you close to the threshold, another few weeks in the country could have tax implications.
A calculator should be treated as a helpful planning tool rather than a replacement for professional tax advice, particularly when exceptions or unusual circumstances apply.
What Happens If You Meet the Test?
Meeting the Substantial Presence Test can generally result in an individual being treated as a US resident for federal income tax purposes.
That can have significant consequences because US resident aliens are generally subject to US federal income tax on their worldwide income, subject to applicable rules, exclusions, credits, and treaties.
This is why the test matters beyond simply counting travel days.
Someone who regularly works across borders or earns income in multiple countries may need to consider the broader tax consequences of becoming a US tax resident.
The Closer Connection Exception
There is also an important exception that some individuals may be able to use if they meet specific requirements.
The closer connection exception may allow a person who meets the physical-presence requirements to be treated as a nonresident for US tax purposes if they have maintained a closer connection to another country and satisfy the applicable conditions.
This is not an automatic exemption, and strict requirements apply. The timing and filing requirements are also important.
For that reason, someone who is close to meeting the Substantial Presence Test should look beyond the simple day count.
Don’t Confuse Tax Residency With Immigration Status
Another common misunderstanding is assuming that tax residency and immigration status are the same thing.
They are not.
A person’s visa or immigration status determines whether and under what conditions they can enter or remain in the United States. Tax residency is a separate issue governed by US tax rules.
Someone can therefore have a particular immigration status while also needing to consider whether they meet a tax-residency test.
Understanding this distinction is particularly important for international workers, business travelers, students, and people who spend significant portions of the year in the United States.
Final Thoughts
The Substantial Presence Test is often summarized with one number: 183 days.
But that summary leaves out the most important part of the calculation.
The test generally looks at three years, with current-year days receiving full weight, previous-year days receiving one-third weight, and days from the second preceding year receiving one-sixth weight. Various exceptions can also affect which days count.
For anyone who spends significant time in the United States, keeping accurate travel records is therefore essential. A substantial presence test calculator can make the arithmetic easier and help travelers understand how their previous trips affect their current position.
The most important lesson is simple: don’t look only at how many days you have spent in the US this year. Look at the complete three-year picture before making assumptions about your tax residency.






