A move across a border can change more than your address. It can change which income the United States taxes, which return you file, whether foreign accounts trigger reporting, and whether treaty protection is available. Knowing how to determine tax residency is therefore a threshold issue, not a box to check after the return is prepared.
For U.S. federal income tax purposes, an individual is generally classified as a U.S. citizen, resident alien, or nonresident alien. U.S. citizens are generally subject to U.S. tax on worldwide income regardless of where they live. For foreign nationals, residency usually turns on the green card test or substantial presence test. The result may differ from your immigration status, the country where you maintain a home, or the tax residency determination made by another country.
Start With the U.S. Tax Classification
A U.S. tax resident generally files Form 1040 and reports worldwide income, subject to available exclusions, deductions, foreign tax credits, and treaty positions. A nonresident alien generally files Form 1040-NR when a filing obligation exists and is taxed primarily on U.S.-source income and income effectively connected with a U.S. trade or business.
This distinction affects much more than the income tax return. A U.S. tax resident may have information-reporting obligations for foreign financial accounts and assets, including FinCEN Form 114, commonly known as the FBAR, and Form 8938. A nonresident alien may face withholding on certain U.S.-source income, have limited access to deductions and credits, and be subject to different rules for investment income, real estate, and self-employment activity.
Do not assume that a visa category answers the question. An individual on a temporary work visa can become a U.S. tax resident under the substantial presence test. Conversely, certain students, teachers, trainees, and diplomats may exclude days of presence under specialized rules.
How to Determine Tax Residency Under U.S. Rules
The green card test
You are generally a resident alien for federal income tax purposes if you are a lawful permanent resident of the United States at any time during the calendar year. In practical terms, this means you have been granted a green card and that status has not been formally revoked or administratively or judicially determined to have been abandoned.
Physical presence in the United States is not required every day of the year for the green card test to apply. A green card holder living overseas may remain a U.S. tax resident until the status is properly relinquished or terminated. This is a frequent source of costly misunderstandings for expatriates who believe a long absence, by itself, ends U.S. tax residency.
For long-term green card holders, formally ending residency can also raise separate expatriation and exit tax considerations. The analysis should be completed before action is taken, particularly where substantial assets, deferred compensation, trusts, or foreign business interests are involved.
The substantial presence test
If you do not hold a green card, the substantial presence test is usually the next step. You meet this test when you are physically present in the United States for at least 31 days during the current year and 183 weighted days over a three-year period.
The calculation includes all days in the current year, one-third of the days in the prior year, and one-sixth of the days in the second prior year. For example, a professional who spends 120 days in the United States in each of three consecutive years has a weighted total of 120 + 40 + 20, or 180 days. That individual does not meet the 183-day threshold, assuming no other facts change the analysis.
The calculation is mechanical, but the exceptions are not. Days may be excluded for certain individuals temporarily present in the United States as students, teachers, trainees, diplomats, or qualifying medical patients. Commuter days for certain Canadian and Mexican residents may also receive special treatment. In many cases, excluded-day treatment requires an affirmative filing, often Form 8843, rather than simply omitting days from a personal travel calendar.
The closer connection exception
An individual who meets the substantial presence test may still be treated as a nonresident alien under the closer connection exception. This exception is generally available if the person is present in the United States for fewer than 183 days in the current year, maintains a tax home in a foreign country, and has a closer connection to that foreign country than to the United States.
The facts matter. The IRS may consider where you maintain a permanent home, family ties, personal belongings, business activities, banking relationships, driver’s license, voting registration, and social or religious affiliations. A foreign address alone is rarely persuasive when the broader facts point to an established U.S. life.
The exception is generally claimed on Form 8840. It is not available to every taxpayer, including many individuals who have applied for a green card or taken steps inconsistent with nonresident status.
Treaty Residence Can Change the Result
It is possible to be a tax resident of the United States and another country at the same time under each country’s domestic rules. This is common for executives on assignment, families relocating midyear, and individuals retaining homes and business interests in more than one jurisdiction.
Where an applicable U.S. income tax treaty is available, its tie-breaker rules may assign residence to one country for certain income tax purposes. The typical treaty sequence considers permanent home, center of vital interests, habitual abode, nationality, and, if necessary, agreement between tax authorities. The precise language differs by treaty, so the applicable treaty must be reviewed rather than assumed.
A treaty-based position can be highly valuable, but it is not a casual election. A taxpayer claiming treaty nonresidence after meeting the substantial presence test may need to file Form 8833, and the claim can affect access to certain deductions, exclusions, reporting positions, and future residency analysis. Further, treaty rules often include a saving clause that preserves the United States’ right to tax its citizens and many residents in specified circumstances.
Residency Begins and Ends on Specific Dates
Tax residency is not always an all-or-nothing annual status. A person arriving in or leaving the United States may have a dual-status tax year, meaning part of the year is treated as resident and part as nonresident.
For a taxpayer who meets the substantial presence test, the residency starting date is generally the first day of physical presence in the United States during the year. Exceptions can apply for a limited number of days when the taxpayer establishes a closer connection to a foreign country. Similarly, residency may end on the last day of U.S. presence if the individual meets the requirements for a residency termination date.
A first-year choice may allow some individuals who do not meet the substantial presence test in their arrival year to elect resident treatment, provided they satisfy detailed presence requirements across two calendar years. This can be beneficial when filing jointly with a U.S. citizen or resident spouse, but it also brings worldwide income into the U.S. tax system. The election should be modeled before it is made.
Keep Records That Support the Position
A residency conclusion should be supported by contemporaneous records, not reconstructed from memory at filing time. Preserve travel calendars, passport stamps, I-94 travel history where available, boarding records, visa documentation, lease agreements, employment records, and evidence of foreign tax residence.
For a closer connection or treaty position, document the factual center of your life. That may include proof of a foreign home, family residence, local employment, foreign tax filings, and the location from which personal and financial affairs are managed. For internationally mobile employees, employer assignment letters and travel policies can be particularly useful.
State tax residency deserves separate review. A taxpayer may be a nonresident for federal purposes yet remain subject to state tax residency rules, especially where a domicile, permanent place of abode, spouse, or recurring presence remains in a high-tax state. Federal treatment should never be assumed to resolve the state analysis.
Common Errors in Tax Residency Analysis
The most common mistake is counting only days in the current year. The substantial presence test is a three-year calculation, and prior travel can create an unexpected residency result. Another is treating immigration status and tax status as interchangeable. They overlap, but they are governed by different rules and timelines.
Taxpayers also sometimes claim foreign residence because they paid tax abroad or maintained a foreign home. Foreign tax residence can be relevant, but it does not automatically prevent U.S. residency under the green card or substantial presence tests. Finally, filing Form 2555 for the foreign earned income exclusion does not establish that a taxpayer is no longer a U.S. tax resident. U.S. citizens abroad often remain fully subject to U.S. filing and reporting requirements.
When the facts involve multiple countries, midyear moves, a green card, substantial investment income, or treaty claims, determine residency before reporting income. A well-supported classification at the start of the engagement can prevent an incorrect return from becoming a multi-year compliance problem.