If your degree is in an eligible STEM field, you can extend your OPT work authorization well past the standard 12 months, and if you're also going for H-1B, there's a separate rule that can keep you legally working while your petition is pending. Here's what each one actually requires, in plain terms.

What the STEM OPT extension gives you

The STEM OPT extension adds 24 months of work authorization on top of your initial 12-month post-completion OPT, for up to 36 months total. To qualify, per DHS's Study in the States STEM OPT Extension Overview, you generally need:

  • A degree in an eligible STEM field (CIP-coded fields like engineering, biological sciences, mathematics, and physical sciences, among related categories) from a school certified by the Student and Exchange Visitor Program
  • An employer enrolled in USCIS's E-Verify system
  • A minimum of 20 hours of work per week for that employer
  • A formal I-983 training plan from the employer, laying out learning objectives

While on the extension, you also report to your DSO every six months, your employer must report a termination within five business days, and you complete an annual self-evaluation. It's more paperwork than initial OPT, but it's what buys most STEM candidates the extra runway to land an H-1B.

Unemployment days during the extension

The STEM OPT extension adds 60 more allowable unemployment days on top of the 90 from your initial OPT, for a combined cumulative maximum of 150 days across the full period, not a fresh 90. We cover exactly how that clock works, and give you a free calculator to track it, in our OPT unemployment days guide.

What the H-1B cap-gap extension actually solves

H-1B petitions filed under the annual cap have to wait for an October 1 start date, but OPT or STEM OPT work authorization can run out before then. The cap-gap extension exists to close that gap: if your H-1B petition was timely filed and requests a change of status, your F-1 status and work authorization stay active from your OPT/STEM OPT end date through your H-1B start date.

Per Yale's Office of International Students and Scholars, the length of the bridge depends on the math:

  • If your STEM OPT expires in July and your H-1B starts October 1, cap-gap covers July through September 30.
  • If your H-1B is approved to start sometime between October 1 and April 1 of the following year, cap-gap covers you through that start date.
  • If your approved H-1B start date falls beyond April 1 of the following year, cap-gap does not extend your work authorization that far.

A few things cap-gap does not do: it doesn't apply if your H-1B is filed for consular processing instead of a change of status, it disappears if the petition is withdrawn or denied, and it doesn't issue a new EAD card, your existing I-20 is simply updated. There's also a 60-day grace period after STEM OPT ends during which you can still file, but you cannot work during that specific window. And importantly, cap-gap is entirely separate from your unemployment day count: it doesn't add days to your 90/150-day allowance, and running out of cap-gap coverage is a different problem from running out of unemployment days.

This is general information, not immigration advice, and every case has details that can change the outcome. If your H-1B timeline is close to your STEM OPT end date, or you're not sure whether your filing qualifies for a change of status, talk to your school's DSO or an immigration attorney before you assume you're covered.

DHS Study in the States; Yale OISS

Keep the clock and the timeline straight

Two different limits to track at once, your unemployment days and your cap-gap window, is exactly the kind of thing that's easy to lose track of while you're also job hunting. Our free OPT Clock Calculator tracks the unemployment side for you; for the H-1B timeline itself, your DSO's guidance is the source of truth.