The population growth every year causes an increase in land demand. This has led to conversion from agricultural land to non-agricultural land, especially in urban areas where people in rural areas migrate to cities, one of them is Magelang. The agricultural land decrease and impacts less production. The concept of urban farming provides a solution for urban areas to maintain agricultural production by utilizing residents' yard. On the other hand, urban farming practices must still pay attention to agricultural sustainability, so they are maintained in the future. This study aims to determine the priority of urban farming development strategy in Magelang by using criteria in the dimension of sustainability. This study used the Analytical Network Process (ANP) method by involving several expert respondents in conducting the assessment. Based on the analysis results, the sustainability dimension's priority is the social dimension. Meanwhile, the priorities in each economic, ecological, social, technological, and institutional dimensions are income of women farmers group members, land availability, motivation of women farmers group members, cultivation technology, and the role of agricultural extension. Based on the criteria in the dimension of sustainability, the priority of Magelang's urban farming development strategy is integrated agriculture. The results of this study can be used as a reference for further research on the development of urban farming through integrated agriculture.