Morocco vs Spain: Enrolment in secondary education, both sexes (number), gaps filled

Morocco
3.57 million
in 2024
Spain
3.71 million
in 2024
Morocco rank
33rd
Spain rank
31st

Enrolment in secondary education, both sexes (number), gaps filled over time

  • Morocco
  • Spain
01.0M2.0M3.0M4.0M5.0M197119972024

How they compare

Spain currently reports 3.71 million against 3.57 million in Morocco, a difference of 137,400.

Across all 50 years both countries report, Spain has been ahead every year.

Morocco ranks 33rd and Spain ranks 31st of 219 countries.

Spain has averaged higher in every one of the 6 decades both report.

Head to head by decade

Decade Morocco Spain Difference Ahead
1970s 442,193 2.94 million 2.50 million Spain
1980s 1.10 million 4.34 million 3.24 million Spain
1990s 1.36 million 4.33 million 2.97 million Spain
2000s 1.92 million 3.11 million 1.18 million Spain
2010s 2.68 million 3.31 million 632,008 Spain
2020s 3.26 million 3.62 million 361,586 Spain

Averages of every year both report within each decade.

Frequently asked questions

Which has higher enrolment in secondary education, both sexes (number), gaps filled, Morocco or Spain?
Spain, at 3.71 million against 3.57 million in Morocco as of 2024.
What is the difference in enrolment in secondary education, both sexes (number), gaps filled between Morocco and Spain?
137,400, with Spain ahead.
How many years of comparable data are there for Morocco and Spain?
50 years are reported by both, from 1971 to 2024.
How do Morocco and Spain rank globally for enrolment in secondary education, both sexes (number), gaps filled?
Morocco ranks 33rd and Spain ranks 31st of 219 countries.
Where does this data come from?
Statizoid (derived), published as Enrolment in secondary education, both sexes (number), gaps filled. Statizoid refreshes it automatically from the source and publishes the full history for both places.

Individual pages

Share, cite or embed this page

Cite this page

Morocco vs Spain: Enrolment in secondary education, both sexes (number), gaps filled. Statizoid, drawing on Statizoid (derived). Retrieved 04 September 2026, from https://education.statizoid.com/compare/enrolment-in-secondary-education-both-sexes-number-gaps-filled/morocco/spain/

Embed or link this data

Paste this into a page to link back to these figures. The data itself is free to reuse under Derived by Statizoid from the sources named on the page; please keep the attribution.

<a href="https://education.statizoid.com/compare/enrolment-in-secondary-education-both-sexes-number-gaps-filled/morocco/spain/">Morocco vs Spain: Enrolment in secondary education, both sexes (number), gaps filled</a> — Statizoid

About this data

Indicator
Enrolment in secondary education, both sexes (number), gaps filled
Source
Statizoid (derived)
Licence
Derived by Statizoid from the sources named on the page
Coverage
440 places, 20,511 data points, 1970–2025
Last refreshed

Enrolment in secondary education, both sexes (number) with 733 missing years estimated by linear interpolation between the nearest real observations. Only gaps of 4 years or fewer are filled, and never beyond the first or last actual measurement — these are filled holes, not forecasts.