FIFA conducted the draw for the 2018 World Cup on Friday in Moscow.
The 32 qualified teams, allocated in four pots based on their October FIFA ranking, were drawn into eight groups of four teams each. Hosts Russia were automatically the top seed in Group A despite being the lowest-ranked team.
There could be no more than two teams from Europe in any one pot, and no more than one nation from any other continental confederation.
After playing each team in their group, the top two teams advance to the knockout stage.
GROUP A: Russia, Uruguay, Egypt, Saudi Arabia
GROUP B: Portugal, Spain, Iran, Morocco
GROUP C: France, Peru, Denmark, Australia
GROUP D: Argentina, Croatia, Iceland, Nigeria
GROUP E: Brazil, Switzerland, Costa Rica, Serbia
GROUP F: Germany, Mexico, Sweden, South Korea
GROUP G: Belgium, England, Tunisia, Panama
GROUP H: Poland, Colombia, Senegal, Japan
The 16 remaining teams will form a single-elimination bracket. Here are the group matchups:
Match 49: Winner Group A vs. Runner-up Group B
Match 50: Winner Group C vs. Runner-up Group D
Match 51: Winner Group E vs. Runner-up Group F
Match 52: Winner Group G vs. Runner-up Group H
Match 53: Winner Group B vs. Runner-up Group A
Match 54: Winner Group D vs. Runner-up Group C
Match 55: Winner Group F vs. Runner-up Group E
Match 56: Winner Group H vs. Runner-up Group G
Match 57: Winner of Match 49 (A/B) vs. Winner of Match 50 (C/D)
Match 58: Winner of Match 51 (E/F) vs. Winner of Match 52 (G/H)
Match 59: Winner of Match 53 (B/A) vs. Winner of Match 54 (D/C)
Match 60: Winner of Match 55 (F/E) vs. Winner of Match 56 (H/G)
Match 61: Winner of Match 57 vs. Winner of Match 58
Match 62: Winner of Match 59 vs. Winner of Match 60
Loser of Match 61 vs. Loser of Match 62
Winner of Match 61 vs. Winner of Match 62