Heidenheim (German pronunciation: [ˈhaɪdn̩ˌhaɪm] (listen)) is a municipality in Weißenburg-Gunzenhausen in Bavaria, Germany.
Heidenheim is an old German market town, which lives in the administrative region of Middle Franconia in the middle of Bavaria. It belongs to the rural district Weißenburg-Gunzenhausen. It is the administrative center of the local region called Hahnenkamm.
Heidenheim is in the administration region West Middle Franconia (Westmittelfranken). Following local subdistricts belong to Heidenheim: Degersheim, Hechlingen am See, Hohentrüdingen.