Number of years of compulsory primary and secondary education in Tanzania, United Republic of
Tanzania, United Republic of: Number of years of compulsory primary and secondary education was 7 in 2025. ▬ Flat
Number of years of compulsory primary and secondary education in Tanzania, United Republic of, 1998–2025
Source: UNESCO Institute for Statistics.
Analysis
In 2025, number of years of compulsory primary and secondary education in Tanzania, United Republic of stood at 7. That is the highest value across all 28 years on record.
Compared with earlier readings it is unchanged over ten years.
Over the whole period, number of years of compulsory primary and secondary education in Tanzania, United Republic of peaked at 7 in 1998 and was at its lowest, 7, in 1998.
That places Tanzania, United Republic of 173rd out of 214 countries with data for 2025, putting it in the bottom quarter.
Number of years of compulsory primary and secondary education in Tanzania, United Republic of, year by year
| Year | Value | Change |
|---|---|---|
| 1998 | 7 | — |
| 1999 | 7 | +0.0% |
| 2000 | 7 | +0.0% |
| 2001 | 7 | +0.0% |
| 2002 | 7 | +0.0% |
| 2003 | 7 | +0.0% |
| 2004 | 7 | +0.0% |
| 2005 | 7 | +0.0% |
| 2006 | 7 | +0.0% |
| 2007 | 7 | +0.0% |
| 2008 | 7 | +0.0% |
| 2009 | 7 | +0.0% |
| 2010 | 7 | +0.0% |
| 2011 | 7 | +0.0% |
| 2012 | 7 | +0.0% |
| 2013 | 7 | +0.0% |
| 2014 | 7 | +0.0% |
| 2015 | 7 | +0.0% |
| 2016 | 7 | +0.0% |
| 2017 | 7 | +0.0% |
| 2018 | 7 | +0.0% |
| 2019 | 7 | +0.0% |
| 2020 | 7 | +0.0% |
| 2021 | 7 | +0.0% |
| 2022 | 7 | +0.0% |
| 2023 | 7 | +0.0% |
| 2024 | 7 | +0.0% |
| 2025 | 7 | +0.0% |
Tanzania, United Republic of compared with similar countries
- Tanzania, United Republic of's 7 is below the median for lower middle income countries, which is 9, 78% of the median. (47 countries reporting)
- Tanzania, United Republic of's 7 is below the median for Sub-Saharan Africa, which is 8, 88% of the median. (48 countries reporting)
Averages by decade
| Decade | Average | Lowest | Highest | Years |
|---|---|---|---|---|
| 1990s | 7 | 7 | 7 | 2 |
| 2000s | 7 | 7 | 7 | 10 |
| 2010s | 7 | 7 | 7 | 10 |
| 2020s | 7 | 7 | 7 | 6 |
Countries ranked near Tanzania, United Republic of
More education data for Tanzania, United Republic of
- Teachers in secondary education, both sexes (number), gaps filled 106,006 (2020)
- Repeaters in primary education, all grades, both sexes (number), gaps 331,605 (2024)
- Enrolment in pre-primary education, male (number), gaps filled 851,911 (2024)
- Enrolment in pre-primary education, female (number), gaps filled 824,648 (2024)
- Secondary education, pupils, gaps filled 2.83 million (2021)
- Primary education, duration (years), annual growth rate 0 % change on previous year (2025)
- Primary education, pupils, gaps filled 11.39 million (2024)
- Primary education, pupils, annual growth rate -0.3307 % change on previous year (2024)
- Primary education, pupils, per unit of GDP 0.0001 units per US$ of GDP (2024)
- Primary education, pupils, per capita 0.1661 units per person (2024)
Frequently asked questions
- What is number of years of compulsory primary and secondary education in Tanzania, United Republic of?
- Number of years of compulsory primary and secondary education in Tanzania, United Republic of was 7 in 2025, according to UNESCO Institute for Statistics.
- What is the highest number of years of compulsory primary and secondary education recorded in Tanzania, United Republic of?
- The highest recorded value was 7 in 1998.
- What is the lowest number of years of compulsory primary and secondary education recorded in Tanzania, United Republic of?
- The lowest recorded value was 7 in 1998.
- How does Tanzania, United Republic of rank for number of years of compulsory primary and secondary education?
- Tanzania, United Republic of ranks 173rd out of 214 countries with data for 2025.
- Is number of years of compulsory primary and secondary education rising or falling in Tanzania, United Republic of?
- Over the last ten years it is unchanged. The long-run trend across the full record is flat.
- Where does this Tanzania, United Republic of 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