Undergraduate enrollment in computer and information sciences at U.S. four-year colleges fell 8.1% year over year in the fall of 2025, marking the field’s steepest one-year decline in at least two decades and raising questions about how the rapid rise of artificial intelligence is reshaping students’ academic choices. While the timing coincides with the widespread adoption of generative AI tools such as ChatGPT, researchers caution that the decline reflects a combination of factors, including a weaker technology job market, changing perceptions of software engineering careers, and growing interest in alternative technology disciplines.
According to the National Student Clearinghouse Research Center, undergraduate enrollment in computer and information sciences dropped from 659,700 students in 2024 to 606,100 in 2025. The decline comes after nearly two decades of sustained growth, during which computer science became one of the fastest-growing college majors in the United States.
Computer Science Sees Its First Major Enrollment Decline in Decades
The latest enrollment data highlights a significant reversal for a field that had consistently expanded amid booming demand for software engineers and technology professionals.
Enrollment Snapshot
| Metric | 2024 | 2025 | Change |
|---|---|---|---|
| Undergraduate Computer & Information Sciences Enrollment | 659,700 | 606,100 | -8.1% |
| Graduate Enrollment | — | — | -14.0% |
The National Student Clearinghouse also reported that computer and information sciences enrollment declined across multiple institution types, suggesting the slowdown is broad-based rather than limited to a handful of universities.
AI’s Rise Coincides With the Decline
The enrollment decline closely followed the rapid adoption of generative AI tools capable of writing, debugging, and explaining code.
However, researchers stress that the data does not establish AI as the direct cause of the downturn.
Stanford economist Jacob Light, whose research analyzed course enrollment across more than 1,000 U.S. colleges and universities, said the timing is descriptive rather than causal and that multiple forces are likely influencing students’ decisions.
Potential factors include:
- Growing uncertainty about entry-level software engineering jobs.
- AI automating portions of coding work.
- Reduced hiring by major technology companies.
- Increased competition in the software industry.
- Shifting student interest toward emerging technology disciplines.
Students Are Not Necessarily Leaving Technology
Experts note that many students are changing disciplines within technology rather than abandoning STEM altogether.
Growing areas of interest include:
- Artificial intelligence.
- Data science.
- Robotics.
- Electrical engineering.
- Mechanical engineering.
- Computational sciences.
Many universities have also introduced dedicated AI degree programs to meet changing industry demand, reflecting an evolution of technology education rather than a wholesale retreat from computing.
Why Enrollment Is Falling
| Factor | Potential Impact |
|---|---|
| Rise of generative AI | Questions about future programming careers |
| Slower tech hiring | Reduced confidence in job prospects |
| Entry-level job competition | Greater career uncertainty |
| Growth of AI-focused degrees | Students shifting to adjacent disciplines |
| Economic conditions | More cautious education and career choices |
Industry and Academic Perspectives
Despite the decline, educators argue that computer science remains valuable because it teaches analytical thinking, algorithms, and problem-solving skills that extend beyond software development.
Harvard computer science professor David Malan described the trend as part of a broader cycle influenced by changing labor market conditions and cautioned against attributing the decline solely to artificial intelligence. He noted that fluctuations in student interest have occurred before and may reverse as hiring conditions improve.
Researchers also point out that enrollment remains above pre-pandemic levels, making it too early to conclude that computer science has entered a long-term structural decline.
Implications for Universities and Employers
The shift could have long-term implications for higher education and the technology industry.
Universities may increasingly:
- Expand AI-focused programs.
- Integrate AI tools into traditional computer science curricula.
- Offer interdisciplinary technology degrees.
- Emphasize skills that complement AI rather than compete with it.
For employers, the trend may eventually influence the supply of software engineering graduates, although any labor market impact would likely emerge several years from now as current students complete their degrees.
Looking Ahead
The 8.1% decline in undergraduate computer and information sciences enrollment marks an important turning point for one of America’s fastest-growing academic disciplines. While the rise of generative AI has fueled concerns about the future of software engineering careers, researchers caution that the trend reflects a broader mix of economic conditions, hiring patterns, and evolving student preferences rather than AI alone. Enrollment data suggests many students are redirecting their interests toward AI, data science, and other interdisciplinary technology fields instead of leaving technology education altogether.
Looking ahead, universities are likely to continue adapting their curricula to an AI-driven economy by expanding specialized AI programs and integrating generative AI into computer science education. Whether the recent decline proves to be a temporary correction or the beginning of a lasting shift in technology education will depend on how the AI job market evolves and whether demand for traditional software engineering skills stabilizes in the coming years.
Get the day’s top stories in your inbox
One concise email. No spam, unsubscribe anytime.



