Tax · Income Tax
Tax residency, the substantial presence test and treaties
Your immigration status and your TAX status are different things. The substantial presence test can make you a US tax resident — taxed on worldwide income — even on a temporary visa.
Your immigration status and your tax status are two separate things. This distinction matters because you could be a temporary visa holder on H-1B, F-1, or another status while still being classified as a U.S. tax resident for purposes of reporting income. Understanding which category you fall into—resident or nonresident for tax purposes—determines what income you must report, which forms you file, and whether you owe U.S. tax on worldwide earnings or only U.S. income.
Tax Residency and Immigration Status Are Different
The IRS does not ask what visa you hold; it asks whether you meet either the Green Card Test or the Substantial Presence Test. If you pass either one, you are a U.S. tax resident regardless of whether your visa is temporary or permanent. This means you can be physically present on a work or student visa and still be required to file Form 1040 and report worldwide income to the IRS—even though your immigration status is nonimmigrant.
The Green Card Test
If you hold a green card (formally called a Permanent Resident Card or Form I-551), you are automatically a U.S. tax resident for the calendar year in which you received it and every year after, as long as the green card remains in effect. This rule applies even if you spend the entire year outside the United States. The green card test is the simplest residency rule: possession equals resident status for tax purposes. Your residency status continues until you formally renounce your green card in writing to USCIS, or your status is terminated administratively or by court order.
The Substantial Presence Test: A Three-Year Calculation
If you do not have a green card, the IRS uses the Substantial Presence Test to decide if you are a tax resident. This is a mathematical formula based on how many days you have spent physically in the United States over the current year and the two prior years. The test is applied every calendar year, so your status can change year to year.
How the Test Works
You meet the Substantial Presence Test if two conditions are both true: (1) you are physically present in the U.S. for at least 31 days during the current calendar year, AND (2) when you add up your weighted days over three years, you reach 183 or more days.
The weighted calculation is: all days present in the current year, plus one-third of the days you were present in the first prior year, plus one-sixth of the days you were present in the second prior year. If the total equals 183 days or more, you are a resident alien for tax purposes.
- Count 100% of days physically present in the current year
- Count 1/3 of days present in the year immediately before
- Count 1/6 of days present in the year before that
- Add these up: if 183 or more, you become a tax resident
A single day counts as any day you are physically present in the United States at any time. Even arrival or departure days count as full days. However, there is one exception: if you are in transit between two places outside the United States and spend less than 24 hours in the U.S., that day does not count.
Student and Scholar Exemptions
International students on F-1, M-1, or Q visa status are exempt from counting days toward the Substantial Presence Test for their first five calendar years in the United States. Similarly, some J-1 visa holders (non-student scholars and exchange visitors) are exempt for two out of any six years. This means these individuals remain nonresident aliens for tax purposes despite spending time in the U.S., unless they arrive mid-year or transition to a different visa status. If you are exempt, you must file Form 8843 with your tax return by the filing deadline to claim the exemption; failure to file this form can cost you the exemption and create unexpected tax liability.
Resident Aliens vs. Nonresident Aliens: How It Affects Taxes
Resident Aliens File Form 1040, Report Worldwide Income
If you are a tax resident, you file Form 1040 (the standard U.S. Individual Income Tax Return) and report all income earned anywhere in the world. This includes wages from your U.S. employer, self-employment income, interest, dividends, capital gains, rental income, and other earnings. You are taxed at the same rates as U.S. citizens and may claim standard deductions and tax credits much like a U.S. citizen would. Being a tax resident means you have the full suite of U.S. tax obligations and benefits.
Nonresident Aliens File Form 1040-NR, Report U.S. Source Income Only
If you are a nonresident alien, you file Form 1040-NR (U.S. Nonresident Alien Income Tax Return) and report only U.S.-source income. This includes wages paid by a U.S. employer, self-employment income from a U.S. business, rental income from U.S. real estate, and certain other U.S. income. Income earned in your home country or elsewhere is not reported to the IRS. Nonresident aliens face significant restrictions: you cannot claim the standard deduction, most tax credits are unavailable to you, and itemized deductions are limited. You can deduct only expenses tied to U.S.-source income, such as qualifying state and local income taxes and charitable donations to U.S. organizations.
Tax Identification: SSN, ITIN, and Filing
To file a U.S. tax return, you need a taxpayer identification number. If you are authorized to work in the United States, you may be eligible for a Social Security Number (SSN). If you are not eligible for an SSN—whether you are on a student visa, certain work visas, or are undocumented—you can apply for an Individual Taxpayer Identification Number (ITIN) to file taxes and comply with U.S. law.
An ITIN is a nine-digit number issued by the IRS that begins with the number 9. It is used purely for federal tax purposes and does not provide work authorization or legal immigration status. You can obtain an ITIN regardless of your immigration status. You apply for an ITIN by attaching an ITIN application (Form W-7) to your tax return when you file. The IRS will issue your number and use it to track your tax account.
Tax Treaties: Avoiding Double Taxation
The United States has income tax treaties with approximately 68 countries. A tax treaty is a bilateral agreement that prevents you from being taxed on the same income by both the U.S. and your home country. Without a treaty, you could owe income tax to both the United States and your country of origin—a situation called double taxation.
What Tax Treaties Do
Tax treaties typically determine which country has the right to tax specific types of income. For example, a treaty might specify that wages are taxed only in the country where the work is performed, or that pensions are taxed only in the country where the retiree lives. Treaties also often reduce or eliminate withholding tax rates on dividends, interest, and royalties. To claim treaty benefits, you may need to file Form 8833 (Treaty-Based Return Position Disclosure) with your tax return.
Check Your Country's Treaty
Not every country has a tax treaty with the U.S., and treaty terms vary widely. Even if a treaty exists, it may not cover all types of income or may include a savings clause—a provision that allows the U.S. to tax its residents on worldwide income as if the treaty did not exist. Check whether the IRS lists a treaty with your home country on its Table 3 of tax treaty countries (updated regularly on irs.gov). If a treaty applies to you, review its specific provisions with a tax professional to understand which income is taxable in which country and what credits or exclusions you may claim.
Why Status Matters: Income, Deductions, and Credits
Your residency status for tax purposes affects nearly every aspect of your U.S. tax filing. Resident aliens enjoy broader deductions, credits, and exclusions. You can claim the standard deduction, child tax credits, earned income tax credits, education credits, and other benefits. Nonresident aliens are restricted: no standard deduction, limited or no credits, and deductions only if they relate to U.S.-source income.
The difference can be substantial. A resident alien with a family and U.S.-source income may claim the child tax credit, education credits, and a generous standard deduction, reducing their tax bill significantly. A nonresident alien in the same situation will claim none of these benefits unless a tax treaty provides an exception. This is why verifying your residency status early in your time in the United States is critical.
Dual-Status Filers: Arriving or Leaving Mid-Year
If you arrive in the U.S. or leave the U.S. during a calendar year, you may be both a nonresident and a resident for tax purposes in that same year. This is called dual-status filing. For example, if you arrive on June 1 and meet the Substantial Presence Test by December 31, you are a nonresident alien from January 1 to May 31 and a resident alien from June 1 onward. You must file a dual-status income tax return showing income and deductions for each period separately. The first year you are in the U.S. and the last year before you depart are the most common dual-status years.
Action Steps for New Arrivals
- Verify your visa status and check whether you have a green card or are on a temporary visa.
- Calculate your position under the Substantial Presence Test using days present in the current year and the two prior years.
- If you are a student or exchange visitor, confirm whether you qualify for an exemption and gather documentation.
- Determine whether you need an SSN or ITIN and apply if needed.
- Check whether your home country has a tax treaty with the U.S. and review treaty provisions that might apply to your income.
- Confirm your residency status (resident or nonresident) before preparing your tax return.
- Consult a tax professional if you are unsure of your status or if you are filing for the first time in the U.S.
Keep reading — Income Tax
Always verify with official sources before acting on the information above.
