For Japanese nationals, six years at elementary school and three years at junior high school (total nine years) are compulsory. Although foreign nationals are not.
Secondary education in Japan comprises two main divisions: lower secondary (also called middle school or junior high school) and upper secondary (also.