U.S. Tax Residency for Immigrants: Green Card Test vs. Substantial Presence Test

U.S. Tax Residency for Immigrants: Green Card Test vs. Substantial Presence Test

Your green card, visa, or work permit tells USCIS what you can do in the United States. It does not automatically tell the IRS how to tax you. U.S. tax residency follows its own rules, and newcomers are often surprised to learn they can be a tax resident without a green card, or a green card holder who must report income earned anywhere in the world.

This guide explains how immigrants become U.S. tax residents under the IRS green card test and the substantial presence test. It also covers how dual-status years work and why your tax filings matter for future green card and citizenship applications. It is general information, not tax advice; for your specific situation, talk to a tax professional.

Why tax residency matters

The IRS sorts noncitizens into two groups, and the difference changes almost everything about your return:

Resident alien Nonresident alien
Income taxed Worldwide income Mainly U.S.-source income
Main return Form 1040 Form 1040-NR
Standard deduction Generally available Generally not available
Filing jointly with spouse Allowed Not allowed, except through a special election
Foreign account reporting FBAR and Form 8938 may apply Generally not required

Quick way to check your status

  1. Did you hold a green card at any time during the year? If yes, you meet the green card test. Check the dual-status rules for the year you received it.
  2. If not, were you an exempt individual, such as an F-1 student in your first five years? If yes, those days do not count.
  3. Otherwise, count your days. Were you in the U.S. at least 31 days this year and 183 weighted days over three years? If yes, you meet the substantial presence test.
  4. If you met it with fewer than 183 days this year, check the closer connection exception and any tax treaty.
  5. If none of these make you a resident, you are a nonresident alien for that year.

You become a resident alien for tax purposes if you meet either the green card test or the substantial presence test for the calendar year. The rules are in the IRS guide on determining tax residency status.

The green card test

If you are a lawful permanent resident at any time during the calendar year, you meet the green card test for that year. The test does not depend on how many days you spent in the country. It applies to both 2-year conditional and 10-year green cards.

Meeting the test does not always mean you are a resident for the whole year. In the year you receive a green card, your residency usually starts on the first day you are in the U.S. as a permanent resident. Income from before that date is generally taxed under nonresident rules, as explained in the dual-status section below.

Two consequences surprise many green card holders:

  • Living abroad does not end tax residency. A green card holder who works overseas is still taxed on worldwide income and must generally file a U.S. return, although credits and exclusions can reduce double taxation.
  • Residency continues until status formally ends. An expired card does not end tax residency. It generally continues until permanent residence is officially given up or ended, for example by filing Form I-407 or through a final administrative or court decision.

For the broader rights and duties that come with permanent residence, see our article on the pros and cons of holding a green card.

The substantial presence test

People without a green card, including many work visa holders, can still become tax residents by spending enough time in the U.S. You meet the substantial presence test if you were physically present in the U.S. for:

  1. at least 31 days during the current year, and
  2. at least 183 days over three years, counting all days in the current year, one-third of the days in the previous year, and one-sixth of the days in the year before that.

Example calculation

Year Days in the U.S. Multiplier Days counted
2026 (current year) 120 All days 120
2025 150 1/3 50
2024 120 1/6 20
Total 190, so the test is met

Any part of a day counts as a full day. A few days are excluded, such as days spent in transit between two foreign points for less than 24 hours, days you regularly commute to work from Canada or Mexico, and days you could not leave because of a medical condition that arose in the U.S.

Exempt individuals: students, scholars, and diplomats

Days do not count while you are an "exempt individual." The most common groups are:

  • Students on F, J, M, or Q visas, usually for their first five calendar years in the U.S.
  • Teachers and trainees on J or Q visas, usually for two of the last six calendar years
  • Foreign government-related individuals, such as A and G visa holders

Exempt individuals generally file Form 8843 to claim the exemption, even if they had no income. This is why many F-1 students, including those on OPT, remain nonresidents for tax purposes during their first years. Students planning work authorization can read our comparison of OPT, CPT, and STEM OPT.

The closer connection exception

If you meet the substantial presence test, you may still be treated as a nonresident under the closer connection exception. All of these conditions must be met:

  • you were present in the U.S. for fewer than 183 days during the current year;
  • your tax home was in a foreign country for the entire year;
  • you had a closer connection to that country than to the U.S.; and
  • you did not apply for, or take other steps toward, a green card during the year, such as having an immigrant petition or adjustment of status application pending.

You claim the exception on Form 8840. Separately, a tax treaty tie-breaker rule may treat a dual resident as a resident of the other country; this is claimed on Form 8833.

Your first year: dual-status returns

The year you arrive or get your green card is often a dual-status year: you are a nonresident for part of the year and a resident for the rest. In general:

  • Green card holders usually become residents on the first day they are in the U.S. as permanent residents.
  • People who meet the substantial presence test usually become residents on the first day they were present in the U.S. that year. Up to 10 days of earlier short visits can be disregarded.

