Heidenheim is a rural district ("Landkreis") in the east of Baden-Württemberg, Germany. Neighboring districts are Ostalbkreis, Dillingen, Günzburg, Alb-Donau and Göppingen. The capital is Heidenheim an der Brenz.