F-1 to H-1B: Complete Transition Guide for International Students 2026

Young professional reviewing career opportunities on a laptop in a modern office

Every year, hundreds of thousands of international students on F-1 visas face the same question as graduation approaches: how do I stay and work in the US legally? The standard answer is OPT followed by the H-1B cap lottery — but the process is longer, more complicated, and less certain than most students realize. This guide walks through the complete F-1 to H-1B transition, what happens at each stage, and what to do if the lottery doesn’t go your way. Updated for 2026.

Last updated: July 23, 2026.

The F-1 to H-1B Pathway: Overview

The standard path from F-1 student to H-1B worker involves two phases of work authorization before the H-1B kicks in:

  • Phase 1 — Post-Completion OPT: 12 months of work authorization after graduation, used while finding a sponsor and entering the H-1B lottery
  • Phase 2 — STEM OPT Extension (if eligible): 24 additional months for graduates with STEM degrees, bridging to the next H-1B cap season if needed
  • Phase 3 — H-1B: Employer-sponsored work visa requiring lottery selection, USCIS petition, and approval before your OPT expires

Phase 1: Post-Completion OPT

Optional Practical Training (OPT) is work authorization for F-1 students to work in jobs related to their field of study. Post-completion OPT starts after graduation and lasts 12 months.

OPT Application Timeline

  • Apply for OPT up to 90 days before your program end date (graduation)
  • Apply no later than 60 days after graduation
  • File Form I-765 with USCIS through your DSO (Designated School Official)
  • USCIS processing: 3-5 months — apply early, well before graduation

Your OPT Employment Authorization Document (EAD) shows a start date.

You cannot work before that date even if you’ve graduated.

Apply early — USCIS processing delays have caused gaps between graduation and OPT start dates for students who applied late.

OPT Rules

Phase 2: STEM OPT Extension (24 Additional Months)

If your degree is in a STEM field (Science, Technology, Engineering, or Mathematics) as defined on the USCIS STEM Designated Degree Program List, you can apply for a 24-month STEM OPT extension — giving you a total of 36 months of OPT work authorization.

STEM OPT Requirements

  • Your degree must be on the STEM list (CIP code designations — check with your school’s DSO)
  • You must work for an employer enrolled in E-Verify
  • You must have a formal training plan (Form I-983) signed by both you and your employer
  • You must report to your DSO every 6 months about your employment status
  • Unemployment limit during STEM OPT: 150 days total

Why STEM OPT Is Critical for H-1B

The H-1B cap lottery is held once per year with a filing window in March (for an October 1 start date). If you graduate in May and start OPT, you get one lottery chance with standard OPT. If you don’t win, your OPT expires and you must leave unless you have STEM OPT to bridge to the next lottery. STEM OPT gives you 2-3 additional lottery attempts, dramatically improving your overall odds of eventually winning an H-1B slot.

Phase 3: The H-1B Cap Lottery

H-1B Annual Timeline

  • January-February: USCIS announces H-1B cap registration period and instructions
  • March 1-20: H-1B electronic registration window (employers register their candidates; $215 registration fee per candidate)
  • Late March: USCIS conducts the lottery from all registrations
  • April: Lottery winners notified; employers can begin filing full H-1B petitions
  • April 1 — June 30: Filing window for selected petitions
  • October 1: H-1B employment begins for approved petitions

H-1B Cap Numbers

  • Regular cap: 65,000 H-1B slots per year
  • Advanced degree exemption (master’s cap): Additional 20,000 slots for applicants with a US master’s degree or higher
  • Total: Up to 85,000 new H-1B slots annually

Important change starting FY 2027: USCIS replaced the purely random lottery with a wage-weighted selection system, effective February 27, 2026. Registrations no longer all have equal odds — each one gets 1 to 4 lottery entries based on the offered wage level (Department of Labor OEWS Level I-IV), so higher-paid job offers now have a meaningfully better chance of selection than entry-level ones. For FY 2027 (the first cycle under this system), registrations fell to 211,600 (down 38.5% from FY 2026’s 343,981), USCIS reached the full 85,000 cap by the June 30, 2026 filing deadline with no second lottery, and 71.5% of selected beneficiaries held a US advanced degree — up from 57% the year before. See our complete H-1B lottery guide for the full breakdown of how the wage tiers work.

Cap-Gap Protection

If your OPT expires before October 1 (H-1B start date) and your H-1B petition was filed on time and is pending or approved, you are protected by cap-gap — an automatic extension of your F-1 status and OPT work authorization that bridges the gap between OPT expiration and October 1.

Cap-gap rules:

  • Only applies if your H-1B petition requests an October 1 start date
  • Your OPT must still be valid when the H-1B petition is filed
  • Cap-gap extends your OPT and F-1 status until September 30 or until the H-1B petition is denied or withdrawn — whichever comes first
  • If your H-1B is denied, cap-gap ends and you must leave the US within 60 days
