After the Anschluss that united Austria and Germany, Hahnemann played 23 matches for Germany's national team between 1938 and 1941, scoring 16 goals. He also appeared with the German squad that took part in the 1938 World Cup in France.