Sun Prairie is a city located in Dane County, Wisconsin. Sun Prairie has a 2026 population of 39,253. Sun Prairie is currently growing at a rate of 2.33% annually and its population has increased by 9.01% since the most recent census, which recorded a population of 36,008 in 2020.