Egypt is set to play against Zimbabwe and open the 2019 African Cup of Nations at the Cairo Stadium on June 21.
The announcement came during the draw ceremony for the 24-team tournament staged against the spectacular backdrop of the Pyramids on Friday.
Egypt came in Group A with the Democratic Republic of Congo, Uganda and Zimbabwe.
Egypt will then play against Congo in the second round and end it with Uganda.
The African Cup of Nations will start on June 21 and end on July 19 with 24 teams in six groups, the biggest tournament in the history of the African competition.
Group D features Morocco, Ivory Coast, South Africa and Namibia, while Algeria will play in Group C against Senegal, Kenya, and Tanzania.
Tunisia is in Group E with Mali, Mauritania and Angola.
Egypt was granted the hosting rights of the 2019 African Cup of Nations after winning the majority of votes in early 2019, with only one vote for South Africa.
The AFCON draw in full:
Group A: Egypt, Democratic Republic of 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