Skip to main content

H-1B Visa Taxes: How Are H-1B Workers Taxed in the US?

Short answer

H-1B visa taxes depend on your tax residency status, which the IRS sets largely by counting your days in the US. If you pass the green card test or the substantial presence test, you’re taxed like a US citizen on worldwide income and file Form 1040. If you don’t, you’re generally taxed only on US income and file Form 1040-NR. Either way, you generally owe Social Security and Medicare tax on your wages.

See details

H-1B Visa Taxes: Resident vs. Nonresident Status

For federal income tax, you’re a resident alien (a non-citizen taxed like a US citizen) or a nonresident alien. Your status depends on the IRS residency tests.

Test ResultsIncome taxedFederal tax returnSocial Security and Medicare
Resident alienPasses the green card test or substantial presence testWorldwide incomeForm 1040Generally owed
Nonresident alienPasses neither testGenerally US-source income and income connected to a US businessForm 1040-NRGenerally owed

The Green Card Test

You’re a resident for any year you held a green card (lawful permanent residency).

The Substantial Presence Test

Under IRS Publication 519, you pass if you were in the US for both of these:

  • At least 31 days during the current year
  • At least 183 days over three years, counting all days this year, 1/3 of last year’s days and 1/6 of the year before’s

On an H-1B, you count every day in the US, including partial days. The exempt-individual rules that let some students skip days don’t apply to you, so Form 8843 generally doesn’t either.
For example, 120 days in each of three years gives 120 + 40 + 20 = 180 days, which isn’t enough.

Most H-1B holders become residents, and nonresident status is mostly a first-year or short-stay situation.

Your First Year in the US

If you arrive midyear, you may be a dual-status alien (nonresident for part of the year, resident for the rest) and file a special return. Some newcomers can choose resident treatment for part of their first year, and Publication 519 lists the conditions.

Social Security and Medicare Taxes (FICA) for H-1B Workers

FICA is the federal payroll tax that funds Social Security and Medicare. You generally owe it from your first day of work, resident or nonresident. If you work in the US for a US employer, your employer must withhold FICA.

TaxYour rateWages it applies to
Social Security6.2%First $184,500
Medicare1.45%All wages, no cap

2026 rates from IRS Publication 15: Your employer pays a matching share. At the Social Security wage base, your maximum Social Security tax is $11,439.

If you were on an F-1 or J-1 visa, you may have been exempt as a student. That exemption ends when you switch to H-1B or when you become a resident alien. A totalization agreement with your home country can exempt you if you hold a certificate of coverage.

Withholding, ID Numbers and Tax Treaties

Withholding on Your Paycheck

Withholding is income tax your employer takes from each paycheck. You set it on Form W-4. Nonresidents follow special instructions in IRS Notice 1392.

SSN or ITIN

To file, you need a Social Security number (SSN), which you can generally get if you’re authorized to work. If you aren’t eligible for an SSN, you apply for an Individual Taxpayer Identification Number (ITIN), a number used only for taxes.

Tax Treaties

Some treaties can lower your US tax. If you claim residency in another country under a treaty’s “tie-breaker rules,” you’re treated as a nonresident and must file Form 8833. Residents face a “saving clause” that limits many treaty benefits, so check your country’s treaty with a tax pro.

H-1B Tax Filing Deadlines

Residents, and nonresidents with wages subject to US income tax withholding, generally file by April 15. Nonresidents without such wages generally have until June 15. State rules vary.

Sources