Free ToolRuns in your browser · No data stored

H-1B Cap-Gap Calculator

Find out exactly how many days you can keep working between OPT expiry and your H-1B start — and whether the 240-day rule covers you while your petition is pending.

At a glance

H-1B cap-gap automatically extends F-1 status and work authorization for OPT holders with a timely-filed H-1B petition, bridging the period from OPT expiry to October 1 (H-1B start). If your petition is pending (not yet decided), the 240-day rule lets you continue working for up to 240 days after OPT expiry. International travel during cap-gap is risky — consult an attorney before leaving the US. Source: USCIS cap-gap guidance.

Two inputs. Instant answer.

The end date printed on your EAD card.

Cap-gap — common questions

What is H-1B cap-gap?

Cap-gap is an automatic extension of F-1 status and work authorization for OPT holders whose H-1B petition was timely filed and is pending or approved while their OPT is still valid. It bridges the gap between OPT expiry and the H-1B start date of October 1.

What is the 240-day rule?

If your OPT expires while your H-1B petition is pending (filed but not yet decided), you may continue working for up to 240 days from your OPT expiry date — or until USCIS issues a decision, whichever comes first. This is separate from full cap-gap, which requires lottery selection.

Can I travel internationally during cap-gap?

Traveling internationally during cap-gap is risky and generally not recommended. If you leave the US, you may not be able to re-enter on OPT alone. You would need a valid H-1B visa stamp from a US consulate to re-enter, which requires a scheduled appointment abroad. Consult an immigration attorney before any international travel during cap-gap.

What if my H-1B petition is denied during the 240-day period?

If USCIS denies your petition during the 240-day window, you must stop working immediately. You enter a 60-day grace period to depart the US, change status, or enroll in a new program. Do not continue working after a denial — this creates unauthorized employment, which can bar future visa applications.

Can I change employers during cap-gap?

Changing employers during cap-gap is complex. The cap-gap applies to the specific H-1B petition and employer. If you change employers, your new employer must file an H-1B transfer petition. Consult an immigration attorney before making any employer changes during this period.