Visa

F-1 to OPT to STEM OPT to H-1B for Indian Students: The Full Timeline, the Unemployment Clock, the FICA Window, and the Tax-Residency Switch Nobody Warns You About

The Indian student's F-1 to OPT to STEM OPT to H-1B path in 2026: the 12+24 month timeline, the 90/150-day unemployment clock, cap-gap, FICA and the tax shift.

, NRI Finance WriterReviewed 8 April 202620 min read

An Indian student finishes a master's in computer science in May, starts OPT in July, lands a job at a mid-size firm, files for the H-1B lottery the following March, does not get picked, files again the next March, gets picked, and starts H-1B on 1 October. On paper that is a clean five-year arc from landing at the airport to a cap-subject petition. In practice there are three separate clocks running underneath it, each capable of ending the whole thing early, and almost nobody maps all three at once: the work-authorisation clock (12 plus 24 months), the unemployment clock (90 then 150 days), and the tax-residency clock (five calendar years, after which you quietly stop being an NRI and start being a US resident taxed on worldwide income).

The 30-second answer: An Indian STEM graduate gets 12 months of post-completion OPT plus a 24-month STEM OPT extension, so up to 36 months of F-1 work authorisation; non-STEM gets only 12 months. You may accrue no more than 90 days of unemployment on OPT and 150 days total including STEM OPT before you fall out of status. You get an H-1B lottery attempt each March; under the weighted selection rule finalised 29 December 2025, odds run from roughly 15% at wage Level I to 61% at Level IV. You are FICA-exempt (no Social Security or Medicare) while a nonresident alien, which for F-1 is the first five calendar years in the US; after that you become a US tax resident taxed on worldwide income, and your NRI status in India is governed separately by your days in India.

This guide assumes you already know what F-1 and H-1B are. What follows is the part that costs money and status: how the three clocks interact, the exact cap-gap mechanic that saves you if the lottery comes through late, the FICA window and the year it closes, the H-1B odds after the 2025 overhaul, and how all of this lands on your tax position both in the US and back in India. Several of these rules changed in late 2025 and are being litigated right now, so I will flag where the ground is still moving.

The 12-plus-24 structure, and why the start date matters more than the end date

Post-completion OPT gives an F-1 graduate twelve months of work authorisation in the field of study. If your degree appears on the DHS STEM Designated Degree Program List (most engineering, computer science, data science, many quantitative finance and analytics programmes, but check the exact CIP code on your I-20, because adjacent-sounding degrees sometimes are not listed), you can apply for a 24-month STEM OPT extension on top, for a combined 36 months. A non-STEM master's, an MBA that is not STEM-designated, most pure humanities degrees, gets the 12 months and nothing more. That single fact, whether your CIP code is STEM, is the largest determinant of how many H-1B lottery attempts you get, and you should have checked it before you enrolled, not after you graduated.

The trap is the start date, not the end. OPT does not begin when you graduate; it begins on the start date printed on your EAD card, which you choose within a window. You must apply within a tight period (USCIS accepts the OPT application up to 90 days before your programme end date and up to 60 days after), and your chosen OPT start date must fall within 60 days of completing your degree. Miss that 60-day window and you do not get OPT at all. Choose a start date too early and you burn authorisation before you have a job; choose it at the far edge of the window and you protect more runway. Because the unemployment clock (next section) starts ticking from the OPT start date, the date you pick on the application quietly sets the deadline by which you must be employed.

There is also a 90-day processing reality in 2026 that you have to plan around. USCIS OPT and STEM OPT adjudications have been running slow, with reports of thousands of applications stalled, which means you can be sitting with a graduation behind you, a job offer in hand, and no EAD card in your wallet for months. You cannot legally work until the card is approved and its start date arrives. Build that delay into your offer conversations; a sympathetic employer will hold a start date, an inflexible one will not.

The unemployment clock is the one that kills most people quietly

Here is the rule that ends more F-1 careers than the lottery does, and it is barely discussed at orientation. While on post-completion OPT you may accrue no more than 90 days of unemployment. If you get the STEM OPT extension, you get an additional 60 days, for 150 days total across the whole OPT period. Cross it and you are out of status, your SEVIS record can be terminated, and the days beyond can be counted as unlawful presence, which poisons future visa applications and re-entry.

