Huntley is a village in McHenry and Kane counties, Illinois, United States. As of the 2021 census it had a population of 28,008. It is a part of the Chicago metropolitan area. According to the 2010 census, Huntley has a total area of 14.102 square miles, of which 14.07 square miles are land and 0.032 square miles are water.