Visa Strategy

Filing for STEM OPT During Cap-Gap: When You Must, When You Shouldn't, and the I-765 Timing

Your cap-subject H-1B is pending and your OPT EAD is about to expire. Here is how a STEM OPT filing and cap-gap overlap, and where the deadlines bite.

By F1Jobs Team · Published · 10 min read
A graduate at a sunlit desk comparing a printed calendar with a folder of immigration paperwork and a laptop in a quiet home office

Part of our guide to the OPT I-765 application.

Your OPT EAD ends soon, your employer has filed a cap-subject H-1B change-of-status petition, and someone in your group chat says you should "also file STEM OPT just in case." Others say that wastes money or could somehow jeopardize the petition. You need a straight answer on how the two interact and when the deadlines actually fall.

Status line, as of December 4, 2026: the cap-gap rule effective January 17, 2025 is in effect. The STEM OPT 180-day automatic extension is in effect for timely filers, and the October 14, 2026 EAD automatic-extension rule does not touch it. USCIS is accepting only the 08/21/25 edition of Form I-765. This article explains how the process works. It is not legal advice, and your DSO and an immigration attorney decide what you file.

Can I file STEM OPT while my H-1B is pending in cap-gap?

A STEM-eligible student may file the STEM OPT I-765 within the normal filing window even while a cap-subject H-1B change-of-status petition is pending. The filing can protect work authorization if the H-1B is denied, because cap-gap ends automatically at that point. But it must be filed before your current OPT EAD expires to receive the 180-day automatic extension. Whether you should file is a DSO and attorney decision.

That paragraph is the whole answer in miniature. The details below explain why the deadlines matter and where the two programs do not overlap the way people assume.

What cap-gap does, and what it does not do

Under the rule effective January 17, 2025, a timely filed cap-subject change-of-status petition extends your F-1 status and OPT work authorization to April 1 of the fiscal year requested, or to the petition start date if that is earlier. Details are in our explainer on how the H-1B cap-gap extension works.

Three limits matter for the STEM question.

Do I need STEM OPT if cap-gap already extends my OPT?

For the weeks cap-gap covers, no. Cap-gap carries your status and work authorization through to April 1 or the petition start date. The STEM request answers a different risk: the petition fails, cap-gap stops, and the window to file for the 24-month STEM extension has closed because your EAD already expired.

That is why people treat a STEM filing as a backup. It is also why the decision is individual. Some students are not STEM eligible (the degree must be on the qualifying list), some do not have an E-Verify employer willing to complete Form I-983, and some would be filing for an employer different from the H-1B sponsor.

The overlapping windows at a glance

This table shows how the clocks relate. Use the dates on your own I-20, EAD and receipt notice, which govern over anything published here.

ClockWhat starts itWhat ends itWhat it means for you
OPT EAD validityEAD start dateEAD end date printed on the cardThe last day to file the STEM I-765 for the 180-day extension
Cap-gapTimely cap-subject change-of-status petition filedApril 1 of the fiscal year requested, or petition start date if earlier; or earlier if the petition is denied, withdrawn, revoked or rejectedBridges status and work to October 1 and beyond
STEM I-765 filing windowDSO recommends STEM OPT on a new I-20OPT EAD end date for the 180-day benefitMust be filed before the EAD expires
STEM 180-day automatic extensionA timely STEM I-765180 days after the EAD end, or earlier on decisionNo extension if filed after the EAD expired

Two points the table cannot show. First, the DSO-recommendation and filing timing rules for STEM OPT are set in the F-1 regulations, so confirm your exact window with your DSO. Second, our guide on exact STEM OPT automatic-extension timing covers STEM timing by itself. This article only covers what changes when a petition is also pending.

