A second-half penalty from substitute Moussa Sow was not enough for Senegal as Salomon Kalou secured Cote d'Ivoire's place at the World Cup with a late equaliser in Saturday's 1-1 draw.
Sabri Lamouchi's side headed into Saturday's game having eased to a comfortable 3-1 win in the first leg last month, although Senegal still had half a chance by virtue of their away goal.
The Elephants completed the job with a solid performance, although they were pushed hard before finally confirming a 4-2 aggregate victory.
The second leg was played at the Stade Mohamed V in Casablanca as Senegal lost home advantage as punishment for crowd trouble in an Africa Cup of Nations play-off tie between the two sides back in October 2012.
However, that did not appear to affect them, and they dictated play for the majority of the game as they looked to qualify for the World Cup finals for the first time since 2002.
For all their pressure, it took Senegal until the 77th minute to make the breakthrough, with Sow's penalty giving Alain Giresse's side brief hope.
But the crucial second goal did not arrive, and their hopes were finally killed off when Kalou struck in injury time to send Cote d'Ivoire to next year's finals in Brazil.
Senegal coach Giresse made five changes to the side that lost the first leg, with midfielders Salif Sane and Sadio Mane among those to come into the side as the likes of Sow and Mohamed Diame dropped to the bench.
Cheick Tiote and Geoffrey Serey Die both missed out due to suspension for Ivory Coast, who maintained a front three of Gervinho, Kalou and Didier Drgoba.
Giresse's men made the better start, but it took them until the 14th minute to create the game's first real chance as Newcastle United striker Papiss Cisse saw his goalbound header hooked away by Drogba.
Cote d'Ivoire continued to defend well despite sustained pressure from Senegal, who were reduced to largely speculative efforts from range in what was a frustrating first half from their perspective.
Senegal pressed forward with renewed energy after the interval, and Cisse was involved again as he broke through on goal following some poor defending, only for Boubacar Barry to block his close-range effort with his feet.
Lamouchi's side struggled to get a foothold in the game throughout, and they were continually grateful for Senegal's profligacy, which was showcased agains as Dame N'Doye curled a free kick wide from the edge of the area.
However, 13 minutes from time Giresse's men were offered a lifeline when Drogba pulled down Mane in the area, allowing Sow to step up and convert from the spot.
Senegal failed to create further momentum, though, and they were caught on the counter in the final minute of injury time, Kalou steering home to send the Elephants to their third consecutive World Cup.
|Coach: A. Giresse|
for D. N'Doye 65'
for S. Badji 82'
for P. Souaré 90+2'
|Pellegrini laments key turning points in Burnley setback|
|Newcastle United 3 Everton 2: Pardew´s men impress at St James´ Park|
|League One Review: Swindon climb into second, MK Dons suffer surprise defeat|
|Championship Review: Bournemouth go four points clear, Boro held|
|Koeman hails Southampton spirit|
|Inverness Caledonian Thistle 0 Aberdeen 1: Pawlett strikes sends McInnes´ men second|
|Mourinho fumes at ´campaign´ against Chelsea|
|Manchester City 2 Burnley 2: Barnes claims a point to deny champions|
|West Ham 1 Arsenal 2: Wenger´s men climb above hosts|
|Hull City 0 Leicester City 1: Mahrez fires Pearson´s men to victory|
|QPR 0 Crystal Palace 0: Millen makes solid start as temporary Palace boss|
|Aston Villa 0 Sunderland 0: Delph sees red in stalemate|
|Stoke 2 West Brom 0: Diouf brace secures back-to-back wins|
|Southampton 1 Chelsea 1: Mourinho´s men end 2014 on top|
|Van Gaal frustrated with wasteful finishing|
|Pochettino content with goalless draw|
|Tottenham 0 Manchester United 0: Honours even at White Hart Lane|
|Klose vows to fight for Lazio place|
|Hughton admits interest in Palace and Brighton roles|
|Injuries not behind retirement plans, says Rolfes|
|Podolski: Arsenal exit not a formality|
|Wellington Phoenix 1 Western Sydney Wanderers 0: Krishna wins it|
|Taylor wary of ´beast´ Lukaku|
|Al Habsi to lead Oman at Asian Cup|
|Lacazette will stay at Lyon - Aulas|
|Southampton like Atletico, says Alderweireld|
|World Cup held PSG back - Blanc|
|Everton facing ´pivotal´ moment - Martinez|
|Zamora urges QPR to tie down Austin|
|Badstuber, Alaba set for New Year return|
|Burgos: Atletico will get the best out of Torres|
|Chelsea to offer Terry new deal - Mourinho|
|Rodgers excited by Sterling development|
|Strinic close to finalising Napoli switch|
|Torres to join Milan on permanent deal|
|Scottish Premiership Review: Celtic held to shock draw, rivals fail to capitalise|
|Wenger sings Song´s praises|
|Pochettino calls for bravery|
|West Ham could lose Allardyce - Sullivan|
|League One Preview: Saunders takes charge for Colchester clash|
|Aguirre denies any involvement in La Liga match-fixing scandal|
|Mourinho impressed by Koeman´s Southampton|
|QPR v Crystal Palace: Millen recast in familiar role|
|West Ham v Arsenal: Allardyce eyes further home comfort|
|Elusive Coppa Italia on Juventus´ wish list - Marotta|
|Jones eyes swift response|
|Millen focused on QPR clash|
|League Two Preview: Shrewsbury, Wycombe and Burton vie for year-end top spot|
|Mancini not expecting big-money signings at Inter|
|Tottenham v Manchester United: Carrick expects tough return|
|Pearson eager to see Leicester resolve|
|Newcastle United v Everton: Martinez demands clinical touch|
|Liverpool v Swansea City: Rodgers backs returning Mignolet|
|Bayern can still improve - Sammer|
|Warnock sacked by Palace|
|Aston Villa v Sunderland: No club too big to go down, says Lambert|
|Hull City v Leicester City: Pearson vows to keep going|
|Stoke City v West Brom: Hughes targets elusive back-to-back wins|
|Rodgers dismisses Balotelli exit rumours|
|Modric will not rush Madrid return|
|Dyche pleased with Vokes return|
|Southampton v Chelsea: Koeman vows to go on the offensive|
|A-League Review: Six-goal Gosford thriller, Victory leave it late|
|Manchester City v Burnley: Pellegrini warns against complacency|
|Dortmund can fight on two fronts - Watzke|
|Sterling hails improved Liverpool belief|
|Rosicky eager to build on QPR winner|
|Wenger: ´We made it hard for ourselves´|
|Kane: Spurs eye top four|
|Di Maria in doubt for Spurs clash|
|Ba left out of Senegal AFCON squad|
|Redknapp frustrated by penalty call|
|Wenger sees Giroud wrongs|
|Premier League schedule a ´disgrace´, says Poyet|
|Championship Review: Bournemouth stay top, Heskey scores on Bolton debut|
|Hughes lauds Bojan performance|
|Koeman: Saints marching on|
|Pardew rues referee error|
|Arsenal 2 QPR 1: Sublime Alexis secures the spoils|
|Martinez questions Walters decision|
|Poyet laments Sunderland mistakes|
|League One Review: Swindon cruise to win over Walsall|
|Irvine aware of need for improvement|
|United still doing ´very bad things´ - Van Gaal|
|Lambert proud of players despite Swansea defeat|
|Warnock bemoans Palace defence|
|Bruce hails Hull´s spirit|
|Pochettino relieved to come away with victory|
|Dyche: We had our pocket pinched|
|Monk hails Fabianski performance|
|Pearson demands greater concentration from Leicester|
|Kompany set for City return|
|Rodgers hails character after battling win|
|League Two Review: Ainsworth frustrated by Luton, Shrewsbury go top|
|Everton 0 Stoke City 1: Lacklustre Everton slip to defeat|
|Sunderland 1 Hull City 3: Triumphant return for Bruce|
|Burnley 0 Liverpool 1: Sterling wins it at Turf Moor|
|Leicester City 1 Tottenham 2: Eriksen piles misery on Pearson´s men|
|Manchester United 3 Newcastle United 1: Rooney extends hosts´ streak|
|West Brom 1 Manchester City 3: Three and easy for in-form champions|
|Swansea City 1 Aston Villa 0: Hosts break Boxing Day duck|
|Crystal Palace 1 Southampton 3: Mane marks return with star performance|
|Allardyce upbeat despite defeat|
|Van Dijk happy at Celtic - Deila|
|Table-topping Chelsea delight Mourinho|
|Chelsea 2 West Ham 0: Mourinho´s men ease to victory|
|Suarez enjoying Messi, Neymar link-up|
|A-League Review: Garcia rescues point for Perth, Adelaide up to second|
|Poyet calls for mid-season break|
|Van Gaal rules out Januzaj move|
|Rodgers: Balotelli may have to get used to bench|
|Lallana: I was trying too hard|
|Walker juggles music, football careers in Sweden|
|Song to face ´brother from another mother´ Fabregas|
|Adriano announces Le Havre deal|
|Pardew braced for Old Trafford test|
|Lescott unfazed by City reunion|
|Tskhadadze appointed Georgia coach|
|United to finish top three - Ferdinand|
|Allardyce: Stamford Bridge stalemate saved my job|