Skip to content
Animal of Things
Features · 16 mins read

Keeping Farm Animals as Pets in New York: Laws, Zoning, and Permits Explained

Keeping Farm Animals as Pets in New York
Spread the love for animals! 🐾

New York is one of the most legally layered states in the country when it comes to keeping farm animals as pets. Whether you want a few backyard hens in a small town, a pair of miniature goats on a suburban lot, or a horse on a rural property, the rules you need to follow depend heavily on where you live — not just what state you live in.

Before you bring any farm animal home, you need to understand how New York’s state law interacts with county and municipal codes, what permits may be required, and how zoning classifications shape your options. This guide walks through each of those layers so you can make an informed decision and avoid costly violations.

Pro Tip: Always contact your local town or village zoning office before acquiring any farm animal. Zoning rules in New York vary dramatically from one municipality to the next, and what is allowed two towns over may be prohibited where you live.

Which Farm Animals Can You Keep as Pets in New York

New York State does not maintain a single statewide list of farm animals approved for private pet ownership. Instead, state law draws a sharp legal line between farm animals and companion animals. New York’s Agriculture and Markets Law §350(5) defines “companion animal” or “pet” as any dog or cat, and also any other domesticated animal normally maintained near the household of the owner — but this definition explicitly excludes farm animals.

In practical terms, this means chickens, goats, pigs, sheep, cattle, horses, donkeys, alpacas, llamas, ducks, geese, and turkeys are all classified as farm animals under state law. Farm animals are excluded from the definition of “companion animal,” and municipalities can — and many do — further restrict what animals can be possessed.

That said, keeping these animals as personal pets is not prohibited at the state level, provided you comply with local zoning and any applicable state regulations. Common farm animals people keep as pets in New York include:

  • Poultry — chickens (hens), ducks, and guinea fowl are among the most popular for backyard setups
  • Goats — miniature breeds like Nigerian Dwarf goats are sought after in suburban areas
  • Pigs — miniature or “teacup” pigs are kept as pets, though they are still classified as swine under most local codes
  • Horses and donkeys — common on rural and semi-rural properties with adequate acreage
  • Alpacas and llamas — permitted in many rural zones and increasingly popular as fiber animals and companions
  • Sheep — kept on properties with sufficient land and fencing

Wild animals are an entirely different matter. New York State law prohibits any person from knowingly possessing, harboring, selling, bartering, transferring, exchanging, or importing any wild animal for use as a pet. This prohibition does not apply to domesticated farm species, but it does mean you cannot keep deer, foxes, or other wildlife as pets. If you are curious about which exotic animals are permitted in the state, see our guide on exotic pets legal in New York.

Zoning and Property Requirements in New York

Zoning is the single most important factor governing whether you can legally keep farm animals as pets on your New York property. Zoning is the single most important factor in determining whether you can legally keep farm animals on your property in New York, and local municipalities set their own rules that differ significantly from one place to another.

New York State delegates land use authority to counties, towns, villages, and cities. This means your property’s zoning classification — agricultural, residential, mixed-use, or commercial — determines whether livestock is a permitted use. In rural towns, farm animals are typically allowed on land zoned for agriculture or general residential use with enough acreage. In more suburban or densely populated areas, restrictions tighten considerably.

In New York City, the rules are especially strict. The NYC Health Code explicitly prohibits keeping or yarding cattle, swine, sheep, or goats, except under very limited circumstances. Rules about keeping chickens and other animals in NYC are contained in Health Code Article 161.19. Although hens are permitted, roosters and other birds and fowl are not permitted, including geese, ducks, and turkeys.

Outside of New York City, the picture is more varied. Outside of New York City, zoning rules follow a patchwork pattern. It is legal to have chickens in your backyard in New York, but the rules vary depending on your location, with some areas relaxed and others having specific zoning laws, limits on flock size, or restrictions. If you are interested in the business side of poultry, our tips for starting a backyard poultry farming business cover the additional requirements that apply.

Important Note: Even if state law and local ordinances permit farm animals on your property, your lease agreement or homeowners association covenants may impose stricter limits. In New York, these private agreements are legally enforceable and often more restrictive than public law. Always review your HOA documents and lease before acquiring any animal.

Lot Size and Number Limits for Farm Animals in New York

New York does not set a single statewide cap on how many farm animals you can own or a universal minimum lot size requirement. New York does not set a single statewide cap on how many goats you can own — and the same principle applies to most other farm animal species. Instead, these limits are set at the local level and vary widely.

Some towns tie the number of allowed animals to the size of your property. For example, a minimum acreage rule might allow a set number of animals per acre. You will need to check with your local zoning board to find out whether your municipality has specific limits.

To give you a sense of how different these local rules can be, here is a comparison of requirements across several New York jurisdictions:

JurisdictionFarm Animals Permitted?Key Lot/Number Requirement
New York CityHens only (no roosters, ducks, geese, turkeys, goats, cattle, swine, sheep)No minimum lot size stated; roosters and most livestock banned outright
City of AlbanyNoGoats and other farm animals not permitted within city limits
Town of ColonieYes (goats and others)Animals must be securely fenced and kept on the property at all times
Saratoga CountyYes (with conditions)Minimum of five acres required for goats and most livestock
Central NY (Oneida/Madison Counties)Yes (agriculturally zoned properties)Acreage and fencing minimums apply