The counting is unforgiving and counterintuitive in three ways. First, the clock runs in calendar days, weekends and holidays included, from your OPT start date, not from the day you started looking. Second, the 90 days on OPT and the 60 on STEM OPT are not a fresh 150; if you burned 70 days job-hunting on regular OPT, you carry that into STEM OPT and have only 80 left, not 150. Third, "employment" for this purpose has a minimum: you generally need to be working at least 20 hours a week in a role related to your degree, and STEM OPT specifically requires a bona fide paid employer-employee relationship, not unpaid volunteering or a one-person consultancy with no real training plan.

Put real numbers on the squeeze. Take Ananya, who starts OPT on 1 August 2026 and spends four months finding her first role, starting work on 1 December. That is 122 days of unemployment, which already exceeds the 90-day cap on regular OPT. She is technically out of status before she even begins her STEM extension, even though she felt like she was "just job hunting". Compare that to Vikram, who starts OPT the same day but takes a temporary related role within 50 days while continuing to interview. He has used 50 days, carries 40 into STEM OPT, and with the extra 60 has 100 days of cushion left for any future gap, say if he is laid off between jobs two years later. The counterfactual is stark: Ananya needs a reinstatement or has to leave; Vikram has a buffer for a layoff. The difference was not talent. It was understanding that the clock starts on day one and does not pause.

The defensible move during a long search is to take any genuine, degree-related, at-least-20-hours role to stop the clock, even at a lower salary, and keep interviewing. A paid related job, even a modest one, is worth more to your status than holding out for the perfect offer while the 90 days bleed away.

Cap-gap: the bridge from an expiring EAD to an October H-1B start

The cruellest scheduling problem in the whole path is this: H-1B cap-subject employment cannot begin before 1 October, but your OPT EAD might expire months earlier, say a graduation-cycle EAD that runs out on 30 June. Without a fix, a selected, approved H-1B beneficiary would have a dead summer with no work authorisation. Cap-gap is that fix.

If your employer files a timely, cap-subject H-1B petition requesting a change of status while your OPT (or STEM OPT) is still valid, and you are selected, your F-1 status and your OPT work authorisation are automatically extended to bridge the gap. You do not file anything separate and you do not get a new EAD card; the extension is automatic on the strength of the pending or approved petition. As of a DHS final rule effective 17 January 2025, that automatic bridge now runs all the way to 1 April of the relevant fiscal year (previously it ended on 1 October, which still left awkward edge gaps). In plain terms, a selected student whose EAD expires in summer can keep working through to the 1 October H-1B start, and the status protection itself stretches to the following April as a backstop.

Two conditions trip people up. First, cap-gap only triggers if the petition is selected and timely filed before your authorisation lapses; if your EAD already expired before the petition was filed, there is nothing to bridge. Second, cap-gap covers a change-of-status petition; if your employer files for consular processing instead (you would get the visa at a consulate abroad), the work-authorisation bridge does not apply the same way, and the 2025 $100,000 fee question (below) bites harder. Confirm with your employer's immigration counsel that they are filing change of status, not consular notification, if you are relying on cap-gap.

The FICA window: roughly 7.65% you do not pay, until the year you do

This is the part with a clean dollar figure and a hard cut-off date, and it is the one I see Indian students misjudge most. While you are a nonresident alien for US tax purposes, your OPT wages are exempt from FICA, the combined 6.2% Social Security plus 1.45% Medicare, 7.65% total, that comes out of every American paycheck (your employer also saves their matching 7.65%, which is sometimes a quiet point in your favour during salary talks). The exemption sits in IRC Section 3121(b)(19) and applies to F-1 students performing services in line with their visa, including OPT and STEM OPT.

The catch is when "nonresident alien" ends. F-1 students are exempt individuals under IRC Section 7701(b) for the first five calendar years of US presence, and during those years your days do not count toward the substantial presence test. The counting is by calendar year, and even a partial year counts as a full one. A student who first arrived in August 2021 has used calendar years 2021, 2022, 2023, 2024 and 2025 as exempt years; from 1 January 2026 they are no longer an exempt individual, they start counting days under the substantial presence test, and if they meet it (they will, working full-time on OPT), they become a US tax resident and FICA starts being withheld.

