F-1 STEM OPT to H-1B: The Software Engineer's Legal and Career Guide
How international software engineers navigate the transition from F-1 STEM OPT to an approved H-1B visa, including Form I-983, E-Verify requirements, and cap-gap rules.
Short answer: The 36-month F-1 STEM OPT window gives international software engineers three distinct lottery attempts to transition to H-1B status. Successfully completing the transition requires verifying that your employer is E-Verify certified, executing Form I-983, and filing a timely cap-subject petition before your OPT work authorization expires.
For international computer science and engineering graduates in the United States, Optional Practical Training (OPT) serves as the primary bridge into full-time technical employment.
While domestic engineers focus purely on technical delivery, international engineers must manage visa extension deadlines, company compliance, and federal lottery cycles.
Here is the operational guide to transitioning from F-1 student status to an approved H-1B work visa.
The 36-Month Timeline: Structure and Lottery Attempts#
Graduates with qualifying degrees in Science, Technology, Engineering, or Math (STEM) have access to up to three years of work authorization:
- Initial Post-Completion OPT (12 Months): Valid for any job directly related to your major field of study. Does not require the employer to be enrolled in E-Verify.
- STEM OPT Extension (24 Months): Requires the employer to be E-Verify enrolled and complete Form I-983.
Because the H-1B lottery occurs every March, a 36-month window allows you to enter up to three consecutive lottery cycles:
Year 1 (Initial OPT) ──► March Lottery #1 ──► (If not selected) ──► Apply for STEM Extension
Year 2 (STEM OPT) ──► March Lottery #2 ──► (If not selected) ──► Continue Working on STEM
Year 3 (STEM OPT) ──► March Lottery #3 ──► (If selected) ──► Cap-Gap to Oct 1 H-1B Status
Form I-983 and E-Verify: The Startup Requirements#
Many software engineers join venture-backed tech startups on initial OPT. However, extending into the 24-month STEM period requires two corporate prerequisites:
1. E-Verify Enrollment#
Your employer must possess an active E-Verify company identification number. Enrolling is free for companies and typically takes less than a week through the official federal portal. If you are considering an offer from a Series A or Series B startup, ask during offer negotiations whether they are already enrolled.
2. Form I-983 (Training Plan for STEM OPT Students)#
Before your initial 12-month OPT ends, you and your engineering manager must complete Form I-983:
- Section 3 & 4: Confirms job title, salary, hours, and employer identification numbers.
- Section 5 (Training Plan): Outlines your technical role, tools used, and how the company provides supervision.
- Wage Attestation: The employer must certify that your compensation is commensurate with that of similarly situated US workers.
Once signed, submit Form I-983 to your university's Designated School Official (DSO) to receive an updated Form I-20 recommending the STEM extension.
Understanding Cap-Gap Relief#
A common concern among international engineers is what happens if their OPT Employment Authorization Document (EAD) expires during the summer before H-1B status activates on October 1.
USCIS provides Cap-Gap Extension protection:
- Eligibility: If your employer files a timely cap-subject H-1B petition requesting a change of status, and that petition is selected in the March lottery and filed before your OPT expires, your F-1 status and work authorization are automatically extended.
- Duration: The extension bridges your legal status directly through October 1, allowing you to continue working without interruption.
Navigating the H-1B Conversation with Your Manager#
Bring up immigration planning early to avoid last-minute administrative delays:
- At Offer Stage: Confirm that the company has a standard policy of sponsoring H-1B petitions for full-time engineering hires.
- In November (Year 1): Schedule a brief check-in with your manager and internal HR to confirm that your profile is submitted to immigration counsel for the upcoming March lottery.
- In January: Verify that the company's immigration paralegals have your updated transcripts and passport details ready for electronic registration.
Working at an employer that tracks direct career requisitions and maintains clear immigration processes ensures your technical focus remains on shipping software rather than worrying about legal status.
Common Questions Answered
See how your resume matches top AI Engineer openings.
Upload your resume to Fastlyy. Our AI extracts your core skills and automatically computes match scores against new AI Engineer, Distributed Systems, and Infra roles across 1,000+ tech companies in real time.