Hampshire, IL has a population of 5,732 and is the 5,927th largest city in the United States. The population density is 639 per sq mi which is 187% higher than the Illinois average and 605% higher than the national average. The median age in Hampshire is 39 which is approximately 3% higher than the Illinois average of 37. In Hampshire, 68% of the population over 15 years of age are married, 90% speak English and 7% speak Spanish. 75% of Hampshire residents were born in Illinois, 19% were born out of state, 0% were born outside of the United States and 6% were foreign born.