Updated March 12, 2026H1B TaxFile Editorial

File your H-1B return — $49.99

Start free

Form 1040 vs Form 1040-NR: Which One Do H-1B Holders File?

The IRS has two individual income tax return forms: Form 1040 for resident aliens and U.S. citizens, and Form 1040-NR for nonresident aliens. Filing the wrong one does not just create paperwork headaches — it can change your tax liability by thousands of dollars. This guide explains how to determine which form applies to you.

Filing the wrong form can trigger an IRS notice

  • A resident alien who files 1040-NR may lose the standard deduction ($15,750 for single filers in TY2025), the Child Tax Credit, and the Earned Income Tax Credit — resulting in a higher tax bill and a CP2000 or CP501 notice once the IRS cross-references your W-2s.
  • A nonresident alien who files Form 1040 may incorrectly claim credits they are not entitled to, triggering penalties and interest when the IRS catches the mismatch.
  • In either case, you may need to file an amended return (Form 1040-X or a superseding 1040-NR), which delays any refund by months.

The Core Difference: Resident vs Nonresident

The form you file depends on one thing: your tax residency status for that calendar year. Tax residency is not the same as immigration status. You can hold an H-1B visa (a non-immigrant visa) and still be a resident alien for tax purposes.

The IRS classifies you as a resident alien if you meet either the Green Card Test or the Substantial Presence Test (SPT). Most H-1B holders who have been in the U.S. for a full calendar year pass the SPT and file Form 1040.

If you do not meet either test, you are a nonresident alien and file Form 1040-NR.

How to Determine Which Form to File

The decision tree is straightforward:

  1. Do you have a green card? If yes, you are a resident alien. File Form 1040.
  2. Do you pass the Substantial Presence Test? Count your days in the U.S. using the weighted formula: days in the current year + 1/3 of days in the prior year + 1/6 of days two years ago. If the total is 183 or more and you were present for at least 31 days in the current year, you pass. File Form 1040.
  3. Neither test met? You are a nonresident alien. File Form 1040-NR.

Key point for H-1B holders: If you were in the U.S. on H-1B status for the entire calendar year, you almost certainly pass the SPT (365 days ≥ 183). The question only gets complicated in your first year, if you arrived mid-year, or if you transitioned from F-1 (where days are exempt from the SPT count for up to 5 years).

Side-by-Side Comparison

CategoryForm 1040 (Resident Alien)Form 1040-NR (Nonresident Alien)
Filing status optionsSingle, MFJ, MFS, HOH, QSSSingle, MFS, or QSS only. Cannot file MFJ (unless making a Section 6013(g) election) or HOH.
Income reportedWorldwide — U.S. and foreign income (salary, interest, dividends, capital gains, rental income from any country)U.S.-source only — income effectively connected with a U.S. trade or business, plus certain FDAP income (fixed, determinable, annual, periodic)
Standard deductionYes — $15,750 (single) or $31,500 (MFJ) for TY2025No. Must itemize. Exception: students and business apprentices from India may claim it under Article 21(2) of the U.S.–India tax treaty.
Itemized deductionsFull Schedule A (SALT up to $10,000, mortgage interest, charitable contributions, medical expenses)Limited — state/local taxes and charitable contributions to U.S. organizations only. No SALT cap benefit since scope is narrower.
Tax creditsChild Tax Credit, EITC, education credits (AOTC, LLC), child/dependent care credit, retirement savings credit, Foreign Tax CreditVery limited. No CTC, no EITC, no AOTC. Can claim Foreign Tax Credit on ECI only. Some treaty-based credits may apply.
Treaty benefitsGenerally not available (resident aliens are taxed like citizens). Saving clause in most treaties overrides benefits for residents.Available. U.S.–India treaty can exempt certain income (e.g., Article 21 for students). Must disclose on Form 8833.
FATCA (Form 8938)Required if foreign financial assets exceed $50,000 (single) or $100,000 (MFJ) at year-end for U.S. residentsNot required
FBAR (FinCEN 114)Required if aggregate value of foreign accounts exceeds $10,000 at any point during the yearNot required (FBAR applies to U.S. persons, which includes resident aliens but not nonresident aliens)

The practical takeaway: resident aliens have more deductions and credits available, but must report global income and comply with foreign account reporting rules. Nonresident aliens report less income but have fewer tax breaks.

Dual-Status Returns

A dual-status year is one where you were a nonresident alien for part of the year and a resident alien for the rest. This typically happens in two situations:

  • You arrived in the U.S. on an H-1B visa mid-year (say, April or October) and pass the SPT based on your days present from arrival through December 31.
  • You transitioned from F-1 to H-1B during the year, and your F-1 days are exempt from the SPT count.

In a dual-status year, you file Form 1040 as the main return (covering the resident portion) and attach a Form 1040-NR as a statement covering the nonresident portion. The rules for each portion apply to the income earned during that period:

  • Nonresident portion: only U.S.-source income is taxed, no standard deduction.
  • Resident portion: worldwide income is taxed, standard deduction prorated (though in practice, dual-status filers cannot claim the standard deduction at all — they must itemize for the entire year).

