Keeping Farm Animals as Pets in Arizona: Zoning, Permits, and Local Rules Explained
July 19, 2026
Arizona has more land zoned for agriculture and rural residential use than most people realize, and that makes it one of the more accessible states for keeping farm animals as pets. Chickens in Tucson backyards, miniature goats in Flagstaff, and potbelly pigs in Phoenix neighborhoods are all possible — but only if you navigate a layered set of rules that operate at the state, county, city, and HOA level simultaneously.
The challenge is that Arizona sets very few statewide standards for how many farm animals a private resident can keep. The state itself sets almost no rules about how many animals you can keep at your address — the number that matters is not found in state law but is written into your city’s municipal code, your county’s ordinances, or the governing documents of your HOA. That means two neighbors on opposite sides of a city boundary can face completely different rules for the exact same animal.
This guide walks through every layer of that framework — from which animals Arizona law recognizes as farm animals to the right-to-farm protections that may (or may not) shield your backyard livestock from nuisance complaints.
Which Farm Animals Can You Keep as Pets in Arizona
Arizona law draws a clear line between livestock and companion animals, and that line determines almost everything else. Arizona state law, governed in part by the Arizona Revised Statutes, broadly categorizes swine as livestock. Under Title 3 (Agriculture), pigs fall under the jurisdiction of the Arizona Department of Agriculture, which treats them as farm animals subject to livestock regulations rather than companion animal rules. The same classification logic applies to goats, sheep, cattle, horses, and poultry.
The animals most commonly kept as farm-style pets in Arizona include:
- Chickens and ducks — the most widely permitted backyard livestock across the state, allowed in many residential zones with conditions
- Miniature goats — permitted in Flagstaff and other rural-zoned properties; classified as medium livestock in most ordinances
- Miniature pigs and potbelly pigs — treated differently depending on the city; some jurisdictions classify them as companion animals, others as livestock
- Rabbits — generally treated as small livestock or household pets depending on local code
- Horses, donkeys, and llamas — permitted on larger agricultural or rural residential parcels; subject to acreage minimums
- Sheep and standard goats — allowed in agricultural zones and some rural residential zones with lot-size requirements
Many Arizona cities have carved out a separate category for miniature or potbelly pigs when kept as pets. This distinction matters enormously — a pig classified as livestock triggers agricultural zoning requirements, branding and health certificate rules, and often outright prohibition in residential areas. A pig classified as a companion animal or exotic pet may instead fall under local animal control codes, which can be more permissive or more restrictive depending on the city.
For animals that fall into restricted or exotic wildlife categories, Arizona Administrative Code R12-4-406 covers restrictive live wildlife in the state and includes a comprehensive list of animals prohibited from being kept as pets. Always check this list before acquiring any non-traditional farm animal. You can also review which exotic pets are legal in Arizona to understand how state wildlife classifications interact with farm animal rules.
Pro Tip: Before acquiring any farm animal, ask your city’s animal control or zoning department one specific question: how do they classify that animal? The answer determines which set of rules — livestock or companion animal — applies to your entire situation.
Zoning and Property Requirements in Arizona
Your zoning designation is the single most important factor in whether you can legally keep farm animals on your property. Arizona zoning codes divide land into use districts — residential, agricultural, commercial, and industrial — and different rules apply in each zone. Pet limits are almost always tied to which district your property falls into.
Standard residential zones (typically labeled R-1 or R-2 for single-family homes) carry the most restrictive pet limits. Agricultural and rural residential zones are generally more permissive, allowing larger numbers of animals and sometimes livestock alongside companion pets. If your property is zoned AG-1, AG-2, or Rural Residential, you have significantly more flexibility than a standard suburban lot.
The boundary between city and county jurisdiction also matters. Tucson and Phoenix have their own municipal zoning codes that may differ significantly from their surrounding county regulations. If your property sits within city limits, you must follow the city’s zoning ordinance rather than the county’s. This is a common source of confusion for residents who assume county rules apply when they actually live within an incorporated city.
In Scottsdale, farms, commercial stables, and ranches in single-family residential zones require a conditional use permit. Animals including horses and other livestock are also regulated by the Maricopa County Health Department and by rules enforced by Homeowners Associations or CC&Rs.
If you are considering backyard poultry specifically, Arizona has taken legislative steps to protect residents’ rights. A state bill prohibits a municipality or county from adopting a zoning ordinance that bans those in a single-family detached residence of one-half acre or less from keeping fowl in their backyard, though municipalities and counties can still establish certain requirements for keeping these animals. This means even on smaller lots, local governments cannot outright ban backyard chickens — but they can regulate how many you keep and how you house them. See our guide on starting a backyard poultry farming business for practical setup guidance.
Lot Size and Number Limits for Farm Animals in Arizona
Minimum lot sizes and animal count limits vary widely across Arizona jurisdictions, but a few consistent patterns emerge. Most ordinances use an “animal unit” system to calculate how many animals a parcel can support, with larger animals counting as more units than smaller ones.
In the Town of Taylor (Navajo County), for example, no agricultural animal or livestock may be kept, maintained, or stabled on any lot less than 15,000 square feet, except for developments previously approved by the council. One animal unit is equivalent to one large livestock animal, five medium livestock animals, or 10 small livestock animals and fowl.
The table below summarizes lot size and number limits in key Arizona jurisdictions, based on publicly available ordinance data:
| Jurisdiction | Minimum Lot Size | Poultry Limit | Notes |
|---|---|---|---|
| Phoenix | Varies by zone | Allowed with written neighbor consent within 80 ft | No swine except miniature potbelly pigs |
| Tucson | Enclosure 50+ ft from neighbor’s dwelling | Up to 24 chickens | Coop must be clean and sanitary |
| Chandler | Standard residential lot | Up to 5 hens | Coop set back at least 5 ft from property lines |
| Flagstaff | Residential or educational property | Allowed (chickens, ducks, rabbits) | Miniature goats and bees also permitted |
| Pima County (unincorporated) | 6,000–8,000 sq ft | Up to 8 hens; 4 hens on lots ≤6,000 sq ft | Per Pima County Ordinance 2017-36 |
| Taylor (Navajo County) | 15,000 sq ft minimum | 10 small animals per animal unit | R-1, R-2, AG-1, AG-2 zones only |
| Tempe | 30,500 sq ft (R1-15/R1-10 for horses) | Regulated separately | Dairy farm requires 40+ acres |
In Phoenix, poultry may be kept in an enclosure within 80 feet of a residence if written permission is given by each lawful occupant and owner of a residence within 80 feet of the enclosure. In Chandler, an ordinance allows up to five hens per yard so long as the coop is set back at least five feet from all property lines. In Flagstaff, small livestock such as chickens, ducks, rabbits, miniature goats, and bees are allowed on residential or educational property.
In Tucson, residents may keep up to 24 chickens so long as they have an enclosure not within 50 feet of the dwelling of another person. Coops must be kept in a clean and sanitary condition.
For horses and larger livestock in Tempe, the rear yard must abut property in the agricultural district, lots in R1-15 and R1-10 districts must be not less than 30,500 square feet in area, and the minimum distance from the rear of the dwelling unit to the rear property line must be not less than 200 feet. Animals with multiple stomachs like goats and sheep — you can learn more about animals with multiple stomachs — are typically classified as medium livestock and counted accordingly under the animal unit system.
Permit and Registration Requirements in Arizona
Whether you need a permit before bringing farm animals home depends on the animal type, your location, and how your city classifies what you are doing. There is no single statewide permit for keeping farm animals as pets, but several layers of registration and approval can apply.
Some cities require you to obtain a conditional use permit or zoning variance before keeping livestock on a residential property, even in zones where it is technically allowed. Cities like Phoenix require dogs to be licensed through animal control; some municipalities extend similar registration requirements to other animals including pigs.
If you are bringing a farm animal into Arizona from another state, federal and state entry requirements kick in. If bringing a pig into Arizona from out of state, a Certificate of Veterinary Inspection (CVI) from a licensed veterinarian is required by state law. Similar health certificate rules apply to horses, cattle, sheep, and goats entering the state.
If you keep multiple pigs or operate anything resembling a small farm, you may need to register your premises with the Arizona Department of Agriculture. The Arizona Department of Agriculture’s Animal Services Division oversees livestock welfare and can advise on registration requirements for your specific situation.
- Conditional use permit (CUP) — required in many cities before keeping livestock in residential zones, even where technically allowed
- Zoning variance — needed if your lot does not meet the minimum size requirement but you want to keep farm animals
- Certificate of Veterinary Inspection — required when importing livestock from out of state
- Premises registration — may be required by the Arizona Department of Agriculture if you keep multiple livestock animals
- Animal license or registration — some municipalities extend pet licensing requirements to non-traditional animals
Pro Tip: Contact your city’s planning and zoning department before purchasing a farm animal, not after. Getting a CUP or zoning confirmation in writing protects you if a neighbor later files a complaint.
For beekeeping specifically — which many backyard farmers combine with other livestock — Arizona has its own dedicated framework. Review the full beekeeping laws in Arizona before adding a hive to your property.
Housing, Setback, and Sanitation Rules in Arizona
Even when farm animals are permitted on your property, how and where you house them is tightly regulated. Most Arizona jurisdictions set minimum distances — called setbacks — between animal enclosures and property lines, neighboring residences, and water sources.
In Phoenix, the keeping of animals is allowed only so long as they do not cause, create, or contribute to a health nuisance due to noise, flies, mosquitoes, insects, vermin, rodent harborage, odors, dust, ponded water, or accumulation of manure. Manure and droppings must be removed from pens, stables, yards, cages, and other enclosures at least twice weekly and removed from the premises at least twice each week.
In Taylor, the ordinance sets specific structural standards. Fencing is required for all agricultural animals and must consist of a view or partial view type fence of sufficient height to restrain the animals, maintained in sound condition at all times. Private stables for housing agricultural animals must be constructed to facilitate maintenance in a clean and sanitary condition. Stables must be located behind the front face plane of the principal building and set back a minimum of three feet from all other property lines.
Waste storage is a separate compliance category. Animal wastes must be stored at least 20 feet from any property line, open space, drainage channel, or surface waters and must not violate the health and sanitation provisions of the applicable town and county health code. Some jurisdictions set this distance at 50 feet — Taylor’s ordinance requires animal wastes not be stored any closer than 50 feet from any property line, open space, drainage channel, or surface waters.
Key housing and sanitation standards to plan for include:
- Enclosure setbacks from property lines (ranges from 3 to 50+ feet depending on jurisdiction and animal type)
- Setbacks from neighboring residences (often 50 to 100 feet for larger livestock)
- Manure removal frequency (twice weekly in Phoenix; other cities have similar requirements)
- Waste storage distance from drainage channels and water sources
- Fencing height and material requirements adequate to contain the specific animal
- No confinement areas in front yards on lots under one acre
Arizona’s desert heat adds a practical layer to these legal requirements. Shade structures, water access, and ventilation are not just welfare considerations — inadequate care can trigger a cruelty investigation. The Arizona Department of Agriculture’s Animal Services Division has the statutory responsibility to protect livestock including equine, cattle, sheep, goats, and swine from mistreatment and neglect, which can include failure to provide feed, water, or veterinary care. You can also review our coverage of leaving pets in hot cars in Arizona to understand how seriously the state treats heat-related animal welfare violations.
County and City Ordinances That May Override State Rules in Arizona
One of the most important things to understand about farm animal law in Arizona is that local ordinances almost always control. Arizona law does not preempt local municipalities from creating their own animal ordinances. Always check your city or county code directly — state law alone will not tell you whether your backyard animal is legal.
This means a farm animal that is perfectly legal under Arizona Revised Statutes can still be prohibited on your specific street. Just because an animal is legal to own in the state does not mean the city you live in allows it. Many local cities and counties have their own restrictions on which animals are legal to keep, and which are not. You should check with your local city and county for their regulations.
HOAs add yet another layer on top of city and county rules. Even if your city’s zoning code and animal control ordinances permit backyard animals, your homeowners association can still say no — and their rules often carry more immediate enforcement power. In Arizona, HOAs are governed by the Arizona Planned Community Act (A.R.S. § 33-1801 et seq.) and the Arizona Condominium Act, which give associations broad authority to regulate the use of property within their communities, including what animals residents may keep.
HOA rules are often stricter than city ordinances and are the binding limit for your household. Read your CC&Rs carefully before acquiring any farm animal, and look specifically for language about “livestock,” “farm animals,” and “household pets” — all three terms may be defined differently within the same document.
Pro Tip: If you live in an unincorporated area of a county, you fall under county rules — not city rules. Check your county assessor’s records to confirm whether your parcel is inside or outside city limits before assuming which ordinance applies to you.
The following steps give you the most reliable picture of what applies to your specific address:
- Look up your parcel on your county assessor’s website to confirm your zoning designation
- Search “[your city name] municipal code animals” to find the relevant ordinance chapters
- Contact your city’s planning and zoning department to confirm current rules and any pending changes
- Review your HOA’s CC&Rs and any separate rules documents for animal restrictions
- If you rent, review your lease for pet and animal clauses before contacting your landlord
Maricopa County, which covers the Phoenix metro area, and Pima County, which covers Tucson, both publish their animal ordinances online. Maricopa County, Pima County, and other major counties publish their ordinances online for unincorporated areas. For Pima County animal ordinances specifically, the Pima County Animal Ordinances page is the authoritative source.
If you are weighing which animals pose the least regulatory complexity as a starting point, it may also help to review our list of worst animals to keep as pets — some farm animals that seem manageable quickly become compliance headaches in suburban Arizona settings.
Right-to-Farm Laws and How They Apply to Pet Farm Animals in Arizona
Arizona has a right-to-farm statute, but its protections are more limited than many rural property owners assume — and they apply in very specific circumstances that may not cover a backyard pet situation.
Arizona’s right-to-farm framework, found in A.R.S. Title 3, is primarily designed to protect established agricultural operations from nuisance lawsuits filed by new neighbors who move near existing farms. The core idea is that a farming operation that was legal when it started cannot be declared a nuisance simply because residential development later surrounded it. Open range provisions apply only outside city and town limits under A.R.S. sections 3-1421 through 3-1428. This is a critical limitation: if you live within an incorporated city or town, the open range and many right-to-farm provisions simply do not apply to your property.
For pet farm animal owners, the practical implications of Arizona’s right-to-farm law break down this way:
- Protection applies to established operations — if you have been legally keeping farm animals for years and a new neighbor moves in and complains, right-to-farm provisions may shield you from a nuisance lawsuit
- It does not override local zoning — right-to-farm does not allow you to keep animals in a zone that prohibits them; it only limits nuisance claims against otherwise lawful operations
- City and town limits matter — open range provisions and related protections do not apply within incorporated city or town boundaries
- It does not prevent code enforcement — a neighbor’s nuisance lawsuit is different from a city code enforcement action; right-to-farm does not stop the latter
The keeping of animals is allowed only so long as they do not cause, create, or contribute to a health nuisance due to noise, the presence of flies, mosquitoes, insects, vermin, rodent harborage, odors, dust, ponded water, or accumulation of manure. Even with right-to-farm protections in the background, sanitation and nuisance standards still apply to every farm animal keeper in Arizona.
An incorporated city or town or a county may adopt an ordinance with misdemeanor provisions at least as stringent as state misdemeanor provisions, except that any ordinance adopted shall not prohibit or restrict any activity involving a dog that is directly related to the business of shepherding or herding livestock and is necessary for the safety of a human, the dog, or livestock, or is permitted by or pursuant to Title 3. This carve-out matters if you use working dogs alongside your farm animals.
The right-to-farm law is most useful as a defensive tool for rural property owners with pre-existing livestock operations, not as a green light for new urban or suburban farm animal setups. If you are starting fresh, your strongest protection is obtaining the correct permits and zoning approvals upfront — not relying on right-to-farm protections after a dispute arises.
Arizona’s farm animal landscape rewards preparation. Whether you want backyard chickens in Chandler, a miniature goat in a Flagstaff residential zone, or horses on a Maricopa County rural parcel, the rules exist — you just need to find the right layer. Start with your zoning designation, work through the municipal code, check your HOA documents, and confirm any permit requirements before the animal arrives. That sequence keeps you legally protected and keeps your neighbors from having a legitimate complaint. For a broader look at which farm animals make sense as companions, the farm animals overview is a useful starting point, and our guide to low-maintenance pets for kids covers some farm-adjacent options that tend to face fewer regulatory hurdles in residential Arizona settings.