The City of Albany does not permit goats or other farm animals within city limits. The Town of Colonie allows goats but requires secure fencing. Saratoga County requires at least five acres of land. In Central New York’s Oneida and Madison Counties, many towns allow farm animals on agriculturally zoned properties, with acreage and fencing minimums still in effect.

For residential properties that do allow limited farm animals, the keeping of farm animals and fowl on residential property must be incidental to the primary use of the property as a dwelling. Limited numbers may be allowed for the benefit of the homeowner, principally for food, as pets and riding, and not as a business or commercial use. You can browse our broader overview of farm animals for background on species-specific care needs before committing to any animal.

Permit and Registration Requirements in New York

Permit requirements for keeping farm animals as pets in New York operate on two levels: state and local. Understanding which applies to your situation is essential before you acquire any animal.

At the state level, the New York Department of Agriculture and Markets oversees livestock through its Division of Animal Industry. Livestock in New York State are subject to requirements governing everything from identification to import and export procedures. Livestock owners should also be aware of common diseases and disease reporting procedures and the Department’s programs and permits.

The most relevant state-level permit for dealers and handlers is the Domestic Animal Health Permit (DAHP). To obtain a Domestic Animal Health Permit, you must complete a DAHP application and supplement and send them, along with a $50 fee, to the Division of Animal Industry. However, this permit is primarily aimed at dealers and those who move animals commercially. New York requires permits for individuals who deal in, handle, or transport goats commercially. If you are simply keeping a few animals on your own property for personal or small-farm use, a commercial dealer permit may not apply to you.

Some municipalities require a local livestock permit or animal-keeping permit even for private ownership. Always verify this with your local authority. Requirements differ between towns, so a permit that is mandatory in one county may not exist in the neighboring one. New York also has a dedicated Livestock and Poultry program through the Department of Agriculture and Markets where you can find species-specific guidance.

For beekeepers, note that bees are regulated separately from other farm animals in New York. Our detailed guide on beekeeping laws in New York covers the registration and hive placement rules that apply specifically to honeybees.

Pro Tip: If you plan to import farm animals from another state into New York, a Certificate of Veterinary Inspection (CVI) is typically required. Contact the NY Department of Agriculture and Markets to confirm the species-specific documentation needed before transport.

Housing, Setback, and Sanitation Rules in New York

Even when your zoning district permits farm animals, you must meet specific standards for how those animals are housed, how far structures must be placed from property lines, and how waste is managed. These rules exist to protect neighboring properties from noise, odor, and disease.

While exact numbers vary by municipality, New York local codes consistently address three core areas:

  1. Structural setbacks — the required distance between animal housing and property lines or neighboring dwellings
  2. Containment — fencing and enclosure requirements to prevent animals from leaving the property
  3. Waste management — rules on where manure can be stored and how far it must be kept from property lines

As a representative example of how New York towns approach these requirements, animal housing, barns, chicken coops, and hutches must be a minimum of 25 feet from rear and side property lines and to the rear of the dwelling on the subject and adjacent property. Animal waste must be kept a minimum of 50 feet from the adjacent property line or contained within an enclosed structure more than 25 feet from the adjacent property line.

Fencing rules are equally specific. All large, medium, and small farm animals and fowl must be contained within the subject property by a fence or building structure. Fencing must be five feet from the property line and to the rear of the lot behind the dwelling on the subject and adjacent property.

All large, medium, and small farm animals, fowl, domestic pets, and domestic animals must be kept in a sanitary environment, cared for according to good animal husbandry standards, and must be maintained disease free to the greatest possible extent. Failure to meet sanitation standards can result in citations from your local animal control officer and orders to remove animals from the property. For a look at what poor animal welfare outcomes can mean legally, see our article on stray animals and owner responsibility.

In New York City specifically, coops or runways of live rabbit and poultry markets must be located at least 25 feet away from any building. Residential chicken keepers in the five boroughs should verify current setback distances with the NYC Department of Health, as Health Code Article 161.19 governs these arrangements.

County and City Ordinances That May Override State Rules in New York

One of the most important things to understand about keeping farm animals in New York is that local governments have broad authority to restrict animal ownership beyond whatever state law permits. Counties, towns, and villages in New York State have broad powers to enact laws to govern their own affairs. However, state laws impose certain restrictions on local government authority.

Nothing in state law prevents any city, town, or county from enacting more restrictive provisions governing the possession of animals. This means that even if a farm animal species is not prohibited at the state level, your city or county can ban it entirely within its borders. In New York City, goats are classified as farm animals and are banned as pets, including pygmy goats. Even if you think a small breed might qualify as a companion animal, New York City law does not make that distinction.