How the backup filing works, step by step

  1. Confirm eligibility with your DSO. Qualifying degree, an accredited school, and employer details. Our qualifying majors list guide is a starting point, but your DSO decides.
  2. Identify the STEM employer. It must be enrolled in E-Verify and complete Form I-983 with you. See the E-Verify requirement for STEM OPT employers.
  3. Ask your DSO to recommend STEM OPT. The DSO updates SEVIS and issues an I-20 with the recommendation.
  4. File the I-765 before the OPT EAD expires. USCIS is accepting only the 08/21/25 edition of Form I-765 and is not accepting the 09/15/26 edition until further notice, per the USCIS I-765 page updated December 1, 2026. Field-level help is in our STEM OPT I-765 walkthrough.
  5. Pay the right fee. G-1055 lists I-765 at $520 paper or $470 online, and OPT and STEM OPT premium processing at $1,780 with a 30 business day clock. The current G-1055 edition is 11/30/26; re-check the live page before paying.
  6. Keep the receipt notice. It is part of your I-9 evidence during the automatic extension.

When you must file

"Must" is strong, so read it narrowly. Nothing in the rules forces you to file STEM OPT. The timing constraint is this: if you want the option to continue on STEM OPT should the petition fail, the I-765 has to reach USCIS before the OPT EAD expires. A STEM I-765 filed after the OPT EAD expires gets no 180-day extension.

Situations where students commonly raise a backup filing with their DSO:

When you shouldn't, or when it gets complicated

What happens to the STEM request if the H-1B is approved?

If the change of status is approved and takes effect, you move out of F-1 and into H-1B status, and the STEM extension stops being the basis for your employment. Ask your DSO how to handle the pending request and your SEVIS record. Do not assume fees are refundable; we have not verified that and USCIS fee pages control.

What if the H-1B is denied?

Cap-gap ends automatically if the petition is denied, withdrawn, revoked or rejected. If a timely STEM I-765 is already pending, the 180-day automatic extension framework applies to that filing, but your exact work authorization depends on your dates, I-20, receipt and employer. If no STEM filing exists and the EAD has expired, no 180-day extension is available for a late filing. In either case, contact your DSO and an immigration attorney the same day. For layoffs in this window, see what happens if you are laid off during cap-gap.

Common mistakes

Frequently asked questions

Can I file for STEM OPT while my H-1B is pending in cap-gap?

Generally yes. A STEM-eligible student can file the STEM I-765 in the normal window even with a cap-subject petition pending. The filing must happen before the OPT EAD expires to earn the 180-day extension. Whether to file is a decision for you, your DSO and an immigration attorney.

Do I need STEM OPT if cap-gap already extends my OPT?

Not for the period cap-gap covers. Cap-gap extends status and OPT work to April 1 of the fiscal year requested, or the petition start date if earlier. It ends automatically if the petition is denied, withdrawn, revoked or rejected, and that is the scenario where a pending STEM request matters.

What happens to my STEM OPT application if the H-1B is approved?

Once the change of status takes effect you move to H-1B status, and STEM OPT employment is no longer the basis for your work. Ask your DSO how to handle the pending request and the SEVIS record. Do not assume fees are refundable.

Can I file STEM OPT after cap-gap ends?

A STEM I-765 filed after the OPT EAD has expired gets no 180-day automatic extension. If cap-gap has ended because the petition failed, your options depend on dates and your status, so talk to your DSO and an immigration attorney immediately.

Does my employer need E-Verify for the backup STEM OPT?

Yes. The STEM OPT employer must be enrolled in E-Verify and must complete Form I-983 with you. If your H-1B petitioner is not the employer you would work for on STEM OPT, the backup plan needs its own qualifying employer.

Who to ask

Questions about SEVIS, I-20 recommendations and OPT go to your DSO. Questions about whether to file, how a denial affects other options, or how a petition is handled go to a licensed immigration attorney. They are not interchangeable.

If you are still lining up a sponsoring employer or an E-Verify STEM employer, F1Jobs can talk through your search. We sell a job-search service, so we have a stake, and we make no promise of employment, sponsorship or approval.

Sources