
—
This content is for informational purposes only and is not intended to provide financial or legal advice.
Understanding your tax status in the United States can feel confusing, especially if you are not a U.S. citizen. One of the most important rules you need to know is the substantial presence test. This test helps determine whether you are treated as a resident or nonresident for tax purposes.
Your tax status affects how much tax you pay, which forms you file, and what income you must report. This guide explains everything in a clear and simple way.
This guide explains the substantial presence test, how the 183-day rule works, exemptions available, and what it means for your tax filing status in the U.S.
What is the Substantial Presence Test?
The substantial presence test is a method used by the IRS to determine if a foreign national qualifies as a U.S. tax resident.
Even if you are not a green card holder, you may still be treated as a resident for tax purposes if you spend enough time in the U.S.
If you meet this test, you are taxed like a U.S. resident. If not, you are taxed as a nonresident alien.
How the 183-Day Calculation Works
The test is based on how many days you are physically present in the U.S. over a three-year period.
Here’s how it works:
- Count all the days you were in the U.S. during the current year.
- Count 1/3 of the days you were in the U.S. during the previous year
- Count 1/6 of the days you were in the U.S. during the second previous year
Example:
Let’s say:
- Current Year: 120 days
- Previous Year: 120 days
- Second Previous Year: 120 days
Now calculate:
- 120 (current year)
- 40 (1/3 of 120)
- 20 (1/6 of 120)
Total = 180 days
Since the total is less than 183 days, you do not pass the test.
Important Rule:
To meet the test, you must:
- Be present in the U.S. for at least 31 days in the current year, and
- Have a total of 183 days or more using the formula above
Exempt Categories
Not all people are obliged to count their days. There are people who are exempt from the substantial presence test.
These include:
1. Students (F, J, M, Q visas)
Students are usually exempt for up to five calendar years. During this time, their days in the U.S. do not count.
2. Teachers and Trainees (J or Q visas)
Teachers and trainees are typically exempt for 2 out of the last 6 years.
3. Diplomats and Government Officials
People employed by foreign governments or international organizations are completely exempted.
4. Medical Condition Exception
When you are unable to leave the U.S. because of a medical condition that has just arisen there, such days may not count.
These exemptions are important because they can prevent you from becoming a tax resident even if you spend many days in the U.S.
Resident vs. Nonresident Alien Taxes
Your result from the US tax residency test decides how you are taxed.
Resident Alien
If you pass the substantial presence test:
- You are taxed on your worldwide income.
- You can claim standard deductions.
- You file Form 1040
Nonresident Alien
If you do not pass the test:
- You are taxed only on U.S.-source income.
- Fewer deductions and credits are available
- A tax return specifically designed for foreign nationals and nonresident aliens who earn U.S.-source income.
Understanding this difference is essential because it affects your total tax liability.
When to File Form 1040NR vs. Form 1040
To prevent IRS problems, it is important to choose the right form.
File Form 1040NR if:
- You are a nonresident alien.
- You did not meet the substantial presence test.
- You earned income from U.S. sources.
File Form 1040 if:
- You are a resident alien.
- You passed the substantial presence test.
- You are required to report worldwide income.
Making a wrong filing may result in penalties or delays, and therefore, you should always check your status before filing.
Treaty Tiebreaker Rules and Elections
Sometimes, you may qualify as a resident in both the U.S. and another country. This is called dual residency.
To solve this issue, tax treaties between countries provide tie-breaker rules.
Tie-Breaker Rules Consider the Following:
- Where you have a permanent home
- Where your personal and economic ties are stronger
- Your habitual residence
- Your citizenship
Even when the treaty determines that you are a resident of a foreign country, you still might be regarded as a nonresident alien in the U.S. for tax purposes. Dual residency cases can be highly complex and often require guidance from an international tax professional to avoid double taxation and ensure correct filing.
First-Year and Closer Connection Elections
In some situations, you can choose a different tax status:
Closer Connection Exception
You may avoid being treated as a U.S. resident if:
- You were in the U.S. for fewer than 183 days in the current year.
- You have a closer connection to another country.
- You maintain a tax home outside the U.S.
First-Year Choice
First-Year Choice is a formal IRS election that allows certain foreign nationals to be treated as U.S. residents for part of the year they first arrive, even if they do not fully meet the substantial presence test. This election must meet specific IRS conditions and is filed with your tax return.
These options can help reduce tax burden when used correctly.
Common Mistakes to Avoid
Many foreign nationals make simple errors that can lead to tax problems:
- Not tracking days correctly
- Ignoring the exempt status rules
- Filing the wrong tax form
- Missing treaty benefits
- Visa type alone does not determine tax status — the substantial presence test must still be applied regardless of your visa.
Providing attention to such details can save time and money.
Foreign nationals who hold foreign bank accounts while living in the U.S. may also have FBAR and FATCA reporting obligations, depending on account balances and asset values.
Final Thoughts
The substantial presence test is important in establishing your tax liabilities in the United States. Not only does it concern the period of stay, but also the number of days counted and any exemptions, if applicable.
Understanding this test helps you:
- File the correct tax forms
- Avoid penalties
- Take advantage of available tax benefits
In case your case is complicated, especially due to treaty rules or dual residency, you can also consult an international tax advisor or CPA specializing in Foreign National and nonresident alien taxation to ensure full compliance.
—
