Heidenheim an der Brenz, often referred to simply as Heidenheim, is a town located in the state of Baden-Württemberg in southern Germany. It is situated near the border with Bavaria, approximately 17 km south of Aalen and 33 km north of Ulm. The town serves as the seat of the district of Heidenheim and is the largest town within that district.
Ranking third in size among towns in the East Württemberg region behind Aalen and Schwäbisch Gmünd, Heidenheim functions as the economic center for all communities in its district. It serves as the headquarters for the Voith industrial company. As of 2021, the town's population was just below 50,000 residents, and it maintains an administrative collaboration with the neighboring town of Nattheim.