Tax year 2026Checked

Which pre-tax benefits cut your tax on OPT vs H-1B? The numbers for 2027 open enrollment

What $1,000 of health premiums, a payroll HSA, a health FSA or a traditional 401(k) saves an OPT worker and an H-1B worker, at $60,000, $100,000 and $150,000, with the arithmetic.

$296.50 saved per $1,000 of health premiums, payroll HSA or FSA by an H-1B resident at $100,000 in Texas, at 2026 rates

In short

  1. On $1,000 of health premiums, a payroll HSA or a health FSA at $100,000 of pay in Texas, an OPT worker who pays no FICA saves $220 and an H-1B resident saves $296.50, at 2026 federal rates.
  2. A traditional 401(k) deferral avoids income tax but not Social Security and Medicare tax, so at $100,000 it saves both workers the same $220 per $1,000.
  3. At $60,000 a nonresident with no standard deduction is in the 22% bracket and a resident in the 12% bracket, so $10,000 in a traditional 401(k) saves the OPT worker $2,160 and the H-1B worker $1,200.
  4. What a 2027 election saves depends on your status in 2027: a student whose first year in the US as an F, J, M or Q student was 2022 owes FICA from their residency starting date in 2027 if they meet the substantial presence test that year.
  5. For 2027 the HSA limit is $4,500 (self-only) and the health FSA limit is $3,500; the 2027 401(k) limit is not yet published ($24,500 for 2026).
Contents, 10 sections

A pre-tax benefit saves your top federal income tax rate, plus 7.65% Social Security and Medicare tax (FICA) if the benefit escapes FICA and you pay it. At $100,000 of pay and 2026 rates, $1,000 of health premiums, payroll HSA or health FSA saves $220 for an F-1 worker on OPT who pays no FICA. It saves $296.50 for an H-1B worker, and a traditional 401(k) saves both $220.

If your employer's plan year is the calendar year, open enrollment in late 2026 sets your elections for 2027. The open enrollment checklist walks through each election and its 2027 limit.

The figures below use 2026 federal rates and limits for a single worker in Texas, which has no state income tax. They are federal only unless a state row says otherwise.

For the rest of your return, start with the guide to US taxes for international students.

Which taxes does each pre-tax election avoid?

Health premiums, a health FSA and an HSA funded through a cafeteria plan avoid both federal income tax and FICA; a traditional 401(k) avoids only income tax. A Roth 401(k) avoids neither now: its benefit is a tax-free qualified payout later.

Which federal taxes each payroll election avoids, from Publication 15 (2026), Publication 15-B (2026) and Publication 525.
Election through payroll Federal income tax Social Security and Medicare
Health, dental and vision premiums (Section 125) Avoided Avoided
Health FSA Avoided Avoided
HSA through a cafeteria plan Avoided Avoided
Dependent care FSA (up to $7,500; $3,750 married filing separately) Avoided Avoided
Traditional 401(k) Avoided Paid
Roth 401(k) Paid Paid

The FICA column only matters if you owe FICA.

An F-1 student on OPT who is a nonresident alien pays no Social Security or Medicare tax on that pay (IRS). H-1B pay owes it from the first day of H-1B work, unless a totalization agreement covers you (IRS). The rates are 6.2% up to the wage base ($184,500 in 2026) and 1.45% on all wages (SSA).

An HSA you fund yourself, outside payroll, saves no FICA, and whether a nonresident may deduct it is not settled. Every HSA figure here is a payroll HSA, meaning one funded through your employer's cafeteria (Section 125) plan.

HSA money taken from pay outside a cafeteria plan counts as wages for Social Security and Medicare tax (Publication 15). Ask HR which kind your employer offers. The HSA guide covers the rest.

Key facts

