Hégenheim is a commune in the Haut-Rhin department in Alsace in north-eastern France. It is adjacent to the Swiss town of Allschwil, and is part of the Basel urban area.