Compulsory Education Age by Country: How Long Students Must Attend School

Different countries have varying compulsory education ages, showing how long students are required to attend school in each nation.

Compulsory education age by country does not follow one global rule. In many systems the legal duty begins between ages five and seven, but some countries include one or more years of pre-primary education. The duty may end when a student reaches a stated age, completes a school year, finishes a grade or qualification, or moves into an approved apprenticeship or training route. The country tables below therefore separate the official entrance age to compulsory education, the reported number of compulsory years, and a calculated theoretical end point. That end point is a comparison aid, not a substitute for the school-leaving law that applies to an individual child.

Why One Age Range Can Give the Wrong Answer

A statement such as “school is compulsory from 6 to 16” may describe full-time attendance, yet leave out a later duty to remain in education or training. Another country may let children enter primary school at five even though attendance does not become compulsory until six. A third may begin the legal duty in preschool, several years before primary education.

Four measurements need to remain separate:

  • Official entrance age to compulsory education: the theoretical age at which the legal education duty begins.
  • Official primary entry age: the usual age for entering primary education, which may be later than compulsory preschool or earlier than compulsory attendance.
  • Full-time school-leaving age: the point at which ordinary full-time school attendance may end.
  • Final participation age: the point at which any broader duty covering school, college, apprenticeship, vocational education or approved training ends.

How the End Point Is Calculated

The theoretical end point in the tables is the compulsory entrance age plus the reported duration. It represents the point at which the prescribed period would end for a student who enters on time and progresses without interruption. Birthday cutoffs, end-of-year rules, grade completion, regional law and later training duties can produce a different practical answer.

The Data Behind the Country Comparison

The entrance-age column uses the 2025 UNESCO Institute for Statistics series presented on the data page for Official entrance age to compulsory education.[a] The duration column uses the World Bank indicator Compulsory education, duration (years), whose definition is the number of years children are legally obliged to attend school and whose underlying provider is UNESCO UIS.[b] The February 2026 UIS release supplies the current international education-structure data used across these series.[c]

International comparison requires a standard theoretical model. OECD material shows why the result still varies widely: across the systems it covers, the theoretical starting age ranges from three to seven and the ending age from fourteen to eighteen.[d] Legal coverage has also expanded over time. UNESCO reports that, among 182 countries with data, the number providing at least one compulsory pre-primary year rose from 20 in 1998 to 44 in 2023; among 158 countries, the share with twelve compulsory years rose from 8% to 26% over the same period.[e]

Coverage and Missing Values

“Not reported” means that a comparable 2025 value was not available in the selected international series. It does not mean that the country has no compulsory education law. Values below ordinary school age are legal-entry data fields and should not be read as primary-school admission ages. The tables cover 193 UN member states, Palestine, Kosovo and Vatican City; some separately reported territories are not included.

Compulsory Education Ages and Duration by Country

The values are arranged by broad geographic region to make a long country list easier to scan. The calculated end point should be read as a data relationship, not automatically as the legal day on which a student may leave school. Eurydice uses a similar distinction in its European education diagrams by separating full-time and part-time compulsory education and training and by treating displayed ages as notional ages.[f]

East Asia and the Pacific

CountryStarts at AgeTheoretical End AgeDuration (Years)System Note
Australia61711State and territory variation
Brunei6159—
CambodiaNot reportedNot reportedNot reported—
China6159—
Federated States of Micronesia6148—
FijiNot reportedNot reportedNot reported—
Indonesia7169—
Japan6159—
Kiribati6159—
Laos6159—
Malaysia6126—
Marshall Islands51813—
Mongolia61812—
Myanmar5105—
Nauru41814—
New Zealand61610Admission may begin before compulsory attendance
North Korea61812—
Palau61812—
Papua New GuineaNot reportedNot reportedNot reported—
Philippines51813—
Samoa5138—
Singapore6126—
Solomon IslandsNot reportedNot reportedNot reported—
South Korea6159—
Thailand6159—
Timor-Leste6159—
Tonga41915—
Tuvalu6159—
VanuatuNot reportedNot reportedNot reported—
Vietnam51510—

South Asia