Saved per $1,000 of premiums, payroll HSA or health FSA at $100,000 (Texas, 2026 rates)
$220 on OPT (nonresident, no FICA); $296.50 on H-1B (resident all year)
Saved per $1,000 of traditional 401(k) at $100,000
$220 for both: deferrals still pay Social Security and Medicare tax
Extra saving for a FICA payer on premiums, FSA and payroll HSA
7.65% of pay up to the Social Security wage base ($184,500 in 2026, $192,300 in 2027), 1.45% above it
2027 HSA limit
$4,500 self-only, $9,000 family ($4,400 and $8,750 in 2026)
2027 health FSA limit
$3,500 ($3,400 in 2026)
2027 401(k) deferral limit
Not yet published; $24,500 for 2026
For
F-1 students on OPT or STEM OPT and H-1B workers choosing payroll benefits at open enrollment for the 2027 plan year.
Not for
Anyone looking for a recommendation of a plan, an insurer or an investment; Indian students who take the standard deduction under Article 21(2); and how your home country taxes a US account.

Why can an OPT worker save more than an H-1B worker at $60,000?

A nonresident alien generally gets no standard deduction, so in a state with no income tax their whole salary is taxable income and they reach a higher bracket sooner. The IRS says plainly that "If you are a nonresident of the U.S., you cannot claim the standard deduction" (Nonresident: Figuring your tax).

The 2026 single brackets are 10% to $12,400, 12% to $50,400, 22% to $105,700 and 24% to $201,775 (Revenue Procedure 2025-32). A resident subtracts the $16,100 standard deduction first, so they do not reach 22% until $66,500 of wages ($50,400 + $16,100).

Worked example: Linh on OPT and Ana on H-1B, $60,000 each in Texas

Linh, an illustrative F-1 graduate from Vietnam (no US income tax treaty), first came to the US in 2023. In 2026, their fourth calendar year, Linh is a nonresident alien and pays no FICA. Ana, also illustrative, is on H-1B and a resident alien all year. Each puts $10,000 into a traditional 401(k).

Line Linh (OPT) Ana (H-1B)
Wages $60,000 $60,000
Standard deduction $0 $16,100
Taxable income before the 401(k) $60,000 $43,900
Top bracket 22% 12%
Tax saved by $10,000 of 401(k) $9,600 x 22% + $400 x 12% = $2,160 $10,000 x 12% = $1,200

Linh's last $9,600 is above $50,400, in the 22% band; the other $400 is in the 12% band. On $2,400 of health premiums the gap narrows: Linh saves $2,400 x 22% = $528, and Ana saves $2,400 x 12% = $288 plus $2,400 x 7.65% = $184 of FICA, or $472.

An Indian student or business apprentice can take the standard deduction under Article 21(2) of the US-India treaty, so these rows do not fit them. No IRS ruling we found settles whether that article reaches OPT pay; the Article 21(2) guide and the standard deduction guide explain who takes it.

What does each election save at $60,000, $100,000 and $150,000?

At $100,000 and $150,000 the whole difference is FICA, and only on health elections: the H-1B resident saves 7.65% more on premiums, an HSA or an FSA. At $60,000 the OPT worker saves more on every election, as the example shows.

Estimated federal tax and FICA saved in 2026, single, Texas, from F1TaxReturn's estimator at 2026 rates. OPT: a FICA-exempt nonresident with no treaty; H-1B: a resident all year.
Salary and worker Top rate $2,400 premiums $4,400 payroll HSA $3,400 health FSA $10,000 traditional 401(k)
$60,000, OPT 22% $528 $968 $748 $2,160
$60,000, H-1B 12% $472 $865 $668 $1,200
$100,000, OPT 22% $528 $968 $748 $2,200
$100,000, H-1B 22% $712 $1,305 $1,008 $2,200
$150,000, OPT 24% $576 $1,056 $816 $2,400
$150,000, H-1B 24% $760 $1,393 $1,076 $2,400

Each figure is the election times the top rate, plus 7.65% for the H-1B worker on everything but the 401(k), rounded to whole dollars. Linh's $60,000 401(k) row is the exception, worked above. At $100,000 the HSA saves the OPT worker $4,400 x 22% = $968, and the H-1B worker $968 + $4,400 x 7.65% ($337) = $1,305.

