BackgroundLiterature focusing on youth has reported limited evidence and non-conclusive associations between neighborhood walkability measures and active commuting to and from school (ACS). Moreover, there is a lack of studies evaluating both macro- and micro-scale environmental factors of the neighborhood when ACS is analyzed. Likewise, most studies on built environment attributes and ACS focus on urban areas, whereas there is a lack of studies analyzing rural residential locations. Moreover, the relationship between built environment attributes and ACS may differ in children and adolescents. Hence, this study aimed to develop walkability indexes in relation to ACS for urban and rural children and adolescents, including both macro- and micro-scale school-neighborhood factors.MethodsA cross-sectional study of 4593 participants from Spain with a mean age of 12.2 (SD 3.6) years was carried out. Macro-scale environmental factors were evaluated using geographic information system data, and micro-scale factors were measured using observational procedures. Socio-demographic characteristics and ACS were assessed with a questionnaire. Several linear regression models were conducted, including all the possible combinations of six or less built environment factors in order to find the best walkability index.ResultsAnalyses showed that intersection density, number of four-way intersections, and residential density were positively related to ACS in urban participants, but negatively in rural participants. In rural children, positive streetscape characteristics, number of regulated crossings, traffic calming features, traffic lanes, and parking street buffers were also negatively related to ACS. In urban participants, other different factors were positively related to ACS: number of regulated crossings, positive streetscape characteristics, or crossing quality. Land use mix acted as a positive predictor only in urban adolescents. Distance to the school was a negative predictor on all the walkability indexes. However, aesthetic and social characteristics were not included in any of the indexes.ConclusionsInterventions focusing on improving built environments to increase ACS behavior need to have a better understanding of the walkability components that are specifically relevant to urban or rural samples.