World 8.2bn peopleGDP $118tnLife expectancy 73.5 yrsOnline 73.6%
World Report nowcountries in numbers
  1. Home
  2. Countries
  3. Morocco
  4. Education
Education · Middle East, North Africa, Afghanistan & Pakistan · Lower-middle income

Morocco: education in numbers

Pre-primary enrolment is 59.9% (2021), 106th of 176 in the world and 7th of 15 in the Middle East & North Africa. Primary enrolment is 116.6% (2024), 16th of 191 in the world and 1st of 19 in the Middle East & North Africa. Primary completion is 106.4% (2024), 17th of 168 in the world and 1st of 19 in the Middle East & North Africa.

Pre-primary enrolment
MoroccoMiddle East, North Africa, A…Lower-middle incomeWorld
0%20%40%60%80%199520002005201020152020Morocco59.9%Middle East, North Africa, Afghanistan & PakistanLower-middle incomeWorld
Primary enrolment
MoroccoMiddle East, North Africa, A…Lower-middle incomeWorld
60%80%100%120%199520002005201020152020Morocco116.6%Middle East, North Africa, Afghanistan & PakistanLower-middle incomeWorld
12 indicators

Education: Morocco in detail

Latest reported value, world rank and rank within Middle East, North Africa, Afghanistan & Pakistan; values around 2000, 2010, 2020; group and world columns are World Bank aggregates.

IndicatorLatestWorld rankIn region~2000~2010~202010-year changeRegionIncome groupWorldSince 2000
Pre-primary enrolmentPre-primary enrolment, % gross59.9%2021106/1767/1561.1%54.5%60.4%+5.4 ppsince 201033.8%58.5%60.9%
Primary enrolmentPrimary school enrolment, % gross116.6%202416/1911/1993.8%107.2%112.4%+9.3 ppsince 201494.6%105.4%102.2%
Primary completionPrimary completion rate, % of age group106.4%202417/1681/1959.1%82.2%94.3%+11.0 ppsince 201483.7%88.0%88.0%
Secondary enrolmentSecondary school enrolment, % gross90.0%2024105/17610/1739.7%63.1%80.3%+21.2 ppsince 201265.8%68.0%77.3%
Lower secondary completionLower secondary completion rate, % of age group77.2%2024119/16815/1934.4%60.3%65.8%+10.7 ppsince 201466.7%73.7%77.9%
Tertiary enrolmentTertiary enrolment, % gross48.2%202486/17210/1910.1%14.0%39.7%+22.9 ppsince 201429.7%27.4%43.6%
Out-of-school childrenChildren out of school, % of primary school age0.5%2021156/17815/1718.7%8.9%0.5%−6.8 ppsince 2011—8.3%—
Adult literacyAdult literacy rate, % of people 15+64.3%2014122/14116/18·67.1%2011·+12.0 ppsince 200475.6%78.3%87.7%
Youth literacyYouth literacy rate, % of people 15–2489.1%2014115/14816/19·81.5%2011·+18.7 ppsince 200486.9%91.9%93.1%
Pupils per teacherPupils per teacher, primary26.8201848/1736/2028.826.226.82018+1.0%since 200821.328.923.4
Education spendingPublic spending on education, % of GDP6.0%202327/1844/164.6%19994.8%20096.3%+0.5 ppsince 20124.4%3.4%3.6%
Education, % of budgetEducation spending, % of government expenditure23.3%20246/1791/1525.8%199917.3%200924.2%+1.2 ppsince 201413.1%13.6%14.0%
Source: World Bank, World Development Indicators (CC BY 4.0)“·” — no value reported within two years of that date. World rank counts countries with a recent value.

Better than ten years ago

Worse than ten years ago

Only indicators where higher or lower is clearly better are rated (for example, unemployment down is better, life expectancy up is better).

neighbours

Morocco and its neighbours

Countries sharing a land border with Morocco. Latest values since 2005; the highest in each row is marked.

IndicatorMoroccoSpainAlgeria
Pre-primary enrolment59.9%2021101.8%202079.1%2011
Primary enrolment116.6%2024102.9%2024105.5%2025
Primary completion106.4%202498.5%202498.2%2025
Secondary enrolment90.0%2024118.5%2024105.2%2024
Lower secondary completion77.2%202493.4%202479.0%2025
Tertiary enrolment48.2%202493.8%202454.4%2024
Out-of-school children0.5%20211.2%20241.6%2025
Adult literacy64.3%201499.7%202175.1%2008
Youth literacy89.1%201499.7%202193.8%2008