The FICA parts are $2,400 x 7.65% = $184, $4,400 x 7.65% = $337 and $3,400 x 7.65% = $260. A Roth 401(k) saves $0 now in every row.

Other salaries can split the rates again. From $105,700 to $121,800 of pay the nonresident is in the 24% bracket and the resident in the 22% bracket ($105,700 + $16,100 = $121,800).

Tax saved on $1,000 at $100,000 in Texas: premiums, HSA or FSA save $220 on OPT and $296.50 on H-1B, with $76.50 of it FICA. A traditional 401(k) saves both $220; a Roth 401(k) $0 now.Bar chart for a single worker in Texas earning $100,000, at 2026 federal rates. On $1,000 of health premiums, payroll HSA or health FSA, an OPT worker who is a nonresident and pays no Social Security or Medicare tax saves $220 of federal income tax; an H-1B worker who is a resident all year saves $296.50: $220 of income tax plus $76.50 of Social Security and Medicare tax. On $1,000 of traditional 401(k) deferrals both save $220. A Roth 401(k) saves $0 now for both.Tax saved on $1,000 at $100,000 of paySingle, Texas, 2026 federal ratesFederal income taxSocial Security and MedicareHealth premiums, payroll HSA or health FSAOPT worker, nonresident (no FICA)$220H-1B worker, resident all year$296.50$220 income tax + $76.50 FICATraditional 401(k)OPT worker, nonresident (no FICA)$220H-1B worker, resident all year$220Roth 401(k): $0 now for both workersTax saved on $1,000 at $100,000 in Texas: premiums, HSA or FSA save $220 on OPT and $296.50 on H-1B, with $76.50 of it FICA. A traditional 401(k) saves both $220; a Roth 401(k) $0 now.Bar chart for a single worker in Texas earning $100,000, at 2026 federal rates. On $1,000 of health premiums, payroll HSA or health FSA, an OPT worker who is a nonresident and pays no Social Security or Medicare tax saves $220 of federal income tax; an H-1B worker who is a resident all year saves $296.50: $220 of income tax plus $76.50 of Social Security and Medicare tax. On $1,000 of traditional 401(k) deferrals both save $220. A Roth 401(k) saves $0 now for both.Tax saved on $1,000at $100,000 of paySingle, Texas, 2026 federal ratesFederal income taxSocial Security and MedicarePremiums, payroll HSA or FSAOPT worker, nonresident$220H-1B worker, resident$296.50$220 income tax + $76.50 FICATraditional 401(k)OPT worker, nonresident$220H-1B worker, resident$220Roth 401(k): $0 now for both
At $100,000, FICA is the whole difference, and only on health elections.

The take-home calculator models 401(k), HSA and other pre-tax benefits for your own pay.

Does my status in 2027 change what a 2027 election saves?

What a 2027 election saves depends on your tax status in 2027, because that is the year the payroll deductions come out.

A student whose first year in the US as an F, J, M or Q student was 2022 has 2022 to 2026 as exempt years. If they meet the substantial presence test in 2027, they are a resident from their residency starting date and owe FICA from then.

From that date, their premiums, FSA and payroll HSA save 7.65% more than a 401(k) dollar, like the H-1B rows above. A worker who changes from F-1 to H-1B owes FICA from the first H-1B day, whatever their residency. The sixth-year guide shows how to find your starting date, and the OPT vs STEM OPT vs H-1B take-home comparison shows the change in a paycheck.

Which states tax these benefits differently?

California taxes HSA contributions, New Jersey taxes health premiums and FSAs bought through a cafeteria plan, and Pennsylvania taxes 401(k) deferrals. Other states were not checked for this guide.

  • California allows no deduction for HSA contributions, adds back an employer's contribution and taxes HSA earnings each year (FTB Schedule CA (540) instructions).
  • New Jersey "does not adopt the federal income tax treatment of cafeteria plans" (TB-39(R)), though 401(k) deferrals follow the federal rule.
  • Pennsylvania counts contributions to a qualified deferred compensation plan as compensation, but exempts Section 125 contributions for hospitalization, sickness, disability or death coverage to the extent they are exempt federally (PA Department of Revenue).
