Hosts Egypt will face DR Congo, Uganda and Zimbabwe in Group A at the 2019 Africa Cup of Nations.
Safeguarding champions Cameroon are in Group F with Ghana, Benin and Guinea-Bissau.
The competition will take place from 21 June to 19 July, suggesting Europe-based gamers will not miss out on club video games.
It is the biggest Afcon yet, with 24 teams, and the first to be held in Europe’s summer rather than January or February.
The draw was held beside the pyramids of Giza.
Morocco coach Herve Renard is looking to win an unprecedented 3rd Africa Cup of Nations – with a 3rd group. The Atlas Lions remain in Group D with one of the previous groups he won it with, the Ivory Coast. South Africa and neighbouring Namibia complete that group.
The first video game of the competition will be Egypt – who are likely to have Liverpool star Mohamed Salah in their group – against Zimbabwe on 21 June at Cairo Arena.
2 of the three tournament debutants – Madagascar and Burundi – remain in Group B with Nigeria and Guinea.
The other new group, Mauritania, are in Group E with Tunisia, Mali and Angola.
Senegal and Algeria are alongside Kenya and Tanzania, who have actually just certified once before – in 1980 – in Group C.
Two groups from each group will go into the last 16, with the four best third-placed groups also progressing.
Egypt’s assistant coach, Hany Ramzy, said after the draw that the Pharaohs were “comfy” with their swimming pool.
” We are positive, we are here in our land with the advocates behind us, so we have to strive to reach the final.”
Talking about the opening game against Zimbabwe, ranked more than 50 places below them, he acknowledged that the Warriors will still pose a test to the host country.
” Whoever you play against, the opening video game will be tough, however I think we can win the match,” he stated.
” The huge difference [in quality] in between teams is not really there any longer, like it was 10 years back in Africa. Now every team has players who play in Europe so they have the experience to dip into a high level.
” However when you desire to win a big competition like the Africa Cup you have to win against small and huge groups.”
Draw in complete
Group A: Egypt, DR Congo, Uganda, Zimbabwe
Group B: Nigeria, Guinea, Madagascar, Burundi
Group C: Senegal, Algeria, Kenya, Tanzania
Group D: Morocco, Ivory Coast, South Africa, Namibia
Group E: Tunisia, Mali, Mauritania, Angola
Group F: Cameroon, Ghana, Benin, Guinea-Bissau