Number of years of compulsory primary and secondary education in Somalia
Somalia: Number of years of compulsory primary and secondary education was 8 in 2025. ◆ Volatile
Number of years of compulsory primary and secondary education in Somalia, 1998–2025
Source: UNESCO Institute for Statistics.
Analysis
In 2025, number of years of compulsory primary and secondary education in Somalia stood at 8. That is the highest value across all 28 years on record.
Over the whole period, number of years of compulsory primary and secondary education in Somalia peaked at 8 in 2021 and was at its lowest, 0, in 1998.
Somalia ranks 159th of 214 countries on this measure, in the middle of the range.
The series is highly variable year to year, so single readings are best treated with caution.
Number of years of compulsory primary and secondary education in Somalia, year by year
| Year | Value | Change |
|---|---|---|
| 1998 | 0 | — |
| 1999 | 0 | — |
| 2000 | 0 | — |
| 2001 | 0 | — |
| 2002 | 0 | — |
| 2003 | 0 | — |
| 2004 | 0 | — |
| 2005 | 0 | — |
| 2006 | 0 | — |
| 2007 | 0 | — |
| 2008 | 0 | — |
| 2009 | 0 | — |
| 2010 | 0 | — |
| 2011 | 0 | — |
| 2012 | 0 | — |
| 2013 | 0 | — |
| 2014 | 0 | — |
| 2015 | 0 | — |
| 2016 | 0 | — |
| 2017 | 0 | — |
| 2018 | 0 | — |
| 2019 | 0 | — |
| 2020 | 0 | — |
| 2021 | 8 | — |
| 2022 | 8 | +0.0% |
| 2023 | 8 | +0.0% |
| 2024 | 8 | +0.0% |
| 2025 | 8 | +0.0% |
Somalia compared with similar countries
- Somalia's 8 is above the median for low income countries, which is 8, 1.0× the median. (25 countries reporting)
- Somalia's 8 is above the median for Sub-Saharan Africa, which is 8, 1.0× the median. (48 countries reporting)
Averages by decade
| Decade | Average | Lowest | Highest | Years |
|---|---|---|---|---|
| 1990s | 0 | 0 | 0 | 2 |
| 2000s | 0 | 0 | 0 | 10 |
| 2010s | 0 | 0 | 0 | 10 |
| 2020s | 6.67 | 0 | 8 | 6 |
Countries ranked near Somalia
- 159 Belize 8 compare
- 159 Eritrea 8 compare
- 159 Ethiopia 8 compare
- 159 Micronesia, Federated States of 8 compare
- 159 Croatia 8 compare
- 159 India 8 compare
- 159 Malawi 8 compare
- 159 Nepal 8 compare
- 159 Poland 8 compare
- 159 Sudan 8 compare
- 159 Serbia 8 compare
- 159 South Sudan 8 compare
- 159 Samoa 8 compare
More education data for Somalia
- Teachers in secondary education, both sexes (number), gaps filled 4,504 (2007)
- Enrolment in pre-primary education, male (number), gaps filled 676 (1986)
- Enrolment in pre-primary education, female (number), gaps filled 882 (1986)
- Secondary education, pupils, gaps filled 115,828 (2023)
- Primary education, duration (years), annual growth rate 0 % change on previous year (2025)
- Primary education, pupils, gaps filled 464,607 (2023)
- Primary education, pupils, annual growth rate -7.59 % change on previous year (1986)
- Primary education, pupils, per unit of GDP 0 units per US$ of GDP (2023)
- Primary education, pupils, per capita 0.0253 units per person (2023)
- Secondary education, duration (years), annual growth rate 0 % change on previous year (2025)
Frequently asked questions
- What is number of years of compulsory primary and secondary education in Somalia?
- Number of years of compulsory primary and secondary education in Somalia was 8 in 2025, according to UNESCO Institute for Statistics.
- What is the highest number of years of compulsory primary and secondary education recorded in Somalia?
- The highest recorded value was 8 in 2021.
- What is the lowest number of years of compulsory primary and secondary education recorded in Somalia?
- The lowest recorded value was 0 in 1998.
- How does Somalia rank for number of years of compulsory primary and secondary education?
- Somalia ranks 159th out of 214 countries with data for 2025.
- Where does this Somalia data come from?
- The figures come from UNESCO Institute for Statistics, published as part of Number of years of compulsory primary and secondary education guaranteed in legal frameworks. Statizoid updates them automatically from the source API.
Download this data
CSV · JSON — 28 observations, free to reuse under CC BY-SA 3.0 IGO (UNESCO Institute for Statistics).
About this data
February 2026 Data Release