Estimated federal, FICA and state income tax saved at $100,000, OPT nonresident then H-1B resident, from F1TaxReturn's estimator at 2026 rates. California uses 2026's deduction and credit with the 2025 rate schedule. State payroll programs are left out.
State $2,400 premiums $4,400 payroll HSA $10,000 traditional 401(k)
California $702 / $935 $968 / $1,305 $2,926 / $3,130
New Jersey $528 / $712 Not estimated $2,696 / $2,837
Pennsylvania $586 / $786 Not estimated $2,200 / $2,200

Three cells carry no state saving: the HSA in California, premiums in New Jersey and the 401(k) in Pennsylvania.

A nonresident's federal saving shrinks in a state with income tax, because the election also lowers their state tax deduction. In California the OPT worker's federal saving on premiums is $479, not $528. State payroll programs, such as disability or family leave contributions, may also be withheld; check your pay stub.

In what order do the elections save the most tax?

For a FICA payer, a dollar of premiums, health FSA or payroll HSA saves 7.65% more than a traditional 401(k) dollar at the same tax rate. For a FICA-exempt nonresident on OPT, every pre-tax dollar saves the same now at the same tax rate.

These are decision rules, not advice:

  1. If your plan matches 401(k) deferrals, the match is employer money on top of any tax saving, and no figure here counts it. The 401(k) guide for OPT and H-1B explains matches and vesting.
  2. If you pay FICA, a payroll HSA or FSA dollar beyond the match saves more now than an extra 401(k) dollar in the same bracket: 7.65% more below the wage base ($192,300 for 2027 pay), 1.45% more above it. An HSA needs HDHP coverage each month, and a health FSA generally must be spent within its plan year.
  3. If you are FICA-exempt, compare what happens later. A health FSA you do not spend is generally lost, unless the plan offers a grace period or a carryover (up to $700 into 2028); a traditional 401(k) is generally taxed by the US when it is paid out, even after you leave, unless a treaty exempts it.
  4. If you are choosing Roth or traditional, a traditional deferral saves your top rate now and a Roth deferral saves $0 now. The IRA and Roth IRA guide covers the Roth side.

The 2027 health account limits are published. An HSA takes up to $4,500 self-only or $9,000 family (Revenue Procedure 2026-24), and a health FSA up to $3,500 (Revenue Procedure 2026-35). The 2027 401(k) limit is not yet published; for 2026 it is $24,500 (Notice 2025-67).

What happens to a traditional 401(k) saving if I leave the US?

The US generally taxes a traditional 401(k) paid to you as a nonresident alien unless a treaty exempts it, so today's saving can be partly a postponement. Publication 519 treats the part from contributions for US work as effectively connected income "whether or not you are engaged in a U.S. trade or business" that year.

Without a treaty exemption, the payer withholds "at the statutory rate of 30% on the entire distribution that is from sources within the United States" (Publication 515). The payer may instead withhold at graduated rates on the part that comes from your US work.

The IRS Tax Treaty Table 1 lists these rates on US pensions paid to a treaty resident. The table covers income that is not effectively connected, and no IRS text we found says whether a 0% rate reaches the part Pub 519 treats as effectively connected. Read the article itself before relying on a rate.

Country of residence Pension rate in Table 1
China 0% (not for annuities)
India 0% (not for a lump sum)
South Korea, Japan 0%
Canada 15% (not for a lump sum)
Philippines 30% (some annuities exempt)
Vietnam, Nepal, Nigeria, Taiwan No US income tax treaty

The early withdrawal guide and the guide to moving back to India work through a cash-out.

