Can I have backyard chickens?
Usually, yes. Of the 958 US cities CoopCodes tracks, 84% allow backyard hens either outright (39%) or with conditions like flock limits, permits, or lot-size rules (45%). Only 16% prohibit them entirely. The typical city allows 6 hens, bans roosters, and requires the coop to sit about 25 feet from neighboring homes. The rules are set city by city, so the only answer that matters is your city's ordinance — verified below.
Check your city
Every city page shows the verified answer with the exact municipal code quoted and a last-verified date. How we verify →
What the numbers say (2026)
| Cities tracked | 958 across all 50 states, DC, and 5 US territories |
|---|---|
| Allow hens outright | 372 cities (39%) |
| Allow with conditions | 431 cities (45%) |
| Prohibit chickens | 149 cities (16%) |
| Typical hen limit | 6 hens (median where a cap exists) |
| Require a permit | 32% of tracked cities |
| Ban roosters | 59% of tracked cities |
| Typical coop setback | 25 ft (median where specified) |
Why the answer depends on your city
There is no national or state law that says whether you can keep chickens (a few states limit how far cities can go, but the rules themselves are municipal). Zoning and animal-control ordinances decide it block by block: how many hens, whether roosters are allowed, how far the coop must sit from dwellings, whether you need a permit, and sometimes minimum lot sizes. Two neighboring cities routinely give opposite answers.
That is why generic advice fails here. CoopCodes reads the actual municipal code for every city we list, quotes the section, and stamps the page with the date we last verified it.
Common questions
How many chickens can I have in my backyard?
It depends on your city, but among the 958 US cities CoopCodes tracks, the typical (median) limit is 6 hens. Some cities set no numeric cap, others scale the limit with lot size. Check your city's page for the exact number and the code section behind it.
Do I need a permit to keep backyard chickens?
About 32% of the cities we track require a permit or registration for backyard hens. Fees are usually modest. The rest allow small flocks without any permit as long as you follow coop placement and flock size rules.
Are roosters allowed in city limits?
Usually not. 59% of the cities we track explicitly prohibit roosters, mostly due to noise ordinances. Hen-only flocks are the standard for residential zones.
How far does a chicken coop need to be from houses?
Among the 564 tracked cities that set a specific coop setback, the median is 25 feet from neighboring dwellings or property lines. Requirements range widely, so check your city's exact rule before building.
Can my HOA ban chickens even if my city allows them?
Yes. HOA covenants can be stricter than city code, and in most states they are enforceable. Check your city ordinance first, then your HOA covenants before getting hens.
How do I find out if chickens are legal in my city?
Pick your state on CoopCodes and open your city's page. Every page shows the verified answer with the hen limit, permit rules, setbacks, the actual municipal code section quoted, and the date we last verified it.

