What Is a Non-Resident? Tax, Immigration, and State Law

A non-resident is a person who doesn’t meet the legal test a particular jurisdiction uses to classify someone as a resident, and the answer to “what is a non-resident” depends entirely on which jurisdiction is asking. The IRS uses one test for federal income tax. Immigration law uses a different framework built around visa categories. Each state sets its own rules for income tax, tuition, and licensing. The same person can be a non-resident under one of these systems and a resident under another at the same time.

Non-Resident for Federal Tax Purposes

The IRS sorts every non-U.S. citizen into one of two buckets: resident alien or non-resident alien. You’re a non-resident alien if you fail both of the agency’s residency tests. That label decides which income the U.S. can tax, what rate applies, which form you file, and which deductions and credits are available to you.

The Green Card Test

You’re a resident alien if you were a lawful permanent resident at any point during the calendar year. In practice, that means USCIS has issued you a Permanent Resident Card (Form I-551). The green card alone makes you a tax resident, regardless of how many days you actually spent in the country.1Internal Revenue Service. U.S. Tax Residency – Green Card Test

The Substantial Presence Test

Without a green card, residency turns on how much time you’ve physically spent in the United States. You meet the substantial presence test if you were present at least 31 days during the current year and at least 183 days across a three-year weighted count: all the days 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 Fail that count and you’re a non-resident alien for the year.

The Closer Connection Exception

You can still be treated as a non-resident alien even after meeting the substantial presence test, but the conditions are narrow. You must have been present 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 U.S. You also cannot have a green card application pending. Claiming the exception requires filing Form 8840. Miss the deadline and you lose the exception 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 practical stakes of the classification come down to what income is taxable. Resident aliens owe U.S. tax on their worldwide income. Non-resident aliens owe U.S. tax only on income effectively 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 connected to a trade or business is generally taxed at a flat 30% on the gross amount, with no deductions. The IRS groups this income under the label “fixed, determinable, annual, or periodical” (FDAP) and includes interest, dividends, rents, salaries, and similar recurring payments originating in the United States.4Internal Revenue Service. Fixed, Determinable, Annual, or Periodical (FDAP) Income

Treaty Reductions

If the U.S. has a tax treaty with your home country, that 30% rate can drop or disappear for specific types of income. The reductions vary by country and by income category, so the actual rate depends on which treaty applies. Income not covered by a treaty is taxed at the standard non-resident alien rates.5Internal Revenue Service. Tax Treaties

Filing

Non-resident aliens with U.S.-source income generally file Form 1040-NR.6Internal Revenue Service. Taxation of Nonresident Aliens Without a Social Security number, you’ll need an Individual Taxpayer Identification Number (ITIN), obtained by submitting Form W-7 with your return. Processing runs about seven weeks, stretching to nine or eleven weeks if you file 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 rule catches non-resident aliens off guard at closing. Under the Foreign Investment in Real Property Tax Act (FIRPTA), the buyer of U.S. real estate from a foreign seller must generally withhold 15% of the gross sale price and send it to the IRS. If the buyer fails to withhold, the buyer can be held personally liable for the tax. Either side can apply for a reduced withholding certificate on Form 8288-B if the actual tax owed is less than 15%.8Internal Revenue Service. FIRPTA Withholding

Student Visa Payroll Exemption

Non-resident alien students on F-1, J-1, or M-1 visas who have been in the U.S. for fewer than five calendar years are generally exempt from Social Security and Medicare taxes on wages earned for services their visa authorizes. The exemption covers on-campus work (up to 20 hours per week during the academic year), USCIS-authorized off-campus employment, and practical training. It ends once you become a resident alien or move to a non-exempt status.9Internal Revenue Service. Foreign Student Liability for Social Security and Medicare Taxes

When Status Changes Mid-Year