What to do next

  1. Count your exempt years to see whether you will be a resident in 2027, which decides whether your health elections save FICA.
  2. Read your plan summary: which elections go through the cafeteria plan, whether the HSA is funded by payroll, and the 401(k) match.
  3. Put your salary, state and elections into the take-home calculator to see the saving at your own bracket.
  4. Make your elections before your employer's open enrollment closes. If you are comparing Marketplace coverage, read the 2027 subsidy change for visa holders first.
  5. File your 2026 return by Thursday, April 15, 2027 if you had wages. Pre-tax amounts are already left out of W-2 box 1, so you claim nothing extra for them. With an HSA, Publication 969 still says to report all contributions, your employer's included, on Form 8889 with your return. F1TaxReturn does not prepare Form 8889. It prepares Form 1040-NR and Form 8843 for free once the IRS publishes the final 2026 forms; it does not prepare Form 1040 for residents.

Questions students ask

Do pre-tax health premiums save Social Security and Medicare tax on OPT?

Not while you are a nonresident alien on OPT, because your OPT pay is already free of Social Security and Medicare tax. The premiums still come out of your taxable wages, so they save your top federal income tax rate: $220 per $1,000 in the 22% bracket.

On H-1B, does a dollar in an HSA save more than a dollar in a 401(k)?

At the same tax rate, yes: a payroll HSA dollar avoids income tax and 7.65% Social Security and Medicare tax, while a traditional 401(k) dollar avoids only income tax. At $100,000 that is $296.50 against $220 per $1,000. An employer match, the HSA's eligibility rules and what you expect to do later are not in that comparison.

Does a traditional 401(k) lower my Social Security tax?

No. Elective deferrals stay subject to Social Security and Medicare tax, so an H-1B worker pays 7.65% on them below the wage base. An F-1 worker on OPT who is a nonresident alien pays neither tax on that pay to begin with.

Why is my tax bracket higher on OPT than a resident's at the same salary?

Nonresident aliens generally cannot take the standard deduction ($16,100 for 2026), so all of their wages are taxable income. At $60,000 that puts an OPT worker in the 22% bracket while a resident with the same pay is in the 12% bracket. Indian students and business apprentices can take the standard deduction under Article 21(2) of the US-India treaty, but no IRS guidance we found says whether that reaches OPT pay.

Which states tax an HSA or a cafeteria plan?

California does not allow a deduction for HSA contributions and adds back an employer's contribution. New Jersey taxes benefits bought by salary reduction, such as health premiums and a flexible spending arrangement. Pennsylvania taxes 401(k) deferrals.

Sources

This guide is checked against these 18 documents, most recently on .

  1. Publication 15 (2026), (Circular E), Employer's Tax Guide, IRS
  2. Publication 15-B (2026), Employer's Tax Guide to Fringe Benefits, IRS
  3. Publication 525 (2025), Taxable and Nontaxable Income, IRS
  4. Revenue Procedure 2025-32 (2026 tax rates, standard deduction and health FSA limit), IRS
  5. Revenue Procedure 2026-24 (2027 HSA limits), IRS
  6. Revenue Procedure 2026-35 (2027 health FSA limit), IRS
  7. Notice 2025-67, 2026 amounts relating to retirement plans and IRAs, IRS
  8. Nonresident: Figuring your tax, IRS
  9. Foreign student liability for Social Security and Medicare taxes, IRS
  10. Contribution and Benefit Base, Social Security Administration
  11. Publication 969 (2025), Health Savings Accounts and Other Tax-Favored Health Plans, IRS
  12. Alien liability for Social Security and Medicare taxes of foreign teachers, foreign researchers and other foreign professionals, IRS
  13. Publication 519 (2025), U.S. Tax Guide for Aliens, IRS
  14. Publication 515 (2026), Withholding of Tax on Nonresident Aliens and Foreign Entities, IRS
  15. Tax Treaty Table 1, Tax Rates on Income Other Than Personal Service Income (Rev. May 2023), IRS
  16. 2025 Instructions for Schedule CA (540), California Franchise Tax Board
  17. TB-39(R), Cafeteria Plans, New Jersey Division of Taxation
  18. PA Personal Income Tax Guide, Gross Compensation, Pennsylvania Department of Revenue