Urban agriculture policies in Kenya
Kenya’s rapid urbanization has created both opportunities and challenges for food security, employment and environmental management.
With over 30% of Kenyans now living in cities, demand for fresh food is rising while rural supply chains face rising costs, climate shocks and logistical bottlenecks. Against this backdrop, urban agriculture, the practice of cultivating crops and rearing livestock within city boundaries has emerged as a critical survival and livelihood strategy. For decades, however, urban farming was treated as an informal or even illegal activity.
Recent policy shifts at both national and county levels signal a recognition of its importance, positioning urban agriculture at the center of Kenya’s food security and sustainability agenda.
Historical policy landscape
Urban agriculture in Kenya has long operated under legal and regulatory uncertainty. The Local Government (Adoptive By-Laws) of the 1960s discouraged crop cultivation and livestock keeping in towns, citing public health concerns and zoning restrictions. Farmers in Nairobi, Kisumu, and Mombasa often faced harassment, fines or demolition of their small gardens. This restrictive policy environment reflected a planning model that viewed cities strictly as centers for commerce and residence, with farming relegated to rural areas.
However, as urban poverty and food insecurity worsened, the informal practice of sack farming, backyard gardens, and small-scale poultry keeping persisted. The resilience of urban farmers forced policymakers to reconsider their stance. By the 2000s, studies by the Ministry of Agriculture and international organizations like FAO began to highlight the role of urban agriculture in poverty alleviation, nutrition and environmental resilience. This marked the beginning of Kenya’s gradual policy shift.
Legal reforms and policy recognition
The Urban Areas and Cities Act of 2011 was a turning point, mandating counties to incorporate agriculture into urban development and planning frameworks. This act opened the door for counties to regulate and promote farming within urban spaces rather than criminalize it. Nairobi County took a bold step by passing the Urban Agriculture Promotion and Regulation Act in 2015, a landmark law that legalized and regulated farming in the city.
This law introduced licensing for livestock and crop farming, encouraged safe waste management practices and laid out food safety guidelines for produce grown within the city.
It also recognized innovative forms of urban farming, including rooftop gardens, aquaponics, and hydroponics, giving farmers legitimacy and protection under the law. Kisumu, Nakuru and Mombasa counties have since begun integrating similar strategies, although Nairobi remains the most advanced in legal frameworks.
Urban agriculture and food security
Kenya’s food security agenda, central to the Big Four Agenda launched under former President Uhuru Kenyatta has further elevated the role of urban agriculture. City-based farming reduces dependence on rural supply chains by shortening food miles and providing direct access to fresh produce. In Nairobi’s informal settlements, urban farming has become a key strategy for households struggling with high food costs. County governments have encouraged the adoption of sack farming, vertical gardens and greenhouse technologies to maximize limited space.
At a policy level, urban agriculture aligns with the National Food and Nutrition Security Policy (2011, updated 2021), which emphasizes diversified food sources and resilience to climate change. Counties are encouraged to allocate land and resources for food production within urban planning processes, turning idle spaces, road reserves and institutional land into productive areas.
Climate Change, sustainability and Innovation
Kenya’s climate change adaptation policies also intersect with urban agriculture. Urban farms reduce carbon footprints by minimizing transport emissions, while rooftop and vertical farming contribute to green infrastructure and biodiversity. Innovative methods such as aquaponics and hydroponics are increasingly recognized in policy discussions as climate-smart solutions for urban populations.
The Climate Change Act of 2016 requires counties to mainstream climate action into development plans, and urban agriculture has been flagged as a low-cost adaptation mechanism. Nairobi County has piloted rooftop gardens on public buildings, while NGOs and youth groups are experimenting with greenhouse farming in peri-urban zones. These practices are gradually being mainstreamed into county climate strategies.
Challenges in policy implementation
Despite policy advances, implementation gaps persist. Awareness and enforcement remain weak, with many farmers unaware of licensing procedures or food safety guidelines. Health and environmental risks such as the use of untreated wastewater for irrigation and the spread of zoonotic diseases in densely populated areas require stronger monitoring.
Land use conflicts also remain a challenge, as agricultural spaces often lose out to real estate development in booming cities.
Moreover, financing constraints limit the expansion of innovative farming systems. Access to credit, affordable inputs and extension services for urban farmers is still low, leaving many reliant on traditional practices rather than adopting modern climate-smart technologies.
Opportunities and the way forward
For Kenya to maximize the potential of urban agriculture, policy efforts must be scaled and harmonized. County governments should replicate Nairobi’s model, passing county-specific legislation that provides a clear framework for licensing, regulation and support of urban farming. Incentives such as tax reliefs, subsidies for greenhouse inputs and financing for hydroponic systems could attract more youth and investors into the sector.
Additionally, partnerships with NGOs, private investors, and academic institutions can help scale up research-driven farming innovations. Embedding urban agriculture into school feeding programs and county nutrition strategies can also strengthen the social safety net, particularly in informal settlements.
Hence, urban planning needs to integrate food production as a permanent land use category, ensuring that farming is not crowded out by real estate expansion.





