PurposeThe purpose of this study is to investigate the dynamics of youth engagement in urban agriculture, particularly through youth gardens in distressed neighbourhoods of Cape Town. This examination is crucial due to the limited involvement of youth in urban agriculture, which poses a threat to the sustainability of these practices despite their recognised contributions to urban development.Design/methodology/approachThe research employs a qualitative methodology to explore the motivations, challenges and experiences of young urban farmers. Semi-structured interviews with youth participants from selected urban community gardens, complemented by virtual ethnography, form the core of the data collection process. This approach provides an in-depth understanding of the factors influencing youth participation in urban farming.FindingsThe study reveals that youth engagement in urban agriculture is motivated by various factors, including entrepreneurial aspirations, environmental justice activism, and a dedication to food justice. These findings suggest that for urban agriculture initiatives to be effective in such settings, they must acknowledge and address the specific motivations and contextual challenges faced by young people.Research limitations/implicationsThe study’s findings are context-specific to the distressed neighbourhoods of Cape Town, which may limit their generalisability to other urban settings. Future research could expand the scope to include a comparative analysis with other cities.Practical implicationsThe insights gained from this study can inform the design of urban agriculture initiatives that better engage youth, thereby fostering community development and sustainable urban practices.Originality/valueThis research offers novel insights into the underexplored area of youth engagement in urban agriculture within distressed urban environments. By focusing on the voices and experiences of young urban farmers in Cape Town, the study contributes to the development of targeted policies and programmes that aim to promote inclusive and sustainable urban agriculture practices, particularly by enhancing youth involvement.