Infographic showing the 3-phase path from F-1 OPT to H-1B lottery with odds and cap-gap bridge explained
F-1 to H-1B: the complete 3-phase path, lottery odds, and cap-gap bridge (visafortheunitedstates.com)

What Happens If You Don’t Win the H-1B Lottery?

Not winning the lottery is still common, especially for entry-level offers under the new wage-weighted system — but your odds now depend heavily on the wage level your employer reports at registration, not just luck. Here are your options if you’re not selected:

Option 1: Use STEM OPT and Try Again Next Year

If you have STEM OPT, you can continue working legally and reenter the H-1B lottery the following March. Multiple attempts still help, but under the wage-weighted system your odds each year depend more on the wage level your employer reports than on the number of tries — a Level I (entry-level) offer has meaningfully lower odds than a Level III or IV offer even across several attempts.

Option 2: Apply for an O-1 Visa

If you have a strong enough professional record (publications, recognition, high salary, critical role at a distinguished company), an O-1 extraordinary ability visa can substitute for H-1B. No lottery, no cap. Many tech workers, researchers, and engineers who would otherwise be lottery victims pivot to O-1 as their employer prepares the petition.

Option 3: Go Back to School (F-1 Again)

Enrolling in a graduate program resets your OPT clock. A student who earns a bachelor’s, uses 36 months of OPT, doesn’t win H-1B, then enrolls in a master’s program gets another 12 months of OPT (+ 24 STEM if applicable) and more H-1B lottery chances. This extends the US runway significantly, though at the cost of tuition and time.

Option 4: TN Visa (Canadian and Mexican Citizens Only)

F-1 graduates who are Canadian or Mexican citizens can qualify for TN status if their job falls in a USMCA-eligible professional occupation (Computer Systems Analyst for tech roles, Engineer, Scientist, etc.). No lottery, no cap, process at the border for Canadians. Many F-1 OPT workers from Canada and Mexico who don’t win H-1B transition to TN instead.

Option 5: L-1 (Transfer Within a Multinational Company)

If your US employer has offices abroad and you qualify as a manager, executive, or specialized knowledge employee, you could potentially transfer to the foreign office, work there for 1+ year, and then transfer back to the US on L-1. This requires employer cooperation and a genuine role abroad — it’s not always practical but is sometimes the only path for employees of large multinationals.

Option 6: EB-2 National Interest Waiver (Self-Petition Green Card)

For graduates with strong research or professional records — especially those with a US master’s or PhD — EB-2 NIW (National Interest Waiver) allows a self-petition for permanent residence without any employer or H-1B. Filing I-140 while on OPT is legal. If your priority date is current, you can potentially adjust status directly from OPT to permanent residence without ever needing H-1B.

Option 7: Leave the US, Work Remotely, and Reapply

Some graduates choose to return to their home country, work for a US employer (or the same employer) remotely under an employment arrangement, and reenter the H-1B lottery from abroad. This maintains the employer relationship and income while avoiding the need to maintain US immigration status. Consult a tax advisor about implications of working for a US employer while abroad.

H-1B Employer Requirements

Not every employer can sponsor H-1B. Requirements:

  • US employer (company, LLC, nonprofit, university, etc.)
  • The position must be a “specialty occupation” — requiring at least a bachelor’s degree or equivalent in a specific field
  • The employer must pay the prevailing wage — the higher of the actual wage paid to similar workers at the company, or the wage determined by Department of Labor for the occupation and location
  • The employer must file a Labor Condition Application (LCA) with the Department of Labor before filing the H-1B petition

H-1B exempt employers (universities, nonprofits affiliated with higher education, and certain government research organizations) are exempt from the annual cap and lottery. Working for one of these employers means you can get H-1B status year-round without waiting for October 1.

F-1 to H-1B: Complete Timeline Example

Here’s a typical timeline for a STEM graduate who wins H-1B on the first try:

  • December (senior year): Apply for OPT through DSO (apply early)
  • May: Graduate; OPT EAD arrives; begin working
  • September (same year): Apply for STEM OPT extension before OPT expiration (90-day window)
  • December: STEM OPT approved; continue working
  • January/February (next year): Employer registers for H-1B cap lottery
  • March: H-1B lottery conducted
  • April: If selected, employer files full H-1B petition
  • April-September: Cap-gap protects your status if OPT/STEM OPT would otherwise expire
  • October 1: H-1B status begins

The F-1 to H-1B path is less certain than it used to be — and since FY 2027, odds depend on wage level as much as luck, so many international students still need STEM OPT and backup plans. Understanding the full landscape of alternatives (O-1, TN, NIW) before you need them puts you in a much stronger position when lottery results come out.

Related guides: H-1B Visa Lottery Guide, OPT & CPT Work Authorization Guide, O-1 Extraordinary Ability Visa, and EB-2 National Interest Waiver.

Share: