How to Fill Out Form W-4 as an H-1B or OPT Worker (2026)

Resident H-1B workers fill out the 2026 Form W-4 normally; nonresident OPT workers follow Notice 1392. Here is every line, with a worked paycheck example for each path.

Key Form
Form W-4 (2026)
NRA Filing Box
Single or MFS
NRA Wage Add-On
$16,100 a year
Step 4(c) Note
Write “NRA”

Your 2026 Form W-4 depends on one fact before anything else: whether the IRS treats you as a resident alien or a nonresident alien for tax purposes. Most H-1B workers fill out the form like any U.S. employee. Most F-1 OPT workers are nonresident aliens and must follow the special rules in IRS Notice 1392, which change four lines on the form.

The nonresident rules are short. Enter a Social Security number (an ITIN will not work), check “Single or Married filing separately” whatever your real marital status, write “NRA” in the space below Step 4(c), and never claim exemption from withholding. Your employer then adds $16,100 to your annual wages (about $619.20 on a biweekly paycheck) before it looks up your withholding, which cancels the standard deduction nonresidents cannot take.

The resident path is the ordinary Form W-4, with one 2026 change: Step 4(b) now points to a Deductions Worksheet that covers the new deductions for tips, overtime, vehicle loan interest and seniors, on top of itemized deductions and the standard deduction.

This guide first shows how to tell which path you are on, then walks through the 2026 form line by line for each path, with a worked paycheck example for both. It ends with the mistakes that most often cause an under-withheld paycheck or a rejected form.

Getting this right matters because the cost of a wrong W-4 is real money in both directions. A nonresident who fills out the resident version has about $136 too little withheld from each biweekly paycheck on an $80,000 salary, and finds out when a 1040-NR comes back with a balance due. A resident who writes “NRA” has too much withheld all year and waits for a refund.

If you already know your status, jump to the path that fits you. If you are not sure, start with Step 1. For the underlying residency rules in more depth, see our guide to resident vs nonresident alien tax status for 2026.

1

First, work out whether you are a resident or nonresident alien

For federal tax purposes an alien is a resident if they meet either the green card test or the substantial presence test for the calendar year. Anyone who meets neither is a nonresident alien. A person who uses a tax treaty tie-breaker rule to be treated as a resident of the other country is also a nonresident for this purpose.

The substantial presence test counts days in the United States: at least 31 days this year, and at least 183 days when you add all of this year’s days, one third of last year’s days and one sixth of the year before’s. The catch is that days spent as an “exempt individual” do not count, and F-1 students are exempt individuals for their first five calendar years in the country, counting any part of a year as a full year.

That is why the two visas usually land on opposite sides. An F-1 student on OPT is typically still a nonresident alien for the first five calendar years. An H-1B worker has no exemption, so the days count from the start, and most H-1B workers become residents in their first or second calendar year in that status, depending on arrival date and earlier days in the country. A student who changes from F-1 to H-1B should read how tax residency and payroll traps work in the F-1 to H-1B switch, and one past year five should read about F-1 tax residency after year 5.

Which Form W-4 path usually applies
SituationUsual tax statusW-4 path
F-1 student on OPT, calendar years 1 to 5 in the U.S.Nonresident alienNotice 1392 rules
F-1 on OPT after the fifth calendar year, 183-day count metResident alienStandard Form W-4
H-1B worker, first calendar year in H-1BDepends on days; often nonresident if arrival was late in the yearCheck the day count
H-1B worker, second calendar year or laterUsually resident alienStandard Form W-4
Green card holderResident alienStandard Form W-4
Tip

Your status can differ from what your immigration category suggests. If the table leaves you unsure, count your days using the formula above, or read our walkthrough of the substantial presence test for H-1B holders in 2026, before you hand the form to HR.

2

Step 1 of the form: the same two rules for everyone

Step 1(a) and 1(b) ask for your name, address and Social Security number. Both paths need a real SSN. The IRS says plainly that an individual taxpayer identification number cannot go in Step 1(b). If you have work authorization but no SSN yet, apply at a Social Security office before you start. The form’s own notice warns that a form that is not properly completed can leave you treated as a single person with no other entries.

Your name must match your Social Security card. The 2026 form carries a reminder about this next to the SSN box, because a mismatch means your earnings may not post to your record. If your name changed or is spelled differently on your I-797 or passport, fix the SSA record first.

