If you are in the United States on an F, J, M, or Q visa, filing your U.S. taxes as an international student usually means two things: a Form 8843 for every year you are in the country, and a Form 1040-NR on top of that if you earned any U.S.-source income. The IRS treats most international students as nonresident aliens for their first five calendar years, which changes the forms you use, the deductions you can claim, and the deadlines you follow. Even a year with zero income is a filing year.
Getting this right is not just about the IRS. A history of unfiled returns can create problems when you apply for a visa renewal, a change of status, or a green card, so building a clean record from your first year matters.
Are You a Nonresident Alien or a Resident Alien?
Your tax rules depend on this classification, and it is separate from your immigration status. The IRS applies the Substantial Presence Test, which counts days of U.S. presence over three years on a weighted formula: every day in the current year counts fully, each day in the prior year counts as one-third, and each day two years back counts as one-sixth. Hit 183 and you are a resident alien.1Office of the Law Revision Counsel. 26 USC 7701 – Definitions
Students on F, J, M, or Q visas are “exempt individuals” for this test. Your days in the country do not count toward the 183-day threshold during your exempt period, which for students lasts five calendar years.1Office of the Law Revision Counsel. 26 USC 7701 – Definitions
After those five years are up, your days start counting. If you then meet the Substantial Presence Test, you become a resident alien and are taxed on your worldwide income the same way a U.S. citizen is. Students who stay longer than five years can sometimes remain nonresident if they prove to the IRS they do not intend to live permanently in the U.S., but that takes affirmative proof.
Documents to Gather Before You Start
You will move faster if you pull these together first:
- Your passport and visa (F-1, J-1, M-1, or Q), which establish your immigration classification.
- Form I-20 (F and M students) or Form DS-2019 (J visa holders), which confirm your program dates and sponsor.2Study in the States. Do I Need a Form I-20 or a Form DS-2019?
- Your Social Security Number if you have worked, or an Individual Taxpayer Identification Number if you need to file but cannot get an SSN. You apply for an ITIN using IRS Form W-7, submitted with your tax return and identification such as your passport.
- Form W-2 for wages and tax withheld.
- Form 1042-S for scholarship or fellowship income, treaty-exempt income, or other amounts subject to nonresident withholding.
- Any Form 1099 you received for bank interest, investment gains, or other income.
- Your I-94 arrival/departure record for your entry and exit dates, which you need for Form 8843 and the presence calculation.
Which Federal Forms You File
Form 8843: Nearly Every International Student
If you are claiming exempt-individual status to keep your days out of the Substantial Presence Test, you must file Form 8843, Statement for Exempt Individuals and Individuals With a Medical Condition. This covers almost every F, J, M, or Q student during the five-year window, whether or not you earned any income. The form asks for your visa type, entry dates, and basic information about your academic program.3Internal Revenue Service. Form 8843 – Statement for Exempt Individuals and Individuals With a Medical Condition
If you are also filing Form 1040-NR, attach Form 8843 to it. If you had no U.S. income and are filing nothing else, send Form 8843 by itself to the IRS by the June 15 deadline that applies to nonresidents without U.S. wage income.
Form 1040-NR: Nonresident Aliens With U.S. Income
Nonresident aliens who earned U.S.-source income file Form 1040-NR, U.S. Nonresident Alien Income Tax Return. That includes wages, taxable scholarships or fellowships, and other income connected to a U.S. trade or business. Figures from your W-2 and 1042-S go on this return.3Internal Revenue Service. Form 8843 – Statement for Exempt Individuals and Individuals With a Medical Condition
The simplified Form 1040-NR-EZ was discontinued after tax year 2019. Every nonresident alien now uses the full Form 1040-NR, no matter how simple the income picture.
Form 1040: Resident Aliens
Once you pass the Substantial Presence Test and qualify as a resident alien, you file Form 1040, the same return U.S. citizens use. You report worldwide income and gain access to the standard deduction and a broader set of credits. The tradeoff is that foreign income becomes taxable.
How Scholarships and Fellowships Are Taxed
Not all scholarship money is taxable, and this trips up a lot of students. Amounts that pay for tuition and required fees at your school are generally tax-free under IRC Section 117. Everything else is taxable: money used for room and board, travel, living expenses, or optional equipment.4Internal Revenue Service. Topic No. 421, Scholarships, Fellowship Grants, and Other Grants
Any part of a scholarship that is really compensation for teaching or research is treated as wages. You will usually see that on a W-2 rather than a 1042-S.
For nonresident aliens, taxable scholarship or fellowship income that is not compensation for services is subject to a special withholding rate. If you hold an F, J, M, or Q visa, qualifying scholarship income is withheld at 14%. Other taxable fellowship income can be withheld at 30%, unless a tax treaty reduces or eliminates it.5Internal Revenue Service. Withholding Federal Income Tax on Scholarships, Fellowships, and Grants Paid to Nonresident Aliens
Tax Treaty Benefits
The U.S. has income tax treaties with dozens of countries, and many include provisions specifically for students. Depending on your home country, a treaty may exempt part or all of your scholarship, fellowship, or even wages up to a specific dollar amount.
You claim the benefit by identifying the specific treaty article on Schedule OI of Form 1040-NR and reporting the exempt amount. In some situations you also file Form 8833, Treaty-Based Return Position Disclosure. Failing to disclose a treaty position when required can carry a $1,000 penalty per position.6Internal Revenue Service. Form 8833 – Treaty-Based Return Position Disclosure
One important limit: treaty benefits apply only at the federal level. Several states do not honor federal tax treaties, which means income that is exempt on your federal return may still be taxable on your state return.
FICA: You Should Not Be Paying It
Nonresident alien students on F-1, J-1, M-1, or Q visas are exempt from Social Security and Medicare taxes (FICA) on wages earned for work that aligns with the purpose of their visa. That covers on-campus employment, Curricular Practical Training, and Optional Practical Training.7Internal Revenue Service. Foreign Student Liability for Social Security and Medicare Taxes
The exemption lasts as long as you remain a nonresident alien, which for most students is the first five calendar years. The statute carves out services performed by a nonresident alien temporarily present under an F, J, M, or Q visa when those services carry out the visa’s purpose.8Office of the Law Revision Counsel. 26 USC 3121 – Definitions
The exemption does not cover spouses or dependents on F-2, J-2, or M-2 visas, does not apply to work outside the scope of your visa, and ends once you become a resident alien for tax purposes.7Internal Revenue Service. Foreign Student Liability for Social Security and Medicare Taxes
If Your Employer Withheld FICA Anyway
Payroll systems sometimes withhold Social Security and Medicare taxes from nonresident alien students by mistake. Start by asking your employer to correct the error and refund the money directly. Many will fix it once you point out the exemption.
If your employer refuses or cannot issue a refund, file Form 843, Claim for Refund and Request for Abatement, directly with the IRS. Attach your W-2 showing the taxes withheld, your visa, your I-94, and your Form I-20 or DS-2019. You also need a statement from your employer about any reimbursement already provided, or your own statement explaining why the employer would not cooperate.9Internal Revenue Service. Instructions for Form 843 The IRS directs nonresident aliens to the mailing address listed in Publication 519, and the process typically takes several months.
Deductions and Credits You Can and Cannot Take
This is where the nonresident classification bites hardest.
Nonresident aliens cannot claim the standard deduction. The one exception is students and business apprentices from India, who may claim it under Article 21 of the U.S.-India income tax treaty.10Internal Revenue Service. Nonresident – Figuring Your Tax
On Form 1040-NR you are limited to itemized deductions connected to income effectively connected with a U.S. trade or business. You can deduct state and local income taxes (capped at $10,000) and certain charitable contributions, but most of the deductions a U.S. citizen can take are off the table.11Internal Revenue Service. Publication 519 – U.S. Tax Guide for Aliens
Nonresident aliens are also generally ineligible for the American Opportunity Tax Credit and the Lifetime Learning Credit. The only way to claim either as a nonresident is to be married to a U.S. citizen or resident and file jointly, or to elect to be treated as a resident for the full year as a dual-status alien.12Internal Revenue Service. Education Credits – Questions and Answers
Your school may or may not send a Form 1098-T. Institutions are not required to issue one to nonresident alien students unless the student specifically requests it, and even if you receive one, it usually will not help on a nonresident return because the credits are unavailable.12Internal Revenue Service. Education Credits – Questions and Answers
Resident aliens filing Form 1040 can claim the standard deduction, the education credits, and the full range of itemized deductions. If you have just crossed into resident alien status, that shift alone can meaningfully reduce your tax bill.
Deadlines and How to File
The standard deadline is April 15 for the previous tax year. Nonresident aliens who did not receive any wages subject to U.S. income tax withholding get an automatic extension to June 15.13Internal Revenue Service. Taxpayers Who Missed the April Tax Filing Deadline Should File as Soon as Possible If you earned wages on a W-2, April 15 applies even as a nonresident. Miss it while owing tax, and penalties and interest start accruing immediately.
E-filing is now available for Form 1040-NR, and the IRS encourages it. Paid preparers are generally required to e-file 1040-NR returns, and self-preparers can e-file through compatible commercial software.14Internal Revenue Service. Instructions for Form 1040-NR (2025)
One practical catch: mainstream products like TurboTax and H&R Block generally cannot prepare Form 1040-NR. Most nonresident students use specialized software such as Sprintax or Glacier Tax Prep, which handle the treaty, FICA, and Form 8843 questions designed for nonresident returns. Many universities give their international students free or discounted access through the international student office.
State Taxes
Federal is only half the picture. If you lived or earned income in a state with an income tax, you likely have a state filing obligation too. State residency rules run on their own tracks, so you can be a nonresident federally but a resident of a state that defines residency by domicile or days present.
A handful of states tax no wage income at all. If your state does tax income, check whether it honors federal tax treaties. Roughly a dozen states do not, so income that is tax-free on your federal return can still be fully taxable at the state level. Each state has its own forms for nonresidents and part-year residents, and your university’s international student office or tax assistance program can usually point you to them.
What Happens if You Skip It
Some students assume that no income means no filing. That is wrong. Form 8843, which reports no income, is itself a required filing for exempt individuals.
If you owe tax and fail to file, the IRS imposes a failure-to-file penalty of 5% of the unpaid tax for each month the return is late, capped at 25%. For returns due after December 31, 2025, the minimum penalty when a return is more than 60 days late is $525 or 100% of the unpaid tax, whichever is less. Interest runs on both the tax and the penalties.15Internal Revenue Service. Failure to File Penalty
The immigration consequences are the bigger risk. USCIS looks at tax compliance when evaluating visa renewals, changes of status, and green card applications, and a pattern of unfiled returns can be treated as evidence of poor moral character in naturalization decisions. Filing every year, even when the forms are short and no money is owed, is the cheapest insurance you have.