Browse StatesAboutVisa StrategySponsor CheckerVisa IntelligenceLottery CalculatorPricing

OPT vs H-1B: Understanding the Transition

Everything international students need to know about moving from OPT work authorization to H-1B status.

Optional Practical Training (OPT) and the H-1B visa are two distinct forms of U.S. work authorization that often form a natural sequence for international students. OPT is a temporary training benefit tied to your F-1 student status, while the H-1B is an employer-sponsored work visa. Understanding the transition timeline is critical to avoiding gaps in authorization.

Key Differences

FeatureOPTH-1B
BasisF-1 student statusEmployer-sponsored work visa
Duration12 months (+ 24-month STEM extension)3 years (extendable to 6)
Employer flexibilityCan change employers freelyTied to sponsoring employer (portable with transfer)
ApplicationThrough school DSO + USCISEmployer files I-129 petition
Degree requiredMust relate to field of studySpecialty occupation (bachelor's minimum)
Annual limitNone85,000 cap with lottery

OPT Timeline and STEM Extension

After completing a U.S. degree program, F-1 students can apply for 12 months of post-completion OPT. Students with degrees in STEM fields (science, technology, engineering, mathematics) can apply for an additional 24-month STEM OPT extension, for a total of 36 months of work authorization.

During OPT, you work under your EAD (Employment Authorization Document) and maintain F-1 status. Your employment must be directly related to your field of study. During the STEM extension, your employer must be enrolled in E-Verify and you must have a formal training plan (Form I-983).

Transitioning from OPT to H-1B

The typical transition timeline works as follows:

  • Year 1 (OPT): Start working after graduation on 12-month OPT. Your employer registers you for the H-1B lottery in March.
  • Year 1–2 (STEM OPT): If not selected in the first lottery, apply for the 24-month STEM extension. Enter the lottery again the following March.
  • H-1B start: If selected, your H-1B status begins October 1. The cap-gap provision automatically extends your OPT authorization to bridge the gap.

What Is Cap-Gap?

The cap-gap is an automatic extension of your OPT work authorization and F-1 status that bridges the period between OPT expiration and H-1B start date (October 1). If your employer files a timely H-1B petition on your behalf and you are selected in the lottery, your OPT is automatically extended through September 30. This prevents a gap in work authorization.

Cap-gap applies only to the H-1B cap-subject petition filed for the upcoming fiscal year. It does not apply to cap-exempt petitions or petitions for future fiscal years.

What If You Are Not Selected?

If you exhaust your STEM OPT without being selected in the H-1B lottery, you must either leave the U.S., change to another visa status (such as O-1), or enroll in another degree program to maintain F-1 status. This is why many students apply for the H-1B lottery in each eligible year and explore parallel strategies like the O-1 visa or EB-2 NIW.

Find Your H-1B Sponsor

Search thousands of verified H-1B sponsors by company, industry, and location.

Search H-1B Sponsors on Wisa →

Frequently Asked Questions

How many times can I enter the H-1B lottery while on OPT?

With the 12-month OPT plus 24-month STEM extension, you can typically enter the H-1B lottery up to three times (once per fiscal year). Each attempt is independent, and you maintain work authorization throughout the STEM OPT period.

What happens if my OPT expires before H-1B starts?

If you were selected in the H-1B lottery and your employer filed a timely petition, the cap-gap provision automatically extends your OPT through September 30. If you were not selected, you must stop working when your OPT expires.

Can I change employers during the OPT to H-1B transition?

During OPT, you can change employers freely as long as the new job relates to your field of study. Once your H-1B is filed, you can use H-1B portability to switch to a new employer who files their own H-1B petition on your behalf.

Do I need a STEM degree for the 24-month OPT extension?

Yes. The 24-month STEM OPT extension is only available to students with degrees in STEM-designated fields as listed on the DHS STEM Designated Degree Program List. Your employer must also be enrolled in the E-Verify program.

Related Guides