Step 1(c) is where the two paths first split. Residents check the box that matches their real situation: Single or Married filing separately, Married filing jointly or Qualifying surviving spouse, or Head of household. Nonresidents check Single or Married filing separately every time, because a nonresident alien generally cannot file jointly.

3

Path A: resident alien (most H-1B workers), line by line

If you are a resident alien, you follow the form’s own instructions. Check your real filing status in Step 1(c), then move through only the steps that apply. The 2026 form says to complete Steps 2 to 4 only if they apply and otherwise skip to the signature in Step 5.

Step 2, multiple jobs or a working spouse. Use this step if you hold two jobs at once, or you are married filing jointly and your spouse also works. The most accurate option is the IRS Tax Withholding Estimator at IRS.gov/W4App. If you have only two jobs in total, you can check the box in option (c) on both W-4s, which halves the standard deduction and tax brackets for each job. If you use the Multiple Jobs Worksheet instead (option b), enter the result in Step 4(c) on the highest paying job only.

Step 3, dependents. If your total income will be $200,000 or less ($400,000 or less if married filing jointly), multiply your qualifying children under 17 by $2,200 and your other dependents by $500, then enter the total. A child needs the required Social Security number to count, and so do you. You can also add other credits you expect, such as the foreign tax credit or education credits.

Step 4(a), other income. Enter income that will have no withholding, such as interest or dividends, if you want tax withheld on it. Skip it if you prefer to pay quarterly estimated tax.

Step 4(b), deductions. This is the line that changed for 2026. The Deductions Worksheet now begins with the new deductions, each with an income cap and each requiring a valid Social Security number:

New items on the 2026 Step 4(b) Deductions Worksheet
Qualified tips (total income under $150,000; $300,000 if married filing jointly)Up to $25,000
Qualified overtime, the “and-a-half” portion (same income limits)Up to $12,500 ($25,000 joint)
Passenger vehicle loan interest (total income under $100,000; $200,000 joint)Up to $10,000
Taxpayer age 65 or older (total income under $75,000; $150,000 joint)$6,000
State and local taxes, itemizers (total income under $505,000)Up to $40,400

The worksheet then covers student loan interest, IRA contributions, itemized deductions and the 2026 standard deduction: $16,100 for single or married filing separately, $24,150 for head of household and $32,200 for married filing jointly. If you leave Step 4(b) blank, your withholding assumes the standard deduction. Most H-1B employees without large itemized deductions or overtime pay leave it blank.

Step 4(c), extra withholding. Enter any extra dollars you want taken from each paycheck. Residents with a spouse who works, a side income, or a big bonus year often use this line as a safety margin.

Exempt from withholding. Do not check this box. Exemption is only for people who had no federal income tax liability in 2025 and expect none in 2026, which does not describe a salaried H-1B worker.

Step 5. Sign and date. Your employer completes the bottom section.

Worked example: resident H-1B, single, $80,000 salary

Priya is in her second year on H-1B, files as single, has one job and no dependents. She checks “Single or Married filing separately” in Step 1(c), skips Steps 2 to 4 and signs. Her biweekly gross pay is about $3,077. Under the 2026 single brackets, taxable income is $80,000 minus the $16,100 standard deduction, or $63,900, which produces about $8,770 of federal income tax for the year, or roughly $337 per biweekly paycheck. Payroll tables round this slightly differently, but this is the right range.

For a look at what else comes out of an H-1B check besides income tax, see our breakdown of H-1B paycheck deductions.

4

Path B: nonresident alien (most F-1 OPT workers), line by line

Nonresident aliens fill out the same form, with the modifications in Notice 1392. The notice is dated January 2020, and the 2026 Form W-4 still sends nonresident aliens to it. It has not been revised for the 2026 layout, but its line references still match the current form.

Notice 1392 line by line on the 2026 Form W-4
  • Step 1(b): enter your Social Security number. An ITIN is not accepted.
  • Step 1(c): check Single or Married filing separately, whatever your real marital status.
  • Step 2: use it only if you hold more than one job. Do not count a spouse’s job, because nonresident aliens cannot file jointly.
  • Step 3: leave blank unless you are from Canada, Mexico, South Korea or India.
  • Step 4(a): optional. Only taxable U.S. income with no withholding belongs here.
  • Step 4(b): optional. Itemized deductions and adjustments for nonresidents are limited, so leave it blank unless you know what you can claim.
  • Step 4(c): write “NRA” or “nonresident alien” in the space below this line, and add any extra withholding you want.
  • Exempt box: do not check it, even if you meet both exemption conditions.

