International Students: How Your Major Affects Your U.S. Visa Timeline
For F-1 students, choosing a major isn't just an academic decision, it also affects how long you can legally work in the U.S. after graduation. Here's how OPT and the STEM OPT extension actually work, and why the major's official classification matters more than its name.
If you're an international student on an F-1 visa, choosing a major carries a dimension that domestic students don't have to think about: it directly affects how long you're legally able to work in the U.S. after you graduate. This isn't about which major leads to a better job, we don't make that claim about any major on this site. It's a structural, immigration-policy fact: some majors qualify for significantly more post-graduation work authorization time than others, based on an official classification, not on how technical or impressive the major sounds. Here's how that actually works.
The baseline: Optional Practical Training (OPT)
Any F-1 student who completes a U.S. degree is generally eligible for Optional Practical Training (OPT), 12 months of work authorization in a job directly related to their field of study. This applies regardless of major: a History major and a Computer Science major both qualify for the same standard 12 months. OPT is managed through your school's international student office (often called the Designated School Official, or DSO), not through your academic department, so this is a conversation for that office specifically.
The STEM OPT extension: up to 24 additional months
Here's where major choice becomes structurally important. Graduates of degree programs officially classified as STEM can apply for the STEM OPT extension, an additional 24 months of work authorization on top of the standard 12, for up to 36 months total. That's three times the standard post-graduation work window, which matters a great deal for students hoping to eventually transition to an H-1B or other longer-term visa status, since it means more attempts at the annual H-1B lottery before OPT runs out.
As of mid-2026, there's also a new $300 government filing fee specifically for STEM OPT extension requests, worth budgeting for if this applies to you, on top of the standard OPT application fee.
The detail almost everyone misses: "STEM" here means a specific code, not a vibe
This is the single most important thing to understand, and the thing students most often get wrong. STEM OPT eligibility isn't based on whether a major sounds technical or scientific. It's based on whether your specific degree program has an official Classification of Instructional Programs (CIP) code that the Department of Homeland Security has designated as STEM. Two programs can have very similar-sounding names, "Business Analytics" at one school and "Business Analytics" at another, and have different CIP codes depending on how each program is structured and registered, with only one of them qualifying.
As a general (not guaranteed) pattern: most programs in Computer Science, Data Science, Statistics & Data Analytics, Bioinformatics, and the engineering disciplines (like Mechanical, Electrical, and Renewable Energy Engineering) carry STEM-designated CIP codes, along with most of the physical and biological sciences. Many business, communications, humanities, and social science majors do not, though there are real exceptions on both sides, some quantitative psychology, economics, or geography programs do carry STEM codes, and not every "engineering-adjacent" program automatically does.
The only way to know for certain is to ask your school's international student office to confirm the specific CIP code for the specific program you're considering, by catalog year, since this can occasionally change. Don't infer it from the major's title, and don't assume a program qualifies just because a friend's similarly-named program at a different school does.
What this means practically, without overweighting it
- Ask before you declare, not after. If the STEM OPT extension matters to your plans, confirm a program's CIP code with your international student office before committing to it, ideally during your first semester, not senior year.
- This is one factor, not the deciding one. A major you're engaged in and do well in will generally serve you better than one chosen purely for a CIP code you're not actually interested in studying for four years. Our main guide to choosing a major covers how to weigh genuine interest against practical constraints.
- If you're considering switching majors, factor this in alongside the usual credit and timing questions. Our guide to switching majors without losing a semester covers the academic side; your international student office should be part of that same conversation if a CIP code change is involved.
- Keep your international student office in the loop on any major change, always. Changing majors can affect your visa status and reporting requirements in ways that have nothing to do with credits, this is a mandatory conversation for F-1 students in a way it isn't for domestic students.
None of this changes the core advice on this site: pick a major you're drawn to first. But if you're an international student, understanding this one structural fact, and confirming it directly with your school rather than guessing from a major's name, is worth doing early rather than discovering it as a surprise in your final year.
Related guides
Ready to start exploring?
Browse majors, take the quiz, or look through career roles.