The Substantial Presence Test Explained: When F1 Students Become Resident Aliens
The transition from 'nonresident alien' to 'resident alien' for tax purposes has nothing to do with your immigration status - you're still on an F1 visa. But the IRS treats you differently.
One of the most confusing aspects of F1 student taxes is the transition from "nonresident alien" to "resident alien" for tax purposes.
This has nothing to do with your immigration status - you're still on an F1 visa. But the IRS treats you differently once you've been in the U.S. long enough.
Two Types of "Resident" Status
First, understand that there are two completely separate definitions of "resident":
| Type | Definition | Determined By |
|---|---|---|
| Immigration Status | Your visa category (F1, H1B, Green Card) | USCIS |
| Tax Residency Status | How the IRS taxes you | IRS rules |
You can be:
This happens to many F1 students after year 5.
The Substantial Presence Test (SPT)
The IRS uses the Substantial Presence Test to determine if you're a "resident alien" for tax purposes. You pass the test (become a resident) if:
1. You were present in the U.S. for at least 31 days during the current year, AND
2. You were present for at least 183 days during the 3-year period including the current year, calculated as:
!Substantial Presence Test Formula
Example Calculation:
| Year | Days Present | Multiplier | Counted Days |
|---|---|---|---|
| 2025 | 365 | × 1 | 365 |
| 2024 | 365 | × 1/3 | 122 |
| 2023 | 365 | × 1/6 | 61 |
| Total | 548 days |
548 > 183, so you'd pass the test and be a resident alien.
But wait - F1 students have a special exemption.
The F1 "Exempt Individual" Rule
F1 students are considered "exempt individuals" for the first 5 calendar years of presence in the U.S. During this time:
What "5 Calendar Years" Means
The IRS uses calendar years, not months. If you arrived on December 31, 2020, that entire year counts as Year 1.
| Arrival Date | Year 1 | Year 2 | Year 3 | Year 4 | Year 5 | First Countable Year |
|---|---|---|---|---|---|---|
| Dec 31, 2020 | 2020 | 2021 | 2022 | 2023 | 2024 | 2025 |
| Aug 15, 2020 | 2020 | 2021 | 2022 | 2023 | 2024 | 2025 |
| Jan 1, 2021 | 2021 | 2022 | 2023 | 2024 | 2025 | 2026 |
This is why the exact date matters - arriving in December vs. January can mean an extra year as a nonresident.
What Happens in Year 6 and Beyond?
Starting in your 6th calendar year, you're no longer an "exempt individual." Your days start counting toward the substantial presence test.
If you're in the U.S. full-time (365 days):
Timeline Example:
What Changes When You Become a Resident Alien?
Tax Form Changes
| Status | Federal Form | What's Taxed |
|---|---|---|
| Nonresident Alien | 1040-NR | U.S.-source income only |
| Resident Alien | 1040 | Worldwide income |
This is a major change. As a resident alien, you must report:
Benefits You Gain
Being a resident alien isn't all bad. You gain access to:
1. Standard Deduction
2. Education Credits
3. Filing Status Options
4. IRA Contributions
Benefits You Lose
1. FICA Exemption (Usually)
Even after becoming a resident alien for income tax purposes, you may still be exempt from FICA if you're still on F1 visa and enrolled at least half-time. But if you're on OPT working full-time (not enrolled), you'll typically owe FICA after year 5.
2. Some Treaty Benefits
Some treaty benefits continue (like China's $5,000 exemption), while others may not. Check your specific country's treaty.
Common Questions
Does OPT count toward the 5 years?
Yes. OPT is part of your F1 status. The 5-year exemption continues through OPT as long as you're still within the 5 calendar years.
What if I left the U.S. for a year?
Gaps in your presence don't restart the clock. The 5 years are cumulative.
What if I was a J-1 before becoming F1?
Previous time on J-1 student status counts toward your 5 years.
Form 8843 - do I still file it after year 5?
After your exempt period ends, you no longer file Form 8843. Instead, you file Form 1040 as a resident.
Ready to file your taxes?
F1TaxReturn makes it easy. Free federal filing, state returns just $25.
Start My Free ReturnRelated Articles

Form 8843 Explained: The Form Every F1 Student Must File
Even if you didn't work, didn't earn a single dollar, and spent the entire year purely studying, you still have to file a form with the IRS. That form is Form 8843.

Why F1 Students Can't Use TurboTax (And What to Use Instead)
Every tax season, thousands of international students make the same costly mistake: they open TurboTax, file their taxes, and unknowingly create a compliance nightmare. Here's why you can't use TurboTax and what to use instead.
How to Claim Your FICA Tax Refund as an F1 Student (Step-by-Step Guide)
Every year, thousands of international students unknowingly lose hundreds—sometimes thousands—of dollars to incorrectly withheld FICA taxes. Here's how to get your money back.