For federal tax purposes, an H1B worker is almost always a resident alien. The IRS applies the substantial presence test to H1B holders without any of the day-counting exclusions that F-1 students or J-1 exchange visitors get, so anyone working a full year in the U.S. on an H1B clears the threshold and gets taxed the same way a citizen does: on worldwide income, filing Form 1040. The only common exception is the arrival year, when the calendar may leave you as a nonresident or in a dual-status posture.
How the Substantial Presence Test Applies to H1B Workers
The IRS uses two tests to classify a non-citizen as resident or nonresident. The green card test doesn’t reach H1B holders unless a green card is actually issued. What matters is the second test, substantial presence.1Internal Revenue Service. Determining an Individual’s Tax Residency Status
You meet it if you were physically in the U.S. for at least 31 days during the current year and at least 183 days over a three-year lookback. The lookback counts every day in the current year, one-third of the days in the prior year, and one-sixth of the days two years back.2Internal Revenue Service. Substantial Presence Test
Some visa categories can subtract their U.S. days from this calculation. F and J students, J and Q teachers and trainees, and A and G foreign government officials qualify as “exempt individuals.” H1B is not on that list. Every day an H1B holder spends in the United States counts.3Internal Revenue Service. Taxation of Alien Individuals by Immigration Status – H-1b
The math is easy in practice. Arrive on H1B in April and stay through December and you’ve been present roughly 270 days, well past 183. Arrive later in the year and you may fall short on the first calendar year, but a full second year almost always tips the lookback over the line.
The Arrival Year: Dual-Status and the First-Year Choice
Your first year in the U.S. is where the classification can get complicated. If you hit 183 days that year, you’re a resident alien for the whole year and you file a normal Form 1040. If you don’t, two special rules decide what happens next.
Dual-Status Filing
If you become a resident partway through the year, you file as a dual-status taxpayer. The nonresident portion of the year is taxed only on U.S.-source income; the resident portion is taxed on worldwide income.4Internal Revenue Service. Taxation of Dual-Status Individuals
If you’re a resident on December 31, Form 1040 is the main return with “Dual-Status Return” written across the top, and a Form 1040-NR is attached as a “Dual-Status Statement” covering the nonresident portion. If you’re a nonresident on December 31, the two forms swap roles. Either way, you cannot claim the standard deduction. You must itemize.4Internal Revenue Service. Taxation of Dual-Status Individuals
The First-Year Choice
If you don’t pass the substantial presence test in your arrival year but will pass it the next year, you can elect to be treated as a resident from your arrival date forward. The election lives in Section 7701(b) of the Internal Revenue Code and has four requirements:5Office of the Law Revision Counsel. 26 USC 7701 – Definitions
- You were not a resident alien in the year before the election year.
- You will meet the substantial presence test in the year after the election year.
- You are present for at least 31 consecutive days in the election year.
- You are present for at least 75% of the days from the start of that 31-day stretch through December 31, with up to five days of absence excused.
You can’t actually file the election until you’ve cleared the substantial presence test the following year, so the return often goes on extension. The upside is real: resident status lets you take the standard deduction and file jointly with a spouse, which frequently beats reporting a smaller amount of income under dual-status rules.
When a Tax Treaty Can Override Resident Status
Passing the substantial presence test doesn’t always end the analysis. If both the U.S. and your home country treat you as a tax resident under their domestic laws, you’re a “dual-resident taxpayer,” and the treaty tie-breaker between the two countries decides which one gets to tax you as a resident. The tie-breaker looks at where you keep a permanent home, where your personal and economic ties are strongest, and where you habitually live.6Internal Revenue Service. Publication 519 (2025), U.S. Tax Guide for Aliens
If the tie-breaker assigns you to the foreign country, you compute U.S. tax as a nonresident, file Form 1040-NR, and attach Form 8833 to disclose the treaty position. Missing that form when it’s required carries a $1,000 penalty per occurrence.7Internal Revenue Service. Claiming Tax Treaty Benefits
A quirk worth knowing: this only changes how your income tax is computed. For other purposes, including counting days toward substantial presence in later years, you’re still a U.S. resident.
What Changes When You’re Classified as a Resident Alien
The classification touches almost every line of your return.
Worldwide Income Becomes Taxable
Resident aliens report income from every country. Bank interest in India, dividends from a foreign brokerage, rent from property abroad, gains on shares sold on a non-U.S. exchange — all of it goes on the U.S. return.8Internal Revenue Service. Alien Taxation – Certain Essential Concepts Nonresident aliens report only U.S.-source income and income effectively connected with a U.S. business.9Internal Revenue Service. Taxation of Nonresident Aliens
Form 1040 Instead of 1040-NR
Resident aliens file the same Form 1040 that U.S. citizens use.10Internal Revenue Service. Topic No. 851, Resident and Nonresident Aliens Nonresident aliens file Form 1040-NR.
Standard Deduction and Credits
Resident aliens can take the standard deduction — $16,100 for single filers in 2026 and $32,200 for married couples filing jointly — and claim the full range of credits available to citizens, including the child tax credit and earned income credit when they otherwise qualify. Nonresident aliens generally cannot take the standard deduction, with a narrow treaty exception for students and business apprentices from India under Article 21(2) of the U.S.–India treaty.11Internal Revenue Service. 2025 Instructions for Form 1040-NR U.S. Nonresident Alien Income Tax Return
Filing Jointly With a Spouse
Resident aliens can file married filing jointly, which usually produces the lowest tax bill for married couples. Nonresident aliens cannot use married-filing-jointly or head-of-household status.11Internal Revenue Service. 2025 Instructions for Form 1040-NR U.S. Nonresident Alien Income Tax Return
If your spouse doesn’t have a Social Security number, they need an Individual Taxpayer Identification Number, applied for by submitting Form W-7 with your return. A valid passport is the simplest supporting document because it proves both identity and foreign status by itself.12Internal Revenue Service. Instructions for Form W-7 If your spouse is a nonresident alien, you can still file jointly by making an election under IRC 6013(g) to treat them as a resident for the whole year. The tradeoff is that their worldwide income becomes taxable in the U.S. for as long as the election stays in effect.
FICA From Day One
H1B holders owe Social Security and Medicare taxes from their first day of work. The IRS treats H1B workers the same as citizens for FICA purposes, with no exemption and no phase-in. If you switched from F-1 or J-1 status to H1B, your employer must begin withholding FICA on the effective date of the status change.13Internal Revenue Service. Employers Must Withhold FICA Taxes for Aliens Who Change Visa Status to H1B If your home country has a totalization agreement with the U.S. and you remain covered under its system, a certificate of coverage from that country’s social security agency can exempt you from U.S. Social Security tax. The U.S. has about 30 such agreements, including with Canada, the United Kingdom, Germany, Japan, South Korea, Australia, and India.14International Programs | SSA. Totalization Agreements
Reporting Foreign Accounts Once You’re a Resident
Resident status triggers two separate reporting regimes for accounts and assets held abroad. Neither one adds tax by itself, but the penalties for missing them are heavy.
FBAR (FinCEN Form 114)
If the combined balance of all your foreign financial accounts exceeded $10,000 at any point in the year, you file a Report of Foreign Bank and Financial Accounts with the Financial Crimes Enforcement Network. It covers bank accounts, brokerage accounts, mutual funds, and certain other financial accounts held outside the U.S.15Financial Crimes Enforcement Network. Report Foreign Bank and Financial Accounts The deadline is April 15, with an automatic extension to October 15. A non-willful failure to file can be penalized up to $16,536 per report.
FATCA (Form 8938)
Form 8938, attached to your tax return, reports specified foreign financial assets. For single filers living in the U.S., the thresholds are $50,000 on the last day of the year or $75,000 at any point during the year. For married couples filing jointly, the thresholds are $100,000 and $150,000.16Internal Revenue Service. Summary of FATCA Reporting for U.S. Taxpayers Penalties start at $10,000 and climb to $60,000 if you ignore IRS notices.17Internal Revenue Service. International Information Reporting Penalties
State Residency Is a Separate Question
Federal residency and state residency run on different rules. You can be a nonresident alien federally and still owe state income tax as a resident, or the other way around. Most income-tax states treat you as a statutory resident if you keep a dwelling in the state and are physically present more than about half the year, with 183 or 184 days the most common threshold. States also look at where your driver’s license is issued, where your family lives, and where you’re registered to vote. Texas, Florida, Washington, and Nevada are among the states with no income tax. If your state does tax income, check whether it accepts your federal residency determination or runs its own analysis, because the two answers don’t always match.