Why “NRA” matters. The notation tells payroll to treat you as a nonresident. The employer then adds a fixed amount to your wages before using the withholding tables, because a nonresident cannot take the standard deduction and the tables include one. For 2026, Pub. 15-T sets that add-on at $16,100 a year, which equals the single standard deduction. Per pay period it is $309.60 weekly, $619.20 biweekly, $670.80 semimonthly and $1,341.70 monthly. The amount is added only for withholding. It does not appear on your W-2 and does not change your Social Security or Medicare tax.

Multiple jobs as an NRA. Write “NRA” on the W-4 for only one job. If you use the Step 2(b) worksheet, write it on the W-4 for the job where you complete the worksheet. If you check the Step 2(c) box on both W-4s, write it on the highest paying job only.

Step 3 and the four countries. Only nonresident aliens from Canada, Mexico, South Korea and India may be able to claim the child tax credit or the credit for other dependents, so only they should enter amounts in Step 3. Nonresidents are generally not entitled to education credits. Pub. 519 and Pub. 972 have the rules.

Do not use the Tax Withholding Estimator. Notice 1392 says nonresident aliens should not use it, because it assumes a resident’s tax return. Adjust through Step 4(c) instead.

Warning: the new 2026 deductions and NRAs

The 2026 Deductions Worksheet lists tips, overtime, vehicle loan interest and senior deductions, and Notice 1392 does not mention them. We could not confirm from the IRS materials that nonresident aliens may claim them for withholding, so a nonresident should leave Step 4(b) blank unless a tax preparer confirms the deduction applies.

Worked example: nonresident F-1 OPT, $80,000 salary

Arjun is in his second calendar year in the U.S. on F-1 OPT, so he is a nonresident alien. He gives his SSN in Step 1(b), checks “Single or Married filing separately”, skips Steps 2 to 4(b), writes “NRA” below Step 4(c) and signs. His biweekly gross pay is about $3,077, and payroll adds $619.20 before the lookup. With no standard deduction, the 2026 single brackets apply to the full $80,000, giving about $12,312 of federal income tax for the year, or roughly $474 per biweekly paycheck. That is about $136 more than Priya’s roughly $337, which is exactly 22 percent of $16,100 spread over 26 paychecks.

Two exceptions are worth knowing. First, nonresident students and business apprentices from India who qualify under Article 21(2) of the U.S.-India tax treaty are not subject to the wage add-on, because they may be able to claim the standard deduction. Second, if a treaty exempts part of your pay from withholding, you give your employer Form 8233 instead of a Form W-4 for that income. The facts behind the exemption may not be settled until year end, so you may still need to file Form 1040-NR to prove your claim and recover any overwithheld tax.

5

What the W-4 does not change: FICA, state tax and your tax return

Form W-4 only controls federal income tax withholding. Social Security and Medicare tax (FICA) follow separate rules. A nonresident alien on F-1 OPT is generally exempt from FICA while still a nonresident, and an H-1B worker is not exempt, so an H-1B check is smaller than an OPT check at the same salary even after income tax is compared. The exemption ends once the worker becomes a resident alien.

Your state has its own withholding form in most states, so the federal W-4 does not set state tax. Check your employer’s onboarding portal for it.

Whatever the paycheck shows, the year-end return settles the true bill. Residents file Form 1040. Nonresidents who worked in the U.S. file Form 1040-NR, and they must file one to claim a refund of overwithheld tax. Our guide on who must file Form 1040-NR covers the filing rules, and you should file a new W-4 whenever your residency changes, such as the first year you pass the substantial presence test.

Common W-4 mistakes for H-1B and OPT workers

1
Filling out the resident form as a nonresident

Skipping the “NRA” notation means payroll withholds as if you were a resident, which under-withholds by the standard deduction effect. On an $80,000 salary that is about $136 per biweekly paycheck.

2
Writing “NRA” after you became a resident

