22.2 million workers, 42 occupation groups
Eurostat's lfsa_egai2d dataset - sourced from the INE (Instituto Nacional de Estadistica) Labour Force Survey - tracks Spanish employment using the ISCO-08 international occupation classification at the 2-digit sub-group level. This gives us 42 distinct occupation groups to rank by AI exposure, providing considerably more granularity than the ILO data available for Latin American economies.
Spain's workforce has recovered strongly since the post-2012 crisis period. Total employment stood at approximately 22.2 million in 2025, down from a pre-2008 peak but representing a substantial recovery from the 17 million low of 2013. The structure of the recovery has shifted the economy further toward services, knowledge work, and tourism-related employment - which collectively increase aggregate AI exposure relative to a manufacturing-heavy economy like Germany.
The most AI-exposed occupations in Spain
Spain's highest AI exposure group is general and keyboard clerks at 9.0/10 - matching the highest score recorded across all countries we have analysed (France and Germany share this peak). These 520k workers handle data entry, document processing, scheduling, and administrative coordination tasks across public administration, financial services, and large private-sector employers. The tasks are well-defined, rule-based, and directly executable by current AI tools - making this the group with the clearest near-term displacement risk.
Customer service clerks follow at 8.5/10, covering 914k workers - the largest clerical group in Spain. This is the front-line voice of Spanish banks, telecoms companies, utilities, and e-commerce logistics operations. The three largest Spanish telecoms - Telefonica, MasMovil, and Orange Spain - have all deployed AI-assisted customer service tools since 2023. Banco Santander, CaixaBank, and BBVA have done the same in financial services. For workers handling standard enquiries, scripted resolution processes, and information look-up tasks, AI substitution is already underway in Spain's formal economy.
Numerical and material recording clerks (stock controllers, inventory managers, logistics administrators) score 8.5/10 and cover 666k workers. ICT professionals score 8.5/10 covering 317k workers - Spain's growing tech sector, concentrated in Madrid's tech corridor and Barcelona's digital ecosystem. Business and administrative professionals (653k workers) score 8.0/10 - analysts, accountants, HR professionals, and project managers whose knowledge-work tasks are increasingly augmented by AI tools.
| Occupation Group | AI Score | Robotics Risk | Workers (2025) | % of Total |
|---|---|---|---|---|
| General and keyboard clerks | 9.0/10 | 2.0/10 | 520k | 2.3% |
| ICT professionals | 8.5/10 | 1.0/10 | 317k | 1.4% |
| Customer services clerks | 8.5/10 | 4.0/10 | 914k | 4.1% |
| Numerical and material recording clerks | 8.5/10 | 4.5/10 | 666k | 3.0% |
| Business and administration professionals | 8.0/10 | 1.5/10 | 653k | 2.9% |
| Business and admin associate professionals | 7.5/10 | 1.5/10 | 1,113k | 5.0% |
| ICT technicians | 7.5/10 | 2.5/10 | 422k | 1.9% |
The Barcelona-Madrid tech cluster: Spain's growing digital economy has concentrated ICT professionals in two main hubs. Barcelona's 22@ technology district and Madrid's tech corridor collectively employ the majority of Spain's 317k ICT professionals. These workers score 8.5/10 on AI exposure - but for software developers and data scientists, AI coding tools augment rather than replace. The pressure falls hardest on junior developers, QA testers, and data labelling roles.
Why general clerks, and not teachers?
Spain has one of Europe's highest shares of teaching professionals relative to its workforce. The 1.24 million teachers, professors, and educational trainers who make up 5.6% of the Spanish workforce score 6.5/10 on AI exposure - high enough to be significant, but well below the 9.0/10 of general clerks.
The gap reflects the fundamental nature of the work. A general clerk's tasks - entering data into forms, filing documents, responding to standard queries using information from a database - can be performed by current AI systems with high reliability. A teacher's tasks - explaining a concept to a confused eleven-year-old, managing a classroom of diverse learning needs, adapting an explanation in real time when a child is struggling - require human presence, emotional attunement, and improvisation that AI cannot currently replicate at any meaningful quality level.
This does not mean teachers face no AI impact. Spanish educational technology companies and the Ministry of Education have invested in AI-assisted grading tools, personalised learning platforms, and administrative automation that reduces the non-teaching workload. AI will change what teachers spend their time on - but the core act of teaching remains resistant to displacement for the foreseeable future. General clerks, by contrast, face a much more direct substitution risk: the tools are already available, the economics already favour replacement, and deployment is already underway at Spain's largest employers.
The safest jobs from AI in Spain
Spain's safest occupational groups by AI exposure are led by cleaners and domestic workers (1.18 million, 5.3% of the workforce) at just 1.5/10. Agricultural labourers score 1.5/10 covering 324k workers. Armed forces other ranks (61k workers) also score 1.5/10.
The pattern is consistent with what we see across all countries: physical presence, manual dexterity, and unpredictable real-world environments create a natural defence against current AI. A cleaner navigating a busy hotel corridor, adjusting to spills, responding to guests, and making real-time decisions about cleaning priorities is performing a series of tasks that robotics cannot yet reliably handle at the cost structure of the Spanish hospitality industry. This is particularly significant given that a large share of Spain's cleaners work in the tourism and hospitality sector - a sector that is simultaneously one of the largest employers and one of the least exposed to AI displacement.
| Occupation Group | AI Score | Robotics Risk | Workers (2025) | % of Total |
|---|---|---|---|---|
| Cleaners and domestic workers | 1.5/10 | 6.0/10 | 1,183k | 5.3% |
| Agricultural and fishery labourers | 1.5/10 | 5.5/10 | 324k | 1.5% |
| Personal care workers | 2.0/10 | 2.5/10 | 866k | 3.9% |
| Building and related trades workers | 2.0/10 | 4.0/10 | 1,014k | 4.6% |
| Personal service workers | 2.5/10 | 5.0/10 | 1,007k | 4.5% |
Spain's tourism economy and the AI question
Sales and personal service workers are Spain's largest occupation groups, covering 2.2 million and 1.0 million workers respectively. These groups score 5.0/10 and 2.5/10 on AI - a wide spread that reflects the diversity within the tourism and hospitality sector. A hotel front desk agent handling a complaint in real time, a restaurant waiter reading a table's mood, a tour guide improvising commentary in response to a group's questions - these tasks score low on AI exposure. A booking centre operator handling standard reservation queries scores much higher.
Spain welcomed 85 million international tourists in 2023 - the second highest total globally. The tourism sector directly and indirectly employs an estimated 13-15% of the Spanish workforce. This creates a structural buffer against the most aggressive AI displacement scenarios: the country's single largest economic activity depends on human service delivery in ways that AI cannot yet replicate at the quality levels Spain's tourism brand requires.
However, the back-office functions of tourism are not protected in the same way. Revenue management systems, pricing algorithms, customer data analytics, and digital marketing automation are all already deployed by Spain's major hotel chains (Melia, NH Hotels, Riu), airlines (Iberia, Vueling), and online travel agencies. The AI impact in Spanish tourism is arriving fastest in the functions tourists never see.
Spain's automotive sector and robotics risk
Assemblers score 8.5/10 on robotics risk and 2.5/10 on AI - covering 116k workers concentrated in Spain's automotive manufacturing facilities. Spain is the second largest car producer in Europe by volume, with major plants operated by Seat/Volkswagen in Martorell (Barcelona), Ford in Almussafes (Valencia), Stellantis in Vigo, and Renault in Valladolid. These facilities have been automating assembly operations for two decades, and the transition to electric vehicle manufacturing - which requires fundamentally different assembly processes - is accelerating that trend.
Stationary plant and machine operators also score 8.0/10 on robotics risk across 427k workers. Spain's food and beverage processing sector - olive oil, wine, canned goods, and processed foods - employs a significant share of this group and is increasingly deploying automated sorting, filling, and packaging systems. For these workers, the displacement risk comes not from AI software but from physical automation technology that is already economically viable at Spanish wage levels.
What this means for Spanish workers
Spain's AI and automation picture has three distinct stories running simultaneously. The first is the clerical displacement story: the 520k general clerks and 914k customer service clerks who score 8.5-9.0/10 on AI exposure face the most immediate and direct risk. Spain's banking sector (Santander, BBVA, CaixaBank), telecoms companies (Telefonica), and large retailers have already deployed AI customer service and back-office tools. The displacement in this group is not a 2030 projection - it is happening now, and the pace is likely to accelerate over the next 24 months as tool reliability improves and deployment costs fall.
The second story is the automotive robotics story: 116k assemblers and 427k plant operators facing 8.0-8.5/10 robotics risk in Spain's industrial heartland. The transition to electric vehicles is restructuring automotive employment across Europe, and Spain's plants - particularly Ford Almussafes, which has faced repeated uncertainty over its EV transition timeline - are at the centre of this restructuring. Spain's automotive workers' unions (CCOO and UGT) have been actively negotiating transition plans, but the structural direction of the industry is clear.
The third story is the resilience story: over 4 million Spanish workers in cleaning, personal care, construction trades, and agricultural labour who score 1.5-2.5/10 on AI exposure. Spain's large tourism and agriculture sectors have created a substantial buffer of employment that is genuinely resistant to near-term AI displacement. For these workers, the relevant risks are economic - wage stagnation, working conditions, access to social protection - rather than AI substitution.
Explore Spain's full occupation breakdown
View AI exposure, robotics risk, offshoring risk, and WFH potential for all 42 Spanish occupation groups - or compare Spain against 205 other countries.
Explore Spain workforce data ->