Libertyville is a village in Lake County, Illinois, United States, and a northern suburb of Chicago. It is located 5 miles (8 km) west of Lake Michigan on the Des Plaines River. The 2020 census population was 20,579. It is part of Libertyville Township, which includes the village, neighboring Green Oaks, and portions of Vernon Hills, Mundelein, unincorporated Waukegan and Lake Forest, and part of Knollwood CDP. Libertyville neighbors these communities as well as Gurnee to the north and Grayslake to the northwest. Libertyville is about 40 miles north of the Chicago Loop and is part of the United States Census Bureau's Chicago combined statistical area (CSA).