Skip to content
Student & Visa Tax

OPT Tax Filing for International Graduates

Your first pay cheque on OPT is where the US tax system stops being theoretical — and where the wrong amount is very often withheld.

+1 630 800 3523

What this service covers

OPT is work authorisation, not a change of status: you are still in F-1 status, and for tax purposes you are still counting the same five exempt calendar years. That single fact drives almost everything on your return. It usually means you file Form 1040-NR rather than Form 1040, that you should not be paying Social Security and Medicare tax, and that Form 8843 still has to accompany your return. It also means the clock is running — if you started a bachelor's and stayed for a master's, you may exhaust those five years while still on OPT and become a resident filer without anything announcing it. EvoTax works out which year you are in, checks your W-2 against what should have been withheld, files the correct return with the India treaty position where it applies, and if you are moving to H-1B works out which of the available treatments for that year actually leaves you better off.

Reviewed by Teja K, CPA · last reviewed . General information, not tax advice for your situation. How we research and review this.

Why Social Security and Medicare should not be on your OPT pay slip

This is the most common error on an OPT pay packet and the easiest to check. The exemption from Social Security and Medicare tax depends on two things holding at the same time: you are a non-resident alien, and you are in F-1 status with the employment authorised as part of that status. OPT satisfies the second. Whether you satisfy the first depends entirely on whether your five exempt calendar years are still running.

Payroll systems almost never assess this. A new-hire onboarding form captures a work authorisation document and a tax withholding election; it does not ask which calendar year of exempt status you are in. So the default behaviour is to treat you like any other employee, and the deductions appear.

  • Check boxes 4 and 6 on your Form W-2. Box 4 is Social Security tax withheld and box 6 is Medicare. On a correct OPT year where you remain exempt, both should be empty.
  • Ask the employer first. An employer who withheld in error can correct it and refund you directly, and that is materially faster than claiming from the IRS.
  • Failing that, it is claimed from the IRS with a refund claim and supporting documentation rather than on the tax return itself.
  • Confirm your status before assuming the withholding was wrong. If your exempt years are already used up, you are a resident for tax purposes, FICA is correctly due, and there is nothing to recover.

The recovery process itself — what to file, what evidence an employer statement needs, and how far back a claim reaches — is set out on our FICA tax refund page. This section is about establishing whether you have a claim at all, which is the step people skip.

The STEM extension is usually where the exempt clock runs out

A STEM OPT extension adds 24 months on top of the 12 months of post-completion OPT. For a graduate who did a bachelor's in the US as well, or who took a master's after a few years of study, those extra two years are very often what carries them past five calendar years of exempt status. The extension is an immigration benefit and changes nothing about tax by itself. What changes everything is the passage of time it permits.

Because the count is by calendar year rather than by elapsed months, the flip happens on 1 January rather than on an anniversary — and there is no notification, no new document, and nothing on the pay slip that marks it.

What changes on the day the exempt period ends
Compared onWhile exempt (non-resident)After the exempt period (resident)
Return filedForm 1040-NR plus Form 8843Form 1040
Income taxedUS-source onlyWorldwide, including Indian income
Social Security and MedicareShould not be withheldCorrectly due
Standard deductionVia Article 21(2) as an Indian studentAvailable as a resident
Indian bank accountsGenerally outside FBARFBAR at $10,000 aggregate
Indian mutual fundsGenerally not reportableAlmost always PFICs, with their own form
NRE interestNot US-taxableOrdinary taxable interest to the IRS

The right-hand column is where the real cost sits, and it has nothing to do with your US salary. NRE interest is genuinely tax-free in India, which is why almost nobody expects it to be taxable anywhere — and it becomes ordinary interest income on a US resident return. Indian mutual funds held through a demat account are almost always PFICs, reported under a regime designed to be unattractive. Neither of these is a problem while you are exempt, and both arrive together on the day you are not.

This is the single most useful thing to know in advance rather than in April, because some of it can be arranged differently before the year turns and none of it can be arranged differently afterwards.

Cap-gap keeps you in F-1 status, and that has a tax consequence

If your employer files a timely H-1B change-of-status petition while your OPT is still valid, the cap-gap provisions extend your F-1 status — and, where applicable, your work authorisation — past the date your OPT would otherwise have ended. Under the DHS rule effective January 2025 that extension runs until your approved H-1B start date, or 1 April of the relevant fiscal year, whichever comes first. Guidance published before 2025 says the period ends on 1 October, and that is now out of date.

