Virden is a city in Macoupin and Sangamon counties in the U.S. state of Illinois. The population was 3,231 at the 2020 census. The Macoupin …Virden is a city in Macoupin and Sangamon counties in the U.S. state of Illinois. The population was 3,231 at the 2020 census. The Macoupin County portion of Virden is part of Greater St. Louis, while the Sangamon County portion is part of the Springfield, Illinois metropolitan area.