Huntley is a village in McHenry and Kane counties, Illinois, United States. As of the 2010 census it had a population of 24,291, and as of 2019 the estimated population was 27,228. It is a part of the Chicago metropolitan area.
Huntley is in the southern part of McHenry County and the northern part of Kane County, 48 miles (77 km) northwest of the Chicago Loop. Neighboring communities are Lake in the Hills to the northeast, Algonquin to the east, Gilberts to the southeast, Pingree Grove to the south, and Hampshire to the southwest. Undeveloped rural land is to the northwest.
According to the 2010 census, Huntley has a total area of 14.102 square miles (36.52 km2), of which 14.07 square miles (36.44 km2) (or 99.77%) are land and 0.032 square miles (0.08 km2) (or 0.23%) are water.
As of the census of 2000, there were 5,730 people, 2,324 households, and 1,756 families residing in the village. The population density was 489.1 inhabitants per square mile (188.8/km2). There were 2,501 housing units at an average density of 213.5 per square mile (82.4/km2). The racial makeup of the village was 94.94% White, 0.44% African American, 0.17% Native American, 2.13% Asian, 0.00% Pacific Islander, 1.26% from other races, and 1.06% from two or more races.