Important: Dual-status filers cannot use the standard deduction and cannot file jointly (unless making a Section 6013(g) or (h) election to be treated as a resident for the entire year). These restrictions make dual-status returns more complex and often less favorable than making a first-year election when you qualify for one.

First-Year Choice (IRC Section 7701(b)(4))

If you arrived on an H-1B mid-year and do not meet the SPT for that year, the first-year election lets you choose to be treated as a resident alien from your arrival date onward. This is almost always beneficial because it gives you access to the full suite of credits and deductions on Form 1040.

To qualify, you must meet all four conditions:

  1. You were not a U.S. resident in the prior calendar year.
  2. You meet the SPT in the following year (most H-1B holders present for a full calendar year will).
  3. You were present in the U.S. for at least 31 consecutive days during the election year.
  4. You were present for at least 75% of the days from the start of that 31-day period through December 31.

When you make this election, you file a single Form 1040 for the entire year. You attach a statement to your return explaining the election. The residency start date becomes the first day of the 31-day period you choose.

Common Transition Scenarios

F-1 to H-1B (October 1 Change of Status)

This is the most common transition for Indian tech workers. If you were on F-1 status and switched to H-1B effective October 1:

  • Your F-1 days are exempt from the SPT for the first 5 calendar years of F-1 presence.
  • Only your H-1B days count: October 1 through December 31 is approximately 92 days. That alone does not meet the 183-day threshold.
  • You likely need to make a first-year election or file a dual-status return.
  • If you have been on F-1 for more than 5 calendar years, your F-1 days are no longer exempt and you may pass the SPT even before October 1.

Read the full guide: F-1 to H-1B Tax Transition

H-1B Arrival Mid-Year (New Transfer or First Entry)

If you entered the U.S. for the first time on an H-1B visa partway through the year:

  • Unlike F-1, H-1B days are not exempt from the SPT. Every day you are physically present counts.
  • If you arrived before July 2, you will likely have 183 or more days and pass the SPT. File Form 1040 for the full year.
  • If you arrived after July 2, you will likely have fewer than 183 days. You can make the first-year election (if you meet the conditions) or file Form 1040-NR as a nonresident for the entire year.
  • The first-year election is usually the better option because it unlocks the standard deduction and credits for the resident portion of the year.

H-1B for the Full Year (No Transition)

If you were on H-1B for the entire calendar year and physically present in the U.S. throughout, the answer is simple: you pass the SPT, you are a resident alien, you file Form 1040. This is the situation for the majority of H-1B holders after their first year.

Common Mistakes

  1. Filing 1040-NR out of habit. Some H-1B holders filed 1040-NR during their F-1 years and continue filing it after switching to H-1B, even though they now pass the SPT. This costs them the standard deduction and multiple credits.
  2. Confusing immigration status with tax status. Having a non-immigrant visa (H-1B) does not make you a nonresident for tax purposes. Tax residency is determined by the SPT or Green Card Test, not your visa category.
  3. Ignoring the first-year election. Filers who arrive mid-year often default to 1040-NR without realizing they could elect resident status under IRC 7701(b)(4) and save significantly on taxes.
  4. Skipping FATCA and FBAR after becoming a resident. Once you file Form 1040 as a resident alien, you are a "U.S. person" and must report foreign financial accounts. Indian bank accounts, PPF, EPF, mutual funds, and fixed deposits all count. FBAR penalties start at $10,000 per unreported account.
  5. Using the wrong form in the transition year. In an F-1 to H-1B transition year, filers sometimes file a full-year 1040 when they should file a dual-status return, or vice versa. The correct treatment depends on whether the SPT is met and whether a first-year election is made.

How Our Platform Handles This

Automatic form selection based on your situation

In Step 4 of the filing wizard (H-1B Specific), you enter your visa history, arrival dates, and days present for the current and prior two years. The platform runs the Substantial Presence Test automatically, accounts for F-1 exempt days, and determines whether you file Form 1040 or need a dual-status return. If a first-year election would benefit you, the wizard flags it and walks you through the requirements. All downstream calculations — which credits you can claim, whether FATCA applies, which schedules to include — flow from that residency determination. You never have to guess which form to use.

Frequently Asked Questions

Skip the complexity. We handle all of this for you.

H1B TaxFile supports every form in this guide — FATCA, PFIC, FTC, RSU basis correction, and 22 more H-1B-specific features. Flat price, no surprises.

No credit card to start Printable PDF in 15 minutes 22 H-1B-specific features
File your return — $49.99

H1B TaxFile Team

Written by the H1B TaxFile editorial team — tax professionals and software engineers who specialize in U.S. federal tax filing for H-1B visa holders, F-1 students, and nonresident aliens.

Reviewed by a licensed CPA with international tax experience.

Disclaimer: This guide is for educational purposes only and does not constitute tax or legal advice. Tax laws are complex and change frequently. Consult a qualified tax professional for advice specific to your situation.

Recommended Reading