Wilsonville is a village in Macoupin County, Illinois, United States. The population was 586 at the 2010 census.