Montgomery County is a county located in the U.S. state of Illinois. According to the 2010 census, it had a population of 30,104. Its county seat is Hillsboro.