Hampshire is a village in Kane County, Illinois, United States. As of the 2010 census it had a population of 5,563, and as of 2017 the estimated population was 6,347.
Hampshire is located in northwestern Kane County at 42°05′56″N 88°31′33″W. Most of the village is in Hampshire Township, and a small portion extends east into Rutland Township. The village is bordered to the northeast by Huntley and to the southeast by Pingree Grove.
Illinois Route 72 passes through the southern part of the village, leading east 4 miles (6 km) to Starks and west 8 miles (13 km) to Genoa. U.S. Route 20 passes through the northeastern outskirts of the village, leading northwest 13 miles (21 km) to Marengo and southeast 12 miles (19 km) to Elgin. Hampshire is 52 miles (84 km) northwest of the center of Chicago.
According to the 2010 census, Hampshire has a total area of 8.95 square miles (23.18 km2), all land.
As of the 2010 census, there were 5,563 people and 2,031 housing units in Hampshire, a population spike of 91.8% from the 2000 census.
As of the census of 2000, there were 2,490 people, 1,015 households, and 792 families residing in the village. There were 1,051 housing units at an average density of 215.5 per square mile (83.2/km²). The racial makeup of the village was 98.21% White, 0.10% African American, 0.38% Native American, 0.14% Asian, and 0.62% from other races.