The notation does not expire on its own. Once you pass the substantial presence test, submit a fresh W-4 without it, or you will have too much tax taken out every paycheck.

3
Checking Married filing jointly as a nonresident

The IRS tells nonresidents to check Single or Married filing separately regardless of marital status. A jointly-filing box brings wider brackets and under-withholding.

4
Claiming exemption from withholding

Notice 1392 says not to check the exempt box even if you appear to meet both conditions. For a working visa holder the claim is almost always wrong and leaves a large balance due.

5
Using an ITIN or an unmatched name

An ITIN is not accepted in Step 1(b), and a name that differs from your Social Security card can stop your wages from posting to your earnings record.

6
Trusting the Tax Withholding Estimator as an NRA

The IRS estimator is built for residents. Nonresidents should rely on Step 4(c) and a tax professional instead.

7
Claiming dependents in Step 3 when you are not from the four countries

Only nonresidents from Canada, Mexico, South Korea and India may use Step 3 for the child and other-dependent credits. Anyone else who enters amounts there risks too little withholding.

After you submit the form

Give the signed W-4 to your employer’s HR or payroll team, then read your first paycheck stub. A nonresident’s stub should show federal income tax well above a resident’s at the same pay, and no Social Security or Medicare line if you are an OPT nonresident. If the numbers look off, fix them with a new W-4 rather than waiting for April.

Review the form again after a marriage, a second job, a new employer, a change from F-1 to H-1B, or the year you start counting as a resident. Keep a copy for your records; the IRS says the worksheets are for your own files and are not sent to your employer.

Frequently Asked Questions

Can I use an ITIN on Form W-4?

No. Notice 1392 says an individual taxpayer identification number cannot be entered in Step 1(b). You need a Social Security number. If you have work authorization but no SSN, contact the Social Security Administration to find out whether you are eligible for one.

What do I write on Form W-4 if I am a nonresident alien?

Write “NRA” or “nonresident alien” in the space below Step 4(c). Also check Single or Married filing separately in Step 1(c), whatever your real marital status, and do not check the exempt from withholding box.

Is an H-1B worker a resident or nonresident alien for taxes?

Usually a resident alien from the first or second calendar year in H-1B, once the substantial presence test is met: 31 days this year and 183 weighted days over three years. Late-year arrivals may be nonresident for the first year, so count your days.

Is an F-1 OPT worker a nonresident alien?

Typically yes for the first five calendar years in the U.S., because F-1 students are exempt individuals and their days do not count toward the substantial presence test. After that, the 183-day count decides whether the worker becomes a resident alien.

What is the 2026 nonresident alien wage add-on for withholding?

Pub. 15-T for 2026 tells employers to add $16,100 a year to a nonresident alien’s wages before applying the tables. That is $619.20 on a biweekly paycheck and $1,341.70 monthly. The amount is not reported on the W-2.

Can a nonresident alien use the IRS Tax Withholding Estimator?

No. Notice 1392 says nonresident aliens should not use the Tax Withholding Estimator. Use Step 4(c) to add extra withholding per pay period if you want more tax taken out, and ask a tax professional if you need an exact figure.

Who can claim the child tax credit in Step 3 as a nonresident alien?

Only nonresident aliens from Canada, Mexico, South Korea or India may be able to claim the child tax credit or the credit for other dependents. The 2026 form values are $2,200 per qualifying child under 17 and $500 per other dependent.

Do OPT students pay Social Security and Medicare tax?

Generally not while they are nonresident aliens, because F-1 students are exempt from FICA on their work. H-1B workers are not exempt and pay Social Security and Medicare tax from their first paycheck, which is separate from Form W-4 income tax withholding.

Keep reading

More in Taxes →
What do you think? 51 reactions
Useful? 100%
Subscribe
Notify of
guest

0 Comments
Sai Sankar

Sai Sankar is a law postgraduate with over 30 years of experience across direct and indirect taxation, spanning consultancy, litigation, and policy interpretation. At VisaVerge.com he leads coverage of cross-border finance for immigrants and NRIs — U.S. and state income tax, IRS rules, tariffs and trade duties, foreign-asset reporting, gift and estate tax, and retirement accounts like IRAs and RMDs. Sai's legal acumen turns the tangled intersection of immigration and money into clear, actionable guidance for a global audience.