The grace period after STEM OPT, and when cap-gap takes over
You get 60 days after your STEM OPT end date. In the example STEM OPT ends Saturday, August 14, 2027, so the grace period would last to Wednesday, October 13, 2027. Here, though, an H-1B petition filed on April 2, 2027 for an October 1 start brings cap-gap: status and work permission continue past the EAD date, up to the H-1B start. If that petition is denied or withdrawn, the 60 days come back.

The dates in this example
| Date | What happens | Note |
|---|---|---|
| STEM OPT ends | ||
| H-1B start date | Fiscal year 2028 | |
| Grace period would end | ||
| Cap-gap limit | Or the H-1B start, if approved |
The worked example
- STEM OPT EAD ends August 14, 2027. Without anything else, the last day is October 13, 2027.
- An H-1B petition with a change of status was filed April 2, 2027 while the STEM EAD was valid. Cap-gap keeps both status and work permission while it's pending, to April 1, 2028 at the latest, or to the approved start date.
- The gap between the EAD end and October 1 is 47 days. Cap-gap covers it, so the student keeps working.
If you have no H-1B petition
STEM OPT can't be extended again on the same degree. In the 60 days you can leave, start a new degree program (which can lead to new OPT at a higher level), or move to another status you qualify for. If your employer plans to file an H-1B in the next lottery, that timing has to start while you are still in status.
Wrap up the training plan
Your final Form I-983 evaluation is due to your DSO within 10 days after STEM OPT ends. Send it before you lose touch with your manager.
Grace period calculator, opened with this example. Change any field to your own.
What happened?
No work is allowed during the grace period. You can leave, transfer, start a new program, or change status (for example, H-1B or a dependent status).
If a cap-subject H-1B petition was filed for you while you were still in status, cap-gap may extend your status past this date.
Open jobs on F1Work
Questions
- Can I work during the STEM OPT grace period?
- No. The grace period never includes work. Cap-gap is different: if your H-1B petition was filed while your STEM EAD was valid, work permission carries over.
- Does a second STEM OPT come with a new grace period?
- A STEM extension based on a later, higher degree has its own end date and its own 60 days after it.
- What if the H-1B petition is approved for consular processing?
- Cap-gap only applies to petitions asking for a change of status. With consular processing, the grace period applies and you would leave to get the visa stamp.
Sources
- 8 CFR 214.2(f): F-1 students (eCFR, text in force on September 14, 2026)
- Study in the States (DHS): F-1 STEM OPT extension
- Study in the States (DHS): F-1 cap-gap extension
- Federal Register: H-1B modernization rule, 89 FR 103054 (effective January 17, 2025)
Rules checked ; page updated .
Related
- Working during the grace period after OPT
- Laid off while on cap-gap
- Cap-gap when your OPT ends in August 2027
- Grace period calculator
Guides
F1Work is not a law firm, and this page is general information, not legal advice. Your DSO keeps your SEVIS record and has the final word on your dates, so confirm them with your DSO before you file, and talk to an immigration attorney about anything unusual.