Resident or nonresident alien for taxes?
For US taxes, a foreign national is either a resident alien or a nonresident alien. The answer decides which return you file and what income you report.
Reviewed by Alex Thomas · Updated Nov 5, 2026
You're a resident alien under the substantial presence test (220 counted days). You generally file Form 1040, unless an exception or a treaty applies.
F, J, M and Q visa holders and some others can exclude days. Enter only the days that count.
Tax status
Resident alien (substantial presence)
Form 1040
Arrived or left this year? You may be a dual-status alien: resident for part of the year and nonresident for the rest. Publication 519 explains how to file that year.
Either way, if you aren't eligible for an SSN you need an ITIN to file.
Ask members who've been there
Questions
What is the difference between a resident and a nonresident alien?
Does my immigration status decide my tax status?
Can I be both in the same year?
Related guides and answers
ITIN number vs SSN: which taxpayer number you need
Updated 5 min read
Read guide →What you can do with an ITIN, and what you can't
Updated 6 min read
Read guide →- Can I get an ITIN without filing a tax return?Getting an ITIN without a tax return is only possible if you meet one of the five exceptions in the Form W-7 instructions. They cover income a third party reports or withholds tax on, such as some bank interest, treaty benefits, scholarships, a US mortgage or a US property sale. You send proof of the exception instead.
- Where can I get my Tax ID?Your Tax ID comes from the agency that issues it. Ask Social Security for an SSN if you're a citizen or allowed to work in the US. File IRS Form W-7 for an ITIN if you can't get an SSN but have a tax reason. A business gets an EIN from the IRS. SSNs and EINs are free.
Other tools
Substantial presence test calculator
160 counted days
Try it →Credit utilization calculator
$500 limit → 36% used
Try it →ITIN expiration checker
Expires 2027
Try it →SSN, ITIN and EIN format checker
912-70-1234 → ITIN format
Try it →Sources
Join ITIN Club — it's free
Ask members who've already done it, follow the first-year course step by step, and message other members directly. No SSN needed.