Ivory Coast will start their defence of the Africa Cup of Nations against Togo in January, according to the draw made on Wednesday.
Ivory Coast, who beat Ghana on ponalties in the 2015 final, are in Group C against Togo, Morocco and Democratic Republic of Congo.
Hosts Gabon will stage the opening match in Libreville on January 14 against Group A opponents Guinea-Bissau who make their first appearance in the 16-nation tournament.
Cameroon and Burkina Faso are also in the group.
The other group favourites, Algeria and Ghana start against Zimbabwe and Uganda respectively.
Algeria have the toughest first round task in Group B where they must also take on Tunisia and Senegal for one of the two qualifying places for the quarter-finals.
Ghana are the team to beat in Group D. Apart from Uganda, they will take on Egypt, making their return to the contest after missing three finals, and Mali.
The final is in Libreville on February 5.
Fixtures for 2017 Africa Cup of Nations in Gabon after draw was made in Libreville:
Gabon v Guinea-Bissau , Burkina Faso v Cameroon -
Gabon v Burkina Faso, Cameroon v Guinea-Bissau
Gabon v Cameroon
Guinea-Bissau v Burkina Faso
Algeria v Zimbabwe, Tunisia v Senegal
Algeria v Tunisia, Senegal v Zimbabwe
Algeria v Senegal
Zimbabwe v Tunisia
Ivory Coast (holders) v Togo, Democratic Republic of Congo v Morocco
Ivory Coast v DR Congo, Morocco v Togo
Ivory Coast v Morocco
Togo v DR Congo
Ghana v Uganda, Mali v Egypt
Ghana v Mali, Egypt v Uganda
Ghana v Egypt
Uganda v Mali