A foreign national can become a U.S. tax resident without receiving a green card, changing immigration status, or intending to remain in the United States permanently. A few extended business assignments, recurring client visits, or time spent with family can be enough. Understanding how to pass the substantial presence test means understanding whether you meet the IRS standard for U.S. tax residency, and whether an exception may preserve nonresident status.
The outcome matters because a U.S. resident for income tax purposes is generally taxed on worldwide income and typically files Form 1040. A nonresident alien generally files Form 1040-NR and is subject to U.S. tax only on specified U.S.-source income and income effectively connected with a U.S. trade or business. The distinction can affect reporting of foreign accounts, investments, businesses, pensions, and trusts as well as the income tax return itself.
What the substantial presence test measures
The substantial presence test is a day-count test. You generally meet it for a calendar year if you are physically present in the United States for at least 31 days during the current year and 183 days under a three-year weighted calculation.
The calculation includes:
- Every day of U.S. presence in the current year
- One-third of the days of U.S. presence in the first preceding year
- One-sixth of the days of U.S. presence in the second preceding year
For example, assume an executive was in the United States for 120 days in 2026, 150 days in 2025, and 120 days in 2024. The calculation is 120 current-year days, plus 50 days from 2025, plus 20 days from 2024. The total is 190 days. Because the executive also spent more than 31 days in the United States in 2026, they meet the substantial presence test for 2026.
The word “pass” can be misleading. For some taxpayers, passing the test is desirable because it establishes U.S. tax residency. For others, especially foreign nationals on temporary assignments or investors with extensive offshore holdings, avoiding resident status is the objective. The correct approach is not to manufacture a result. It is to apply the rules accurately, document the facts, and evaluate available exceptions before a filing position is taken.
Count U.S. days with precision
A day is generally counted if you are physically present in the United States at any time during that day. A late-night arrival can count. So can an early-morning departure. Travel records that track only hotel nights or business meetings frequently understate the IRS day count.
Maintain a contemporaneous travel calendar showing arrival and departure dates, countries visited, flight confirmations, passport stamps where available, and the purpose of each trip. For globally mobile employees, employer assignment records and payroll data can help corroborate the calendar, but they are not substitutes for a personal day-by-day analysis.
Several days are excluded from the count under specific rules. These commonly include days in transit between two foreign locations, certain days you are unable to leave the United States because of a qualifying medical condition that arose while you were here, and days treated as exempt because of your immigration category or status. The exclusions are technical, fact-dependent, and often require disclosure.
A person in the United States as a teacher, trainee, student, diplomat, or under a qualifying international organization status may be an “exempt individual” for this purpose. Exempt does not mean exempt from U.S. tax. It means certain days may be excluded from the substantial presence calculation. The available period and limitations vary by category, and prior years in the United States can reduce or eliminate the benefit.
Do not assume a visa controls tax residency
Immigration status and U.S. tax residency are separate determinations. Someone holding a temporary work visa may meet the substantial presence test. Conversely, a student or teacher may have days that do not count even while lawfully present in the country for a significant period.
The same caution applies to a green card holder who claims that a treaty treats them as resident in another country. A treaty-based filing position can have significant consequences, including potential termination of U.S. residency for income tax purposes. That result should be reviewed carefully rather than treated as a routine extension of immigration status.
How to pass the substantial presence test without errors
If your goal is to establish U.S. tax residency, start by confirming the raw day count, including the 31-day current-year requirement. Then determine the first day you were present in the United States during the year. Under the residency starting-date rules, residency may begin on that first day, although limited exceptions can apply when there is a period of nonresidence at the beginning of the year.
This distinction is especially relevant in a move-year. A taxpayer may be a dual-status alien, treated as a nonresident for part of the year and a resident for the remainder. Dual-status returns have different filing mechanics, deduction rules, and disclosure considerations from a full-year resident return.
In some circumstances, a taxpayer who does not otherwise meet the substantial presence test may elect to be treated as a U.S. resident under the first-year choice rules. This can be useful when a person expects to meet the test in the following year and wants resident treatment sooner. It can also expose worldwide income to U.S. taxation earlier, so the election requires modeling rather than assumption.
Meeting the test is only the first step. Once U.S. residency applies, review the taxpayer’s worldwide income, foreign tax credit position, foreign earned income exclusion eligibility where relevant, foreign financial account reporting, Form 8938 obligations, and ownership interests in foreign entities. A day-count conclusion that is correct but disconnected from these compliance consequences is incomplete advice.
When you meet the test but can remain a nonresident
A taxpayer who meets the mathematical test may still qualify for an exception. The two most common paths are the closer connection exception and an income tax treaty residency position.
The closer connection exception
The closer connection exception may be available when you are present in the United States for fewer than 183 days during the current calendar year, maintain a tax home in a foreign country for the entire year, and have a closer connection to that foreign country than to the United States. The test looks beyond travel days. It considers facts such as your permanent home, family ties, business activities, banking, voting jurisdiction, driver’s license, social connections, and where you maintain personal property.
A taxpayer claiming this exception generally files Form 8840 by the required deadline. The form is not merely administrative. It is the formal statement supporting nonresident treatment, and an unfiled form can jeopardize an otherwise valid position. The exception is generally unavailable to a lawful permanent resident or someone who has applied for a green card.
Treaty tie-breaker rules
If you are treated as a resident of both the United States and a treaty country under each country’s domestic rules, an applicable income tax treaty may resolve residency. Treaty tie-breaker provisions commonly consider permanent home, center of vital interests, habitual abode, and nationality, although the exact language depends on the treaty.
A treaty claim often requires Form 8833 and should be evaluated alongside foreign tax filings, employer payroll, and the taxpayer’s broader residency profile. It may reduce U.S. income tax exposure, but it does not automatically eliminate all U.S. filing obligations. U.S.-source income, information returns, and specialized reporting rules may still apply.
Plan before the 183rd day, not after it
The strongest substantial presence analysis starts before travel becomes difficult to reconstruct. A professional who travels to the United States regularly should project the weighted count at the beginning of the year and update it after every trip. This is particularly valuable for executives rotating between U.S. and foreign offices, founders managing U.S. operations, and families splitting time between countries.
If remaining a nonresident is the objective, do not focus only on staying below 183 actual days in the current year. The weighted three-year calculation may still produce resident status. Also assess whether a closer connection claim is realistically supportable. Reducing U.S. days while moving your home, family, and central business affairs to the United States may create facts that point in the opposite direction.
If establishing residency is the objective, confirm the effective residency start date and prepare for the worldwide reporting that may follow. The right result depends on your facts, tax treaty position, current-year income, and plans for the next several years.
For taxpayers with cross-border income or a changing travel pattern, a residency analysis should be completed while planning is still possible. Protax Consulting can assess the day count, exceptions, treaty considerations, and related filing obligations before a technical residency question becomes a costly compliance problem.