The urban and peri-urban practice has been strengthened in cities, through multiple entry points, which range from self-consumption and food supplementation, alternative employment and income for vulnerable groups, solutions for environmentally resilient cities, to an opportunity to practice social and environmental education activities. Considering this last aspect, this research aims to study the use of urban school gardens as a pedagogical tool for environmental sustainability. As an analytical object, the research relies on the study of multiple cases of three school gardens in different cities. The results indicate that, although gardens are difficult to maintain in school environments, they improve the food provided to the students and present themselves as a potential tool for teaching environmental sustainability.