This paper is concerned with the spatial structure of the school building and the preconditions it contains for the users. School buildings are designed to support the work of the staff and the education of pupils. The design is based on ideas about pedagogy, learning and instruction as well as on principles of school organization. Also ideas about the relations with parents and about the role of the school in the neighbourhood have an influence on the design. Not all ideas are realised in the building, but once it is built, the design has a powerful influence on both pupils and staff, as well as on their use of the building. The paper is based on preliminary results of a research project where school buildings are studied with the space syntax analysis. The approach is interpretive and has an educational perspective. Syntactical properties are considered as preconditions for the use of the building. Use of the building is discussed in terms of e.g. movement through the building and occupancy of spaces. Of special interest are spaces for different non-classroom activities, such as the staff room, school library, lunch room. The relation between different syntactical properties and views on children is discussed.