The schools environment might be one of the factors that contribute to childhood obesity since children spent most of their time at school. This study aimed to identify the compliance of selected schools in Selangor, Malaysia with whole-school mapping framework and prevalence of obesity among primary school children in rural and urban environmental settings. A total of 1200 children aged 10-11 years from 60 schools in rural and urban area in Selangor involved in this study and their BMI was calculated. The compliance of each school environmental factors was determined by using whole-school environmental mapping framework's questionnaires.