Education in Thailand is provided mainly by the Thai government through the Ministry of Education from pre-school to senior high school. A free basic education of twelve years is guaranteed by the constitution, and a minimum of nine years' school attendance is mandatory. However, in 2009 the Ministry of Education extended free education to fifteen years.[3]
Formal education consists of at least twelve years of basic education, and higher education. Basic education is divided into six years of elementary education and six years of secondary education, the latter being further divided into three years of lower- and upper-secondary levels. Kindergarten levels of pre-elementary education, also part of the basic education level, span 2–3 years depending on the locale, and are variably provided. Non-formal education is also supported by the state. Independent schools contribute significantly to the general education infrastructure.
Administration and control of public and private universities are carried out by the Office of Higher Education Commission, a department of the Ministry of Education.