 He played for the Germany national football team in the 1934 FIFA World Cup and the 1938 FIFA World Cup.In total, he made 65 appearances and scored 31 goals for the national team.Lehner was a member of the Breslau Eleven that beat Denmark 8–0 in Breslau in 1937 and went on to win 10 out of 11 games played during that year.