Here is the money on it. Say you earn USD 95,000 on OPT. While FICA-exempt, you keep the 7.65%, roughly USD 7,267 a year, that a comparable resident colleague loses to payroll tax (Social Security applies up to the annual wage base; Medicare has no cap). Over three years of OPT inside the exempt window that is north of USD 21,000 you keep that the green-card holder next to you does not. The counterfactual is the student whose fifth calendar year ends mid-OPT: from that 1 January, the 7.65% starts coming out, and a salary that funded a certain lifestyle suddenly nets less. If you arrived in the autumn and graduate after a two-year master's plus OPT, plan for the FICA switch to hit partway through your OPT, not at H-1B. And if an employer withholds FICA while you were still genuinely a nonresident alien, that was withheld in error; you can claim it back, first from the employer, then via IRS Form 843 and Form 8316 if they will not refund it.

The bigger tax event hiding behind FICA: you become a worldwide-income taxpayer

FICA is the visible 7.65%. The larger, quieter event in that same fifth-year switch is that you move from filing Form 1040-NR (nonresident, US-source income only) to Form 1040 (resident, worldwide income). The day you become a US tax resident, the US wants to tax your Indian fixed deposit interest, your Indian mutual fund and share gains, your rental income from the flat in Pune, all of it, with foreign tax credits for what India already took.

For an Indian student this has three sharp edges that almost no campus tax workshop covers. The first is PFIC. Your Indian mutual funds and most Indian ETFs are passive foreign investment companies in US eyes, and once you are a US resident they are taxed under a punitive regime (the default Section 1291 method stacks gains across years and adds an interest charge) with onerous Form 8621 reporting. Many Indian students unknowingly keep SIPs running in Indian equity funds straight through the residency switch and create a compliance mess. Once you are heading toward US residency, Indian mutual funds become a liability, not an asset; this overlaps heavily with the mutual fund eligibility and PFIC problem that affects all US-based NRIs.

The second is FBAR and FATCA. As a US resident you must report foreign financial accounts: FinCEN Form 114 (FBAR) if your aggregate foreign accounts exceed USD 10,000 at any point in the year, and Form 8938 (FATCA) above higher thresholds. That captures your NRE, NRO and any leftover resident savings accounts in India. The penalties for missing FBAR are severe and the form is separate from your tax return.

The third is your Indian residency in parallel. Becoming a US tax resident does not, by itself, change what India thinks of you. India decides your status by days physically in India under its own day-count test, and the RNOR and residency rules run independently. Through your student and OPT years you are almost certainly a non-resident in India (well under 182 days a year there), so India taxes only your India-source income, and the India-US DTAA lets you credit one country's tax against the other to avoid paying twice on the same rupee or dollar. The point to internalise: you can be a US tax resident and an Indian non-resident at the same time, and that dual status is normal, not a problem, as long as you file both sides correctly and use the treaty.

H-1B odds in 2026: the lottery stopped being a pure coin flip

The H-1B path used to be a clean random draw. As of the weighted selection process DHS finalised on 29 December 2025, it is not. Registrations are now weighted by the offered wage level: a Level IV (expert) offer gets four entries, Level III gets three, Level II gets two, and Level I (entry) gets one. The practical effect on individual odds, as estimated for the FY2027 cycle, is roughly 15% at Level I, 31% at Level II, 46% at Level III, and 61% at Level IV. The overall selection rate across all registrations is estimated at 34% to 42%, against 35.3% per-beneficiary in FY2026 (118,660 selected from 336,153 eligible unique beneficiaries).

Two structural facts still help Indian students specifically. First, a US master's or higher gives you two bites: you go into the 20,000 advanced-degree cap first, and if not selected there you fall into the general 65,000 pool. That dual lottery is the single strongest reason a US graduate degree, even an expensive one, pays for itself on visa odds alone. Second, the beneficiary-centric rule (each person registered once, by name, regardless of how many employers register them) has cut the gaming that used to flood the pool with duplicate registrations, which structurally lifts the odds for genuine single-employer candidates.

The brutal new variable is money. A presidential proclamation of 19 September 2025 imposed a USD 100,000 fee on certain H-1B petitions, and on 23 December 2025 a federal district court in DC upheld it, though two further challenges (a 20-state coalition in Massachusetts and an earlier California suit) remain pending as of this writing. The fee, as implemented, applies primarily to beneficiaries who are outside the United States and lack a valid H-1B visa. The good news, if you are reading this as a student already in the US filing a change of status, is that the fee is generally not aimed at you. The likely second-order effect actually helps: with overseas registrations expected to drop because of the fee, the pool shrinks and selection odds for change-of-status candidates already in the US may rise. But "as implemented" and "expected" are doing real work in those sentences, because this is exactly the kind of rule that a court could narrow or expand on appeal. Do not treat the $100,000 carve-out for in-country candidates as permanent law.