The patchwork of local rules creates a situation where neighboring towns can have completely different standards. Consider these real-world contrasts:

  • New York City — hens permitted, but roosters, ducks, geese, turkeys, goats, cattle, and swine are banned for private residents
  • Albany — farm animals generally not permitted within city limits
  • Rural upstate towns — farm animals widely permitted on residentially zoned lots, often with acreage minimums but few outright bans
  • Suburban towns (e.g., parts of Nassau or Westchester County) — typically require agricultural zoning or special use permits for livestock

New York State does have agricultural guidelines that protect farming practices. Those state protections do not override local zoning laws in areas not classified as farmland. This is a critical distinction: state-level agricultural protections apply primarily to certified farm operations, not to someone keeping a pet goat or a small flock of chickens on a residential lot.

HOA rules add yet another layer. If you are part of a homeowners association, you also need to review your HOA covenants. HOA rules can restrict or prohibit livestock on your property entirely, even if local zoning permits it. For more on how New York handles animal regulations at the municipal level, our article on leaving pets in hot cars in New York illustrates how city and state rules can diverge on animal welfare matters. You may also want to review our piece on venomous animals in New York if your rural property is home to wildlife that interacts with farm animals.

Important Note: Before purchasing property specifically to keep farm animals, ask the seller and your real estate attorney to confirm the current zoning classification and whether any agricultural overlay districts or deed restrictions apply. Zoning can change, and what was permitted when a property was last sold may no longer be allowed today.

Right-to-Farm Laws and How They Apply to Pet Farm Animals in New York

New York’s Right-to-Farm protections come from Article 25-AA of the Agriculture and Markets Law (AML). These provisions were designed to protect established farm operations from nuisance lawsuits and overly restrictive local regulation — but their application to someone keeping farm animals primarily as pets is limited and often misunderstood.

The State Legislature enacted Article 25-AA of the Agriculture and Markets Law with the express purpose of conserving, protecting, and encouraging the development and improvement of agricultural land relative to local ordinances. Article 25-AA executes its legislative intent through county agricultural districts, which provide benefits such as tax exemptions, protection from unreasonably restrictive local regulation, and right-to-farm laws.

The key protection under Section 305-a is that local governments cannot unreasonably restrict farm operations within certified agricultural districts. AML Section 305-a provides that local governments “shall not unreasonably restrict or regulate farm operations within agricultural districts.” Farm operations include the land and on-farm buildings, equipment, and practices which contribute to the production, preparation, and marketing of crops, livestock, and livestock products as a commercial enterprise.

However, there is a critical limitation for pet farm animal owners: Section 305-a only applies to farm operations in an agricultural district. If your property is not within a certified agricultural district, and you are not operating a commercial farm enterprise, these protections do not shield you from local ordinances that restrict or prohibit farm animals.

The Right-to-Farm law also provides protection against nuisance lawsuits for sound agricultural practices. Section 308 authorizes the Commissioner of Agriculture and Markets to issue opinions regarding whether certain agricultural practices are sound. Any practice determined to be sound does not constitute a private nuisance when an action is brought. In a nuisance suit where a farming practice is determined to be sound, this section ensures that the plaintiff will incur any fees and other expenses related to the defense, protecting farmers from paying costly legal fees to defend their operations against frivolous nuisance actions.

What does this mean for you as a pet farm animal owner? If you are keeping a few chickens or goats on a residential lot for personal enjoyment rather than as part of a commercial agricultural enterprise, the Right-to-Farm law provides limited protection. Your neighbor could still file a nuisance complaint, and your local municipality can still enforce its zoning ordinances against you. The protections of Article 25-AA are strongest when you are operating within a county agricultural district and conducting recognized farm operations.

If you are considering scaling up from pet ownership to a small farm operation, review our article on farm animals for a broader overview of species and care requirements. You may also find our guide on worst animals to keep as pets useful for understanding which species present the most practical and legal challenges in a residential setting.

Right-to-Farm ProtectionApplies to Pet Farm Animal Owners?Conditions
Protection from unreasonably restrictive local laws (AML §305-a)Generally NoOnly applies to certified agricultural districts and commercial farm operations
Nuisance lawsuit protection (AML §308)Potentially, if practice is deemed “sound”Commissioner of Agriculture and Markets must issue a formal opinion
Agricultural district tax benefitsNoRequires enrollment in a county agricultural district program
Local ordinance overrideNoLocal governments retain authority to restrict animals on non-farm residential lots

The bottom line is that New York’s Right-to-Farm law is a meaningful shield for commercial and established farm operations, but it offers little protection to someone keeping farm animals purely as pets on a residential lot outside of an agricultural district. Your best protection is proactive compliance: verify your zoning classification, obtain any required local permits, meet all housing and setback requirements, and maintain good relationships with your neighbors.

For additional context on how New York regulates animals across different categories, explore our guides on endangered animals in New York and types of insects in New York. If you are planning to relocate with your farm animals, our article on keeping your pets safe when flying them to a new home covers transport considerations that apply to smaller animals moving across state lines.

Continue learning with similar posts

Spread the love for animals! 🐾

Leave a Reply

Your email address will not be published. Required fields are marked *