Elroy is a city in Juneau County, Wisconsin, United States, along the Baraboo River and at the east end of the Elroy-Sparta State Trail. The population was 1,356 at the 2020 census.