STEM means science, technology, engineering and math. These are the jobs that build the AI tools, and coding was one of the first kinds of work that generative AI learned to do. So students and workers ask: will AI replace STEM jobs, and are STEM jobs safe from AI? This page answers with the official 2025 to 2035 projections from the US Bureau of Labor Statistics (BLS) and the generative AI exposure scores from the International Labour Organization (ILO).
The short answer: not on current projections. The BLS projects STEM jobs to grow 7.4 percent from 2025 to 2035, from about 10.9 million to 11.7 million, more than twice as fast as all other jobs (3.2 percent) (BLS, employment in STEM occupations). The picture is split inside STEM: the BLS names AI as a reason some computer jobs shrink (programmers, user support) and as a reason others grow (data scientists, computer research scientists). Engineering and lab science jobs score low for generative AI exposure. Projections are estimates, not guarantees.
What counts as a STEM job?
The BLS counts as STEM "computer and mathematical, architecture and engineering, and life and physical science occupations, as well as managerial and postsecondary teaching occupations related to these functional areas and sales occupations requiring scientific or technical knowledge at the postsecondary level" (BLS STEM definition). So an engineering manager or a chemistry professor counts, and so does a sales engineer. The group tables below use the three core BLS groups; the science group also includes social scientists such as psychologists and economists.
STEM jobs to 2035
| US jobs 2025 | Projected 2035 | Change | Median pay 2025 | |
|---|---|---|---|---|
| STEM occupations | 10,910,500 | 11,718,200 | +7.4% | $106,360 |
| Non-STEM occupations | 159,370,400 | 164,480,300 | +3.2% | $49,050 |
| All occupations | 170,280,800 | 176,198,500 | +3.5% | $50,980 |
STEM is a small part of the workforce, about 6.4 percent of jobs, but its median pay is more than twice the median for all jobs. The three core groups all grow faster than the 3.5 percent average:
| STEM job group (US SOC) | 2025 | 2035 | Change | Openings a year |
|---|---|---|---|---|
| Computer and mathematical (15-0000) | 5,493,600 | 5,896,700 | +7.3% | 316,100 |
| Software and web developers, programmers and testers | 2,236,300 | 2,424,900 | +8.4% | 124,100 |
| Computer and information analysts | 737,200 | 820,700 | +11.3% | 47,000 |
| Database and network administrators and architects | 649,800 | 657,200 | +1.1% | 30,300 |
| Computer support specialists | 903,100 | 878,800 | -2.7% | 48,700 |
| Mathematical science (data scientists, statisticians, actuaries) | 457,400 | 572,900 | +25.3% | 36,100 |
| Architecture and engineering (17-0000) | 2,690,000 | 2,872,500 | +6.8% | 174,800 |
| Engineers | 1,835,700 | 1,991,000 | +8.5% | 106,500 |
| Architects, surveyors and cartographers | 214,700 | 225,100 | +4.9% | 12,700 |
| Drafters and engineering technicians | 639,600 | 656,300 | +2.6% | 55,700 |
| Life, physical and social science (19-0000) | 1,628,700 | 1,751,500 | +7.5% | 141,900 |
| Life scientists | 414,400 | 453,200 | +9.4% | 27,500 |
| Physical scientists | 281,400 | 297,400 | +5.7% | 19,700 |
| Social scientists | 349,500 | 363,900 | +4.1% | 20,600 |
| Science technicians | 409,100 | 430,200 | +5.2% | 53,300 |
| Occupational health and safety specialists and technicians | 174,300 | 206,800 | +18.6% | 20,900 |
Source: BLS occupational projections, 2025 to 2035. Mathematical science (+25.3 percent) is the fastest-growing part, mostly from data scientists. The only shrinking part is computer support (-2.7 percent), and database and network administration barely grows.
Will AI replace STEM jobs? Where the BLS names AI
For each occupation the BLS writes down why it expects the job's share of an industry to rise or fall. In the STEM groups, these are the jobs where it names AI, automation or software (BLS factors affecting occupational utilization):
| Job | Change 2025 to 2035 | What the BLS factors table says |
|---|---|---|
| Computer user support specialists | -3.5% | businesses offshore support or solve troubleshooting "using generative artificial intelligence (AI)" |
| Computer programmers | -7.3% | work "continues to be automated, including with artificial intelligence", and moves to software developers |
| Network and computer systems administrators | -4.1% | duties move to DevOps engineers and software developers, and workers use "third-party automation tools" |
| Database administrators | -0.1% | tasks "are increasingly automated and consolidated into other roles" |
| Web developers | +3.8% | "low- and no-code tools, along with artificial intelligence (AI)" automate web development |
| Web and digital interface designers | +6.0% | design tools, "including improvements in design capabilities of generative artificial intelligence (AI)", raise productivity |
| Software QA analysts and testers | +5.7% | some testing moves to developers and "some testing tasks are automated" |
| Mechanical drafters | -6.0% | software "makes design processes more efficient" |
| Survey researchers | -4.8% | data collection "increasingly occurs via mobile technologies and automated techniques" |
| Computer and information research scientists | +21.8% | demand for new technologies, "including artificial intelligence (AI)", raises demand |
| Data scientists | +34.6% | the OOH says data scientists "will be needed to help businesses leverage AI" |
| Mechanical engineers | +11.2% | "growing automation and innovation" of machinery drives demand |
Two things stand out. First, every STEM job where the BLS names AI as a cause of decline is a computer job, and the cuts are small: the largest, user support, loses about 26,200 jobs over ten years. Second, AI shows up on both sides. For computer research scientists and data scientists, the BLS expects AI to add jobs, and for data scientists it says the opposite of what it says about programmers: they "will be needed to help businesses leverage AI and other technologies" (BLS OOH, data scientists). Software developers, the largest STEM job, grow 10.2 percent, partly by taking over work that programmers and testers did.
Which STEM jobs are growing, and which are shrinking?
| STEM job | 2025 | 2035 | Change |
|---|---|---|---|
| Data scientists | 275,600 | 371,000 | +34.6% |
| Computer and information research scientists | 38,600 | 47,000 | +21.8% |
| Information security analysts | 192,900 | 233,400 | +21.0% |
| Occupational health and safety specialists | 143,100 | 169,600 | +18.5% |
| Medical scientists | 181,000 | 203,700 | +12.6% |
| Industrial engineers | 365,100 | 410,600 | +12.4% |
| Biochemists and biophysicists | 35,200 | 39,500 | +12.3% |
| Mechanical engineers | 298,500 | 332,000 | +11.2% |
| Statisticians | 31,300 | 34,700 | +11.0% |
| Software developers | 1,717,800 | 1,892,600 | +10.2% |
| Electrical engineers | 199,700 | 219,500 | +9.9% |
| Actuaries | 31,200 | 34,100 | +9.2% |
| Computer systems analysts | 544,400 | 587,200 | +7.9% |
| Civil engineers | 380,600 | 405,100 | +6.4% |
| Chemists | 84,900 | 90,300 | +6.4% |
| Architects (except landscape and naval) | 124,600 | 129,900 | +4.3% |
| Network and computer systems administrators | 323,600 | 310,400 | -4.1% |
| Computer user support specialists | 750,600 | 724,400 | -3.5% |
| Mechanical drafters | 42,100 | 39,600 | -6.0% |
| Computer programmers | 110,800 | 102,700 | -7.3% |
The growing jobs are mostly about data, security, health and building physical things: data scientists, security analysts, safety specialists, medical scientists and industrial and mechanical engineers. The shrinking jobs are routine computer work and drafting, where software already does more of the task. The BLS also names non-AI reasons for some changes, such as cyberattacks for security analysts and new infrastructure for civil engineers.
How exposed STEM work is to generative AI
Scores come from the ILO's 2025 index of exposure to generative AI (ILO Working Paper 140): each task is rated from 0 to 1 and occupations are banded up to gradient 4, the most exposed; see how to read the ILO scores.
| Occupation (ISCO-08) | ILO category | Mean task score (0 to 1) |
|---|---|---|
| Web and multimedia developers | Gradient 4 | 0.60 |
| Applications programmers | Gradient 3 | 0.57 |
| Systems administrators | Gradient 3 | 0.57 |
| Mathematicians, actuaries and statisticians | Gradient 3 | 0.56 |
| Software developers | Gradient 3 | 0.53 |
| Systems analysts | Gradient 2 | 0.49 |
| Biologists, botanists, zoologists and related | Gradient 2 | 0.40 |
| Chemists | Minimal exposure | 0.39 |
| Industrial and production engineers | Minimal exposure | 0.37 |
| Building architects | Minimal exposure | 0.37 |
| Mechanical engineers | Not exposed | 0.32 |
| Electrical engineers | Not exposed | 0.31 |
| Civil engineers | Not exposed | 0.30 |
| Civil engineering technicians | Not exposed | 0.28 |
| Chemical and physical science technicians | Not exposed | 0.26 |
STEM is not one block. Software and web work, and math and statistics, sit in gradients 3 and 4, among the most exposed jobs anywhere. Most engineering and lab technician work is not exposed, because it involves equipment, sites, materials and safety sign-off. High exposure is not the same as job loss: software developers are in gradient 3 and the BLS still projects 10.2 percent growth. Exposure says where the tasks will change most.
Are STEM jobs safe from AI?
- Engineering: engineers grow 8.5 percent and most engineering occupations are not exposed in the ILO index. See will AI replace engineers?
- Science: life scientists grow 9.4 percent and physical scientists 5.7 percent; the BLS names no AI factor for them. See will AI replace scientists?
- Data and math: the fastest-growing STEM group (+25.3 percent), even though the work is highly exposed. See will AI replace data scientists? and data analysts.
- Computer and IT jobs: the most exposed and the most mixed: developers, security and research grow, while programmers, user support and systems administrators shrink. See will AI replace IT jobs?, software engineers, IT support and cybersecurity.
- Technicians: science technicians grow 5.2 percent and drafters and engineering technicians 2.6 percent. See will AI replace technicians?
What this means if you study or work in STEM
On the BLS numbers, a STEM field is still one of the stronger bets in the labor market: faster growth than average and much higher pay. The risk is narrower than the headlines suggest. It sits in routine computer tasks, such as writing simple code, basic troubleshooting, testing and drafting, which the BLS already sees moving to AI tools and to other roles. The jobs that grow combine technical skill with judgment, physical systems or responsibility for results, and AI tools are becoming part of that work. Whatever you build with AI, you still have to check it; see checking AI output. This page is general information, not career advice.
For other fields, see will AI replace white collar jobs?, will AI replace entry-level jobs?, jobs safe from AI and jobs most exposed to AI.
Questions and answers
Will AI replace STEM jobs?
Not on BLS projections. STEM jobs grow 7.4 percent from 2025 to 2035, from about 10.9 million to 11.7 million, against 3.2 percent for non-STEM jobs. The BLS names AI as a reason for a few small declines, all in computer jobs such as programmers and user support.
Are STEM jobs safe from AI?
Most are, on current projections. Engineers grow 8.5 percent, life scientists 9.4 percent and math science jobs 25.3 percent. The jobs that shrink are routine computer and drafting work: programmers -7.3 percent, mechanical drafters -6.0 percent, systems administrators -4.1 percent, user support -3.5 percent.
Are engineering jobs safe from AI?
Mostly yes. The BLS projects engineers to grow 8.5 percent from 2025 to 2035. The ILO rates civil, mechanical and electrical engineers as not exposed to generative AI (0.30 to 0.32), and industrial engineers as minimal exposure (0.37).
Which STEM jobs will AI replace?
The BLS names AI or automation for computer user support specialists, computer programmers, systems administrators and database administrators, and software for drafters and survey researchers. Even there it projects shrinking shares, not the end of the job.
Which STEM jobs grow fastest?
Data scientists (+34.6 percent), computer and information research scientists (+21.8 percent), information security analysts (+21.0 percent) and occupational health and safety specialists (+18.5 percent), on BLS projections for 2025 to 2035.