How Does Filing Taxes as a Nonresident Alien Work?

Updated July 9, 2026 7 min read

Someone who spends part of the year in the United States on a visa, or who arrives for a short work assignment or a degree program, often assumes the same filing rules apply to everyone physically present in the country. They don’t. Immigration status and time spent in the US both shape which return applies and which income even counts.

The short answer

A nonresident alien is generally taxed only on income that is connected to the United States, rather than on worldwide income, and typically files a different return than a citizen or resident does. Whether someone falls into this category depends on a residency test tied to visa type and days present in the country, not on citizenship by itself.

How the residency test generally works

Tax residency for noncitizens usually turns on either holding a green card or meeting a “substantial presence” count based on days spent in the US over the current and two prior years, with the two earlier years weighted less heavily than the current one. Someone who meets neither test is generally treated as a nonresident for tax purposes, even if they’re living and working in the country full time. Certain visa categories, such as some students and short-term exchange visitors, can also be exempt from counting days toward that test for a limited number of years, which is part of why the rules feel more complicated than a simple headcount.

What income actually gets taxed

The general framework splits income into two buckets: income that is “effectively connected” with a US trade or business, which is taxed at regular graduated rates similar to a resident’s, and certain US-source income that isn’t connected to a business, which can be taxed differently, sometimes through withholding at the source rather than a traditional return calculation. Income earned entirely outside the United States is typically outside the scope of nonresident taxation altogether, which is the core distinction from how citizens and residents are taxed on income earned anywhere in the world, since worldwide taxation is the citizen and resident framework the nonresident rules are built to contrast with. Understanding what counts as taxable versus nontaxable income in general is a useful starting point before layering the nonresident-specific rules on top.

Which form and status commonly apply

Nonresident aliens generally use a different tax form than the one most citizens and residents file, and the filing threshold and available deductions and credits can differ meaningfully from the resident version. Wage income is still often reported on the same wage statement citizens receive from an employer, but how that income is taxed and what can be claimed against it depends on the nonresident framework rather than the resident one. Some people move between nonresident and resident status within the same year, called a dual-status year, which adds its own set of rules for splitting the year between the two frameworks.

Common situations that come up

What to weigh

Because nonresident tax rules intersect with immigration status, treaty provisions between the US and certain other countries, and the specific mechanics of the substantial presence test, the right classification isn’t always obvious from a person’s visa category alone. A student who overstays a program, a worker whose assignment gets extended, or someone who simply miscounts days present in the country can end up misclassified without realizing it. Getting the residency determination right is the first step, since it decides which form applies and which income is even in scope, and that determination depends heavily on circumstances that can shift year to year.

The bottom line

Filing as a nonresident alien isn’t a smaller version of filing as a citizen — it runs on a different framework built around US-source income and a residency test rather than worldwide income and citizenship. Anyone navigating a visa, a temporary US assignment, or a first year of study should treat the residency determination as the starting point, since everything else about the return follows from it.