Hancock County is a county in the U.S. state of Illinois. According to the 2010 census, it has a population of 19,104. Its county seat is Carthage, and largest city is Hamilton. The county is made up of rural towns with many farmers.