Codes and regulations in urban environments determine how space and land can be used, what structures can be built, and the activities approved to take place. As urban farming gains more recognition within cities, these laws are beginning to change. These changes are highly specific to individual localities and therefore difficult to keep track of. This fact sheet addresses how to find the codes and regulations in your area that may impact urban farming efforts.
Codes and Regulations
Until recently, city codes, zoning laws, and other regulations have largely ignored urban agriculture. However, these codes and regulations can intentionally and unintentionally regulate urban farming activities in a myriad of ways, such as by regulating the construction of structures, including chicken coops or greenhouses, the ability to keep livestock, gain access to public lands and municipal facilities, transport and distribute urban grown food and so on.
Municipal codes and regulations are unique to individual towns or in some cases, counties. While general codes for some New York State counties can be accessed online through websites such as Municode and General Code , the most effective approach is often contacting agencies in your town or county. Starting with your local Cooperative Extension can help streamline your research. Each county in NYS has an Extension office. Another helpful resource may be NYS Agriculture & Markets, which has county and regional offices.
Find New York City’s zoning resolution here. Resources on the NYC Urban Agriculture website may be helpful as well. Because these codes often impact urban farming indirectly and might be difficult to decipher, urban farmers should also consider discussing their plans with local farming organizations or other farmers.
The Urban Agricultural Legal Resource Library
The Urban Agricultural Legal Resource Library, a project of the Sustainable Economies Law Center, provides general information and resources about agricultural legal topics as they pertain to urban farmers. These include planning and zoning, building codes, food and health regulations, employment law, homeowners’ associations, and non- and for-profit urban agriculture issues and models. Visit Urban Agriculture Laws for more information.
Resources
5 Tips for Reading Legislation and Code, an article from the American Bar Association, explores tips and tricks for reading and comprehending legal language.
Laws and Regulations that Apply to Your Agricultural Operation by Farm Activity, a webpage from the United States Environmental Protection Agency that has hyperlinks to important regulations that a farm may have to adhere to. Including livestock, poultry, aquaculture, crop production, drinking water provisions, farm fuel, equipment, and buildings.
State Compilations, an online compilation of all state statutes, from the National Agricultural Law Center that exist in specific topics of agricultural law.
See the Advocacy and Planning fact sheet, for information about changing zoning codes to support urban agriculture

