• Discounts and special offers
  • Subscriber-only articles and interviews
  • Breaking news and trending topics

Already a subscriber?

By signing up, you accept Moneywise's Terms of Use, Subscription Agreement, and Privacy Policy.

Not interested ?

Employment
Students, like the young woman seen here in front of a laptop, are increasing moving away from computer science as AI continues to disrupt the field. ShintarTatsiana/Envato
Trending

14,510 views this week

Computer science was once a 'golden ticket' — now it's seeing the biggest enrollment drop of any major in 6 years. What students are choosing instead

For years, computer science was treated like a golden ticket — a degree that could all but guarantee a stable, high-paying job after graduation. But as artificial intelligence (AI) reshapes the tech industry, that promise is starting to crack.

Between 2008 and 2024, the number of four-year computer science degrees in the U.S. surged, rising roughly five times (1), outpacing growth in other high-paying fields like nursing and mechanical engineering, according to the Washington Post, citing data from the National Center for Education Statistics.

Advertisement

Now, there are signs that boom may be losing steam.

New data from the National Student Clearinghouse (2) shows undergraduate enrollment in computer science programs at four-year institutions dropped 8.1% — the steepest one-year decline of any major since at least 2020. Graduate enrollment fell even further, down 14%.

The shift hasn't gone unnoticed. The Atlantic (3) recently declared that, "The Computer-Science Bubble is Bursting," while Nobel Prize–winning economist Simon Johnson (4) said AI has "substantially wiped out" coding as a reliable source of opportunity.

So if the once-dominant major is losing momentum, where are students turning instead?

The value of coding skills is shifting

The issue isn't that coding skills no longer matter — it's how they're being used.

Investor Matt Shumer, who has spent years working in AI, said recent breakthroughs are fundamentally changing how work gets done.

"By late 2025, some of the best engineers in the world said they had handed over most of their coding work to AI," he wrote in an essay published on X (5).

Advertisement

The post, which racked up about 86 million views, wasn't meant to spark panic, Shumer later said on CNBC's Power Lunch (6). Instead, he said he was describing his own surprise at how AI can now handle many of the technical aspects of his job, a shift he believes professionals in fields like law, medicine and accounting may soon experience as well.

That anxiety may already be showing up in the job market. In recent years, new college graduates have had a harder time finding work, with their unemployment rate exceeding the overall U.S. rate for five straight years (7).

It's also starting to influence what students choose to study. At Princeton University (8), computer science became the most popular major between 2011 and 2017 and held that position through the Class of 2025. But more recent data suggests demand may be cooling: 74 students in the Class of 2028 declared a computer science B.S.E., down from 117 the year before and 150 the year prior.

"Part of this is we are adapting to a new world," Szymon Rusinkiewicz, chair of the department, told the Princeton Alumni Weekly (8). "We have definitely noticed that things have leveled off, that we weren't growing at that explosive pace anymore."

Must Read

Join 250,000+ readers and get Moneywise’s best stories and exclusive interviews first — clear insights curated and delivered weekly. Subscribe now.

Students are rethinking the payoff

For many students, the appeal of computer science was simple: strong job prospects and high salaries. That calculation is starting to shift. Rusinkiewicz said it's less about jobs disappearing and more about how they're evolving.

Advertisement

"It's less a case of, 'AI is coming for your jobs,' but much more a case of AI is making people more efficient at their jobs," he said (8).

Companies are still offering high salaries but increasingly for roles that involve working alongside AI, not competing with it.

Anthropic recently listed a software engineering role offering up to $320,000 a year (9), focused on helping "understand new model capabilities and redefine what is possible" with large language models.

Students are taking note. Gavin O'Malley, a Houston-area college applicant, told the Washington Post (1) that he felt discouraged from pursuing computer science as only the top students at his high school were applying to the field and with hiring slowing at major tech firms, the payoff felt less certain.

Others are rethinking their motivations. Theo Urban, a senior majoring in AI at Carnegie Mellon University, told the news outlet that students today may be choosing the field less for job security and more out of genuine interest.

So what are the top majors now?

As interest in computer science cools, other technical fields are gaining ground. Enrollment in mechanical and electrical engineering has grown (1) by about 11% and 14%.

Advertisement

More broadly, a Coursera analysis (10) including data from the National Center for Education Statistics (11) shows that business, health, social sciences and history remain the most popular majors in the U.S., with computer science ranking seventh.

Michael Leamy, now chair of the mechanical engineering department at the University of Vermont, told the Washington Post (1) that he's seen that growth firsthand teaching at multiple universities. He and other engineers believe students may view mechanical engineering as a more flexible path in an AI-driven economy, with applications across industries like robotics, aerospace, drones and electric vehicles.

There's still plenty of uncertainty around how AI will reshape the job market but one theme is consistent: adaptability matters.

As the technology evolves, experts say students should focus less on chasing a "safe" major and more on building skills, including learning how AI applies to their field, to stay competitive as the nature of work continues to shift.

Article Sources

We rely only on vetted sources and credible third-party reporting. For details, see our ethics and guidelines.

Washington Post (1); National Student Clearinghouse (2); The Atlantic (3); Open to Debate/YouTube (4); @mattshumer_/X (5); CNBC (6); New York Times (7); Princeton Alumni Weekly (8); Greenhouse (9); Coursera (10); National Center for Education Statistics (11)

You May Also Like

Share this:
Victoria Vesovski Staff Reporter

Victoria Vesovski is a Toronto-based Staff Reporter at Moneywise, where she covers the intersection of personal finance, lifestyle and trending news. She holds an Honours Bachelor of Arts from the University of Toronto, a postgraduate certificate in Publishing from Toronto Metropolitan University and a Master’s degree in American Journalism from New York University’s Arthur L. Carter Journalism Institute. Her work has been featured in publications including Apple News, Yahoo Finance, MSN Money, Her Campus Media and The Click.

more from Victoria Vesovski

Explore the latest

Disclaimer

The content provided on Moneywise is information to help users become financially literate. It is neither investment, tax nor legal advice, is not intended to be relied upon as a forecast, research or investment advice, and is not a recommendation, offer or solicitation to buy or sell any securities, enter into any loan, mortgage or insurance agreements or to adopt any investment strategy. Tax, investment and all other decisions should be made, as appropriate, only with guidance from a qualified professional. We make no representation or warranty of any kind, either express or implied, with respect to the data provided, the timeliness thereof, the results to be obtained by the use thereof or any other matter. Advertisers are not responsible for the content of this site, including any editorials or reviews that may appear on this site. For complete and current information on any advertiser product, please visit their website.

†Terms and Conditions apply.