Hainesville is a village in Avon Township, Lake County, Illinois, United States. Per the 2020 census, the population was 3,546. Hainesville has the distinction of being the oldest incorporated community within Lake County.