CountryStarts at AgeTheoretical End AgeDuration (Years)System Note
Bangladesh6115—
BhutanNot reportedNot reportedNot reported—
India6148—
Maldives41612—
Nepal4139—
Sri Lanka51611—

Europe and Central Asia

CountryStarts at AgeTheoretical End AgeDuration (Years)System Note
Albania6159—
Andorra61610—
Armenia61812—
Austria51813—
Azerbaijan6159—
Belarus61711—
Belgium51813Education-community variation
Bosnia and Herzegovina6159Entity and canton variation
Bulgaria41612—
Croatia7158—
Cyprus51510—
Czechia51510—
Denmark61610—
Estonia7169Recent reform is newer than this comparable value
Finland61812—
France31613A later training obligation applies
Georgia6159—
Germany61913Länder variation
Greece51510—
Hungary41713—
Iceland61610—
Ireland61610—
Italy61812—
Kazakhstan6159—
KosovoNot reportedNot reportedNot reportedNo comparable 2025 value reported
Kyrgyzstan61610—
Latvia51611—
Liechtenstein7169—
Lithuania61711—
Luxembourg41612—
Moldova61610—
Monaco61711—
Montenegro6159—
Netherlands51813—
North Macedonia61913—
Norway61610—
Poland6159—
Portugal61812—
Romania71710—
Russia71811—
San Marino61610—
Serbia7158—
Slovakia51611—
Slovenia6159—
Spain61610—
Sweden61610Future ten-year structure adopted for 2028
Switzerland41511Cantonal variation
Tajikistan7169—
Turkiye61812—
Turkmenistan61812—
Ukraine61711—
United Kingdom51611Four education systems
Uzbekistan71811—
Vatican CityNot reportedNot reportedNot reportedNo comparable 2025 value reported

Middle East and North Africa

CountryStarts at AgeTheoretical End AgeDuration (Years)System Note
Afghanistan7169—
Algeria61610—
Bahrain6159—
Djibouti61610—
Egypt61812—
Iran6159—
Iraq6126—
Israel31815—
Jordan61610—
Kuwait6159—
Lebanon61610—
Libya6159—
Malta51611—
Morocco6159—
Oman61610—
Pakistan51712—
Palestine61610—
Qatar61812—
Saudi Arabia6159—
Syria6159—
Tunisia6159—
United Arab Emirates61812—
Yemen6159—

Sub-Saharan Africa

CountryStarts at AgeTheoretical End AgeDuration (Years)System Note
Angola51510—
Benin6126—
BotswanaNot reportedNot reportedNot reported—
Burkina Faso61610—
BurundiNot reportedNot reportedNot reported—
Cabo Verde61610—
Cameroon6126—
Central African Republic61610—
Chad61610—
Comoros6126—
Cote d'Ivoire61610—
Democratic Republic of the Congo6126—
Equatorial Guinea7136—
Eritrea6148—
Eswatini6137—
Ethiopia7158—
Gabon61610—
Ghana41511—
Guinea7136—
Guinea-Bissau6159—
Kenya61812—
Lesotho6137—
Liberia6126—
Madagascar6115—
Malawi6148—
Mali7169—
Mauritania6159—
Mauritius51712—
MozambiqueNot reportedNot reportedNot reported—
Namibia7147—
NigerNot reportedNot reportedNot reported—
Nigeria6159—
Republic of the Congo61610—
Rwanda6126—
Sao Tome and Principe6126—
Senegal61711—
Seychelles61711—
Sierra Leone6159—
Somalia6148—
South Africa7169—
South Sudan6148—
Sudan6148—
Tanzania7147—
The Gambia7169—
Togo61610—
Uganda6137—
Zambia7147—
Zimbabwe6137—

North America

CountryStarts at AgeTheoretical End AgeDuration (Years)System Note
Canada61610Provincial and territorial variation
United States61812State variation

Latin America and the Caribbean

