Resident vs Nonresident Alien: H1B, F1, L1, H4 (2026) — Lesser Blog
Skip to content
Tax Planning

Resident Alien vs Nonresident Alien for Indians in the US (2026)

Vishveshwar Rao · IRS Enrolled Agent

15 min read

Published Oct 3, 2026

Quick answer: Resident alien vs nonresident alien is a tax status, not a visa. You are a resident alien for the calendar year if you pass the green card test or the substantial presence test; otherwise you are a nonresident. Residents file Form 1040 on worldwide income (Indian FD interest and rent included), take the standard deduction, can file jointly and owe FBAR and Form 8938 above the thresholds. Nonresidents file Form 1040-NR on US-source and effectively connected income, generally get no standard deduction, and F-1 students are generally FICA-exempt.

Key takeaways

  • You are a US resident for tax purposes if you meet the green card test or the substantial presence test for the calendar year; otherwise you are a nonresident alien (IRS).
  • Resident aliens are taxed like citizens: worldwide income on Form 1040, with the same filing statuses, deductions and credits (IRS).
  • Nonresidents file Form 1040-NR. Effectively connected income is taxed at graduated rates; FDAP income at a flat 30% or lower treaty rate, with no deductions (IRS).
  • Nonresidents cannot take the standard deduction, except students and business apprentices from India covered by Article 21(2) of the India-US treaty (IRS).
  • F-1, J-1 and M-1 nonresident students are generally exempt from Social Security and Medicare tax on authorized work, including practical training; the exemption ends once they become residents or move to H-1B (IRS).
  • FBAR applies to US persons, including resident aliens, once foreign accounts together exceed $10,000 at any time in the year (IRS).
Resident Alien vs Nonresident Alien for Indians in the US (2026)

Am I a resident alien for tax purposes?

You are a resident alien if you pass either of two tests for the calendar year; if you pass neither, you are a nonresident alien. Your visa does not decide this directly. It matters because some visas make your days "exempt" from the count.

