Holders Algeria have been grouped alongside two-time winners Ivory Coast following the 2021 Africa Cup of Nations draw ceremony held in Yaounde on Tuesday.
The delayed event, which will be hosted in Cameroon from January 9 to February 6, features 24 teams for the second time with six groups of four.
Algeria, who triumphed in Egypt in 2019, are alongside 1992 and 2015 winners Ivory Coast as well as Sierra Leone and Equatorial Guinea in Group E.
Hosts Cameroon will open the tournament in Group A, where they were drawn alongside Burkina Faso, Ethiopia and Cape Verde.
Record seven-time winners Egypt, who last lifted the title in 2010, are grouped with three-time champions Nigeria, Sudan and Guinea-Bissau in Group D.
Arsenal team-mates Pierre-Emerick Aubameyang and Thomas Partey will face off in Group C with Gabon and Ghana alongside first-timers Comoros and top seeds Morocco.
Debutants Gambia are alongside Tunisia, Mali and Mauritania in Group F, while 2019 runners-up Senegal are in Group B with Zimbabwe, Guinea and Malawi.
Africa Cup of Nations draw:
Group A: Cameroon, Burkina Faso, Ethiopia, Cape Verde
Group B: Senegal, Zimbabwe, Guinea, Malawi
Group C: Morocco, Ghana, Comoros, Gabon
Group D: Nigeria, Egypt, Sudan, Guinea-Bissau
Group E: Algeria, Sierra Leone, Equatorial Guinea, Ivory Coast
Group F: Tunisia, Mali, Mauritania, Gambia