CountryStarts at AgeTheoretical End AgeDuration (Years)System Note
Antigua and Barbuda51611—
Argentina41814—
Bahamas51712—
Barbados51611—
Belize5138—
Bolivia41814—
Brazil41814—
Chile61812—
Colombia51712—
Costa Rica41713—
Cuba6159—
Dominica51712—
Dominican Republic31815—
Ecuador31815—
El Salvador11615Very early legal-entry value; check national definitions
Grenada51712—
Guatemala01616Age 0 is a legal-entry data value, not primary entry
Guyana6126—
Haiti6126—
Honduras51712—
Jamaica6126—
Mexico41814—
Nicaragua5127—
Panama41511—
Paraguay51813—
Peru31714—
St. Kitts and Nevis51712—
St. Lucia51510—
St. Vincent and the Grenadines51712—
Suriname7136—
Trinidad and Tobago5127—
Uruguay41814—
VenezuelaNot reportedNot reported17—

What the Same Numbers Can Mean in Different Countries

A global table can align legal structures, but it cannot fit every national rule into one pair of ages. The following examples show why a country’s start, duration and end point need a legal note before they are used for enrolment, withdrawal or relocation decisions.

School Can Begin Before Attendance Becomes Compulsory

In New Zealand, primary and secondary education is available from ages five to nineteen, and many children start school at five. The legal attendance period is six to sixteen. This is why the age of first admission should not be copied into a compulsory-schooling table as though the two rules were identical.[g]

Compulsory Education Can Begin in Preschool

France places children under the instruction obligation from age three to sixteen. Young people from sixteen to eighteen then have a separate training obligation that can be met through schooling, apprenticeship, employment, civic service or an approved support route. A simple “3–18 school age” label would merge two different legal duties.[h]

Leaving School May Not End the Participation Duty

The United Kingdom cannot be reduced to one school-leaving rule because England, Scotland, Wales and Northern Ireland use different dates and conditions. In England, a young person who may leave school at sixteen must still remain in education or training until eighteen through full-time study, an apprenticeship, or work combined with part-time education or training.[i]

Full-Time and Part-Time Duties Can Form One Longer Period

Germany generally begins compulsory schooling in the year a child turns six. General full-time compulsory schooling normally lasts nine years. Young people who do not continue in a full-time general or vocational school are then usually subject to part-time Berufsschule attendance for three years. The Länder control school legislation, so a national duration value can conceal differences in timing and route.[j]

Legal Models Behind Compulsory Education Duration

Legal ModelWhat the Student Must DoWhy the Age Range Needs Explanation
Age-based full-time schoolingAttend an approved school or another legally accepted full-time form of education until a stated age.The final date may depend on the school year rather than the student’s birthday.
Compulsory pre-primary plus schoolBegin the legal education duty before entering primary school.Primary entry age is later than compulsory entry age.
School followed by education or trainingLeave ordinary school but continue in college, apprenticeship, vocational education or approved training.School-leaving age and final participation age are different.
Grade- or qualification-linked dutyContinue until a stated grade, certificate or upper-secondary qualification is completed, sometimes subject to an age ceiling.Two students of the same age may have different legal positions.
Subnational legislationFollow rules made by a state, province, territory, canton, Land, community or constituent education system.A national figure may be a reference value rather than the rule for every locality.

Why the Legal End Date May Differ From the Table

The calculated end point assumes on-time entry and uninterrupted progression. National law may instead use the final day of an academic year, the last Friday of a given month, completion of a grade, or the award of a qualification. A student who starts late, repeats a grade or follows a different approved pathway may therefore be older than the displayed end point when the duty finishes.

Birth-date cutoffs also matter. A rule written as “until sixteen” may allow departure at the end of the school year in which the student turns sixteen, after a nationally fixed date, or only after a later term. The practical span can differ by several months even when two countries publish the same start and end ages.

Alternative provision does not automatically remove the duty. Home education, distance learning, hospital education, special education arrangements, apprenticeship and vocational study may satisfy it when national or regional law recognises the route. Eligibility, registration and oversight rules are country-specific.

Countries Where a National Figure Needs Regional Checking

Education legislation is decentralised in several countries. The United States uses state compulsory-attendance laws. Canada relies on provincial and territorial rules. Australia has state and territory legislation, Switzerland has cantonal rules, Belgium’s education communities operate separate systems, and Bosnia and Herzegovina has entity and canton variation. The United Kingdom contains four education systems rather than one uniform national structure.

