Hofmann represented Germany between U18 and U21 level. He made his international debut for the U18 team in a 3–2 friendly win over France on 22 March 2011, replacing goalscorer Amin Younes in the second half. He made two further U18 appearances before making his U19 debut with a start in a 5–3 friendly win over Belgium on 1 September 2011, being replaced by Niclas Füllkrug at half time. He scored his first international goal in another friendly three days later, bagging what looked to be the winner versus rivals the Netherlands, before Ouasim Bouy salvaged a 2–2 draw. Hofmann scored six goals in six games during Germany's unsuccessful qualification period for the 2012 European U19 Championship.