The current planetary socioecological crisis and the growing urbanization of human life are interdependent phenomena that impel education to rethink its objectives and processes. The notion of "sustainability" provides a broad framework of construction for activities in teaching, research, and outreach programs. Among the proposals aimed at promoting sustainability, agroecology stands out as a set of integrating practices and theories capable of transforming the productive, sociopolitical, economic, and cultural relations of the food system. Our objective in this article is to present the contributions of urban agroecology and to analyze its connection with education. Following this purpose, we share the experience of Huerto uv, an agroecological education project developed by students and researchers at Universidad Veracruzana, in association with inhabitants of the city of Xalapa, Veracruz. [ABSTRACT FROM AUTHOR]