In fiscal year 2025, U.S. Citizenship and Immigration Services received roughly 470,000 H-1B registrations for 85,000 available slots. That’s a selection rate somewhere around 18%. If you’re a software engineer on OPT trying to plan your career, those odds make for uncomfortable math.
I want to be upfront about something: I’m not an immigration attorney, and nothing here is legal advice. What I can do is lay out the landscape as software engineers I know have described navigating it, with pointers to the parts that are less commonly understood.
The cap-exempt path most people don’t pursue
Every year, software engineers fixate on the lottery and miss the more reliable option sitting next to it: cap-exempt employers.
Universities, university-affiliated research nonprofits, and government research entities are not subject to the H-1B annual cap. If you work for one of them, your H-1B petition can be filed any time of year, with no lottery. According to LinkedIn’s Economic Graph research, tech roles at universities and research institutions have grown steadily since 2022, particularly in machine learning, data infrastructure, and research engineering.
The trade-off is real. Salaries at universities often run below market. The work may be narrower than what you’d do at a product company. But after one to two years in a cap-exempt position, you can transfer to a cap-subject employer using your existing H-1B status, bypassing the lottery entirely. A lot of engineers don’t know that transfer is possible.
Whether this strategy fits your situation depends on your OPT timeline and what roles are actually available. It’s worth talking through with an attorney before committing.
What “prevailing wage” actually means in practice
H-1B employers must pay the prevailing wage for the role and location. In practice, for software engineers in major tech hubs, this requirement is rarely the binding constraint. Prevailing wages for software roles in San Francisco, Seattle, and New York are set high enough that most competitive employers clear them naturally.
Where this does bite is smaller cities and less common roles. If you’re at a company offering below-market comp in a secondary market, or your role title doesn’t cleanly map to the Department of Labor’s occupational categories, the wage requirement can create friction. It’s also worth knowing that the prevailing wage is tied to the job description, not just the title. Engineers who take on broader responsibilities over time sometimes find that the original job description no longer reflects what they’re doing, which matters during extension filings.
The STEM OPT extension as a strategic buffer
STEM OPT gives graduates from STEM programs an additional 24 months of work authorization, on top of the standard 12. That’s 36 months total to enter H-1B lotteries, which means three attempts.
With three shots at the lottery, the probability of getting selected at least once, assuming roughly 18-20% annual selection rates, runs somewhere around 50-60%. Still not a guarantee. But meaningfully better than relying on a single lottery cycle.
The STEM OPT extension requires your employer to be enrolled in E-Verify and submit a formal training plan. Most large tech employers are already enrolled. Early-stage startups often aren’t, which is one of several reasons why they’re a riskier bet for engineers on OPT who need visa sponsorship within two years.
O-1 visas: more accessible than the name suggests
The O-1 visa is for individuals with “extraordinary ability” in their field. That sounds like Nobel Prize territory, but USCIS’s bar in practice is lower than most engineers expect.
Published papers, contributions to notable open-source projects, speaking at industry conferences, a salary demonstrably above peers, press coverage, or judging others’ work (including code review for significant open-source projects) can all contribute to an O-1 case. You don’t need all of these. You need enough of them to paint a picture of someone who stands out in their field.
An immigration attorney who specializes in O-1 cases can assess whether your current profile is strong enough to file, or what you’d need to build. The Stack Overflow Developer Survey has found year over year that engineers who contribute publicly, whether through open source, writing, or speaking, earn more and advance faster than those who don’t. That visibility also happens to build O-1 eligibility, which is a useful coincidence worth thinking about early.
The companies most likely to sponsor, and why that list is shrinking
Historically, Big Tech, major consulting firms, financial services companies, and well-funded Series B+ startups have been the most reliable H-1B sponsors. USCIS data bears this out. In FY2024, the top approvals by employer were dominated by Infosys, Tata, Amazon, Google, and Cognizant.
What’s shifted is the funding environment. Between 2022 and early 2025, hiring freezes and layoffs reduced headcount plans at a lot of companies that previously sponsored reliably. Some immigration attorneys have noted an uptick in companies reclassifying roles to avoid sponsorship obligations. I don’t have hard data on the scale of that trend, but several engineers I know have described encountering it firsthand.
The practical implication: if sponsorship is your requirement, verify it with HR early, and get it in writing before you start any meaningful interview process. Asking during a final round negotiation is too late.
What to do if this lottery doesn’t go your way
Three realistic options beyond re-entering next year’s lottery.
First, the cap-exempt route described above. Second, L-1 visas for engineers who can transfer within a multinational company, moving to a foreign office for a year and then transferring back to the U.S. entity. Third, Canadian or European visa programs, which have become meaningfully more attractive to U.S.-based companies looking to retain engineers they can’t sponsor domestically.
Canada’s Global Talent Stream can process work permits in two weeks in some cases. Germany’s skilled worker visa was reformed in late 2023 to make tech hiring significantly easier. These aren’t consolation prizes. A number of engineers I know who planned to spend their whole careers in the U.S. have ended up in Toronto or Berlin and found the move more positive than they expected.
The H-1B system is real, the odds are real, and the stress is real. But the number of viable paths through it, and around it, is higher than most people realize when they’re staring at a rejection email in March.