Ivory Coast will start their defence of the Africa Cup of Nations against Togo in January, according to the draw made in Libreville, Gabon, on Wednesday.
Ivory Coast, who beat Ghana on penalties 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 quarterfinals.
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.
Full 2017 Afcon draw:
Group A: Gabon, Burkina Faso, Cameroon, Guinea-Bissau
Group B: Algeria, Tunisia, Senegal, Zimbabwe
Group C: Ivory Coast, Democratic Republic of Congo, Morocco, Togo
Group D: Ghana, Mali, Egypt, Uganda