A National Value Is Not Always the Local Rule

For a child’s actual position, check the authority that governs the home address and school. Entry cutoffs, withdrawal dates, exemptions, home-education registration and approved post-school pathways may be set below national level.

Recent Reforms and Data Lag

International datasets are released on a schedule, while education laws can change during an academic year. Estonia illustrates the gap. Its learning-obligation reform applies from the 2025/26 academic year and extends the duty from seventeen to eighteen, or until the learner completes secondary or vocational education. A child who completed basic school before the reform’s cutoff is treated under the earlier rule.[k]

Future reforms should not be inserted into a current table before they take effect. Sweden has adopted a ten-year compulsory-school structure for autumn 2028, when the preschool class for six-year-olds is due to be replaced by a new Year 1 and the compulsory school sequence extended by one year. Until implementation, the current structure remains the proper basis for present decisions.[l]

What Compulsory Education Years Do Not Measure

A longer legal duration does not by itself show that students attend every required year, complete upper secondary education, receive more classroom hours or achieve stronger learning results. It also does not state whether every year is free, whether transport and materials are covered, or whether enough school places are available.

  • Actual enrolment and attendance
  • Completion and early school-leaving rates
  • Instruction hours per academic year
  • Curriculum content and assessment
  • Learning outcomes
  • Public, private or household education costs
  • Availability of vocational and apprenticeship routes
  • Enforcement, exemptions and alternative education

Compulsory education duration is a legal-structure indicator. It should not be used as a ranking of education quality or as evidence that every child remains enrolled for the full period.

Checking the Rule for an Individual Student

For relocation, school withdrawal, home education, early leaving or post-sixteen planning, confirm the rule with the relevant ministry, regional education authority, school district, municipality or recognised school. The questions that matter are the child’s date of birth, current grade, place of residence, school type, qualification status and intended education or training route.

This site is an independent informational guide and is not affiliated with any ministry of education, school authority, exam board, university, government agency or official ranking organisation. Country rules and data releases can change, so the responsible public authority remains the source for a binding decision.

Sources and Verification

  1. [a] Official entrance age to compulsory education — Presents the 2025 entrance-age series sourced from UNESCO UIS and explains the theoretical-entry assumption. (Our World in Data documents the original UIS source and processing.)
  2. [b] Compulsory education, duration (years) — Supplies the country-level duration values and identifies UNESCO UIS as the data provider. (World Bank World Development Indicators.)
  3. [c] Background information on statistics in the UIS database — Documents the February 2026 UIS education-data release and country structure notes. (UNESCO Institute for Statistics.)
  4. [d] Review education policies — Provides the reported range of theoretical compulsory-education starting and ending ages across covered systems. (OECD Education GPS.)
  5. [e] Access and equity — Reports changes in compulsory pre-primary provision and twelve-year compulsory education between 1998 and 2023. (UNESCO Global Education Monitoring Report.)
  6. [f] The structure of European education systems — Distinguishes full-time and part-time compulsory education and training and presents notional ages for European systems. (Eurydice network.)
  7. [g] Primary and secondary education — States New Zealand’s school availability ages and the compulsory attendance period from six to sixteen. (New Zealand Ministry of Education.)
  8. [h] Instruction obligatoire — Sets out France’s instruction obligation from three to sixteen and training obligation from sixteen to eighteen. (Official French public-service portal.)
  9. [i] School leaving age — Explains the different UK school-leaving rules and England’s education or training duty until eighteen. (GOV.UK.)
  10. [j] Germany: Overview — Describes Länder responsibility, nine years of general full-time compulsory schooling and later Berufsschule attendance. (Eurydice national-system description.)
  11. [k] Reform of the obligation to learn — Explains Estonia’s 2025/26 extension of the learning obligation to eighteen or completion of secondary or vocational education. (Estonian Ministry of Education and Research.)
  12. [l] National reforms in school education — Records the adopted ten-year compulsory-school change scheduled for autumn 2028. (Eurydice Sweden.)
Scroll to Top