Practically, the wage-level weighting changes your strategy before you even graduate. A job offer pitched at Level III or IV (more senior title, higher prevailing wage for the role and location) does not just pay more; it multiplies your lottery entries. An Indian student choosing between a flashy startup paying a Level I wage and a larger firm offering a Level III role should understand that the Level III offer roughly triples the registration entries and, in this new system, materially improves the odds of ever getting H-1B at all.

The full timeline, one Indian STEM master's student, end to end

Here is the whole arc laid out for a STEM graduate who arrives, studies a two-year master's, and works through to H-1B. The dates assume a May graduation and a July OPT start; shift them to your own.

Stage Approx timing What is running The risk if you miss it
Arrive on F-1, begin master's Aug Year 0 Tax-residency clock starts (calendar Year 0 = exempt year 1) Late arrival still burns a full calendar exempt year
Graduate, OPT application window Feb to Jul Year 2 Must apply within 90 days before to 60 days after programme end No OPT at all if the 60-day post-completion window lapses
OPT start date (on EAD) Jul Year 2 12-month OPT clock + 90-day unemployment clock both start EAD processing delays can push your real start later
First H-1B registration Mar Year 3 Lottery (weighted by wage level) Non-selection burns your first of typically 2 to 3 attempts
Apply for 24-month STEM OPT Before OPT expires, Year 3 Adds 24 months + 60 unemployment days (150 total) Must be STEM CIP code + E-Verify employer + Form I-983
FICA / tax-residency switch 1 Jan of 6th calendar year FICA (7.65%) begins; file Form 1040, worldwide income PFIC, FBAR, FATCA exposure begins this date
Second / third H-1B registration Mar Year 4 (and Year 5) Lottery again STEM OPT expiry with no selection ends the runway
H-1B selected, petition filed Mar to Jun Cap-gap auto-extends F-1/OPT if EAD would lapse Only works for change of status, not consular
H-1B start 1 Oct Move from F-1 to H-1B; FICA already applies Gap if EAD expired before petition filed

The single most important row is the tax-residency switch, because it is the only one that is invisible. No card expires, no SEVIS alert fires, no employer reminds you. You simply cross from your fifth into your sixth calendar year and become a different kind of taxpayer overnight, and the only way to be ready for it is to have counted your calendar years from the day you landed.

Edge cases

