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