South Africa thumped Botswana 4-1 in their final group A fixture but it was not enough to see them through to the next round of qualifying.
Bernard Parker scored a late brace to add to first-half strikes from Kermit Erasmus and Dean Furman on Saturday.
However, the South Africans finished second in their group behind Ethiopia, after they beat Central African Republic 2-1 to seal their place in the final qualification round.
Jerome Ramatlhakwane had briefly given Botswana hope in the second half, but Parker's double ensured that they finished third in the group, six points adrift of Ethiopia.
South Africa made five changes to the side that had lost to Ethiopia in their last qualifier in June.
Erasmus, Thabo Matlaba, Kagisho Dikgacoi, Bongani Khumalo and Tokelo Rantie all came in, with Tebogo Langerman, Reneilwe Letsholonyane, Mulomowandau Mathoho, Thuso Phala and May Mahlangu making way.
For Botswana, Jackie Mothatego, Galabgwe Moyana and Mogogi Gabonamong replaced Dirang Moloi, Phenyo Mongala and Obuile Ncenga from the team that defeated Central African Republic in their previous qualifier.
Both sides needed a win to have any chance of progressing to the next stage of qualifying, and it was the home side who started the stronger, as Dikgacoi was denied twice by Botswana goalkeeper Kabelo Dambe in the seventh minute.
Siphiwe Tshabalala fired a free-kick over the bar 10 minutes later as South Africa continued to press.
In the 27th minute, Erasmus gave South Africa the lead.
Gabonamong conceded a cheap corner, from which Parker flicked the ball on leaving Erasmus with the simple task of nodding the ball home for his first international goal.
Kabelo Dambe then brilliantly kept out Parker's effort, but South Africa were not to be denied and in first-half stoppage time Doncaster Rovers midfielder Furman broke forward and tucked a low finish beyond the goalkeeper and in off the post.
The home side began the second period the same way they ended the first, as Dambe had to be on hand to deny both Rantie and Matlaba.
With 17 minutes to go, Ramatlhakwane gave Botswana hope when he rose to head beyond Itumeleng Khune, but 10 minutes later Parker restored South Africa's two-goal advantage.
Substitute Moloi brought down Rantie outside the box and Parker stepped up to send the ball over the wall and beyond Dambe.
A minute from time, Parker claimed his second from the penalty spot after substitute Daine Klate was felled in the area to seal a resounding, if ultimately academic, victory for South Africa.
|B. Parker||84' 89'|
|Coach: G. Igesund|
for K. Erasmus 58'
for K. Dikgacoi 66'
for S. Tshabalala 88'
|Nice go top but struggles continue in draw with 10-man Bastia|
|AC Milan pull Deulofeu Tweet amid reports deal not yet complete|
|New Manchester City deal for Aguero but little fanfare|
|Matip gets all clear from FIFA to play for Liverpool after Cameroon row|
|Freiburg 1 Bayern Munich 2: Lewandowski to the rescue with late winner|
|Fonte completes £8million West Ham switch|
|Morocco 3 Togo 1: Renard´s men back on track with comeback victory|
|Stoke complete £12million Berahino signing|
|Egypt v Uganda: Pressure on Pharaohs to kickstart campaign|
|Aspas responds to alleged Ramos spit|
|Stoke agree Berahino deal with West Brom|
|AC Milan complete Deulofeu loan signing|
|Gerrard returns to Liverpool as academy coach|
|Ivory Coast 2 DR Congo 2: Serey Die rescues point but holders still in trouble|
|Di Maria committed to PSG amid reported CSL interest|
|Sanchez a role model - Xhaka|
|Tuchel trusts Schurrle to fill Aubameyang void|
|Ghana v Mali: Rahman injury poses a problem for Grant|
|Depay not holding Manchester United grudge|
|I love watching them - Guardiola a huge fan of Pochettino and Tottenham|
|Klopp: I could kick Mane in the... lower back|
|Conte: Ake is ready to help Chelsea´s title bid|
|Allardyce provides Evra, Van Aanholt and Jenknson updates|
|Guardiola looks beyond beleaguered Bravo for City woes|
|Begovic could leave Chelsea - Conte|
|PSG still on the hunt for striker, says Emery|
|Mourinho: Valencia the best right-back in football|
|Mourinho on Young to China talk: He hasn´t told me anything!|
|Costa wants to stay at Chelsea, reveals Conte|
|´I played worse sometimes´ - Zidane defends Ronaldo from critics|
|Injured Iniesta to miss Eibar clash|
|Mourinho open to Depay return|
|Lyon confirm Depay arrival|
|Germany to bid for Euro 2024|
|Sydney FC 2 Adelaide United 0: Two goals in three minutes extend lead|
|Depay could face Marseille as Lyon boss Genesio hails winger´s ´big motivation´|
|Hull loan Elabdellaoui from Olympiacos|
|AC Milan make final offer for Deulofeu|
|Hughes ´wouldn´t encourage´ Bojan bids|
|Worker dies at World Cup stadium in Qatar|
|West Brom sign Livermore|
|Lyon president Aulas: Depay deal imminent|
|Aubameyang: I could leave Dortmund, but I´d never join Bayern|
|´Equating Messi with anyone else is like comparing a policeman with Batman´ - Sampaoli|
|It will take years to build football culture, Wenger warns CSL|
|´Worried´ Rakitic wants Barca renewal|
|Inter not signing Messi - Moratti|
|Luis Enrique hails Barca defence after ending Anoeta curse|
|´He is made of different stuff´ - Spalletti hails Nainggolan after wondergoal|
|Tottenham´s Janssen turned down Galatasaray move, agent claims|
|Did Carroll´s wondergoal give the West Ham striker whiplash?|
|Iniesta suffers calf injury|
|Swansea situation not ´hopeless´, says Clement|
|Real Sociedad 0 Barcelona 1: Neymar ends Anoeta curse|
|´Immeasurable bulls**t´ - Ligue 1 coach destroys Van Basten´s offside plan|
|Simeone praises Atletico´s precision in Copa Del Rey win|
|Fonte situation difficult for Southampton - Puel|
|´Some of the best football in the UK´ - Watford´s Mazzarri hails Bournemouth|
|Senegal 2 Zimbabwe 0: Cisse´s men charge into quarter-finals|
|Rivaldo backs Luis Enrique to deliver more Barca success|
|Atletico Madrid 3 Eibar 0: Routine win earns quarter-final lead|
|Jesus will make Premier League history - Rivaldo|
|Adebayor: Arsenal are just Ozil and Sanchez|
|Algeria 1 Tunisia 2: Favourites on brink of elimination|
|Bayern keen to seal Coman deal as Rummenigge cools Gnabry interest|
|Pochettino has done his homework on Jesus as Spurs look to march on|
|Scrap offside? Premier League managers give Van Basten´s plans a cool reception|
|Coman ready for Bayern comeback, confirms Ancelotti|
|Pochettino upbeat despite six weeks out for Vertonghen, Lamela still a mystery|
|Cerezo defiant over Griezmann amid talk of Manchester United agreement|
|Robinho named in Brazil squad for Chapecoense fundraiser|
|Davies and Lookman aren´t the big men of Everton, warns Koeman|
|Ivory Coast v DR Congo: Dussyer demands champions show true strength|
|Replacing Robben and Ribery not easy - Hitzfeld|
|Yeray back in Athletic training after successful cancer surgery|
|Karanka targeting more Boro deals after Bamford swoop|
|Cavani: I am the ultimate finisher|
|Morocco v Togo: El Ahmadi hungry for success|
|Ancelotti denies Verratti approach|
|A-League Review: Cahill double sees Melbourne City sink Mariners|
|Manchester United very happy with Shaw, insists agent|
|Mertesacker extends Arsenal deal|
|Boost for Arsenal as key quartet returns to training|
|Will Jesus save Manchester City´s title bid? Guardiola´s new striker in Opta numbers|
|Tevez mobbed after touching down in Shanghai|
|Payet exit not inevitable - Bilic|
|Wenger: Arsenal don´t need Payet|
|Jesus wants Manchester City titles|
|Orsolini arrives for Juventus medical|
|Rivaldo backs Coutinho to join Neymar at Barcelona|
|No danger of Messi leaving Barcelona, says father|
|Augusto: I convinced Oscar to come to China|
|Madrid-bound Maradona visits Napoli training|
|Sevilla in no rush over Sampaoli talks despite Barcelona links|
|Cafu: Resurgent Brazil can challenge world´s best|
|Klopp thrilled with Coutinho|
|Manchester United replace Real Madrid as world´s richest club|
|Madrid squad annoyed by defeats - Zidane wants more energy after latest loss|
|Casemiro rues more misery for Madrid against Celta|
|´Job done, let´s go home´ - Klopp happy to avoid extra time with narrow Plymouth win|