Two degrees, or a gap year, reset less than you think on tax but help on OPT. If you do a second US degree (a master's after a bachelor's, or a PhD after a master's), you get a fresh 12-month OPT at each higher education level, which is a legitimate way to extend your runway and earn more lottery attempts. But the five-year exempt-individual count for tax is cumulative across your whole F-1 history, not per degree. A student who did a four-year US bachelor's has already used four exempt calendar years before the master's even starts, and will hit the FICA and worldwide-income switch early in OPT. Bachelor's-plus-master's students should expect to become US tax residents during, not after, their first OPT.

STEM OPT requires a real employer and a real training plan. The 24-month extension is not a free pass to freelance. Your employer must be enrolled in E-Verify, you must file Form I-983 with a genuine training plan tied to your degree, and you owe 6-, 12-, 18- and 24-month validation reports to your DSO. Self-employment, unpaid roles, and staffing-agency placements with no real training relationship are routinely rejected or unwound. A material change in employment requires a modified I-983 filed promptly.

Getting laid off on H-1B later is a separate 60-day clock. This guide ends at H-1B start, but know that the unemployment discipline does not. An H-1B holder who loses their job gets a 60-day grace period to find a new sponsor, change status, or leave. The habit you build on OPT, treat every gap as a ticking clock and take a defensible role fast, is the same habit that protects you years into H-1B.

Your Indian accounts need a status change, but not when you become a US tax resident, when you became an NRI. Strictly, you should redesignate your Indian resident savings accounts to NRO and consider NRE the moment you qualify as a non-resident under Indian law, which for a student who left and stays abroad happens early, independent of any US date. Many students leave a resident account running for years. Fix the Indian-side designation based on your Indian residency, and your US-side reporting (FBAR, 8938) based on your US residency; the two are separate exercises.

The closing read

The honest read is that the F-1 to H-1B path is not one decision but a sequence of clocks you have to keep simultaneously, and the students who fall out are almost never the ones who lacked talent; they are the ones who watched only the visa clock and missed the other two.

For most Indian STEM graduates, the playbook is concrete. Confirm your CIP code is STEM-listed before you ever rely on the 24-month extension, because that is your difference between one lottery attempt and three. Choose an OPT start date at the protective edge of your window, and the day it starts, treat the 90-day unemployment clock as live; take any genuine degree-related, 20-hour-plus role to stop it rather than holding out for the perfect offer. Count your calendar years from the day you landed, mark the 1 January when your fifth year ends, and have your Indian mutual funds, FBAR-reportable accounts, and a tax preparer who understands PFIC and the India-US DTAA sorted before that date, not after. When you negotiate offers, remember that a higher wage level now buys lottery entries, not just salary. And confirm your employer is filing H-1B as a change of status so cap-gap protects you, and so the 2025 $100,000 fee, as currently implemented, does not.

The exception is anyone whose situation is non-standard: a non-STEM degree with only 12 months of runway, a layoff mid-OPT, a consular-processing employer, or a stay long enough that you are weighing the green-card queue. At those forks the rules interact in ways a blog cannot safely resolve, and the late-2025 changes are under live litigation that could move again. That is the point to pay an immigration attorney and a cross-border tax advisor, not to rely on a guide, this one included.

Related guides

This guide is educational and general in nature. It is not individual immigration or tax advice. US immigration rules changed materially in late 2025, including the weighted H-1B selection process and the $100,000 fee, and several of those changes are under active litigation that may narrow or reverse them. OPT timing, unemployment limits, FICA status and your US and Indian tax residency depend on your exact dates and facts, so confirm your specific position with a qualified immigration attorney and a cross-border tax advisor before acting.

Frequently asked questions

How long can an Indian student work in the US on F-1 before needing H-1B?

A STEM graduate gets up to 36 months of work authorisation on F-1: 12 months of post-completion OPT plus a 24-month STEM OPT extension, provided the degree is on the DHS STEM list and the employer is enrolled in E-Verify. A non-STEM graduate gets only the 12 months of OPT. Across that window you typically get two or three H-1B lottery attempts (the registration runs each March). If you are not selected by the time STEM OPT expires, you must either find another status, leave, or rely on cap-gap if you have a pending selected petition. The clock is firm: OPT must start within 60 days of graduation and you cannot bank unused time.

When does an Indian student on OPT start paying US Social Security and Medicare tax?

You are exempt from FICA (Social Security and Medicare, about 7.65% of wages) for as long as you are a nonresident alien for tax purposes, which for F-1 students is the first five calendar years of US presence under the exempt-individual rule of IRC Section 7701(b). Counting is by calendar year, not 365-day periods, so a student who arrived in August 2021 is exempt through 31 December 2025 and becomes FICA-liable from 1 January 2026 if still on OPT and meeting the substantial presence test. The same switch makes you a US resident for income tax, taxed on worldwide income, including your Indian savings interest and capital gains.

What are an Indian student's H-1B lottery odds in 2026?

Under the weighted selection process DHS finalised on 29 December 2025, your odds now depend on your offered wage level, not pure chance. Level I (entry) registrations get roughly 15% odds, Level II about 31%, Level III about 46%, and Level IV about 61%. A US master's degree still gives two bites: the 20,000 advanced-degree cap first, then the general 65,000 pool. The overall FY2027 selection rate is estimated at 34% to 42%. Several of these rules are under active litigation, so treat any single year's odds as provisional.

, NRI Finance Writer

Rakesh Sinha is a technology professional and an NRI since 2016. He holds a master’s from Carnegie Mellon University and a BTech in Computer Science from IIT Guwahati, and has worked at Microsoft, Cisco, InMobi and Google across Bengaluru, the United States and London. He has personally navigated the decisions these guides cover: moving foreign salary and tech-company RSUs across borders, opening NRE, NRO and FCNR accounts, filing Indian returns as a non-resident, and claiming DTAA relief between the US, UK and India. How these guides are written and reviewed.

Disclaimer: This guide is educational and general in nature. It is not individual financial, tax, or legal advice. Tax and FEMA rules change and your situation may differ, so confirm specifics with a qualified chartered accountant or financial adviser before acting. See our editorial standards for how these guides are researched, reviewed and updated.