England will face Robert Lewandowski’s Poland in qualification for the Fifa World Cup Qatar 2022.
They will also play Hungary, Albania, Andorra and San Marino in Group I.
Wales will meet Belgium, who they knocked out of Euro 2016, in Group E.
Northern Ireland have been drawn with Italy, Switzerland, Bulgaria and Lithuania in Group C.
Scotland face Denmark, Austria, Israel, Faroe Islands and Moldova in Group F.
The Republic of Ireland will come up against Cristiano Ronaldo’s Portugal in Group A, as well as Serbia, Luxembourg and Azerbaijan.
The qualifiers will take place between March and November 2021, with play-offs scheduled for March 2022.
England have faced Poland in qualifying for the 1974, 1990, 1994, 2006 and 2014 World Cups. The two sides also met in the finals in Mexico in 1986.
Poland have arguably the best striker in world football right now in Lewandowski, who has scored 70 goals in 61 appearances for Bayern Munich since the start of last season.
“There is a great history with that fixture,” said England manager Gareth Southgate. “There was a spell when we seemed to draw them all the time.”
The group also sees England take on three sides they have beaten every time they have played them – Albania (four wins), Andorra (four) and San Marino (six).
“Poland are obviously a very good side,” Southgate added. “Hungary just got promoted into the Nations League top division – so those two in particular will be games that will be tough.
“The rest, whenever I have played for England or managed them, are complicated games to navigate.”
England’s meeting with San Marino will stir memories of a World Cup qualifier between the two in 1993 when the Three Lions conceded after just 8.3 seconds – but they went on to win 7-1.
Ryan Giggs’ Wales side may have been drawn against the word’s top-ranked side, but the famous triumph over the Belgians at the European Championship four years ago will still be fresh in their minds.
The Welsh came back from a goal down to win 3-1 and reach the semi-finals of a major tournament for the first time.
Scotland, who will play at next year’s delayed Euro 2020, have been drawn in arguably the easiest group of the four home nations as they seek to qualify for a World Cup for the first time since 1998.
They have never lost to the Faroe Islands or Moldova and have a good record against the group’s toughest opponents Denmark, triumphing in 10 of their 16 previous meetings.
Thirty-two teams will take part in the World Cup in Qatar, of which 13 will be from Europe.
The 10 group winners in qualifying will secure their place at the tournament while the 10 group runners-up will go through to the play-offs, along with the two best Nations League group winners who do not finish in the top two of their World Cup qualifying group.
The 12 play-off teams will be drawn into three separate play-off paths, each of which will comprise semi-finals and final, with the three winners heading to Qatar.