Pulled this from the January 2013 McHenry County UDO...
D. Chicken Coops and Chicken Runs (Non-Agriculture Exempt)
1. No person may keep more than six (6) chickens on any property at one time.
2. No commercial activity will result from the keeping of chickens on the property.
3. Roosters are not permitted. However, if the gender of a chick cannot be determined at hatching, a chick of either gender may be kept on the property for no more than six (6) months.
4. Chickens shall be kept in coops and fenced runs at all times. Chickens shall be kept in coops from dusk to dawn
5. Chicken coops and runs shall meet the following standards:
a. Chicken coops and runs shall be kept in the effective rear yard and shall be located at least ten (10) feet from any lot line and ten (10) feet from any other structure.
b. The facility shall be kept in good repair, maintained in a clean and in a sanitary condition, and free of vermin, obnoxious smells and substances. The facility shall not create a nuisance or disturb neighboring residents due to noise, odor, damage or threats to public health.
c. The chicken coop and run shall be designed to ensure the health and well being of the animal is not endangered by the manner of keeping or confinement.
d. The chicken coop and run shall be adequately lighted and ventilated.
6. No storage of chicken manure is permitted within twenty (20) feet of the lot line. All chicken manure shall be removed from the property and disposed of properly.
7. Slaughtering of chickens on-site is prohibited.