STEM OPT: extending to 24 additional months
If you graduated from a STEM-designated program (most CS, engineering, math, data science degrees qualify), you can extend your OPT by 24 months. This gives you up to 36 months of F-1 work authorization — enough for 3 H1B lottery cycles.
Requirements: you must be working for an E-Verify employer, your job must be related to your STEM degree, and you must submit a Training Plan (Form I-983) developed with your employer.
Apply for STEM OPT before your regular OPT expires. USCIS processing can take 3-4 months. If you apply timely (before OPT expiry), you get a 180-day cap-gap that lets you continue working while waiting.
Common mistake: not checking whether your employer is enrolled in E-Verify. Large companies and startups often are; smaller companies often aren't. If your employer isn't enrolled, they cannot sponsor STEM OPT — you must either find a new employer or forgo STEM OPT.
H1B lottery: timing and what to do if you don't get selected
You can enter the H1B lottery while on OPT. Registration opens in March — your employer registers, you are selected (or not) in the lottery in March/April, and if selected, work authorization transitions from OPT/STEM OPT to H1B on October 1.
If you are on regular OPT and don't get selected in March, your OPT may expire before October 1. Apply for STEM OPT if eligible to bridge to next year's lottery.
If you exhaust STEM OPT without H1B selection, options include: apply for a cap-exempt H1B (university, non-profit research lab), find a Canadian employer and work on a Canadian permit while applying for H1B, pursue graduate studies (resets OPT eligibility), or return home and apply for an H1B from abroad.
For Indian and Pakistani students in particular: many go back to their home country temporarily, get an H1B sponsor, and apply for a visa stamp at their home consulate before returning to the US.
