Can I travel abroad while my STEM OPT extension is pending?
Yes, if you hold a valid F-1 visa, a recent I-20 travel signature and proof of the pending request, but a visa renewal abroad is the risk.
Yes, in most cases. A student with a pending STEM OPT request can leave and return in F-1 status if the passport and F-1 visa are valid, the I-20 carries a DSO travel signature dated within the last six months, and the student has proof of the pending request and the job. The risk is not the travel rule itself but what happens if the visa has expired or the officer questions the application.
What to carry
Study in the States, the SEVP site, lists the documents for re-entry on OPT: passport, F-1 visa, I-20 with a recent travel signature, the EAD or, when the card has not arrived, the receipt notice for the pending request, and evidence of the job. For a student on the 180-day extension, the expired EAD plus the I-797 receipt and the I-20 with the STEM recommendation are the documents that show authorization. Students also carry the employment letter. An officer may ask for it.
The expired visa problem
The F-1 visa is separate from status. Many students have visas that expired during the OPT period, and renewing one abroad means a consular interview during a pending extension. A consular officer reviews the whole case again, including the nonimmigrant intent presumption that applies to students. Delays for administrative processing under section 221(g) can keep the student abroad for weeks. During those weeks the 180-day work window continues running, and the job may not wait.
Students whose visa is still valid face less risk. Others should consider whether the trip is needed.
Other risks
Return after the card's expiry date with a pending request is permitted, but the inspection officer has discretion. A student with a pending H-1B change of status needs separate advice, because leaving the country can abandon a change of status request. That is a different filing and not part of this answer.
Trips to Canada, Mexico or adjacent islands for under 30 days may allow automatic visa revalidation in limited cases for F-1 students, under 22 CFR 41.112, but the conditions are narrow and do not cover everyone, including nationals of certain countries and anyone who applied for a new visa and was refused.
What goes wrong
A trip is booked, the visa appointment is delayed, and the student overstays the planned return while the employer holds the job for a limited time. Unemployment days also run while the student is abroad if the work stops.
What to do
Students in this position usually ask the DSO for a fresh travel signature, check the visa expiry before booking, and take every document in a folder. A student with a prior refusal, an expired visa, or an H-1B pending should speak with an immigration attorney before leaving.