Spain Education Reform 2027/28: Class Sizes, Teachers and AI

Getting your Trinity Audio player ready...

Spain is preparing for the AI era by giving teachers more time with each student. Its class-size law lowers the maximum number of students per class and caps teachers’ weekly classroom hours, with a phased rollout starting in the 2027/2028 academic year. Separately, Spain’s universities ministry is writing the country’s first rules on how AI is used in university teaching and assessment.

Schools: smaller classes, fewer teaching hours

The bill sets new national maximums:

  • Primary: 22 students per class (down from 25)
  • Compulsory secondary (ESO): 25 students per class (down from 30)
  • Teaching hours: a maximum of 23 per week in infant, primary and special education, and 18 in other levels
  • Inclusion: students with special educational needs count as two places in publicly funded schools

The rollout timeline

  1. 2027/2028: infant and primary education
  2. 2028/2029: secondary education (ESO)
  3. 2029/2030: upper secondary (bachillerato)
  4. 2031/2032: fully in force

The timing matches Spain’s falling birth rate, which is already reducing student numbers. Note that the bill was still going through parliament as of mid-2026, so the final details may change.

Why this matters for AI in education

Spain’s reform is not an AI law, but it addresses the main thing AI adoption needs: teacher time. With smaller classes and fewer teaching hours, teachers have room to redesign lessons, give feedback on AI-assisted work and teach students to judge AI output. Classroom AI guidance in Spain will largely follow the EU-OECD AI Literacy Framework and the EU’s 2027/28 AI Literacy Certificate pilot.

Colleges: vocational training follows EU direction

For Spain’s vocational training (FP), the new EU VET strategy and AI literacy guidance will shape changes more than national law over the next two years.

Universities: AI ethics codes and integrity rules

Universities are where Spain is setting direct AI rules:

  • Universities will be required to have an AI ethics code.
  • A draft royal decree includes measures to prevent fraudulent AI use in academic work.
  • Online universities that use AI to protect exam integrity must confirm the required assessments have been carried out.

AI degrees are also growing, with official AI and AI engineering degrees now registered at public and private universities.

What to watch in 2027–2028

  • Whether the class-size law passes in time for September 2027
  • How regions fund the extra teachers and classrooms it requires
  • How strict the final university AI decree turns out to be

Frequently asked questions

What is the new maximum class size in Spain?

22 students in primary and 25 in compulsory secondary, phased in from 2027/2028.

Is Spain’s class-size law already in force?

It was still going through parliament in 2026. Implementation is planned from 2027/2028.

Does Spain regulate AI in universities?

Yes. New rules will require AI ethics codes and include measures against fraudulent AI use in academic work.

 

Sources

Newsletter

New articles, straight to your inbox

Practical writing on AI in education, school technology and IT leadership. No spam, and you can unsubscribe or manage your subscription at any time.

Related Posts

Same topics and tags

Previous Posts

Published just before this one
AI & Education

Saudi Arabia’s AI Moment in Education: What the 2026–2027 Reforms Mean for Schools (and a Practical Curriculum Plan)

50 new AI units, 22 revamped subjects, 240,000 staff in training and a new US partnership network. What Saudi Arabia's 2026–2027 education reforms actually say, where implementation will break, and a semester-by-semester AI curriculum plan schools can use now.

Read more about Saudi Arabia’s AI Moment in Education: What the 2026–2027 Reforms Mean for Schools (and a Practical Curriculum Plan)

Have a technology challenge worth solving?

Consulting, IT leadership, EdTech transformation and AI implementation for educational institutions and education organizations.

Get in Touch
Scroll to Top