
You've moved to the United States, or you're about to, and a tax form asks whether you are a "resident alien." Your work visa, student visa, or green card doesn't answer that question on its own.
The Internal Revenue Service (IRS), the U.S. government's tax collection agency, uses its own rules to decide whether you are a tax resident. That answer decides whether the U.S. taxes only your U.S. income or your income from everywhere in the world.
What You'll Learn
- Why your tax status and immigration status can differ
- How the green card and substantial presence tests decide residency
- Which students, teachers, and diplomats can exclude days in the U.S.
- How your arrival year can be split between two tax statuses
- What tax residents must report, including foreign bank accounts
- Planning questions to bring to a tax advisor before moving
Tax Resident Status Is Not the Same as Immigration Status
A tax resident is a person the IRS taxes like a U.S. citizen, on income earned anywhere in the world. Tax residency is a tax label only. It does not let you live or work in the U.S. or change your visa or green card.
The two systems follow separate rules, so they don't always match. An H-1B worker on a temporary visa can be a tax resident. An F-1 student can live here for up to five years as a nonresident. A green card holder who moves abroad stays a tax resident, because IRS Publication 519 keeps that status until the green card is formally abandoned or taken away. That holds even if immigration officials would no longer accept the card after a long absence.
A question noncitizen tax filers occasionally ask is whether filing as a "resident alien" means they have a green card. It does not. Your tax return says nothing about your immigration status, and it can't grant you one.
The mismatch matters most for green card holders. A permanent resident who files as a nonresident, or skips filing as one, triggers a federal naturalization rule that presumes they gave up permanent residence. Evidence can overcome that presumption, but it can complicate a citizenship application. Our overview of income taxes for immigrants explains how filing choices affect immigration benefits. Our post covering green card abandonment discusses the risks of long stays abroad.
Two IRS Tests Decide Whether You Are a Tax Resident
The IRS treats every non-citizen as a nonresident unless they pass one of two tests. Passing either test makes you a tax resident for that calendar year.
The green card test. You pass this test if you were a lawful permanent resident at any time during the calendar year. Conditional residents with a two-year green card pass it too.
The substantial presence test. You pass the substantial presence test if you were physically present in the U.S. for at least:
- 31 days during the current year, and
- 183 days over three years, counting every day this year, one-third of last year's days, and one-sixth of the days from the year before
For example, someone present 120 days in each of the last three years counts 120 + 40 + 20 = 180 days. That falls short of 183, so that person is not a tax resident under this test. Some days don't count, such as transit stops under 24 hours and regular commutes from Canada or Mexico.
How Common Immigration Statuses Fit the Tests
| Immigration status | Tax status | Why |
|---|---|---|
| U.S. citizen | Taxed on worldwide income | Citizens are taxed this way wherever they live |
| Green card holder, including a conditional resident | Tax resident | Passes the green card test until the status formally ends |
| H-1B, L-1, or other work visa | Tax resident once you pass the substantial presence test | Your days in the U.S. count toward the test |
| F, J, M, or Q student | Generally nonresident for the first five calendar years | Students can exclude days as "exempt individuals" |
| J or Q teacher or trainee | Generally nonresident for the first two calendar years | Teachers and trainees can exclude days for a limited time |
| A or G visa (foreign government or international organization) | Nonresident while exempt | Days are excluded, except for A-3 and G-5 household staff |
| Visitor (B-1, B-2, or ESTA) | Nonresident unless your days pass the substantial presence test | Visitor days count in full |
Undocumented immigrants are generally tax residents. The substantial presence test still applies, because it counts days you are physically present in the U.S., not days in a particular visa status. An undocumented person who passes the test is a tax resident for that year. If you need to file but can't get a Social Security number, you can apply for an Individual Taxpayer Identification Number (ITIN) regardless of immigration status. The IRS issues an ITIN for tax purposes only. It does not provide immigration status or permission to work.
Some Visa Holders Don't Count Days Toward the Test
The IRS lets certain "exempt individuals" leave days out of the substantial presence count. In this rule, "exempt" means exempt from counting days, not exempt from tax. Exempt individuals include:
- Students on F, J, M, or Q visas, generally for up to five calendar years
- Teachers and trainees on J or Q visas, generally for two calendar years within any six-year period
- Foreign government staff on A or G visas, except A-3 and G-5 household employees
- Professional athletes competing in a charity sports event
Immediate family members on dependent visas can qualify too. To exclude days, you must file Form 8843, even if you have no tax return to file.
After five calendar years, a student keeps the exemption only by showing no intent to live here permanently. The IRS looks at whether you have taken steps toward a green card, which matters if you are weighing the path from an F-1 visa to green card.
Two other exceptions can keep you a nonresident even after you pass the test. Students can claim the closer connection exception for foreign students on Form 8843. Other visa holders present fewer than 183 days in the year can claim the general version on Form 8840. However, IRS Publication 519 bars the general exception for anyone who applied for a green card or had an adjustment of status application pending that year.
A tax treaty can also change the result. A resident of both countries may claim treaty benefits on Form 1040-NR with Form 8833. Green card holders should talk to a tax professional first, for the immigration reasons above.
Your First Year in the U.S. Can Be Split Between Two Statuses
A dual-status year is a tax year in which you are a nonresident for part of the year and a resident for the rest. The year you arrive can be one. Your residency starting date decides where the split falls:
- Substantial presence test: generally the first day you are present in the U.S. that year
- Green card test: the first day you are present in the U.S. as a permanent resident
- Both tests: whichever date comes first
If you get your green card through adjustment of status without leaving the country, the green card test starts on the day your permanent residence is approved.
Two IRS choices can simplify a split year:
- First-year choice. If you will pass the substantial presence test next year, you may choose resident treatment for part of your arrival year. You need 31 days in a row here, plus presence on 75% of the days from then through December 31.
- Nonresident spouse choice. A citizen or resident married to a nonresident can treat the spouse as a resident. Both are then taxed on worldwide income and must file jointly that year.
Tax Residents Report Worldwide Income and Foreign Accounts
Tax residents report worldwide income, taxed at the same graduated rates U.S. citizens pay. That includes wages, rent, and investment income from your home country.
Nonresidents pay U.S. tax only on U.S. income. Income tied to a U.S. job or business is taxed at graduated rates. Other U.S.-source income, such as dividends, is generally taxed at a flat 30% unless a tax treaty sets a lower rate.
Tax residents with money abroad also face two reporting rules. These forms disclose what you hold; filing them does not by itself mean you owe more tax.
| Form | Who files | Threshold | Where it goes |
|---|---|---|---|
| FBAR (FinCEN Form 114) | Anyone with a financial interest in or signing authority over a foreign account | Foreign accounts total more than $10,000 at any time during the year | Filed online with FinCEN, separate from your tax return |
| Form 8938 | Tax residents living in the U.S. who must file a tax return | Single: more than $50,000 on the last day of the year or $75,000 at any time. Married filing jointly: more than $100,000 or $150,000 | Attached to your tax return |
The IRS summary of foreign asset reporting compares the two forms, and you may need both for the same account. States also set their own residency rules, so check your state tax agency too.
Planning Questions to Bring to a Tax Advisor Before You Move
CitizenPath doesn't give tax or financial advice. However, the date you become a tax resident can change how certain transactions are taxed. Topics to raise with a cross-border tax professional include:
- Foreign investments. How will your foreign business interests, pensions, and funds be taxed and reported once you are a resident?
- Selling assets. Does it matter whether you sell investments before or after your residency starting date?
- Gifts and inheritances. U.S. gift and estate taxes use a separate test based on domicile, meaning the place you live and intend to stay. How does that test apply to you before you make a large gift?
- Timing of income. Would receiving a bonus or other payment before or after your starting date change which country taxes it?
- Leaving later. The expatriation tax can apply to long-term residents, meaning people who held a green card in at least 8 of the last 15 tax years. Leaving requires Form 8854 with the IRS and Form I-407 to give up the green card.
Bring your travel dates and immigration documents so your advisor can apply the residency tests and any tax treaty.
Frequently Asked Questions About Tax Residency
These questions reflect common points of confusion CitizenPath customers raise about how tax status and immigration status fit together.
Check Your Tax Status and Immigration Status Separately
Your tax resident status comes from IRS tests; your immigration status comes from your visa or green card. Check each on its own terms before filing your first U.S. return. If you plan to pursue citizenship through naturalization, a consistent record of resident tax returns supports that application.
Learn how your tax filing choices can affect a future green card renewal or citizenship application in CitizenPath's guide to income taxes for immigrants. Get more practical guidance for newcomers through the free CitizenPath newsletter below.
Want more immigration tips and how-to information for your family?
Sign up for CitizenPath’s FREE immigration newsletter and
SAVE 10%
on our immigration services





