A non-resident is a person who does not meet the legal test for residency in a given jurisdiction. The catch is that there is no single test: the IRS uses one definition for federal taxes, immigration law uses another for visa status, and every state applies its own rules for things like income tax, tuition, and licenses. The same person can easily be a non-resident under one system and a resident under another, which is why the word only makes sense once you know which authority is asking.
Below are the three definitions that matter most, along with the practical consequences that ride on each.
Non-Resident Under Federal Tax Law
The IRS sorts every non-citizen into one of two boxes: resident alien or non-resident alien. You are a non-resident alien if you fail both of the IRS’s residency tests. That classification then controls what income the U.S. can tax, what forms you file, and which deductions or credits you can claim.
The Green Card Test
You are a resident alien for tax purposes if you were a lawful permanent resident of the United States at any point during the calendar year. In practice, that means U.S. Citizenship and Immigration Services issued you a Permanent Resident Card (Form I-551). Once you hold a green card, you are a tax resident regardless of how many days you actually spend in the country.1Internal Revenue Service. U.S. Tax Residency – Green Card Test
The Substantial Presence Test
Without a green card, the question becomes how many days you have been physically in the U.S. You meet the substantial presence test if you were here at least 31 days during the current year and at least 183 days over a three-year window using a weighted formula: every day in the current year, one-third of the days in the prior year, and one-sixth of the days from two years back.2Internal Revenue Service. Substantial Presence Test
A quick example: 120 days this year, 120 last year, and 120 the year before produces 120 + 40 + 20 = 180 days. That falls short of 183, so you would still be a non-resident despite spending real time here every year.
The Closer Connection Exception
Even someone who meets the substantial presence test can still be treated as a non-resident. To qualify, you must have been in the U.S. fewer than 183 days in the current year, kept a tax home in a foreign country for the entire year, and had a closer connection to that country than to the United States. You also cannot have an application for a green card pending. Claiming the exception requires filing Form 8840, and missing that deadline generally forfeits it unless you can show you took reasonable steps to learn about the requirement.3Internal Revenue Service. Closer Connection Exception to the Substantial Presence Test
How Non-Resident Aliens Are Taxed
The real difference between resident and non-resident alien status is scope. Residents owe U.S. tax on worldwide income. Non-resident aliens owe U.S. tax only on income connected to a U.S. trade or business, plus certain U.S.-source income such as dividends, rent, and royalties.
The 30% Flat Rate
U.S.-source income that isn’t tied to a trade or business is generally taxed at a flat 30% on the gross amount, with no deductions. This category covers what the IRS calls “fixed, determinable, annual, or periodical” income, or FDAP: interest, dividends, rents, salaries, and similar payments originating in the United States.4Internal Revenue Service. Fixed, Determinable, Annual, or Periodical (FDAP) Income
Tax Treaty Reductions
The 30% rate is not always final. If a tax treaty exists between the United States and your country of residence, you may qualify for a lower rate or a full exemption on specific types of U.S.-source income. The reductions vary by country and by income category. Where no treaty applies, the standard non-resident alien rates control.5Internal Revenue Service. Tax Treaties
Filing and the ITIN
Non-resident aliens with U.S.-source income generally file Form 1040-NR.6Internal Revenue Service. Taxation of Nonresident Aliens If you don’t have a Social Security number, you’ll need an Individual Taxpayer Identification Number, applied for on Form W-7 and submitted with your return. Processing takes about seven weeks, or nine to eleven weeks if you apply during tax season (January 15 through April 30) or from overseas.7Internal Revenue Service. Individual Taxpayer Identification Number (ITIN)
Selling U.S. Real Estate
One boundary worth flagging: selling U.S. real estate triggers separate rules under the Foreign Investment in Real Property Tax Act. The buyer is generally required to withhold 15% of the total sale price and send it to the IRS, and the buyer can be held personally liable if they fail to withhold from a foreign seller. Either party can apply for a withholding certificate on Form 8288-B if the actual tax owed is less than 15%.8Internal Revenue Service. FIRPTA Withholding
Non-Resident Under Immigration Law
Immigration law draws its line differently. Foreign nationals enter the U.S. either as immigrants, meaning permanent residents, or as non-immigrants, meaning they hold a temporary visa tied to a specific activity. B-1/B-2 covers business and tourism, F-1 covers academic study, H-1B covers specialty occupation work, and there are many other categories.9Office of Homeland Security Statistics. Nonimmigrant Classes of Admission The visa defines what you can do here and how long you can stay. When the purpose ends or the authorized period runs out, you are expected to leave.
The tax and immigration systems operate independently, which is where confusion sets in. An H-1B worker who has been here long enough to meet the substantial presence test files taxes as a resident alien while still holding a non-immigrant visa with a set expiration date. Same person, non-resident under immigration law, resident under tax law.
What Happens if You Overstay
Overstaying carries consequences that outlast the current trip. Under federal law, a non-citizen who accumulates more than 180 days but less than one year of unlawful presence and then voluntarily departs is inadmissible for three years. One year or more of unlawful presence triggers a ten-year bar on reentry.10Office of the Law Revision Counsel. 8 USC 1182 – Inadmissible Aliens Both bars apply when the person leaves and then seeks to come back through a legal channel.
The penalties can stack. Someone who triggers a bar and then reenters or tries to reenter without authorization can face a permanent bar. Separately, anyone who fails to maintain lawful status or violates the terms of a non-immigrant visa, even for a single day, is barred from adjusting to permanent resident status inside the United States, and leaving and coming back does not erase that bar.11U.S. Citizenship and Immigration Services. Chapter 4 – Status and Nonimmigrant Visa Violations
Non-Resident Under State Law
Every state sets its own residency rules, and they run on a separate track from federal tax and immigration status. The classification affects your state income tax, your college tuition, and even the cost of a fishing license.
State Income Tax
Many states treat you as a resident for income tax if you spend more than half the year, typically more than 183 days, within the state, even if your permanent home is elsewhere. Days are only half of it. States also weigh indicators of intent: voter registration, vehicle registration, bank accounts, and the address on your legal documents. Because each state writes its own rules, you can be a resident of one state and a non-resident of another, or a non-resident for federal tax purposes while owing state income tax as a state resident.
Public University Tuition
The financial gap between resident and non-resident tuition at public universities is often steep, commonly running from around $8,000 to more than $25,000 a year depending on the school and state. Qualifying as a resident for tuition purposes usually requires living in the state for at least 12 months for reasons other than school, plus ties like employment, a lease, and a state-issued ID. The requirements are strict precisely because the tuition gap is so large.
Hunting, Fishing, and Recreational Licenses
Non-residents also pay more for state-issued recreational licenses. A resident fishing license might run under $35 while a non-resident pays two to three times that. Hunting licenses and park access permits follow the same pattern. The premium funds state conservation programs and reflects the view that residents already contribute through state taxes.
Healthcare Access for Non-Residents
Non-residents with lawful immigration status have more healthcare options than they may expect. Individuals holding valid non-immigrant visas count as “lawfully present” and can buy coverage through the federal health insurance marketplace. If household income falls between 100% and 400% of the federal poverty level, they may also qualify for premium tax credits and cost-sharing reductions.12HealthCare.gov. Coverage for Lawfully Present Immigrants
Qualified non-citizens who face a five-year waiting period before becoming eligible for Medicaid or CHIP may be able to get marketplace coverage during that gap. Eligibility extends to refugees, asylees, people with Temporary Protected Status, and others with recognized humanitarian status. Non-residents without any lawful immigration status are generally ineligible for marketplace coverage or public insurance programs.
Which Definition Applies to You
When someone tells you that you are (or aren’t) a non-resident, ask which system they mean. A tax preparer means the IRS tests. An immigration officer means your visa category. A university bursar or state revenue department means state residency rules, which usually turn on days plus intent. Getting the classification wrong in any of the three can mean paying taxes you don’t owe, missing taxes you do, losing benefits, or triggering immigration penalties that can take years to undo.