- W-2 forms and payroll withholding do not determine tax residency for H-1B workers in 2026.
- The Substantial Presence Test is the primary calculation used to decide which tax form to file.
- Filing the wrong form can cause issues with future immigration applications and tax transcript accuracy.
(UNITED STATES) — Late-year H-1B workers often receive paychecks with federal tax withheld and a Form W-2 after year-end, but that does not settle which federal tax return they should file.
Payroll withholding shows that tax came out of wages. It does not show that an H-1B worker was a full-year U.S. tax resident, and it does not decide whether the correct return is Form 1040, Form 1040-NR, or a dual-status return.
That distinction turns on tax residency rules, especially the Substantial Presence Test. A late-year arrival can work in the United States, have tax withheld from every paycheck, and still need something other than Form 1040.
Employers withhold federal income tax under payroll rules as a collection mechanism. The withholding helps prepay tax that may be due when the annual return is filed, but it does not answer the residency question.
A worker can have wages withheld and still need to determine whether the worker is a resident alien, nonresident alien, or dual-status taxpayer for federal income tax purposes. That filing status controls whether Form 1040 fits, whether Form 1040-NR fits, or whether the year calls for dual-status treatment.
The same limit applies to Form W-2. It reports wages and taxes withheld by the employer, but it does not determine residency status.
Many first-year H-1B workers assume otherwise because the payroll process looks familiar. A new employee completes onboarding forms, starts work, sees withholding on each paycheck, and later gets a W-2. Most domestic employees with W-2 wages file Form 1040, so the same answer can appear obvious when it is not.
The IRS rules point back to residency. Nonresident alien individuals use Form 1040-NR to file a U.S. income tax return, while H-1B aliens who are U.S. resident aliens for the entire taxable year must report their entire worldwide income on Form 1040.
That worldwide-income rule marks an important split. A resident alien reports worldwide income. A nonresident generally reports U.S. income only.
For many H-1B workers, the residency answer comes from the Substantial Presence Test. Under the general rule, a person must be physically present in the United States for at least 31 days during the current year and 183 days during the three-year period that includes the current year and the two prior years.
The formula counts all current-year days, one-third of the days in the first prior year, and one-sixth of the days in the second prior year. H-1B days generally count. A worker who arrives late in the calendar year may still fall short because there are not enough current-year days to reach the threshold.
A November arrival shows how the rule works. An H-1B worker who enters the United States on November 10, works through December 31, has federal tax withheld, and later receives a W-2 may still not meet the Substantial Presence Test for that year.
The worker may think, “My employer withheld tax, so I must file Form 1040.” That is not necessarily correct.
If that worker had no U.S. presence in the prior two years and does not meet the day-counting rules in the current year, Form 1040-NR may still be relevant. The wage statement remains the same, but the residency result differs.
A near full-year presence can produce the opposite answer. An H-1B worker who is physically present in the United States for almost the entire calendar year will often meet the Substantial Presence Test and may need to file Form 1040 as a resident alien.
Both workers may receive the same payroll form from the employer. W-2 alone cannot tell them which return is correct.
That mistake appears often because payroll withholding and tax residency seem linked in daily life. They are not the same thing. Withholding collects tax from wages; residency determines the filing framework.
Filing the wrong return can create problems that go beyond a simple math error. Wrong filing status, incorrect standard deduction, resident-only credits, incorrect treatment of foreign income, failure to consider nonresident or dual-status treatment, an incorrect tax transcript for future immigration or financial use, and the need for a later amendment can all result.
A refund does not settle the matter. The IRS may process a return first and question issues later.
The reverse error also appears in H-1B cases. Some workers assume that nonimmigrant visa status means Form 1040-NR is always correct, but that is also wrong.
An H-1B worker who meets the Substantial Presence Test and becomes a U.S. tax resident for the year may need Form 1040. In that case, the worker does not report only U.S. wage income.
Payroll records do not replace the taxpayer’s own review. The taxpayer should examine visa history, arrival date, prior U.S. presence, and the Substantial Presence Test before filing.
That review becomes more delicate in an F-1 to H-1B transition. F-1 students may have special day-counting rules for Substantial Presence Test purposes during certain years, while H-1B days are generally counted.
A transition year can require a separate look at the exempt-student period, any OPT or STEM OPT period, the H-1B start date, current-year presence days, prior-year presence days, and possible dual-status treatment. Payroll withholding during H-1B employment does not resolve those issues by itself.
Social Security and Medicare withholding does not resolve them either. H-1B wages are generally subject to FICA, but there is a clear line between FICA withholding and federal income tax residency.
An H-1B worker can have Social Security and Medicare withheld and still need to determine whether the annual income tax return should be Form 1040, Form 1040-NR, or a dual-status filing. Using FICA withholding as proof that Form 1040 is correct can lead to the same mistake as relying on federal income tax withholding alone.
A practical review before filing starts with the date of first arrival in the United States and the date H-1B employment began, then moves to U.S. presence days in the current year and the prior two years.
That review also includes whether earlier F-1 or J-1 days were excluded, whether the Substantial Presence Test is met, whether first-year choice or dual-status rules apply, whether Form 1040-NR remains possible, whether the W-2 covers only U.S. wages, whether foreign income needs review, whether a state tax filing is required, and whether professional help is needed.
State taxes can introduce a second layer of analysis because state residency rules do not always match federal residency rules. A late-year H-1B worker who arrives in November and works in one state may need a state nonresident or part-year resident return, and a move between states can add more filing questions.
The federal choice between Form 1040 and Form 1040-NR does not answer the state issue by itself. A worker can have one federal result and still need a separate state residency review.
If the wrong form has already been filed, do not panic. The first step is to review whether the original filing was correct.
If it was not, Form 1040-X may be needed to amend the return, and the correction may involve Form 1040-NR or dual-status documents depending on the facts. Taxpayers should also confirm whether the original return has processed before deciding whether an amendment is required.
That point matters for any H-1B worker who filed quickly because a W-2 arrived and payroll withholding appeared to settle the issue. Filing a duplicate return without first checking the correct residency position can create more confusion.
The tax lesson for a late-year H-1B worker is narrow but firm. A W-2 proves wages and withholding. It does not prove that Form 1040 is correct.
The proper return depends on residency, and residency depends on day counts, visa history, prior presence, possible dual-status rules, and any valid resident election. In first-year cases, especially those involving a November or other late-year arrival, the Substantial Presence Test remains the first calculation to make, not the last.
That leaves late-year filers with a clear order of operations: calculate residency first, then choose the return. For an H-1B worker staring at a W-2 and opening tax software, the presence-day count matters more than the withholding line, and it can determine whether Form 1040 belongs beside that W-2 or whether another filing path does.