For U.S. federal tax purposes, a nonresident alien and a resident alien are taxed under different rules. A resident alien is generally taxed much like a U.S. citizen on worldwide income, while a nonresident alien is generally taxed only on certain U.S.-connected income. The difference can affect income reporting, withholding, tax forms, treaty claims, and sometimes state tax filing.
The terms can sound immigration-related, but this article uses them only in the federal tax sense. A person’s visa category, immigration status, days of presence, green card status, income type, and tax year can all affect the result. The IRS explains the federal tests in its official page on determining an individual’s tax residency status.
Main Difference Between a Nonresident Alien and Resident Alien
The main difference is the scope of income that may be taxed by the United States. A resident alien is generally taxed on worldwide income for the year, while a nonresident alien is generally taxed on U.S.-source income and income effectively connected with a U.S. trade or business.
This federal tax classification does not always match ordinary ideas of “living in the United States.” A person may be physically present in the United States for part of a year and still need to apply federal tax residency rules carefully.
| Tax Topic | Nonresident Alien | Resident Alien |
|---|---|---|
| Basic Federal Tax Status | Generally a non-U.S. citizen who has not met the green card test or substantial presence test for the year. | Generally a non-U.S. citizen who meets the green card test or substantial presence test for the year. |
| Income Scope | Generally taxed on U.S.-source income and certain income connected with a U.S. trade or business. | Generally taxed on worldwide income, similar to a U.S. citizen for federal income tax purposes. |
| Common Federal Return | May use Form 1040-NR when a federal nonresident return is required for the facts of the year. | Generally uses Form 1040 when a federal resident return is required. |
| Residency Tests | Does not meet the green card test or substantial presence test, unless a specific exception or treaty position applies. | Meets the green card test, the substantial presence test, or another rule that treats the person as a resident for federal tax purposes. |
| Treaty Use | May be more likely to encounter treaty withholding forms or treaty-based income reporting, depending on the country, income type, and treaty article. | May still be affected by treaties, but the rules can be different, especially because many treaties contain saving clause language. |
| State Tax | State rules are separate. A person may still have state-source income or part-year state filing questions. | State residency and income-source rules may still need a separate review under state law. |
What “Alien” Means for U.S. Tax Purposes
In IRS terminology, an “alien” is generally an individual who is not a U.S. citizen. For federal tax purposes, aliens are usually classified as either resident aliens or nonresident aliens. The IRS discusses these terms in Publication 519, U.S. Tax Guide for Aliens.
The word can sound formal, but it is a tax classification term. It does not by itself explain a person’s immigration rights, work authorization, visa options, or state tax residency.
How Federal Tax Residency Is Usually Tested
For many non-U.S. citizens, federal tax residency starts with two major tests: the green card test and the substantial presence test. A person who meets either test for a calendar year is generally treated as a resident alien for federal tax purposes, unless a special rule, exception, or treaty position changes the analysis.
The Green Card Test
A person generally meets the green card test if they are a lawful permanent resident of the United States at any time during the calendar year. The timing of the start and end of resident status can matter, especially in a year when status changes.
The Substantial Presence Test
The substantial presence test uses days of physical presence in the United States. In general, it looks at the current year and a weighted count of days from the two prior years. Some days may be excluded under specific rules, but those rules should be checked carefully.
This test is one reason international students, scholars, trainees, temporary workers, and other visitors often track U.S. days for each tax year. A person can have the same visa category as someone else and still have a different tax residency outcome because the day count and history are different.
Exempt Individual Does Not Always Mean Exempt From Tax
In the substantial presence test, “exempt individual” usually means a person whose certain days may be excluded from the day count. It does not automatically mean the person is exempt from U.S. tax. For example, some students, teachers, or trainees may need to review Form 8843 if they are claiming excluded days for the substantial presence test.
Income Tax Scope: Worldwide Income vs U.S.-Connected Income
Federal tax residency matters because it changes what income may fall within the U.S. return. Resident aliens are generally taxed on worldwide income. Nonresident aliens are generally taxed on income from U.S. sources and certain income connected with a U.S. trade or business.
For nonresident aliens, two terms often appear: FDAP income and effectively connected income. FDAP usually refers to fixed or determinable annual or periodical income, such as certain interest, dividends, rents, royalties, or similar payments. Effectively connected income, often called ECI, is income connected with the conduct of a U.S. trade or business.
The distinction can affect withholding, reporting forms, treaty claims, and how income appears on Form 1040-NR. The IRS page on taxation of nonresident aliens gives the federal overview.
Common Federal Forms That May Appear
The form used for a tax year depends on the person’s federal tax status, income type, filing requirement, withholding documents, treaty position, and identification number. The list below is a general map, not a personal filing answer.
| Form or Document | Where It Commonly Fits | General Use |
|---|---|---|
| Form 1040-NR | Nonresident alien federal income tax filing. | Used for a U.S. nonresident alien income tax return when the facts of the year require that return. |
| Form 1040 | Resident alien federal income tax filing. | Generally used by U.S. citizens and resident aliens when a federal individual income tax return is required. |
| Form 8843 | Substantial presence test excluded-day reporting. | Used by certain exempt individuals and individuals with a medical condition to explain excluded days of presence. |
| Form W-8BEN | Foreign status and withholding documentation. | May be requested by a withholding agent or payer from a foreign individual who is the beneficial owner of an amount subject to withholding. |
| Form 1042-S | Foreign person U.S.-source income reporting. | Often reports certain U.S.-source income paid to foreign persons and related withholding. |
| Form W-7 | ITIN application. | Used to apply for or renew an IRS Individual Taxpayer Identification Number when the person has a federal tax need and is not eligible for an SSN. |
The IRS page for Form 1040-NR explains the nonresident return and related schedules. For payer-side withholding documents, the IRS also describes Form W-8BEN and Form 1042-S.
How Tax Treaties Can Affect the Difference
A tax treaty may reduce or exempt U.S. tax on certain types of income for residents of treaty countries, depending on the treaty article and the person’s facts. Treaty rules are not the same for every country or every type of income. A wage article, scholarship article, pension article, dividend article, or student article may use different language.
The IRS explains that treaty benefits can vary by country and income type on its tax treaties page. Nonresident aliens may encounter treaty questions through payroll, scholarship offices, withholding agents, Form 1042-S, Form 8233, or Schedule OI attached to Form 1040-NR.
A treaty claim should be checked against the actual treaty text, IRS tables, form instructions, and the person’s facts for that year. Treaty language often uses terms like resident, beneficial owner, student, teacher, trainee, compensation, pension, or independent personal services in specific ways.
International Students and Scholars
International students and scholars often see the nonresident alien versus resident alien issue because their U.S. days may affect the substantial presence test. F-1, J-1, M-1, and Q-related situations can involve special day-counting rules, but the result is not based on the visa label alone.
For example, a student may be treated as an exempt individual for substantial presence test day-counting during a limited period, but that does not mean all U.S. income is tax-free. Wages, taxable scholarship amounts, treaty-covered income, and reporting documents may still need careful review.
The IRS page on who is a student for exempt individual purposes explains the student category for excluded days. The rules can be different for teachers, trainees, researchers, exchange visitors, and family members.
State Tax Can Be Different From Federal Tax Residency
Federal nonresident alien status does not automatically answer state income tax questions. States can use their own terms, such as resident, nonresident, part-year resident, domicile, statutory resident, state-source income, or allocation. A person may need to review federal and state rules separately for the same tax year.
For example, California explains that nonresidents are taxed on taxable income from California sources, and part-year residents may have a different income scope for the resident part of the year. New York also has separate nonresident and part-year resident forms and source-income rules. These examples show why state tax should not be assumed from federal alien status alone.
State tax agency pages, such as California’s part-year and nonresident page and New York’s nonresident and part-year resident forms and instructions, are better sources than general summaries when a state issue exists.
General Example Situations
These examples are simplified and are not filing advice. They show how the classification question can arise.
- Short U.S. business visit: A person visits the United States for a limited period and receives no U.S.-source income. Their federal filing picture may be different from someone who works in the United States or receives U.S.-source payments.
- International student with campus wages: A student may need to review exempt individual day-counting, Form 8843, wage reporting, treaty rules, and whether Form 1040-NR applies for the year.
- Worker present for many days: A temporary worker may need to count U.S. days under the substantial presence test and review whether the year creates resident alien, nonresident alien, or dual-status questions.
- Green card year: A person who becomes a lawful permanent resident during the year may need to review the green card test and residency starting-date rules.
- Move into or out of a state: A person may have a federal tax residency result and a separate state part-year resident or state-source income issue.
Common Misunderstandings
A few misunderstandings come up often with nonresident alien and resident alien status.
“Nonresident” Does Not Always Mean Outside the United States
A person can be physically present in the United States and still be a nonresident alien for federal tax purposes if they do not meet the green card test or substantial presence test, or if an exception applies.
“Resident Alien” Is Not the Same as U.S. Citizen
A resident alien is not a U.S. citizen. It is a federal tax classification for a non-U.S. citizen who is treated as a resident for tax purposes for the year or part of the year.
Visa Status Alone Does Not Decide the Tax Result
Visa category can matter, especially for students, scholars, teachers, trainees, and temporary workers. Still, federal tax residency usually needs more than the visa label. Days of presence, prior years, green card status, treaty rules, and form instructions can all matter.
State Residency Is a Separate Question
A person may be a nonresident alien for federal tax purposes and still have state-source income. A person may also be a federal resident alien and have part-year state residency. State tax agency guidance should be checked for the specific state.
Related Terms to Know
| Term | Plain-English Meaning |
|---|---|
| Tax Residency | The federal or state classification that helps decide how a person’s income is taxed for a given year. |
| Green Card Test | A federal test based on lawful permanent resident status during the calendar year. |
| Substantial Presence Test | A federal day-count test used to decide whether a non-U.S. citizen is treated as a resident alien for tax purposes. |
| Exempt Individual | For the substantial presence test, a person whose certain days may be excluded from the day count under specific rules. |
| U.S.-Source Income | Income treated as coming from U.S. sources under federal sourcing rules. |
| FDAP Income | Fixed or determinable annual or periodical income, often relevant to withholding for foreign persons. |
| Effectively Connected Income | Income connected with the conduct of a U.S. trade or business. |
| Dual-Status Alien | A person who is treated as both nonresident alien and resident alien for different parts of the same tax year. |
| ITIN | An IRS Individual Taxpayer Identification Number for certain people who need a U.S. taxpayer identification number but are not eligible for an SSN. |
The IRS page on Form W-7 explains ITIN applications and renewals. An ITIN is for federal tax administration and does not change immigration status or work authorization.
Practical Review Checklist
For a general review, the following items often help organize the question. They do not replace the IRS instructions or state agency rules.
- Confirm the tax year being reviewed.
- Check whether the green card test applies for that year.
- Count U.S. days under the substantial presence test rules.
- Review whether any days may be excluded, such as certain exempt individual days.
- Separate federal tax residency from immigration status and state residency.
- Identify income types: wages, scholarship or fellowship amounts, dividends, interest, rent, self-employment income, or other payments.
- Review income source rules and whether income may be FDAP or ECI.
- Check whether a Form W-2, Form 1042-S, Form 1099, or other tax document was issued.
- Review whether a tax treaty may apply to a specific income item.
- Check the current IRS form instructions for the year being filed.
- Review state-source income and part-year resident rules if a state connection exists.
FAQ
Is a Nonresident Alien the Same as an Undocumented Person?
No. Nonresident alien is a federal tax term for a non-U.S. citizen who is not treated as a resident alien for federal tax purposes. It does not by itself describe a person’s immigration situation.
Can a Person Be in the United States and Still Be a Nonresident Alien?
Yes. A person may be physically present in the United States and still be a nonresident alien for federal tax purposes, depending on the green card test, substantial presence test, exempt individual rules, and other facts.
Are Resident Aliens Taxed Like U.S. Citizens?
For federal income tax purposes, resident aliens are generally taxed on worldwide income in a way that is similar to U.S. citizens. Other legal and immigration rules are separate.
Does Form 8843 Mean No Tax Return Is Needed?
No. Form 8843 is used to explain certain excluded days for the substantial presence test or a medical condition claim. Whether an income tax return is also needed depends on the person’s income, status, and tax year.
Can a Tax Treaty Change the Result?
A tax treaty may affect how certain income is taxed or withheld, depending on the country, income type, treaty article, and the person’s facts. Treaty claims should be checked against official treaty guidance and form instructions.
Is Federal Nonresident Alien Status the Same as State Nonresident Status?
No. State tax residency and state-source income rules are separate from federal alien status. A state may use its own resident, nonresident, and part-year resident rules.
Educational Note
This article is for general educational information only. It is not tax, legal, financial, or immigration advice. Nonresident tax rules can depend on visa status, days of presence, income type, treaty position, state law, and filing year. Readers should verify details with official sources or a qualified tax professional.
Resources Used
- IRS: Determining an Individual’s Tax Residency Status — Official IRS overview of resident alien and nonresident alien tax status tests.
- IRS Publication 519, U.S. Tax Guide for Aliens — IRS publication covering alien tax status, resident aliens, nonresident aliens, income rules, and related filing concepts.
- IRS: Substantial Presence Test — Official IRS page explaining the federal day-count test for tax residency.
- IRS: About Form 8843 — IRS page describing Form 8843 for exempt individuals and individuals with a medical condition.
- IRS: Taxation of Nonresident Aliens — IRS page covering general federal tax treatment of nonresident aliens.
- IRS: About Form 1040-NR — IRS page for the U.S. Nonresident Alien Income Tax Return.
- IRS: About Form W-8BEN — IRS page explaining the certificate of foreign status for individual beneficial owners.
- IRS: About Form 1042-S — IRS page describing reporting for foreign person U.S.-source income subject to withholding.
- IRS: Tax Treaties — IRS overview of U.S. income tax treaties and reduced-rate or exemption concepts.
- IRS: About Form W-7 — IRS page for applying for or renewing an Individual Taxpayer Identification Number.
- California Franchise Tax Board: Part-Year Resident and Nonresident — Official state tax agency page showing how state nonresident and part-year resident rules can differ from federal alien status.
- New York State Department of Taxation and Finance: Nonresident and Part-Year Resident Forms and Instructions — Official state tax agency page for nonresident and part-year resident state income tax filing concepts.