Virden is a city in Macoupin and Sangamon counties in the U.S. state of Illinois. The population was 3,488 at the 2000 census. The Macoupin County portion of Virden is part of the St. Louis, Missouri–Illinois Metropolitan Statisical Area, while the Sangamon County portion is part of the Springfield Metropolitan Statistical Area. The region around the Virden area is where the two metropolitan areas meet.