The tax consequence is straightforward and frequently missed: throughout the cap-gap period you are still in F-1 status. If your exempt calendar years have not run out, the exempt-day treatment and the Social Security and Medicare exemption continue for that whole period. The correct point at which FICA starts is the date your H-1B status begins, not the date your OPT card expired and not the start of the fiscal year.

In practice this produces a specific payroll error worth checking for. An employer who treats the old OPT end date as the switch-over point begins withholding FICA weeks or months early, and every one of those pay periods is a wrongly withheld amount. Your Form W-2 for that year will show it as a single annual figure, so the only way to find it is to compare the withholding against the date your status actually changed.

Whether you qualify for a cap-gap extension at all is an immigration question, not a tax one. Your designated school official and an immigration attorney are the right people for that. We work from the status and dates you actually have.

The year OPT becomes H-1B: what most preparers assume wrongly

The common assumption is that an October H-1B start makes that year a dual-status year. For someone coming off OPT with exempt years still remaining, that is usually not the default outcome, and getting it wrong in either direction changes the tax.

Work it through. Your F-1 and OPT days are exempt, so they do not count. From an H-1B start on 1 October there are 92 days left in the year, and if your earlier years were exempt too there is nothing to add from them. The substantial presence test needs 183 days on the weighted count. It is not met — so by default you are a non-resident for the whole of that year and you file a full-year Form 1040-NR.

What creates the dual-status year is an election, not the calendar. The first-year choice lets you be treated as a resident from a chosen date, and it requires 31 consecutive days of presence in the year plus presence on at least 75 per cent of the days from the start of that 31-day period to the end of the year. It also requires that you are a resident under the substantial presence test in the following year, which is why the election frequently cannot be made by April and needs an extension to make it at all.

The two treatments available for an October H-1B start, compared
Compared onFull-year Form 1040-NR (default)Dual-status via the first-year choice
How it arisesAutomatically; the test is not metBy election, with conditions
Indian income before the H-1B startOutside US taxOutside US tax before the residency start date
Standard deductionAvailable via Article 21(2) as an Indian studentGenerally denied on the resident portion
Filing jointly with a spouseNot availableNot available on a dual-status return
TimingFile normallyOften needs an extension to October
Following yearResident, Form 1040Resident, Form 1040

The row that decides it for Indian filers is the standard deduction. Article 21(2) gives a student or business apprentice from India the standard deduction on a non-resident return — and a dual-status return generally denies the standard deduction on the resident portion. So the election that looks like an upgrade can produce more tax, not less. Which way it falls depends on how much of the year you worked on OPT, what the H-1B salary was for the final quarter, and whether you have Indian income that residency would pull into scope.

This is a calculation, not a rule of thumb, and it is worth doing in December rather than in April. Both treatments should be computed on your actual numbers before either is chosen.

Where this comes from

Why Choose EvoTax

Benefits & What You Get

Withholding checked against your actual status

We compare your W-2 against what your status required. Social Security and Medicare withheld from an exempt individual is the single most common OPT payroll error.

The five-year clock counted properly

Bachelor's plus master's plus OPT frequently exhausts the five exempt calendar years. We tell you which year flips you to resident before it happens.

STEM OPT extension years mapped

A 24-month STEM extension often carries you past the exempt period. That is a change of tax basis, not just a longer work permit.

India treaty position applied

The standard deduction available to Indian students and business apprentices can still apply while you are on OPT and non-resident. We claim it where it does.

The OPT-to-H-1B year planned, not discovered

An October H-1B start is usually a full-year non-resident return by default, with dual status available by election. We compute both before you choose.

Simple Process

How It Works

01

Fix your status for the year

We count your exempt calendar years from first entry, including every prior F-1 period, and determine resident or non-resident for the year.

02

Audit the withholding

We check Social Security and Medicare boxes on your W-2 against what your status required, and quantify anything wrongly taken.

03

Prepare and claim

Form 8843 plus Form 1040-NR with the India treaty position, or a resident return if your exempt years are used up, and any state return.

04

Look ahead

If H-1B is coming, we set out what your next filing year looks like and what to change now rather than in April.

Transparent Pricing

Pricing

OPT return (1040-NR)from $49.99

W-2 income with Form 8843

