The Journey / Getting here
From F-1 to OPT to H-1B
How students use Optional Practical Training, the STEM extension and the cap-gap rule to bridge from graduation to an H-1B.
Most people who end up on an H-1B start as international students. The path usually runs F-1 → OPT → (STEM OPT) → H-1B, and knowing the timing rules is what keeps you in status.
Optional Practical Training (OPT)
OPT lets F-1 students work in their field for 12 months after finishing a degree. You apply to USCIS for an employment authorization card (Form I-765), usually starting up to 90 days before your program ends. Your school’s designated school official (DSO) must recommend you first.
While on post-completion OPT you can be unemployed for a total of 90 days. Going over that is a status violation.
The STEM extension
If your degree is on the government’s STEM list, you can extend OPT by 24 more months. The employer must:
- be enrolled in E-Verify,
- sign a training plan with you (Form I-983), and
- pay you comparably to US workers in similar roles.
On STEM OPT the total unemployment allowance rises to 150 days across the whole OPT period. OPT and STEM OPT applications can be premium processed for $1,780 since March 1, 2026.
Where the H-1B lottery fits
Because the lottery happens every March, the length of your OPT decides how many tries you get:
| Situation | Typical lottery attempts before OPT ends |
|---|---|
| Non-STEM degree, 12 months of OPT | 1, sometimes 2 depending on graduation month |
| STEM degree, 36 months total | Up to 3 |
A second degree (for example a US master’s after a bachelor’s) can bring a new OPT period and access to the master’s cap. See how the lottery works.
Cap-gap: bridging April to October
If you are selected and your employer files an H-1B change of status for you on time, the cap-gap rule extends your F-1 status and OPT work permission while the petition is pending. Under the H-1B modernization rule that took effect in January 2025, cap-gap now runs up to April 1 of the following year, instead of ending on October 1. That removes a gap that used to strand people when processing was slow.
Practical tips
- Keep your SEVIS record and address current with your DSO.
- Track your unemployment days yourself; nobody sends a warning.
- If you plan to travel while on OPT, carry your EAD card, a job letter and a travel signature on your I-20.
The good
- STEM graduates can work up to three years on OPT without an H-1B
- That can mean up to three lottery attempts
- Cap-gap protection keeps you working between April and October if you are selected
The hard
- Unemployment limits on OPT are strict (90 days, or 150 on STEM OPT)
- STEM OPT needs an employer enrolled in E-Verify with a formal training plan
- If you miss the lottery after your last OPT period, your status clock runs out
Recent from immigration lawyers
From independent law firms, newest first. Not reviewed by h1b-life, not legal advice and not an endorsement.
- DHS Proposes to End Deference to Prior Approvals on H-1B and Other I-129 ExtensionsReddy Neumann Brown · Nov 10, 2026
- Equity-Rich, Salary-Light: The H-1B Wage and SOC Code Audit for Senior Technology ExecutivesBerardi Immigration Law · Nov 9, 2026
- F-1 & Beyond: Live Online WebinarMurthy Law Firm · Nov 4, 2026
- I have a valid H1B visa stamp showing my former employer’s name, and my new employer’s H1B petition has been approved. Do I need a new visa stamp before traveling?Murthy Law Firm · Nov 3, 2026
Sources
- USCIS: Optional Practical Training (OPT) for F-1 Students
- Study in the States (DHS): STEM OPT Hub
- Federal Register: Modernizing H-1B Requirements (cap-gap extension to April 1)
- Federal Register: Adjustment to Premium Processing Fees (OPT premium fee)
Rules change often. If something here looks out of date, it probably is; check the official source and talk to an immigration attorney about your own case.