⚠️ Informational Use Only. This website is for informational and educational purposes only. It does not constitute legal or tax advice. Always consult a qualified tax professional. Learn more

U.S. Taxes for Immigrants and Foreign Nationals

If you live or work in the United States — regardless of your immigration status — you may have U.S. tax obligations. This guide explains how the U.S. tax system applies to immigrants, visa holders, green card holders, and undocumented individuals.

Resident Alien vs. Nonresident Alien: A Critical Distinction

Your U.S. tax obligations depend on whether you are classified as a resident alien or a nonresident alien:

Resident Alien vs. Nonresident Alien: Tax Comparison
FeatureResident AlienNonresident Alien
Who qualifiesGreen card holders; people who pass the Substantial Presence TestThose who don't have a green card and don't meet the Substantial Presence Test
Income taxedWorldwide incomeOnly U.S.-source income
Tax returnForm 1040 (same as U.S. citizens)Form 1040-NR
Standard deductionYes — same as U.S. citizensGenerally not available (except some exceptions, e.g., students from India under tax treaty)
EITC eligibilityGenerally yes, if other conditions metGenerally no

The Substantial Presence Test

You are considered a U.S. resident for tax purposes (resident alien) if you meet the Substantial Presence Test — even without a green card:

  1. You were present in the U.S. for at least 31 days in the current year, AND
  2. The sum of days present over the past 3 years equals at least 183 days, calculated as: days this year × 1 + days last year × 1/3 + days 2 years ago × 1/6

Certain visa holders are "exempt individuals" who don't count days: students on F, J, M, or Q visas (for a limited period); teachers/trainees on J or Q visas; and diplomats. Days spent in the U.S. for medical reasons beyond your control also don't count.

Green Card Holders (Permanent Residents)

  • Automatically classified as resident aliens for tax purposes
  • Taxed on worldwide income — including income earned in other countries
  • File Form 1040 each year, just like U.S. citizens
  • Eligible for the same deductions and credits as U.S. citizens
  • Must report foreign financial accounts (FBAR) if foreign accounts exceed $10,000 at any time during the year
  • Foreign tax credits may be available to prevent double taxation

Work Visa Holders (H-1B, L-1, O-1, TN, etc.)

  • Most work visa holders who are in the U.S. for significant periods will meet the Substantial Presence Test and be treated as resident aliens
  • File Form 1040 as resident aliens
  • Eligible for the standard deduction and most tax credits
  • Social Security and Medicare taxes (FICA) are withheld from wages — the same as U.S. citizens
  • May need to consider impact of tax treaties

International Students and Exchange Visitors (F-1, J-1)

  • Generally classified as nonresident aliens for tax purposes during their exempt period
  • F-1 students: exempt from counting days for 5 years; J-1 exchange visitors: 2 years
  • File Form 1040-NR instead of the regular 1040
  • Only taxed on U.S.-source income
  • Not eligible for the standard deduction (with exceptions for treaty countries)
  • May be exempt from Social Security and Medicare taxes (FICA) while in nonresident status
  • Must file Form 8843 to document exempt individual status, even if they had no income

Individual Taxpayer Identification Number (ITIN)

An ITIN is a tax processing number issued by the IRS to individuals who need to file a U.S. tax return but are not eligible for a Social Security Number:

  • Format: 9XX-XX-XXXX (begins with 9)
  • Who needs it: Nonresident aliens filing Form 1040-NR, resident aliens without SSN eligibility, dependents or spouses of nonresident aliens, certain immigrants without work authorization
  • Apply using Form W-7 — submit with your tax return and documentation proving foreign status and identity
  • Processing time: approximately 7–11 weeks
  • An ITIN does NOT authorize work in the U.S. and is not a pathway to immigration benefits
  • ITINs expire if not used on a federal tax return for 3 consecutive years

Undocumented Individuals and Tax Filing

Key fact: U.S. tax law requires filing if you earn income in the U.S., regardless of immigration status. Filing taxes with an ITIN is legal and does not affect your immigration case.
  • Undocumented individuals can obtain an ITIN using Form W-7 and file taxes
  • IRS policy is to not share taxpayer information with immigration agencies for enforcement purposes
  • Filing taxes may be important for future immigration applications (evidence of good moral character)
  • Many are eligible for the Child Tax Credit (if children are U.S. citizens with SSNs)
  • Not eligible for the EITC (requires valid SSN for the worker)
  • Consult an immigration attorney before making decisions — laws and policies can change

U.S. Tax Treaties with Foreign Countries

The United States has income tax treaties with over 60 countries that can reduce or eliminate U.S. taxation on certain types of income for residents of treaty countries:

  • Benefits may include reduced withholding on dividends, interest, and royalties; exemption from U.S. tax on certain income; and special rules for students and researchers
  • To claim treaty benefits, you typically file Form 8833 (Treaty-Based Return Position Disclosure)
  • Common treaty countries: Canada, Mexico, UK, Germany, India, China, Japan, France, South Korea, and many others
  • Verify the specific treaty terms at irs.gov

Official Resources for Immigrant Taxpayers