FICA refund assistancefrom $99.99

Recovering wrongly withheld FICA

OPT to H-1B dual-status yearfrom $149.99

Both treatments computed

Prior year reviewfrom $79.99

Per year assessed and amended

Final pricing depends on the complexity of your case. Contact us for an exact quote.

FAQ

Frequently Asked Questions

Do students on OPT pay taxes?

Yes — federal income tax, and usually state income tax, on your OPT wages. What you generally should not be paying is Social Security and Medicare tax, because as an exempt individual in F-1 status you are ordinarily outside FICA. So the correct answer is that OPT income is taxable but should be taxed differently from a normal employee's. If your pay slip shows Social Security and Medicare deductions, that is worth checking rather than assuming it is right.

Why did my employer withhold Social Security and Medicare on OPT?

Almost always because their payroll system treated you as it would any other new hire, not because anyone assessed your status. The exemption depends on your being a non-resident alien in F-1 status, which is not something a payroll onboarding form reliably captures. It can be recovered: first by asking the employer to correct it and refund you, which is the faster route, and failing that by claiming it from the IRS with supporting documentation. Note that if your five exempt calendar years are already used up, the withholding may be correct and no refund is due — which is why the status determination comes first.

Does the STEM OPT extension change my taxes?

Not directly, but it very often changes your tax status by extending how long you are in the country. The 24-month STEM extension frequently carries a graduate past the five exempt calendar years, and at that point the substantial presence test starts to apply normally: you become a resident filer, you file Form 1040 instead of 1040-NR, FICA becomes correctly due, and your Indian bank accounts come within FBAR and possibly Form 8938. The work permit changed nothing; the passage of time changed everything.

I moved from OPT to H-1B in October. How do I file?

Probably as a non-resident for the whole year, which surprises most people. Your F-1 and OPT days are exempt and do not count, so an H-1B start on 1 October leaves 92 countable days against the 183 the substantial presence test requires. The test is not met, so the default is a full-year Form 1040-NR. Dual status is available instead, but it arises from making the first-year choice rather than automatically, and that election has conditions including 31 consecutive days of presence and a 75 per cent presence test. It is not obviously the better option either: a dual-status return generally denies the standard deduction on the resident portion, whereas the Article 21(2) position available to Indian students can keep it on a full-year non-resident return. Both treatments should be computed on your actual numbers before one is chosen.

Do I pay state income tax on my OPT income?

In most states, yes, and the state answer does not follow the federal one. States set their own residency definitions, and many of them do not recognise US tax treaties at all — so the Article 21(2) standard deduction that works on your federal return may be unavailable on the state return beside it. Several states also treat you as a resident based on where you actually lived, regardless of your federal non-resident status. This is why a federal-only OPT return can look complete and still leave a state filing owed, and why the state question needs answering separately rather than inferred.

Can I still claim the India treaty standard deduction while I am on OPT?

Usually yes, because OPT does not change your status — you are still in F-1 status and, while your exempt calendar years last, still a non-resident. Article 21(2) of the US-India treaty applies to students and business apprentices from India, so where you continue to meet that description the standard deduction remains available on your Form 1040-NR. Two things end it. Once your five exempt calendar years are used up you file as a resident, and the standard deduction is simply available to you as a resident instead. And once you move to H-1B you are no longer a student or business apprentice, so the article stops reaching your income from that point. The transition year is where both of those interact, and it is the year worth having computed properly.

Is CPT taxed differently from OPT?

No. Both are employment authorisations attached to F-1 status, and for tax purposes the analysis is identical: your exempt-individual years, your resident or non-resident status, and whether FICA applies. What differs is timing — CPT happens during your programme and OPT after it — so CPT earnings are more often small and partial-year, and more often accompanied by scholarship or assistantship income that needs separating from wages on the return.

Do I still file Form 8843 while working on OPT?

Yes, for as long as you are an exempt individual, and it is filed together with your Form 1040-NR rather than instead of it. Having a job does not remove the Form 8843 requirement — the form documents your exempt status, and the wages are reported on the return. Once your exempt years are exhausted and you file as a resident, Form 8843 no longer applies.

Background reading and tools

The guides cover the federal treatment in detail. The calculators let you check a number before you commit to anything.

Talk to a US-credentialled preparer about your return

Talk to an EvoTax expert today. Free consultation, transparent pricing, no obligation.

+1 630 800 3523