
Photo: Christophe Guilloux derivative work: Inkey · CC BY-SA 3.0 · via Wikimedia Commons, shown in greyscale
Topic 04 of 18 · Country Index 2026
Morocco: Education & Knowledge
How far does a country's schooling carry its children?
Morocco is placed 104th of 171 countries on education & knowledge in the Country Index 2026, from 3 of its 4 key statistics. Readings behind it: Upper Secondary Completion Rate 27.02 (2025); Youth Literacy Rate 89.12 (2024).
Education & Knowledge
104th
of 171 countries placed
Placed from 3 of 4 key statistics
01The evidence
The 4 key statistics that decide it
Only these place Morocco on education & knowledge — one vote each. Every value is the publisher’s own, read at the edition the Country Index 2026 used — or, for a survey-based key, each country’s latest reading; the grey ticks are every other country it was compared with, lowest on the left.
Key 1 of 4
Upper Secondary Completion Rate
UNESCO Institute for Statistics (UIS)
Why it is a key: How far a schooling system carries the young people who get through primary — the only key here that measures anything past childhood.
2025 edition · data for 2025 · CC BY-SA 4.0
27.02
Upper secondary completion rate (%)
Higher is better
Morocco: 27.02. Across the 164 countries in this edition, values run from 2.13 (South Sudan) to 99.27 (South Korea); the world median is 64.87.
- World median
- 64.87
- Best in Northern Africa
- 88.21 Egypt
- Land neighbours
- Algeria 50.71
Each grey tick is one of 164 countries in the 2025 edition.
Key 2 of 4
Youth Literacy Rate
UNESCO Institute for Statistics (UIS)
Why it is a key: Whether 15- to 24-year-olds can read and write — the only key here that tests what a schooling system produced, rather than how many passed through it or what it cost.
Latest reading per country, 2014–2024 · Morocco’s is from 2014 · CC BY-SA 4.0
89.12
15–24 year-olds who can read and write (%)
Higher is better
Morocco: 89.12. Across the 174 countries at their latest reading, values run from 36.7 (South Sudan) to 100 (Uzbekistan); the world median is 98.22.
- World median
- 98.22
- Best in Northern Africa
- 98.16 Tunisia
- Land neighbours
- Algeria 93.77
Each grey tick is one of 174 countries at its latest reading, 2014–2024.
Key 3 of 4
Government Spending on Education
UNESCO Institute for Statistics (UIS)
Why it is a key: What a state chooses to spend on education, as a share of its economy — the input, where the other two keys measure reach.
2023 edition · data for 2023 · CC BY-SA 4.0
6.021
Government expenditure on education (% of GDP)
Higher is better
Morocco: 6.021. Across the 123 countries in this edition, values run from 0 (Somalia) to 16.39 (Kiribati); the world median is 3.709.
- World median
- 3.709
- Best in Northern Africa
- 6.734 Tunisia
- Land neighbours
- Algeria 5.61
Each grey tick is one of 123 countries in the 2023 edition.
Key 4 of 4
Out-of-School Rate, Primary
UNESCO Institute for Statistics (UIS)
Why it is a key: Primary-age children who are not in school at all: the floor of an education system.
2024 edition · data for 2024 · CC BY-SA 4.0
No reading
Out-of-school rate, primary age (%)
Lower is better
UIS publishes no 2024 figure for Morocco, so the standing rests on the other keys.
Across the 121 countries in this edition, values run from 0.004 (United Arab Emirates) to 64.73 (South Sudan); the world median is 3.691.
- World median
- 3.691
- Best in Northern Africa
- 1.58 Algeria
- Land neighbours
- Algeria 1.58
Each grey tick is one of 121 countries in the 2024 edition.
02Over time
Which way Morocco is moving
Each key’s published value, edition by edition, beside the world median. The Country Index 2026 is the first edition of the standing, so the standing itself has no history to chart yet.
Upper Secondary Completion Rate
Upper secondary completion rate (%) · higher is better
MoroccoWorld median
Morocco rose from 16.14 in 2000 to 27.02 in 2025; the world median went from 38 to 64.87.
Every year’s figures
Year Morocco World median 2025 27.0 64.9 2024 26.5 65.0 2023 26.2 64.2 2022 25.9 63.6 2021 25.4 62.9 2020 25.1 62.2 2019 24.6 61.5 2018 24.2 60.9 2017 23.9 60.5 2016 23.5 60.1 2015 23.2 58.9 2014 22.9 57.0 2013 22.6 54.7 2012 22.2 52.4 2011 22.0 50.9 2010 21.7 49.5 2009 21.4 48.5 2008 21.0 47.4 2007 20.8 46.2 2006 20.4 45.0 2005 20.1 43.8 2004 19.7 42.9 2003 18.9 41.6 2002 17.8 40.3 2001 16.9 39.0 2000 16.1 38.0 Government Spending on Education
Government expenditure on education (% of GDP) · higher is better
MoroccoWorld median
Morocco rose from 4.853 in 2008 to 6.021 in 2023; the world median went from 4.423 to 3.709.
Every year’s figures
Year Morocco World median 2023 6.02 3.7092 2022 5.91 4.0570 2021 5.64 4.2611 2020 6.28 4.4056 2019 5.00 4.1407 2018 4.96 4.2159 2017 4.74 4.1401 2016 5.09 4.2342 2015 5.13 4.2386 2014 5.48 4.2005 2013 — 4.3493 2012 5.55 4.0348 2011 — 3.9987 2010 — 4.1396 2009 4.83 4.6638 2008 4.85 4.4226 2007 — 4.1717 2006 — 4.0593 2005 — 4.0557 2004 — 3.9745 2003 — 4.1595 2002 — 4.0173 2001 — 4.1002 2000 — 3.8861 Out-of-School Rate, Primary
Out-of-school rate, primary age (%) · lower is better
MoroccoWorld median
Morocco fell from 18.71 in 2000 to 0.471 in 2021; the world median went from 8.642 to 3.33.
Every year’s figures
Year Morocco World median 2024 — 3.691 2023 — 3.393 2022 — 3.002 2021 0.47 3.330 2020 0.48 2.678 2019 3.15 2.758 2018 5.12 2.439 2017 7.22 2.907 2016 8.26 2.954 2015 10.36 3.052 2014 7.82 3.904 2013 6.78 3.413 2012 7.93 3.408 2011 7.27 3.626 2010 8.90 3.491 2009 12.71 3.577 2008 11.66 3.878 2007 11.36 4.029 2006 11.83 4.338 2005 12.44 4.571 2004 12.77 3.791 2003 12.28 4.412 2002 13.82 4.144 2001 16.29 4.051 2000 18.71 8.642
03In context
Morocco beside its neighbours
A position reads best beside the countries around it. Every position below is a place among all 171 countries on education & knowledge, never a place within the region.
Morocco and the countries it borders
The standing is each country’s place among all 171 placed on the topic; the other columns are the publishers’ own values, read at the edition the standing used.
| Country | Standing | Upper Secondary Completion RateUpper secondary completion rate (%) | Youth Literacy Rate15–24 year-olds who can read and write (%) | Government Spending on EducationGovernment expenditure on education (% of GDP) | Out-of-School Rate, PrimaryOut-of-school rate, primary age (%) |
|---|---|---|---|---|---|
| 50th | 50.71 | 93.77 | 5.61 | 1.58 | |
| 104th | 27.02 | 89.12 | 6.021 | — |
“—” means the publisher gives no reading for that country in that edition. A country needs readings on enough keys to be placed.
Across Northern Africa
Every country in the sub-region, by its place among all 171.
Placed either side on education & knowledge
The countries immediately above and below Morocco in the topic’s list.
04Context, no vote
Where Morocco is ahead of the world, and behind
19 more statistics filed under education & knowledge, published in full and deliberately given no vote in the standing. Select a row for the publisher, the rank and the links.
Ahead of the world median4
Statistics on which Morocco does better than the middle country measured.
Expected Years of SchoolingUNDP Human Development Report Office · 2023 · world median 13.3415.0713.34▲ Improved since 2013
Morocco: 15.07 · world median 13.34 · Expected years of schooling. UNDP Human Development Report Office, 2023 edition, data for 2023.
Published values in that edition run from 5.635 to 21.69; higher is better.
Position 65th of 195 — derived here by ordering the published values, 1st = best. The publisher ranks no country on this.
Researchers per Million InhabitantsUIS · 2024 · world median 701.951,083701.95No earlier reading
Morocco: 1,083 · world median 701.95 · Researchers per million inhabitants (full-time equivalent). UNESCO Institute for Statistics (UIS), 2024 edition, data for 2024.
Published values in that edition run from 1.446 to 18,130; higher is better.
Position 59th of 145 — derived here by ordering the published values, 1st = best. The publisher ranks no country on this.
School Life ExpectancyUIS · 2024 · world median 14.5915.2114.59▲ Improved since 2017
Morocco: 15.21 · world median 14.59 · School life expectancy, primary to tertiary (years). UNESCO Institute for Statistics (UIS), 2024 edition, data for 2024.
Published values in that edition run from 7.478 to 21.01; higher is better.
Position 33rd of 77 — derived here by ordering the published values, 1st = best. The publisher ranks no country on this.
Pre-Primary Net Enrolment RateUIS · 2024 · world median 65.9370.4665.93▲ Improved since 2014
Morocco: 70.46 · world median 65.93 · Net enrolment rate, pre-primary (%). UNESCO Institute for Statistics (UIS), 2024 edition, data for 2024.
Published values in that edition run from 1.779 to 99.85; higher is better.
Position 53rd of 120 — derived here by ordering the published values, 1st = best. The publisher ranks no country on this.
Behind the world median13
Statistics on which Morocco does worse than the middle country measured.
Tertiary Enrolment RatioUIS · 2024 · world median 52.7748.1852.77▲ Improved since 2014
Morocco: 48.18 · world median 52.77 · Gross enrolment ratio, tertiary (%). UNESCO Institute for Statistics (UIS), 2024 edition, data for 2024.
Published values in that edition run from 2.566 to 141.86; higher is better.
Position 50th of 95 — derived here by ordering the published values, 1st = best. The publisher ranks no country on this.
Academic Freedom IndexV-Dem Institute, University of Gothenburg · 2025 · world median 0.6190.4810.619No real change since 2015
Morocco: 0.481 · world median 0.619 · Academic freedom index (0–1). V-Dem Institute, University of Gothenburg, 2025 edition, data for 2025.
Published values in that edition run from 0.019 to 0.978; higher is better.
Position 109th of 176 — derived here by ordering the published values, 1st = best. The publisher ranks no country on this.
Secondary School EnrolmentUIS · 2024 · world median 93.1989.9893.19▲ Improved since 2017
Morocco: 89.98 · world median 93.19 · Gross secondary enrolment ratio (%). UNESCO Institute for Statistics (UIS), 2024 edition, data for 2024.
Published values in that edition run from 19.87 to 158.55; higher is better.
Position 70th of 109 — derived here by ordering the published values, 1st = best. The publisher ranks no country on this.
Learning PovertyWorld Bank Group and UNESCO Institute for Statistics · 2023 · world median 34.0259.7634.02No earlier reading
Morocco: 59.76 · world median 34.02 · 10-year-olds who cannot read and understand a simple text (%). World Bank Group and UNESCO Institute for Statistics, 2023 edition, data for 2023.
Published values in that edition run from 2.331 to 98.5; lower is better.
Position 42nd of 125 — derived here by ordering the published values, 1st = worst. The publisher ranks no country on this.
Learning-Adjusted Years of SchoolWorld Bank Group · 2020 · world median 7.9416.3187.941▲ Improved since 2010
Morocco: 6.318 · world median 7.941 · Learning-adjusted years of school (0–14). World Bank Group, 2020 edition, data for 2020.
Published values in that edition run from 2.207 to 12.81; higher is better.
Position 119th of 172 — derived here by ordering the published values, 1st = best. The publisher ranks no country on this.
Primary Completion RateUIS · 2025 · world median 97.4384.6197.43No real change since 2015
Morocco: 84.61 · world median 97.43 · Primary completion rate (%). UNESCO Institute for Statistics (UIS), 2025 edition, data for 2025.
Published values in that edition run from 7.94 to 100; higher is better.
Position 119th of 165 — derived here by ordering the published values, 1st = best. The publisher ranks no country on this.
Harmonized Test ScoresWorld Bank Group · 2020 · world median 414.32380.41414.32▲ Improved since 2010
Morocco: 380.41 · world median 414.32 · Harmonized test score (TIMSS-equivalent points; 300 = minimum, 625 = advanced attainment). World Bank Group, 2020 edition, data for 2020.
Published values in that edition run from 304.92 to 575.27; higher is better.
Position 126th of 172 — derived here by ordering the published values, 1st = best. The publisher ranks no country on this.
Inbound Mobility Rate, TertiaryUIS · 2024 · world median 5.4941.885.494▼ Worsened since 2014
Morocco: 1.88 · world median 5.494 · Inbound mobility rate, tertiary (%). UNESCO Institute for Statistics (UIS), 2024 edition, data for 2024.
Published values in that edition run from 0 to 87.12; higher is better.
Position 58th of 75 — derived here by ordering the published values, 1st = best. The publisher ranks no country on this.
Mean Years of SchoolingUNDP Human Development Report Office · 2023 · world median 9.9336.1989.933▲ Improved since 2013
Morocco: 6.198 · world median 9.933 · Mean years of schooling (adults 25+). UNDP Human Development Report Office, 2023 edition, data for 2023.
Published values in that edition run from 1.412 to 14.3; higher is better.
Position 150th of 193 — derived here by ordering the published values, 1st = best. The publisher ranks no country on this.
Adult Literacy RateUIS · 2024 · world median 93.9964.2693.99No earlier reading
Morocco: 64.26 · world median 93.99 · Adults 15+ who can read and write (%). UNESCO Institute for Statistics (UIS), 2024 edition, data for 2024.
Published values in that edition run from 26.83 to 100; higher is better.
Position 149th of 172 — derived here by ordering the published values, 1st = best. The publisher ranks no country on this.
PISA Mathematics PerformanceOECD · 2022 · world median 442.09364.77442.09▲ Improved since 2018
Morocco: 364.77 · world median 442.09 · Mean mathematics score. OECD, 2022 edition, data for 2022.
Published values in that edition run from 336.4 to 574.66; higher is better.
Position 69th of 79 — derived here by ordering the published values, 1st = best. The publisher ranks no country on this.
PISA Science PerformanceOECD · 2022 · world median 446.93365.4446.93▼ Worsened since 2018
Morocco: 365.4 · world median 446.93 · Mean science score. OECD, 2022 edition, data for 2022.
Published values in that edition run from 347.1 to 561.43; higher is better.
Position 74th of 79 — derived here by ordering the published values, 1st = best. The publisher ranks no country on this.
PISA Reading PerformanceOECD · 2022 · world median 440.35339.36440.35▼ Worsened since 2018
Morocco: 339.36 · world median 440.35 · Mean reading score. OECD, 2022 edition, data for 2022.
Published values in that edition run from 328.84 to 542.55; higher is better.
Position 77th of 79 — derived here by ordering the published values, 1st = best. The publisher ranks no country on this.
No better end2
These describe the shape of a country — more is not better or worse, only different — so they are never ahead or behind.
Outbound Mobility Ratio, TertiaryUIS · 2023 · world median 5.2795.355.279Moved since 2013
Morocco: 5.35 · world median 5.279 · Outbound mobility ratio, tertiary (% of tertiary enrolment at home). UNESCO Institute for Statistics (UIS), 2023 edition, data for 2023.
Published values in that edition run from 0.333 to 1,724.
Female Share of ResearchersUIS · 2024 · world median 38.1733.7538.17No earlier reading
Morocco: 33.75 · world median 38.17 · Researchers who are women (% of headcount; 50 = parity). UNESCO Institute for Statistics (UIS), 2024 edition, data for 2024.
Published values in that edition run from 0 to 76.54.
No current reading for Morocco
Government Funding per Primary Student (last 2013), Out-of-School Rate, Primary (last 2021), Research and Development Spending (last 2010) and Upper Secondary Attainment (last 2017). Listed rather than hidden, so the page can be checked against it.
05Country Index 2026
Education & Knowledge among Morocco’s 15 topics
Education & Knowledge is Morocco’s 5th best-placed topic of 15. Strongest first; each marker sits at the position divided by that topic’s field, so fields of different sizes compare fairly.
- Governance & Institutions74th of 1944/4 keys
- Digital & Technology92nd of 1983/3 keys
- Environment & Sustainability90th of 1812/3 keys
- Health & Wellbeing101st of 2003/4 keys
- Education & Knowledge104th of 1713/4 keys
- Risk & Resilience120th of 1923/3 keys
- Democracy & Civil Liberties126th of 1983/3 keys
- Poverty & Inequality103rd of 1592/2 keys
- Energy127th of 1933/3 keys
- Development & Human Capital131st of 1963/3 keys
- Economy & Innovation123rd of 1764/4 keys
- Food & Agriculture124th of 1753/4 keys
- Peace & Security139th of 1774/4 keys
- Gender & Equality147th of 1834/4 keys
- Work & Labour166th of 1824/4 keys
No standing on Mobility & Trade: too few of those topics’ key statistics are published for this country.
06The top of the list
Who leads on education & knowledge
The three countries placed highest of 171, and the leaders Morocco can most readily be measured against.
1South Korea
Eastern Asia
1st of 171 · 2 of 4 keys
Photo: Unknown author · CC BY-SA 2.0, greyscale
2Uzbekistan
Central Asia
2nd of 171 · 4 of 4 keys
Photo: Jean-Pierre Dalbéra · CC BY 2.0, greyscale
3Poland
Eastern Europe
3rd of 171 · 2 of 4 keys
Photo: Ralf Lotys (Sicherlich) · CC BY 3.0, greyscale
Placed highest nearby
Highest in Africa
Mauritius=36th4/4 keys
Highest in Northern Africa
Algeria50th3/4 keys
This page
Morocco104th3/4 keys
Positions out of 171 placed on the topic. A country needs readings on enough keys to be placed, and the top of the list is often held on fewer of them.
07Questions
Morocco on education & knowledge: questions answered
Every answer is built from the numbers on this page, so none can say something the page does not.
How does Morocco rank on education & knowledge?
Morocco is placed 104th of 171 countries on Education & Knowledge in the Country Index 2026, from 3 of its 4 key statistics (Upper Secondary Completion Rate, Youth Literacy Rate and Government Spending on Education). The position is this site’s ordering of published statistics, not a rank any publisher printed.
What is the latest Upper Secondary Completion Rate figure for Morocco?
27.02 in 2025 (upper secondary completion rate (%)), according to UNESCO Institute for Statistics (UIS). The world median in the same edition was 64.87.
What is the latest Youth Literacy Rate figure for Morocco?
89.12 in 2024 (15–24 year-olds who can read and write (%)), according to UNESCO Institute for Statistics (UIS). The world median in the same edition was 98.22.
How does Morocco compare with Algeria on education & knowledge?
Algeria is placed 50th of 171, and Morocco 104th. Upper Secondary Completion Rate: Algeria 50.71, Morocco 27.02; Youth Literacy Rate: Algeria 93.77, Morocco 89.12; Government Spending on Education: Algeria 5.61, Morocco 6.021.
How have Morocco’s education & knowledge figures changed?
Upper Secondary Completion Rate rose from 16.14 in 2000 to 27.02 in 2025; Government Spending on Education rose from 4.853 in 2008 to 6.021 in 2023; Out-of-School Rate, Primary fell from 18.71 in 2000 to 0.471 in 2021.
Which education & knowledge statistics are missing for Morocco?
No current reading is published for Morocco on Government Funding per Primary Student, Out-of-School Rate, Primary, Research and Development Spending and Upper Secondary Attainment. They are listed rather than hidden, so the evidence on the page can be checked against it.
08Keep reading
Explore further
Morocco, topic by topic
- Governance & Institutions74th of 194
- Economy & Innovation123rd of 176
- Work & Labour166th of 182
- Health & Wellbeing101st of 200
- Development & Human Capital131st of 196
- Environment & Sustainability90th of 181
- Gender & Equality147th of 183
- Democracy & Civil Liberties126th of 198
- Peace & Security139th of 177
- Risk & Resilience120th of 192
- Food & Agriculture124th of 175
- Poverty & Inequality103rd of 159
- Energy127th of 193
- Digital & Technology92nd of 198
- The full Morocco profile
Nearby, on education & knowledge
The key statistics, for every country
09Method
Method, sources and how to cite
What this topic does not measure
How much children actually learn is only partly covered. International test scores exist for a limited group of countries, and they are published here as context rather than used as a key, because a key must describe most of the world. Universities, research and adult literacy also appear as context.
How the Education & Knowledge standing is decided, step by step
A standing is a place in a list, not a mark out of anything. This one is part of the Country Index 2026, and it is worked out like this.
- A few key indicators decide it; the rest are context. 4 indicators on this topic are keys and 22 are charted alongside them without a vote. That split is the point: if every statistic voted, importing five more of one kind would quietly change what the topic is about.
- Each key is read at one edition. ⚠ The keys behind this standing do not all describe the same year — they run from 2023 to 2025, because publishers release on their own schedules. Read the standing as “how this country places now”, not as a snapshot of one year.
- Every country’s published value is turned into a place within that one key’s own field, and then expressed as a share of that field — how far down this key’s list the country sits, rather than how many countries are above it. Keys where a higher published number is worse (terrorism, hunger, disaster risk) are turned round first, so the good end is always the same end.
- Dividing by the field first is the whole reason this works. A place carries the size of its list inside it: 22nd of 44 and 108th of 215 are the same showing, and averaging the numbers 22 and 108 says loudly that they are not. Fields on this site run from about 44 countries to about 215, so averaging raw places would reward a country for happening to be measured in small ones. Dividing each place by its own field removes the size and leaves only the showing.
- The shares are averaged, plainly. One key, one vote — no key is weighted above another, because any weighting would be this site’s opinion presented as a measurement. Countries are then put in order by that average, and the average itself is never published. It is our arithmetic with nothing anchoring it, so printing it would invite it to be read as a measurement somebody made. The position it produces, the band, and the keys it was built from are all published instead — every one of them checkable against the tables on this page.
- A country needs 2 of this topic’s 4 keys — half, rounded up, and never fewer than 2. A standing built from one reading, printed beside one built from four, is two different things sharing a column heading. 171 countries clear the bar here.
- A key has to earn its vote every edition. It must measure at least 120 countries (below that it starts measuring who was surveyed rather than the world), it must not have more than 10% of its field tied at either end, and it must not repeat another key in the same topic — Spearman correlation above 0.92 counts as repeating. A topic needs at least 2 surviving keys to place anyone at all; this one has 4.
- A standing is relative, and the grouping is ours. It says where a country places against the others measured alongside it, so it moves when they move. The publishers listed on this page did not agree to be read together, and each measures its subject its own way: the underlying numbers are theirs, the ordering on top is this site’s — the same method as the rest of the Country Index, applied to one subject instead of all of them.
The key statistics and their licences
- Upper Secondary Completion Rate — UNESCO Institute for Statistics (UIS), CC BY-SA 4.0
- Youth Literacy Rate — UNESCO Institute for Statistics (UIS), CC BY-SA 4.0
- Government Spending on Education — UNESCO Institute for Statistics (UIS), CC BY-SA 4.0
- Out-of-School Rate, Primary — UNESCO Institute for Statistics (UIS), CC BY-SA 4.0
The other 19 statistics on this page come from 6 publishers, each named beside its numbers, with every edition and licence on the datasets pages.
The standing itself is part of the Country Index 2026, published under CC BY-SA 4.0.
Photographs
Morocco’s banner and the countries placed highest, from their profiles: Wikimedia Commons, shown in greyscale, each used under the licence named.
- Morocco (banner) — Christophe Guilloux derivative work: Inkey, CC BY-SA 3.0
- South Korea — Unknown author, CC BY-SA 2.0
- Uzbekistan — Jean-Pierre Dalbéra, CC BY 2.0
- Poland — Ralf Lotys (Sicherlich), CC BY 3.0
Cite this page
Nations Inquiry (2026). Morocco: Education & Knowledge — standing and statistics, Country Index 2026. https://nationsinquiry.com/countries/morocco/education