Illinois has a long agricultural tradition, and more residents than ever are bringing that tradition closer to home by keeping chickens, goats, miniature pigs, and other farm animals as pets. Whether you live on a rural acreage in Sangamon County or a suburban lot in the Chicago collar counties, the rules governing farm animal ownership can vary dramatically depending on where your property sits.
There is no single statewide law that says you can or cannot keep a farm animal as a pet in Illinois. Instead, the legal framework is built from layers — state statutes, county zoning codes, municipal ordinances, and in some cases HOA rules — each of which can expand or restrict what the layer above it allows. Understanding how those layers work together is the first step before you ever bring an animal home.
Pro Tip: Always verify rules at the municipal and county level before purchasing any farm animal. State law sets a baseline, but your city or township ordinance is almost always the controlling authority for residential properties.
Which Farm Animals Can You Keep as Pets in Illinois
Illinois does not maintain a statewide list of farm animals that are explicitly approved or banned for residential pet ownership. What the state does regulate, however, is a category of animals that nobody may keep: dangerous animals and primates. Illinois structures its exotic animal law as a general prohibition — it is illegal for any person to keep, harbor, or have in their care any animal classified as a dangerous animal or a primate, and these animals may only be kept in properly maintained zoological parks, federally licensed exhibits, circuses, scientific institutions, and research laboratories…