Tax CoPilot.in

India–US visa workers

H-1B Tax Residency: The Substantial Presence Test Explained

The 31-day and weighted 183-day tests, a worked example and why visa status alone does not choose your tax return.

Tax CoPilot Editorial · Updated 2026-11-14

Interactive article · Markdown source

Scope: US federal residency principles; 2026 illustrations, with separate India residency review required.. Source review: 14 November 2026.

Quick answer

H-1B immigration status does not automatically make you a US tax nonresident. Federal tax residency follows tax-law tests. H-1B days generally count toward the substantial presence test, while certain days in other qualifying statuses may be excluded under specific rules. Establish residency before choosing a return type or deciding the scope of income to report.

The two numerical conditions

The IRS substantial presence test generally requires at least 31 days of US presence in the current calendar year and at least 183 weighted days across the current year and the two preceding years. Count all eligible current-year days, one-third of the preceding year's days and one-sixth of the second preceding year's days. Both conditions matter.

Worked illustration

Assume all the days are countable: 150 days in 2026, 90 in 2025 and 60 in 2024. The weighted total is 150 + 30 + 10 = 190. The current-year presence also exceeds 31 days. The numerical test is met in this illustration. This is not a final residency opinion: excluded days, exceptions, treaty issues and the residency starting date must still be considered.

Why travel records matter

Build a dated timeline using passport records, travel confirmations and immigration-history records. Identify the status held during each period, including any change from student status to H-1B. Do not estimate by counting only months in which you received salary. Days of physical presence and employment dates are not identical facts.

Excluded days and exceptions

The IRS describes exclusions for certain exempt individuals, transit, medical circumstances and other specified situations. “Exempt individual” in this context concerns day counting, not blanket exemption from US tax. Students and teachers have detailed requirements and time limits. A former F-1 period cannot be treated the same as H-1B employment without examining the actual status timeline.

Meeting a weighted test can also lead to questions about exceptions or treaty treatment. These require more than a day total, including facts about tax home, connections and applicable restrictions. Do not claim an exception merely because you still own a home or hold accounts in India.

What residency changes

The IRS H-1B guidance explains that resident aliens generally face taxation on worldwide income like US citizens, while nonresident aliens generally have a different scope of US taxation. Foreign interest, investment income and account reporting can therefore matter. Residency does not settle every filing obligation, deduction or reporting form on its own.

India remains a separate analysis

US resident status does not automatically establish nonresident status in India. Review the applicable Indian year, travel days and special rules independently. India's April-to-March income period and the US calendar year overlap differently. A treaty position, if relevant, is a separate legal analysis rather than an automatic result of the visa.

Questions to take to an adviser

Common questions

Does H-1B mean Form 1040-NR?

No. The tax-residency analysis comes first; the immigration label does not select the return.

Does passing the test mean every day of the year was resident?

Not necessarily. Starting-date and dual-status rules can matter, especially in an arrival year. Obtain advice before treating a partial-year situation as a simple full-year return.

Official sources

Continue reading

Editorial note

This is educational reference material prepared by Tax CoPilot Editorial, not a signed CA or CPA opinion. Examples are illustrative. Confirm the applicable year, current official instructions and your facts before filing. Complex or cross-border positions require a qualified adviser. Tax CoPilot preparation drafts are not official returns.

Related reading