The IRS default: "If you are not a U.S. citizen, you are considered a nonresident of the United States for U.S. tax purposes unless you meet one of two tests" (IRS, Determining an Individual's Tax Residency Status).

The green card test. You are a resident "if you are a lawful permanent resident of the United States at any time during the calendar year." That continues until you give up the status in writing to USCIS or it is administratively or judicially terminated (IRS, Green Card Test). Moving back to Pune with the card in a drawer does not end it for tax purposes.

The substantial presence test. You need at least 31 days in the US this year and 183 days on a weighted three-year count: all of this year's days, one third of last year's, one sixth of the year before. Days as an exempt individual, which includes F, J, M and Q students, don't count. The counting and exceptions are in our substantial presence test guide.

The rest of this post is about what happens once you know the answer.

What changes between a resident alien and a nonresident alien?

Nearly everything on the return: the form, the income it covers, deductions, joint filing, credits, FICA and foreign account reporting.

Resident alienNonresident alien
ReturnForm 1040Form 1040-NR
Income taxedWorldwide incomeUS-source income and income effectively connected with a US trade or business
Tax ratesGraduated, same as citizensGraduated on effectively connected income; flat 30% (or lower treaty rate) on FDAP income
Standard deductionYesNo, except Indian students and business apprentices under treaty Article 21(2)
Married filing jointlyYes, if both spouses are residents or citizens, or by electionGenerally no
Head of householdAvailable if you qualify and were a resident all yearNot available if nonresident at any time in the year
Earned income credit, education creditsCitizen rulesGenerally not available
FICA on F-1/J-1 authorized workWithheldGenerally exempt
Treaty benefitsMostly blocked by the saving clause, with exceptionsAvailable if you qualify
FBAR and Form 8938Yes, above the thresholdsNot as a nonresident (Form 8938 can apply if you elect resident treatment to file jointly)

Sources: Taxation of Resident Aliens, Taxation of Nonresident Aliens, Nonresident Alien: Figuring Your Tax, Publication 519 (2025 edition).

Form 1040 vs 1040-NR: which one do I file?

Residents file Form 1040. Nonresidents "who are required to file an income tax return must use Form 1040-NR" (IRS, Taxation of Nonresident Aliens).

For tax year 2025, a 1040-NR was due April 15, 2026 if you had wages subject to US withholding, and June 15, 2026 if you didn't (Publication 519). A nonresident-only trap: the IRS treats a 1040-NR as timely for deductions and credits only if filed within 16 months of its due date, so a very late 1040-NR can lose them.

Does a resident alien pay US tax on Indian income?

Yes. Residents report worldwide income, including Indian salary, NRE and NRO interest, FD interest, rent on a flat in Hyderabad and gains on Indian shares. Nonresidents generally don't.

Residents are taxed "in the same manner as a U.S. citizen" on income "earned within or outside the United States" (IRS, Taxation of Resident Aliens). Indian tax already paid usually comes back as a foreign tax credit, so reporting is not the same as paying twice. Our guide to reporting India income on a US return covers NRE, NRO and the credit.

Nonresidents are taxed on two buckets (IRS, Taxation of Nonresident Aliens):

  • Effectively connected income. Wages for work done in the US are the standard example; Publication 519 treats wages, salaries and bonuses for US services as effectively connected. Taxed at graduated rates after allowable deductions.
  • FDAP income. Fixed, determinable, annual or periodical US-source income, such as dividends, taxed at a flat 30% or lower treaty rate with no deductions.

Foreign-source income not connected with a US business is not taxable while you are a nonresident (Publication 519). An F-1 student's SBI fixed deposit interest stays off the US return; the same interest received after that student becomes a resident goes on it.

Can a nonresident alien take the standard deduction?

Generally no: "If you are a nonresident of the U.S., you cannot claim the standard deduction" (IRS, Nonresident Alien: Figuring Your Tax). Nonresidents with effectively connected income can itemize a short list instead, such as state and local income taxes and gifts to US charities.

Indian students get a real exception. Students and business apprentices eligible for Article 21(2) of the US-India treaty can claim the standard deduction on Form 1040-NR if they don't itemize. For tax year 2025, Publication 519's Worksheet 5-1 starts at $15,750 for single or married filing separately. The same group can claim dependents under citizen rules and is one of the few nonresident groups allowed the child tax credit (Publication 519).

That exception exists only on the nonresident side, which is one reason an Indian F-1 student should not drift onto Form 1040.

Can I file jointly if my spouse is a nonresident?

Not by default, but there is an election. The rule: "you cannot file as married filing jointly if either spouse was a nonresident of the U.S. at any time during the tax year" (IRS, Nonresident Alien: Figuring Your Tax).

If at year end one spouse is a citizen or resident and the other isn't, you can choose to treat the nonresident spouse as a resident and file a joint Form 1040 (IRS, Nonresident Spouse). What you sign up for:

  • Both spouses report worldwide income for that year and later years, until the choice is suspended or ended. An H4 spouse's rent from a flat in Chennai goes on the joint return.
  • A statement signed by both spouses is attached to the first joint return, and the box is checked in the Filing Status section of Form 1040 (Publication 519).
  • It is once in a lifetime. After it ends, "neither spouse can make this choice in any later tax year" (IRS, Nonresident Spouse).

Whether it saves money depends on the spouse's income, especially Indian income, so run both versions. A spouse without an SSN needs an ITIN via Form W-7, with the tax return included in the application (IRS, ITIN); see our post on the ITIN for an H4 spouse. Without the election, a resident married to a nonresident may qualify for head of household, because a nonresident spouse lets you be treated as unmarried for that purpose (Publication 519).

Which credits change with residency status?

Residents claim credits under citizen rules. Nonresidents lose several (Publication 519, 2025 edition):

  • Earned income credit: not available "if you are a nonresident alien for any part of the year," unless you file jointly under the spouse election.
  • Education credits: generally not available for part-year nonresidents, with the same joint-election exception.
  • Child tax credit and credit for other dependents: limited to certain nonresidents, including Article 21(2) students and business apprentices from India.

Nonresidents with effectively connected income can still claim some credits, including the foreign tax credit, child and dependent care credit and retirement savings contributions credit (IRS, Nonresident Alien: Figuring Your Tax).

Do F-1 and OPT students pay Social Security and Medicare tax?

Not while they are nonresidents doing authorized work. Nonresident students in F-1, J-1 or M-1 status "are exempt from Social Security Tax and Medicare Tax on wages paid to them for services performed within the U.S.," and practical training is on the IRS list of covered work (IRS, Foreign Student Liability for Social Security and Medicare Taxes).

Two events end it:

  1. Becoming a resident alien. FICA is withheld "if you are considered a resident alien... even though your nonimmigrant classification ('F,' 'J,' 'M,' or 'Q') remains the same" (Publication 519). A sixth-year student on STEM OPT is still F-1 and still owes FICA.
  2. Moving to H-1B. "The FICA tax exemption becomes inapplicable when a payee changes to H-1B non-immigrant status" (IRS, FICA for Aliens who Change Visa Status to H1B).

F-2 dependents are not covered. If FICA was wrongly withheld while you were exempt, ask the employer first; failing that, file Form 843 with Form 8316 and supporting documents. H-1B, L-1, H-4 EAD and green card workers fall under the general rule that FICA applies to US wages regardless of citizenship or residence (Publication 519).

Do tax treaty benefits survive once I become a resident?

Mostly not. "Resident aliens generally do not qualify for tax treaty benefits because most tax treaties contain a 'saving clause'" that keeps the US right to tax its residents as if the treaty didn't exist (Publication 519).

Treaties carve out exceptions, some of which apply only to residents who are not green card holders. A student or trainee exemption claimed as a nonresident carries into resident years only if the saving clause excepts it and you still meet the treaty's conditions and time limits. Whether a given India-US treaty article survives is a treaty-reading question for a CPA. For residents, the practical treaty relief on Indian income is usually the foreign tax credit on Form 1116, covered in our NRI tax checklist.

When do FBAR and Form 8938 kick in?

When you become a resident. FBAR is filed by US persons, including residents, when "the aggregate value of those foreign financial accounts exceeded $10,000 at any time during the calendar year," due April 15 with an automatic extension to October 15 (IRS, FBAR).

Form 8938 applies to anyone who was a resident for any part of the year and to nonresidents who elect resident treatment to file jointly (Publication 519). For taxpayers living in the US, the thresholds are over $50,000 at year end or $75,000 at any time (single or married filing separately), and over $100,000 at year end or $150,000 at any time (married filing jointly) (IRS, Comparison of Form 8938 and FBAR).

The FBAR test is aggregate: a couple of FDs plus an NRO savings account can cross $10,000 together. Details in FBAR and Form 8938 for Indian accounts.

What if I was a nonresident for part of the year?

Then it is a dual-status year, which "usually occurs in the year you arrive or depart from the United States" (IRS). In your first year under the substantial presence test, you are a resident only from your residency starting date, generally your first day in the US that year (Publication 519).

Dual-status years carry restrictions: no standard deduction, no head of household rates and no joint return unless you choose resident treatment for the whole year. Late-year arrivals who only pass the test the next year may be able to use the first-year choice. We cover the mechanics, and the W-8BEN problem on Indian accounts, in dual-status returns when moving to the US.

Resident or nonresident alien: a visa-by-visa guide

Your visa decides whether your days count; the day count or a green card decides your status.

VisaDo US days count?Usual statusFICAWhat decides it
H-1BYes, from day oneResident for full years in the US; arrival year often dual-statusWithheldArrival date and day count
L-1Yes, from day oneSame as H-1BWithheldArrival date and day count
H-4Yes, not an exempt categoryResident if their own count passes; if not, nonresident unless the joint election is madeWithheld on H-4 EAD wagesTheir own days; joint election
F-1, first 5 calendar yearsNo, exempt student days (Form 8843 required)Nonresident; 1040-NR if there is incomeExempt on authorized workFiling Form 8843 each year
F-1, after 5 calendar yearsYes, unless you prove no intent to reside permanently and visa complianceUsually residentWithheld once residentNumber of prior exempt years
OPT / STEM OPTSame as F-1Nonresident inside the 5-year window, usually resident afterExempt while nonresidentWhich exempt year you are in
Green cardGreen card test appliesResident from first day in the US as a permanent resident (earlier if the day count already made you one)WithheldDate of permanent residence

Sources: Substantial Presence Test, Exempt Individual Who Is a Student, Green Card Test, Publication 519.

The 5-year rule: a student is not exempt after being exempt on an F, J, M or Q visa "for any part of more than 5 calendar years," unless they show they don't intend to reside permanently and have substantially complied with their status (IRS, Exempt Individual Who Is a Student). "Any part" means an August arrival uses up that whole calendar year.

Worked example: F-1 to OPT to H-1B. Priya lands in Boston on F-1 on August 18, 2021 and files Form 8843 every year. 2021 through 2025 are her five exempt calendar years, so she is a nonresident for each. She is on STEM OPT from January 2026 and starts H-1B on October 1, 2026. Since 2026 is her sixth calendar year, her days count, and she was here all year. She is a resident for all of 2026: Form 1040, her NRE FD interest on the return, FBAR if her Indian accounts crossed $10,000, and FICA owed on her OPT paychecks from January, not just from October. (If she can prove the intent-and-compliance facts, the answer could change.)

Worked example: H-1B from India. Rohan starts on H-1B in Seattle on March 2, 2026 and stays through year end: 305 days, enough on current-year days alone. He is a resident from March 2 and a nonresident from January 1 to March 1, a dual-status year. Indian salary he received before March 2 stays off the US return. Timing is by receipt: foreign income received while a resident is taxable "even if you earned it while you were a nonresident alien" (Publication 519), so February salary credited on March 5 goes on.

What are the most common resident vs nonresident mistakes?

The expensive ones come from filing on the wrong side of the line.

  • F-1 students filing Form 1040. Inside the 5-year window you are usually a nonresident and belong on 1040-NR. Software built around Form 1040 can land you on the wrong form, claiming credits nonresidents can't take (education credits, the earned income credit) and missing the Article 21(2) treatment. Fixing it is an amended-return job; see amending a US return as an NRI.
  • First-year H-1B holders filing 1040-NR for the whole year. If you passed the substantial presence test, you were a resident from your residency starting date. A full-year 1040-NR leaves out resident-period income such as Indian interest, and your FBAR exposure.
  • Forgetting Form 8843. If you exclude days as a student, "you must file a fully-completed Form 8843," attached to your return or mailed alone if you have no return to file (IRS, Exempt Individual Who Is a Student), by the Form 1040-NR due date (About Form 8843; Publication 519). Zero income doesn't excuse it. Missed years are worth raising with a CPA, since your whole day count rests on them.
  • Assuming OPT means no FICA forever. The exemption lasts only while you are a nonresident. Check your pay stubs in your sixth calendar year.
  • Treating the spouse election as a yearly switch. It sticks until suspended or ended, and can't be made again after that.

FAQ

Is an H1B holder a resident alien or a nonresident alien?

Usually a resident alien. H-1B days are not exempt, so a full calendar year in the US passes the substantial presence test and you file Form 1040 on worldwide income. The arrival year is the exception: typically dual-status, and a late-year arrival may be a nonresident for that whole year.

What is the difference between Form 1040 and Form 1040-NR?

Form 1040 is for residents and covers worldwide income, with the standard deduction and joint filing available. Form 1040-NR is for nonresidents, covers only US-source and effectively connected income, and generally allows neither. Indian students under treaty Article 21(2) can still take the standard deduction on it.

Do F-1 students need to file anything if they had no income?

Yes, Form 8843. The IRS requires it from students who exclude their days from the substantial presence test, and without a return you mail it on its own by the Form 1040-NR due date.

When does an F-1 student become a resident alien?

Generally after being an exempt student for any part of more than 5 calendar years. From then on their days count, and a full year in the US makes them a resident. A student who proves no intent to reside permanently and substantial visa compliance can stay exempt longer.

Can I file jointly with my H4 spouse?

If your H4 spouse passes the substantial presence test on their own, yes. If not, and you are a resident at year end, you can elect to treat them as a resident and file a joint Form 1040; you both then report worldwide income until the choice ends, and it can't be made again.

Does a green card holder living in India still file as a resident?

Generally yes. Under the green card test you stay a resident until you give up permanent residence in writing to USCIS or it is terminated administratively or judicially.

Vishveshwar Rao · IRS Enrolled Agent

Written by

IRS Enrolled Agent with 12+ years preparing, reviewing, and signing US individual tax returns, including a decade in Deloitte and EY US tax practices. Specializes in cross-border filings for Indians in the US: dual-status returns, FBAR and Form 8938, and treaty positions.

Sources

  1. 01IRS: Determining an Individual's Tax Residency Status. Verified September 2026. irs.govirs.gov ↗
  2. 02IRS: Alien Residency, Green Card Test. Verified September 2026. irs.govirs.gov ↗
  3. 03IRS: Substantial Presence Test. Verified September 2026. irs.govirs.gov ↗
  4. 04IRS: Exempt Individual Who Is a Student. Verified September 2026. irs.govirs.gov ↗
  5. 05IRS: Nonresident Aliens. Verified September 2026. irs.govirs.gov ↗
  6. 06IRS: Taxation of Nonresident Aliens. Verified September 2026. irs.govirs.gov ↗
  7. 07IRS: Nonresident Alien, Figuring Your Tax. Verified September 2026. irs.govirs.gov ↗
  8. 08IRS: Taxation of Resident Aliens. Verified September 2026. irs.govirs.gov ↗
  9. 09IRS: Nonresident Spouse. Verified September 2026. irs.govirs.gov ↗
  10. 10IRS: Dual-Status Aliens. Verified September 2026. irs.govirs.gov ↗
  11. 11IRS: Foreign Student Liability for Social Security and Medicare Taxes. Verified September 2026. irs.govirs.gov ↗
  12. 12IRS: Employers Must Withhold FICA Taxes for Aliens who Change Visa Status to H1B. Verified September 2026. irs.govirs.gov ↗
  13. 13IRS: About Form 8843. Verified September 2026. irs.govirs.gov ↗
  14. 14IRS: Publication 519, U.S. Tax Guide for Aliens (2025). Verified September 2026. irs.govirs.gov ↗
  15. 15IRS: Report of Foreign Bank and Financial Accounts (FBAR). Verified September 2026. irs.govirs.gov ↗
  16. 16IRS: Comparison of Form 8938 and FBAR Requirements. Verified September 2026. irs.govirs.gov ↗
  17. 17IRS: Individual Taxpayer Identification Number (ITIN). Verified September 2026. irs.govirs.gov ↗

Keep reading