Egypt will start their campaign against Zimbabwe at the opening of the African Nations Cup on June 21.
Egypt will then play against the DRC in the second round and end their campaign against Uganda.
The draw for the 2019 AFCON was held Friday evening at the area of the pyramids at Giza.
The AFCON starts on June 21 and ends on July 19. The tournament takes place with the participation of 24 teams in six groups for the first time in the history of the African competition.
Egypt won the rights to host the tournament after being selected over South Africa.
The 2019 African Cup of Nations was initially scheduled to be hosted by Cameroon. However, Cameroon was stripped of hosting the tournament for serious delays in preparations.
Egypt is the most successful nation in the history of the competition as Egypt has won a record of seven titles including three in a row between 2006 and 2010.