Neither France nor Portugal were in Pot One for the 24-team competition being held in 12 cities across Europe, making them the dangerous teams to avoid for the top seeds, according to AFP.
In the event, they came out together in an incredibly tough Group F alongside Germany, which will play group games at home in Munich. That is where Joachim Loew's team will face France in their first match on June 16.
Group F will be completed by one of the winners of the playoffs to be played next March, leaving open several possibilities including Hungary, which will play at home in Budapest should it make it.
France beat Germany in the semifinals of Euro 2016 on home soil, before losing in the final to a Portugal side who claimed the title for the first time.
Meanwhile, England was drawn with Croatia and the Czech Republic in Group D, with Gareth Southgate's team to play home group games at Wembley, which will also be the venue for the semifinals and final.
That section will be completed by the team to emerge victorious from Path C in the playoffs.
England faced the Czech Republic in qualifying, winning 5-0 at Wembley but suffering its only defeat of the campaign in Prague, where it went down 2-1 in October.
England will kick off at home to Croatia on June 14 in a repeat of the 2018 World Cup semifinal, which was won by the Croatians.
However, should England win its group, it will have to play the runner-up from Group F, setting up a possible clash with Germany, France or Portugal in the last 16.
Elsewhere, Italy will face Turkey in Rome in the tournament's opening game on June 12, with Switzerland and Euro 2016 semifinalist Wales also in that section, Group A.
Spain will take on Sweden and Poland as well as a playoff winner in Group E.
The month-long tournament will conclude with the final in London on July 12.