Dual-status returns have restrictions, including no standard deduction and limits on filing status. Two elections may give a better result:

  • First-year choice: someone who does not meet either test in the arrival year but meets the substantial presence test the next year may elect to be treated as a resident for part of the first year.
  • Nonresident spouse election: a married couple where one spouse is a U.S. citizen or resident can elect to treat the nonresident spouse as a resident for the whole year and file jointly. Worldwide income of both spouses is then taxed.

The details are in IRS Publication 519, U.S. Tax Guide for Aliens.

Getting a tax ID: SSN or ITIN

To file, you need a taxpayer identification number. If you have work authorization, you will usually use a Social Security number; see our guide on how to find your SSN. People who must file but cannot get an SSN, including some dependents and nonresident spouses, apply for an Individual Taxpayer Identification Number (ITIN) with Form W-7.

Reporting foreign accounts and assets

Tax residents must report foreign financial accounts in many cases, even if no tax is owed:

  • FBAR (FinCEN Form 114): required if the combined value of your foreign financial accounts was more than $10,000 at any time during the year.
  • Form 8938 (FATCA): required with your tax return when your foreign financial assets exceed the thresholds for your filing status and residence.

Penalties for missing these forms can be much larger than the tax itself, so new residents with bank accounts, pensions, or investments in their home country should review them in their first resident year.

How your taxes affect immigration cases

Tax filings are a key part of your immigration record. Three situations come up often:

1. Claiming nonresident status can signal abandonment of your green card

Filing Form 1040-NR does not by itself change your tax status. However, a green card holder who is also a resident of a treaty country can sometimes use the treaty tie-breaker rule to be taxed as a nonresident, claiming it on Form 8833 and filing as a nonresident. If you make that claim, you may be treated as having given up U.S. residence for immigration purposes, and long-term residents may also face expatriation tax rules. Get advice before claiming nonresident status while holding a green card.

2. Sponsors need tax records

Anyone signing an Affidavit of Support must usually provide IRS tax transcripts or returns for the most recent tax year. Missing or inconsistent returns are a common reason for a USCIS Request for Evidence. See our Form I-864 guide for the sponsor requirements.

3. Naturalization reviews your tax history

The N-400 asks whether you have ever failed to file a required tax return or called yourself a nonresident on a federal, state, or local return. Unpaid taxes or unfiled returns can affect the good moral character requirement. USCIS also often asks applicants to bring tax transcripts to the interview. Before applying, review our Form N-400 page and fix any filing gaps with the IRS.

Key dates and forms at a glance

Form Who uses it Usual deadline
Form 1040 Resident aliens April 15
Form 1040-NR Nonresident aliens April 15 with U.S. wages; June 15 without
Form 8843 Exempt individuals such as F-1 students With the return, or by the return due date
Form 8840 Closer connection exception With the return, or by the return due date
FinCEN Form 114 (FBAR) Residents with foreign accounts over $10,000 April 15 with an automatic extension to October 15

Bottom line

If you hold a green card, you are a U.S. tax resident and generally owe tax on worldwide income, wherever you live. If you do not, count your days carefully under the substantial presence test and check whether you are an exempt individual. Keep your filings consistent with your immigration status, because USCIS reads them too. For anything beyond the basics, especially dual-status years, treaty claims, or foreign assets, work with a tax professional who has experience with international clients.

Was this page helpful?

Thank you for your feedback!

FAQ

Are green card holders U.S. tax residents?

Yes. Under the IRS green card test, a lawful permanent resident is a U.S. tax resident and is generally taxed on worldwide income, even while living abroad. In the year you get the green card, residency usually starts on the first day you are in the U.S. as a permanent resident, so that year is often a dual-status year rather than a full resident year.

How is the substantial presence test calculated?

You meet the test if you were in the U.S. at least 31 days this year and the total of all days this year, one-third of the days last year, and one-sixth of the days the year before that equals at least 183 days.

Do F-1 students count days for the substantial presence test?

Generally not at first. F-1, J-1, M-1, and Q visa students are usually exempt individuals for their first five calendar years in the U.S., so those days do not count toward the test.

What is a dual-status tax year?

It is a year in which you are a nonresident for part of the year and a resident for the rest, which is common in the year you receive a green card or move to the U.S. Special filing rules apply, and some taxpayers can elect full-year resident treatment instead.

Can filing taxes as a nonresident affect my green card?

It can. A green card holder who claims to be a nonresident under a tax treaty and files as a nonresident may be treated as having given up permanent residence for immigration purposes. Not filing required returns can also come up during naturalization.

Answer a random question about the US

Name one branch or part of the government. (question 13 of 100)?
Name one branch or part of the government. (question 13 of 100)?

See also

Reviews

When I needed to apply for a work visa, Usa-immigrations.com made the process smoother with clear instructions and the right forms.

Michael

My partner and I needed to prepare a spousal visa application and were overwhelmed by the paperwork. This site made the process much less stressful.

Emma

Applying for a green card for my parents seemed daunting at first, but the step-by-step guides here made everything easier.

David

I had to renew my green card and did not know where to start. A colleague recommended this site and it turned out to be extremely helpful.

Sophia

Usa-immigrations.com gave me comprehensive information and easy access to all the required forms for permanent residency paperwork.

Oliver

Comments

Rate this post