For years, degrees like computer science and engineering were considered among the safest bets in higher education. Artificial intelligence is making that calculation less straightforward, particularly for students hoping to land well-paying jobs right after graduation.
A June 2026 Goldman Sachs analysis ranked college majors by how exposed their graduates are to job displacement from AI. Using American Community Survey data from 2022 to 2024, researchers mapped where recent graduates from more than 180 majors actually worked, then weighted each occupation's AI automation risk score. That doesn't mean these degrees will become worthless by 2030. However, students borrowing heavily for college should consider whether their expected salaries will let them get out of debt in a reasonable amount of time.
Here are six majors that Goldman Sachs placed in elevated-risk territory.
Management sciences and quantitative methods
Management science students learn to use mathematical models and data to solve business problems. Graduates often pursue careers in operations research, consulting, and business analytics.
Goldman Sachs listed this field first among the three majors carrying the highest displacement risk. Many of its traditional responsibilities, including analyzing large datasets, preparing forecasts, and comparing business scenarios, are tasks AI tools are increasingly used for.
Companies will still need employees who understand business operations and make decisions based on that information. However, graduates who rely primarily on producing reports and routine analyses may face tougher competition and fewer open positions overall.
Computer science
Computer science has long attracted students interested in high-paying technology careers. Goldman Sachs now ranks it among the three highest-risk majors, and students appear to be reacting. Enrollment in computer science-related majors fell by more than 10% during the 2025-26 academic year.
The degree still leads to strong job prospects in some roles. The Bureau of Labor Statistics (BLS) projects 10% employment growth for software developers, quality assurance analysts, and testers from 2025 to 2035, much faster than the national average for all occupations.
Computer programming
Programming majors face a narrower version of the same problem. Writing and testing code is the kind of routine technical work AI tools are increasingly built to handle.
Computer programming enrollment also fell by more than 10% in 2025-26, according to Goldman Sachs. BLS projects a 7% decline in computer programmer employment from 2025 to 2035, although it still expects about 4,400 openings a year as current programmers leave the field. There will still be demand for programmers as the world becomes more digitized, though the long-term impact of AI is unclear.
Statistics and decision sciences
Statistics students learn to interpret data, identify patterns, and help organizations make informed decisions. Their skills are used in finance, health care, research, and other industries.
Goldman Sachs placed statistics and decision sciences among the three majors facing the greatest AI displacement risk.
AI already handles many tasks involved in statistical analysis, including generating charts, finding relationships in datasets, and preparing summaries. The concern is greatest for entry-level analysts whose work centers on routine data processing. Research design, statistical judgment, and interpretation still require expertise.
Finance and financial management
Finance graduates pursue jobs in banking, investment analysis, corporate finance, and related fields.
Goldman Sachs found that majors that feed into professional and business services, including finance, are in "elevated-risk territory." These careers have traditionally depended on analyzing financial statements, preparing forecasts, and evaluating investments, which AI is increasingly used for.
The field isn't shrinking yet, as the BLS projects 7% employment growth for financial analysts from 2025 to 2035. However, graduates may need more than spreadsheet skills to compete for entry-level positions, especially in roles that rely on client relationships, complex transactions, and regulatory work.
Legal studies
Legal studies majors often go on to work as paralegals, legal assistants, or in other support roles before or instead of law school. Goldman Sachs grouped legal fields with consulting and finance among the majors feeding into "elevated-risk" occupations.
Much of that support work involves document review, research, and drafting, tasks AI tools are increasingly used for.
The BLS projects little or no change in employment for paralegals and legal assistants from 2025 to 2035. The occupation paid a median of $62,890 in May 2025, and BLS still expects about 40,800 openings a year as workers leave.
Which college majors are safest from AI?
Goldman Sachs also identified fields where graduates face a considerably lower risk of displacement. Pharmacy and nursing ranked among the safest, along with education-related majors.
These fields lead to occupations built on in-person work and professional judgment, such as treating patients and teaching students.
Students appear to be paying attention. Enrollment grew about 3% on average in majors linked to occupations with low AI displacement risk and strong recent job growth, most notably in health care and engineering, Goldman Sachs economist Pierfrancesco Mei explained.
Bottom line
Choosing a college major based entirely on today's salaries could become an expensive mistake. Goldman Sachs' findings suggest students should look closely at the jobs graduates actually land and how those occupations are changing. A degree in a vulnerable field may still pay off, especially when paired with skills employers struggle to automate.
Employers surveyed for the World Economic Forum's Future of Jobs Report 2025 expect 39% of workers' core skills to change by 2030, underscoring the importance of continuing education regardless of major. Comparing tuition costs, career prospects, and financial aid before enrolling may also help you keep more cash in your pocket.
Add Us On Google