A non-resident alien for tax purposes is a foreign national who is neither a U.S. citizen nor a resident alien under IRS rules, and the label carries real consequences: you owe U.S. tax only on income from U.S. sources, you file a different return than citizens and green card holders, you lose access to most deductions, and you may qualify for treaty benefits or a Social Security tax exemption that residents cannot claim.
Your status is not something you elect. The IRS decides it each year based on two tests. Fail both and you are a non-resident alien for that calendar year, regardless of what your visa says or how long you plan to stay.
How the IRS Decides You Are a Non-Resident Alien
Two tests determine resident status. Pass either and you are a resident alien, taxed on worldwide income like a citizen. Pass neither and you are a non-resident alien.
The Green Card Test
If you hold a Permanent Resident Card at any point during the calendar year, you are a resident alien for that year. Residency starts the first day you are physically in the U.S. as a green card holder. If you have no green card, this test is not what makes you a non-resident. Move to the second test.
The Substantial Presence Test
You become a resident alien through physical presence if both of these are true:
- You were in the U.S. at least 31 days during the current year.
- Your weighted three-year day count reaches 183 or more: every day in the current year, one-third of the days in the prior year, and one-sixth of the days in the year before that.
Work an example. Say you spent 120 days in the U.S. in 2026, 120 days in 2025, and 120 days in 2024. That is 120 + 40 + 20 = 180 days. You do not meet the test, so you remain a non-resident alien. A handful of extra days in any of those years could push you over 183 without you realizing it, so the count matters even for people who feel like short-term visitors.
When You Meet the Test but Are Still a Non-Resident
Two paths let you stay a non-resident alien even after the day count says otherwise.
The Closer Connection Exception
If you were in the U.S. fewer than 183 days during the current year, you can still be treated as a non-resident by showing a closer connection to a foreign country. All four conditions must hold:
- Fewer than 183 days of presence in the current year.
- A tax home in a foreign country for the entire year.
- A closer connection to that country than to the U.S.
- No application or steps taken toward lawful permanent resident status.
The IRS weighs where your permanent home is, where your family lives, where you keep belongings, where you vote, where you hold a driver’s license, and where your social and cultural ties sit. You claim the exception by filing Form 8840. Skip the form and you lose the benefit even if you clearly qualify.
Exempt Individuals Who Don’t Count Their Days
Certain visa holders skip the day count entirely. The IRS label “exempt individual” is misleading; it means exempt from counting days, not exempt from tax. The categories:
- Foreign government employees on A or G visas, excluding A-3 and G-5 domestic workers.
- Teachers, trainees, researchers, and professors on J or Q visas who substantially comply with visa terms. J-1 non-students can exclude days for up to two of the last six calendar years.
- Students on F, J, M, or Q visas who substantially comply with visa terms. The exclusion runs up to five calendar years.
- Professional athletes temporarily in the U.S. for a charitable sports event.
An F-1 student in her third year of a four-year program is still a non-resident alien because she is inside the five-year window. Once that window closes, days begin counting, and the same student can become a resident alien for tax purposes even though her visa never changed.
What Actually Gets Taxed
Only U.S.-source income is on the hook, and it splits into two categories that are taxed on completely different terms.
Effectively Connected Income
Effectively connected income (ECI) is money from active work or a trade or business in the U.S.: wages from a U.S. employer, self-employment income for services performed here, profits from an active U.S. business. ECI is taxed at the same graduated rates that apply to citizens and residents, and you subtract allowable deductions before calculating tax.
FDAP Income
FDAP stands for fixed, determinable, annual, or periodical income, meaning passive U.S.-source payments like dividends, interest, rents, and royalties. When FDAP is not connected to a U.S. trade or business, it is taxed at a flat 30% of the gross amount. No deductions apply. A tax treaty with your home country can lower or eliminate that rate on specific income types, but only if you file the right paperwork with the payer first.
Deductions You Can and Can’t Take
Non-resident aliens are cut off from most of the deduction menu residents use. The biggest one: no standard deduction. The only exception is for students and business apprentices from India who qualify under Article 21(2) of the U.S.–India income tax treaty.
Against effectively connected income you can deduct expenses directly connected to earning it, and you can itemize a narrower list than residents. Schedule A on Form 1040-NR does not include a line for medical expenses. What is generally available:
- State and local income or real property taxes tied to U.S. income.
- Charitable contributions to qualifying U.S. organizations.
- Casualty and theft losses from federally declared disasters, subject to the usual floors.
- Gambling losses up to gambling winnings, and only if effectively connected with a U.S. trade or business.
Against FDAP income that is not effectively connected, no deductions are allowed. The 30% hits gross.
Social Security and Medicare Taxes
Non-resident aliens on F-1, J-1, M-1, Q-1, and Q-2 visas are exempt from FICA (Social Security and Medicare) taxes on wages, as long as the work is authorized by USCIS and they remain non-resident aliens for tax purposes. The exemption follows the same clock as the day-counting exemption: five calendar years for students, two for J-1 non-students such as scholars, teachers, and researchers. Once you become a resident alien under the substantial presence test, the FICA exemption ends.
H-1B, TN, O-1, and E-3 workers get no FICA exemption and owe the taxes like any other employee. Dependents on F-2, J-2, and M-2 visas are also not covered.
Forms You’ll Actually File
The paperwork is different from what a resident sees. A few forms do most of the work.
Form 1040-NR
The main income tax return for non-resident aliens. You must file it if you engaged in a U.S. trade or business during the year, or if you have U.S.-source income on which withholding didn’t fully cover the tax. Even when nothing is owed, filing may be necessary to recover overwithholding or preserve treaty benefits.
Form W-8BEN
You give this to a withholding agent, such as a bank, brokerage, or a payer of non-wage income, to certify that you are not a U.S. person and to claim any reduced treaty rate. Without a W-8BEN on file, the payer withholds the default 30% on FDAP.
Form 8233
Used to claim a treaty exemption from withholding on personal services compensation. It goes to the withholding agent, usually your employer. You need a separate 8233 for each tax year, each withholding agent, and each type of income, and you must have a Social Security number or ITIN to use it.
Form W-7 and ITINs
If you need to file a return but are not eligible for a Social Security number, apply for an Individual Taxpayer Identification Number using Form W-7. You can submit it along with your Form 1040-NR. An ITIN is also required to claim treaty benefits on W-8BEN and 8233.
When Form 1040-NR Is Due
The deadline depends on whether you had wages subject to U.S. income tax withholding.
- Wages with withholding: April 15 of the following year. For tax year 2025, that is April 15, 2026.
- No wages with withholding: an automatic June 15 due date. For tax year 2025, that is June 15, 2026.
File Form 4868 by the original due date for an automatic six-month extension of time to file. Payment is not extended. Interest and possible penalties run on any tax still owed after the original date.
If Your Status Changes Mid-Year
A dual-status year happens when you shift between non-resident and resident during the same calendar year, for example arriving on a work visa and later receiving a green card. Your status on December 31 controls which form is the primary return:
- Resident on December 31: file Form 1040 with “Dual-Status Return” across the top, and attach a Form 1040-NR labeled “Dual-Status Statement” for the non-resident portion.
- Non-resident on December 31: file Form 1040-NR with “Dual-Status Return” across the top, and attach a Form 1040 labeled “Dual-Status Statement” for the resident portion.
Only U.S.-source income is taxed during the non-resident stretch. Worldwide income is taxed during the resident stretch. The IRS does not support attaching the statement to an e-filed return, so dual-status returns are paper-filed.
Tax Treaty Benefits
The U.S. has income tax treaties with dozens of countries, and they can reduce or eliminate U.S. tax on specific income types. Common benefits include reduced withholding on dividends and interest, and exemptions for students, teachers, and researchers on scholarships or limited-period wages.
Benefits are not automatic. For FDAP income, give the withholding agent a completed W-8BEN before payment. For compensation, use Form 8233. Report the claimed benefit on your annual Form 1040-NR. Miss the paperwork and the payer withholds the full 30%; you then have to file a return to get the excess back.
One trap worth flagging: not every state recognizes federal tax treaties. Several states tax income that is federally exempt under a treaty. If you earn income in a state with its own income tax, check the state rules separately from the federal ones.
Penalties, and the Wrong-Form Problem
The failure-to-file penalty is 5% of unpaid tax per month the return is late, capped at 25%. For returns due after December 31, 2025, a return more than 60 days late carries a minimum penalty of $525 or 100% of the unpaid tax, whichever is less.
An accuracy-related penalty of 20% of the underpayment applies when the IRS finds negligence or a substantial understatement of income, including from misclassifying yourself as a resident when you are actually a non-resident alien or reporting income under the wrong category.
The most damaging mistake is often filing the wrong form. A non-resident alien who files Form 1040 instead of Form 1040-NR can inadvertently claim the standard deduction, misreport worldwide versus U.S.-source income, and set off problems that are difficult to unwind after the fact. Getting the classification right the first time avoids the cascade.