Ivory Coast 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 Guinea Bissau who are making their first appearance in the 16-nation tournament.
The other group favourites, Algeria and Ghana start against Zimbabwe and Uganda respectively.
The final is in Libreville on February 5.
Draw for 2017 Africa Cup of Nations made in Libreville Wednesday:
Group A: Gabon, Burkina Faso, Cameroon, Guinea-Bissau
Group B: Algeria, Tunisia, Senegal, Zimbabwe
Group C: Ivory Coast (holders), Democratic Republic of Congo, Morocco, Togo
Group D: Ghana, Mali, Egypt, Uganda
Note: Gabon host tournament between Jan 14 and Feb 5 in Libreville, Franceville, Oyem and Port-Gentil