Barry is a city in Pike County, Illinois, United States. The population was 1,318 at the 2010 census, down from 1,368 in 2000.