If you arrive on a student visa in January and receive a green card in August, you’re a dual-status taxpayer for that year. Your filing turns on your status on December 31. A resident on that date files Form 1040 with “Dual-Status Return” written across the top and attaches a Form 1040-NR covering the non-resident portion of the year. A non-resident on that date flips the primary and attached forms.10Internal Revenue Service. Taxation of Dual-Status Individuals

Deadlines shift too. A resident on December 31 files by April 15. A non-resident on December 31 who had wages subject to withholding also files by April 15. A non-resident on December 31 with no wage withholding has until June 15.10Internal Revenue Service. Taxation of Dual-Status Individuals

Non-Resident Under Immigration Law

Immigration law uses a different cut. Foreign nationals enter the United States either as immigrants, who hold permanent resident status, or as non-immigrants, who hold temporary authorization tied to a specific purpose. A non-immigrant visa pins you to an activity and a time limit: B-1/B-2 for business or tourism, F-1 for academic study, H-1B for a specialty occupation, and so on.11Office of Homeland Security Statistics. Nonimmigrant Classes of Admission When the purpose ends or the authorized stay runs out, you’re expected to leave.

These two systems run on parallel tracks. An H-1B worker who has been in the country long enough to meet the substantial presence test files as a resident alien for tax purposes while still holding a non-immigrant visa that expires. Being a tax resident doesn’t extend your lawful stay, and being a non-immigrant doesn’t exempt you from U.S. income tax on your U.S. earnings.

What Overstaying Costs

Overstaying a visa carries consequences that outlast the trip. A non-citizen who accrues more than 180 days but less than one year of unlawful presence and then voluntarily departs becomes inadmissible for three years. Accruing one year or more triggers a ten-year bar on reentry.12Office of the Law Revision Counsel. 8 USC 1182 – Inadmissible Aliens Someone who hits one of those bars and then reenters or attempts to reenter without authorization can face a permanent bar. Separately, anyone who fails to maintain lawful status or violates visa terms, even for a single day, is barred from adjusting to permanent resident status inside the United States, and leaving and coming back doesn’t erase that bar.13U.S. Citizenship and Immigration Services. Chapter 4 – Status and Nonimmigrant Visa Violations

Non-Resident Under State Law

State residency runs on its own tracks, separate from both federal tax and immigration. Where you land on the state side affects your income tax bill, your college tuition, and the price of a hunting or 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 state borders, even when your permanent home sits elsewhere. Day counts aren’t the whole story. States also weigh indicators of intent: voter registration, vehicle registration, bank accounts, and the address on your legal documents. Each state writes its own rules, and the rules don’t always agree. You can be a resident of one state and a non-resident of another in the same year, or a non-resident at the federal level while owing state income tax as a resident.

In-State Tuition

Non-resident status shows up most sharply in public university pricing. State schools commonly charge non-residents between roughly $8,000 and more than $25,000 extra per year, depending on the school. Qualifying as a resident for tuition usually requires living in the state for at least 12 months for reasons other than attending school, along with ties like employment, a lease, and a state-issued ID. The rules are strict because the price gap is so wide.

Hunting, Fishing, and Other Licenses

States charge non-residents more for recreational licenses as well. A resident fishing license may run under $35; a non-resident often pays two to three times that. The same pattern applies to hunting licenses and park access permits. The premium reflects the idea that residents already fund state conservation programs through state taxes.

Healthcare Access as a Non-Resident

Immigration-based non-residents with lawful status have more healthcare options than many assume. Individuals holding valid non-immigrant visas count as “lawfully present” and can buy coverage through the federal marketplace. Household income between 100% and 400% of the federal poverty level can also qualify for premium tax credits and cost-sharing reductions.14HealthCare.gov. Coverage for Lawfully Present Immigrants Qualified non-citizens who face a five-year waiting period before Medicaid or CHIP eligibility may be able to use marketplace coverage during that gap. Non-resident aliens without any lawful immigration status are generally ineligible for marketplace coverage and public insurance programs.