Barrington is an affluent, suburban village in Cook and Lake counties, Illinois, United States. The population was 10,327 at the 2010 census. Located approximately 32 miles (51 km) northwest of Chicago, the area features wetlands, forest preserves, parks, and horse trails in a country-suburban setting. The Barrington area ZIP code, 60010, is the seventh-wealthiest ZIP code in the United States among areas with a population of 20,000 or more.