Virgil is a city in Greenwood County, Kansas, United States. As of the 2010 census, the city population was 71.