The school in Longyearbyen was established in 1920 as a cooperation between the Church of Norway and the mining company, Store Norske Spitsbergen Kullkompani (SNSK). The first teacher was vicar Thorleif Østenstad, who taught in a 4-by-3-meter (13.1 by 9.8 ft) barracks near the church. Originally there were eight pupils, but by 1926 it had grown to sixteen. In 1935 pastor Just Kruse was assigned as principal and teacher of the school. He was in office until the evacuation in 1941. A separate school building was taken into use in 1938, but it was destroyed in the bombing of Longyearbyen in 1943. When the school resumed operations in 1946, it initially used a two-room house at Haugen. With the 1951 opening of Huset, a community center, the school was located in the second story.
From 1954, the school was reorganized. It has two classes, the vicar was not longer responsible for teaching, and operations were taken over by SNSK, who however received a 25,000 Norwegian krone per year subsidy from the government. From 1957, a principal was hired and the school split in three classes. In 1964, a private middle school was established. From 1971, a new school building was taken into use, in time for the introduction of obligatory nine-year education. The new facilities included a gym and a 12.5-meter (41 ft) swimming pool. From 1972, teachers were no longer permanently employed, but instead given three-year fixed terms.
Ownership and funding of the school was taken over by the Ministry of Education and Research from 1 August 1976. From 1978, upper secondary education was introduced, for which a 148-square-meter (1,590 sq ft) extension was built. A further 440 square meters (4,700 sq ft) was added in 1984. In 1995, an additional 750 square meters (8,100 sq ft) was added and the following year, Svalbardhallen, a multi-purpose indoor sports complex, was opened. The same year, the school received an Internet connection. Regular school for six-year-olds started in 1997. In 1999, the school took over the community's music school. A new middle school building was taken into use in 2005, followed by another section for younger students the following year. From 1 January 2007, ownership was taken over by Longyearbyen Community Council.