F-1 students are generally not treated as resident aliens for federal tax purposes during their first five calendar years in the United States, even if they have a green card process pending or hold a valid visa.
The IRS uses a specific test called the substantial presence test to decide whether you count as a resident alien for taxes. F-1 visa holders are exempt from this test for their first five years. That means you file taxes as a nonresident alien during that window, which changes which forms you use, which income you report, and which deductions you can claim.
After five years, or if you change visa status, the exemption ends and you may become a resident alien for tax purposes. The rules are strict, the timing matters, and mistakes can trigger audits or penalties. This guide explains how the IRS sees your status and what you need to report.
Key Takeaways
- F-1 students are exempt from the substantial presence test for their first five calendar years in the U.S., meaning you file as a nonresident alien even if you meet the test.
- The five-year clock starts on the date you first enter the U.S. on your F-1 visa, not when you enroll in school or receive your I-20.
- After five years, or if you change to a different visa status, you must use the substantial presence test to determine whether you are a resident or nonresident alien for taxes.
- Your tax filing status affects which forms you use (Form 1040-NR for nonresidents, Form 1040 for residents), which income is taxable, and which deductions you can claim.
- You must report your visa status and entry date accurately on your tax return; the IRS matches this information against your I-94 arrival record.
How the IRS Defines Resident Aliens
The IRS does not use immigration status alone to decide whether you are a resident alien for tax purposes. Instead, it uses the substantial presence test, which counts your physical days in the United States over a three-year period. If you meet the test, you are a resident alien for taxes, even if you are on a student visa. If you do not meet it, you are a nonresident alien.
The substantial presence test works like this: you count all days you were physically present in the U.S. during the current year, plus one-third of the days from the prior year, plus one-sixth of the days from the year before that. If the total is 183 days or more, you pass the test and become a resident alien for taxes.
However, F-1 students have a carve-out. You are exempt from this test for your first five calendar years as long as you maintain valid F-1 status and your visa is based on a genuine intent to study, not to immigrate. This exemption is written into the tax code and is separate from your immigration status.
When the Five-Year Exemption Starts and Ends
The clock begins on the date you first enter the United States on your F-1 visa, not the date you enroll in classes or receive your I-20 form. If you entered on August 15, 2023, your five-year window runs from August 15, 2023 through August 14, 2028. During those five calendar years—2023, 2024, 2025, 2026, and 2027—you file as a nonresident alien.
Starting in 2028, you must determine your tax residency using the substantial presence test. If you have been in the U.S. for most of those five years, you will likely pass the test and become a resident alien for taxes. If you have spent significant time outside the U.S., you may still be a nonresident alien.
The exemption also ends when ready if you change visa status. If you switch from F-1 to H-1B, green card holder, or any other status, you lose the F-1 exemption and must use the substantial presence test right away, even if you have not completed five years.
What Changes When You Become a Resident Alien
As a nonresident alien (during your first five years), you file Form 1040-NR instead of Form 1040. You report only U.S.-source income—wages, scholarships, interest, and capital gains earned in the U.S. You do not report foreign income. You also cannot claim most personal deductions, such as the standard deduction, and your tax brackets are different.
Once you become a resident alien for tax purposes, you file Form 1040 and report worldwide income, including any money you earned abroad. You can claim the standard deduction, itemize deductions, and claim dependents and credits that nonresidents cannot. Your tax liability will likely change, sometimes significantly.
The transition can be complicated if you become a resident alien partway through a year. The IRS treats this as a "split-year" situation, and you may file a dual-status return that applies nonresident rules to part of the year and resident rules to the rest. This requires careful record-keeping and often benefits from professional help.
Reporting Your Status on Your Tax Return
On Form 1040-NR (nonresident alien return), you must check the box that says you are an F-1 student and enter the date you first entered the U.S. The IRS uses this information to verify your exemption against your I-94 arrival record, which is maintained by U.S. Customs and Border Protection.
If your entry date on the tax form does not match your I-94, the IRS will send you a notice asking for clarification. Discrepancies can delay your refund or trigger an audit. Keep a copy of your I-94 (available online through the CBP website) and your I-20 with your tax records.
If you file incorrectly—for example, if you file as a resident alien when you should have filed as a nonresident—you can amend your return using Form 1040-X. However, it is better to get it right the first time, especially because amended returns can invite closer IRS scrutiny.
Income You Must Report as an F-1 Student
As a nonresident alien, you report U.S.-source income only. This includes wages from on-campus or off-campus work, scholarships and grants (with some exceptions), interest from U.S. bank accounts, and capital gains from selling U.S. property or stocks. You do not report money your parents send you from abroad, unless it is interest or investment income.
Scholarships and fellowships have special rules. If the money is used for tuition, fees, books, and equipment, it is usually not taxable. If it is used for room, board, or other living expenses, it is taxable income. Your school will send you Form 1098-T or a scholarship statement that breaks this down.
On-campus employment is common for F-1 students and is taxable income. Your employer will send you a Form W-2 at the end of the year. Off-campus work is allowed only under specific circumstances (economic hardship, curricular practical training, or optional practical training), and it is also taxable.
Deductions and Credits You Cannot Claim
Nonresident aliens cannot claim the standard deduction. Instead, you must itemize deductions if you want to deduct anything, and even then, only certain deductions are available to you. You cannot claim the child tax credit, the earned income tax credit, or the American Opportunity credit, even if you paid tuition.
You can deduct U.S.-source income taxes you paid, state and local taxes (up to $10,000), and mortgage interest on U.S. property. You cannot deduct medical expenses, charitable donations, or education expenses as a nonresident alien, even if you itemize.
Once you become a resident alien for tax purposes, these restrictions lift and you have access to the full range of deductions and credits available to U.S. residents. This is one reason why the transition to resident alien status can significantly lower your tax bill.
What Happens If You Overstay Your F-1 Status
If you remain in the U.S. after your F-1 status expires and do not change to another valid status, you lose the F-1 exemption when ready. You must then use the substantial presence test to determine your tax residency. If you have been in the U.S. long enough to pass the test, you become a resident alien for taxes, even though you are out of status for immigration purposes.
Being out of immigration status and being a resident alien for taxes are two separate things. You can be both at the same time. This creates a difficult situation: you may owe U.S. taxes as a resident alien, but you cannot legally work and cannot claim many credits or deductions. Consult an immigration attorney and a tax professional if this applies to you.
Frequently Asked Questions
Do I have to file taxes as an F-1 student if I had no income?
No, you do not have to file if your income was below the filing threshold for nonresident aliens. However, if your employer withheld taxes from your paycheck, you should file to get a refund. Filing also creates a record of your presence in the U.S., which can be useful for immigration purposes.
Can I claim my parents as dependents on my U.S. tax return?
No. Nonresident aliens cannot claim dependents on their tax return, even if they support family members abroad. This restriction applies only while you are a nonresident alien; once you become a resident alien for tax purposes, you can claim dependents if they meet the IRS requirements.
What if I worked in my home country during summer break?
You do not report foreign-source income on your U.S. tax return as a nonresident alien. However, if you earned income in the U.S. before or after your summer break, that is taxable. Keep records of when you were in the U.S. and when you were abroad to support your tax filing.
Do I need a Social Security number to file taxes as an F-1 student?
Yes. If you do not have a Social Security number, you can explore for an Individual Taxpayer Identification Number (ITIN) from the IRS. You will need your passport and I-20 form. Some employers will not hire you without a Social Security number, so explore early if you plan to work.
What if I change from F-1 to H-1B status mid-year?
You lose the F-1 exemption on the date your status changes. You must file a split-year return that applies nonresident rules to the F-1 portion of the year and resident rules to the H-1B portion. This is complex and usually requires help from a tax professional who understands both immigration and tax law.