Food security is inseparable from the factors of availability, quality, and affordability of food, where the condition of a country is able to meet the food needs of society ranging from families to individuals. This is in accordance with the contents of the latest Law number 18 of 2012 concerning Food which states that food security includes availability in quantity, quality, and affordability, the aim is to create a healthy, productive and sustainable life. This paper discusses how much influence the urban farming program as one of the government programs to achieve food security, especially family food. This research was conducted in several villages in five districts of Malang, namely Klojen, Suku, Lowokwaru, Blimbing, and Kedungkandang. The research method used in this paper is qualitative descriptive, with primary data collection techniques conducted by interviews and field observations. While secondary data collection is done by library and documentation techniques. Through the research conducted, the results show that this urban farming program has an influence on several points regarding food security contained in Law number 18 of 2012 including availability, quality, and affordability. Besides that, there are also locations that are less able to develop urban farming programs effectively, due to several obstacles encountered in implementing the program.