Durban - Hosts South Africa will face Cape Verde in the opening match of the 2013 Africa Cup of Nations in Johannesburg.
Bafana Bafana, one of four seeded teams, were included in Group A with 2010 hosts Angola, 1976 champions Morocco, and Cape Verde, a small island nation off the west coast of Africa, in the final draw made here on Wednesday night.
West African giants Ghana were drawn alongside Mali, Niger and Democratic Republic of Congo in Group B.
Title holders Zambia will face Nigeria, Burkina Faso and Ethiopia in Group C.
Ivory Coast, seeded in Group D, are up against Tunisia, Algeria and Togo.
The three-week tournament, starting on January 19, will be played at five stadiums - FNB Stadium in Johannesburg, Moses Mabhida Stadium in Durban, Nelson Mandela Bay Stadium in Port Elizabeth, Mbombela Stadium in Nelspruit and Royal Bafokeng Stadium in Rustenburg.
Libya originally won the hosting rights, but the tournament was moved to South Africa due to political unrest in the north African country.
South Africa hosted the tournament once before, in 1996, when Bafana Bafana defeated Tunisia 2-0 in the final to lift their only African Cup of Nations title.
The draw for the 2013 Africa Cup of Nations:
Group A: South Africa, Angola, Morocco, Cape Verde
Group B: Ghana, Mali, Niger, DR Congo
Group C: Zambia, Nigeria, Burkina Faso, Ethiopia
Group D: Ivory Coast, Tunisia, Algeria, Togo
Fixtures for 2013 Africa Cup of Nations in South Africa:
Group A (Durban unless stated)
Jan 19
Johannesburg
South Africa v Cape Verde, Angola v Morocco
Jan 23
South Africa v Angola, Morocco v Cape Verde
Jan 27
South Africa v Morocco
Port Elizabeth
Cape Verde v Angola 1700
Group B (Port Elizabeth unless stated)
Jan 20
Ghana v DR Congo, Mali v Niger
Jan 24
Ghana v Mali, Niger v DR Congo
Jan 28
Ghana v Niger
Durban
DR Congo v Mali
Group C (Nelspruit unless stated)
Jan 21
Zambia v Ethiopia, Nigeria v Burkina Faso
Jan 25
Zambia v Nigeria, Burkina Faso v Ethiopia
Jan 29
Zambia v Burkina Faso
Rustenburg
Ethiopia v Nigeria 1700
Group D (Rustenburg unless stated)
Jan 22
Ivory Coast v Togo, Tunisia v Algeria
Jan 26
Ivory Coast v Tunisia, Algeria v Togo
Jan 30
Ivory Coast v Algeria
At Nelspruit
Togo v Tunisia
Quarter-finals
Feb 2
Port Elizabeth
(1) Gp B winners v Gp A runners-up
Durban
(2) Gp A winners v Gp B runners-up
Feb 3
Rustenburg
(3) Gp D winners v Gp C runners-up
Nelspruit
(4) Gp C winners v Gp D runners-up
Semi-finals
Feb 6
Durban
Winners quarter-final 2 v winners quarter-final 3
Nelspruit
Winners quarter-final 4 v winners quarter-final 1
Third place
Feb 9
Port Elizabeth
Semi-finals losers
Final
Feb 10
Johannesburg
Semi-finals winners
Match venues:
Johannesburg: FNB Stadium (94 000 capacity)
Durban: Moses Mabhida Stadium (54 000)
Nelspruit: Mbombela Stadium (41 000)
Port Elizabeth: Nelson Mandela Bay Stadium (48 500)
Rustenburg: Royal Bafokeng Sports Palace (42 000)