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'
|Markovic heads to Sporting|
|Fernandez agrees AC Milan loan|
|Retiring Keane set for supporter role|
|BREAKING NEWS: Sunderland loan Denayer|
|Germany 2 Finland 0: Meyer shines as emotional Schweinsteiger bows out|
|Republic of Ireland 4 Oman 0: Keane ends international career in style|
|Hull swoop for Weir|
|Wilshere makes loan switch to Bournemouth|
|Exiled Hart thanks ´amazing´ City fans for support|
|Lopez joins Espanyol from AC Milan|
|Vezo leaves Valencia for Granada|
|Leicester complete Slimani deal|
|Nice sign Balotelli from Liverpool|
|Chile must forget Copa glory - Pizzi|
|Tottenham complete Lopez loan|
|Edwards adds to Welsh midfield woes|
|Fiorentina loan Olivera to replace Alonso|
|No drastic changes to Spain approach - Lopetegui|
|Transfer Deadline Day: Chelsea seal Alonso signing as done deals pile up|
|Chelsea agree terms for David Luiz return|
|France stronger after Euro adventure, says Varane|
|Spurs seal N´Koudou deal, N´Jie joins Marseille|
|Gray granted appeal extension|
|Carbonero extends Sampdoria loan|
|Brozovic snubs Chelsea´s advances|
|Cuadrado returns to Juventus on three-year loan|
|Luis Alberto agrees Lazio move|
|Karius recovering from second operation|
|Mangala joins Valencia in latest City departure|
|Aguero granted extension to appeal|
|Douglas Santos signs for Hamburg on five-year contract|
|Chelsea sign Alonso from Fiorentina|
|Algeria release Slimani for Leicester medical|
|Fanni packs in Qatar for Marseille return|
|Stoke agree Martins Indi loan|
|Traore swaps Villa for Middlesbrough|
|Hart will be under pressure at Torino - Southall|
|Burnley complete record swoop for Hendrick|
|My mother rejected Milan approach – Totti|
|Sirigu excited by Sevilla switch|
|Gnabry completes permanent Werder Bremen switch|
|Sunderland seal Ndong deal|
|Wenger confident of immediate Mustafi impact|
|Transfers won´t interfere with Portugal preparation - Santos|
|Perez: Impossible to improve Real Madrid squad|
|Mainz add Ramalho on loan|
|Mustafi enjoys Arsenal fan´s costly tweet|
|Pocognoli leaves West Brom on loan|
|Vagner Love seals Alanyaspor switch|
|Bony lands Stoke loan switch|
|Mourinho admits international break concerns ahead of Manchester derby|
|Lee Grant-ed Stoke move|
|Transfer Deadline Day: Hart completes Torino switch as big moves wait|
|Hart signs Torino loan deal|
|Riviere looks for fresh start with Osasuna|
|Leverkusen loan Papadopoulos to RB Leipzig|
|Lewandowski relaxed over Bayern contract|
|Frankfurt take on Everton youngster Tarashaj|
|Casemiro: Tite sent Brazil players videos of his work|
|Sissoko allowed to leave France camp amid Spurs rumours|
|Valencia: Mourinho wants United thinking like champions|
|Rough and ready Antonio primed for England impact|
|Rafinha could face Barcelona exit|
|Klinsmann: I had no contact with FA|
|Malaga presidents wants Isco return|
|Griezmann must think before he speaks - Saul|
|Rooney: I decided to take corners instead of Kane at Euros|
|Benteke: My time at Liverpool was not a failure|
|Asensio: I had the chance to join Barca|
|Morata: I had five or six phone calls every day|
|Costa: I wanted to return to Atletico|
|Mascherano: It would have been ´a sin´ for Messi to stay in international retirement|
|Guardiola: No one plays better than Barcelona|
|Sigthorsson seals Galatasaray loan move|
|Griezmann urges France to forget Euro 2016|
|Konoplyanka joins Schalke on loan|
|Mustafi finalises Arsenal move|
|Chambers loaned to Middlesbrough by Arsenal|
|Ajax snap up Ziyech from Twente|
|Kenedy joins Watford on loan from Chelsea|
|Cuca backs ´golden boy´ Gabriel Jesus to take off at Man City|
|Aguero´s brother joins Cadiz on loan|
|Leicester made €30m bid for Adrien Silva, father reveals|
|Schweinsteiger feels ´deep gratitude´ for Germany career|
|Swansea complete deal for Barnsley defender Mawson|
|Perez delight at Arsenal signing|
|Inter complete Gabriel capture|
|Mariappa returns to Watford|
|Aguero charged over Reid elbow|
|Hart pictured with Torino shirt ahead of loan switch|
|Albrighton pens fresh Leicester deal|
|Hull seal club-record Mason swoop|
|Pjanic confident Juve debut is on the horizon|
|Lucescu confirms Juventus interest in Witsel after Everton snub|
|Messi trains ahead of Argentina return|
|Villa sign Kodjia in a deal worth up to £15m|
|Marshall leaves Cardiff and heads to Hull|
|Rosicky returns to Sparta Prague|
|Gnabry close to Werder Bremen switch|
|Arsenal complete Perez deal|
|Celtic sign Gamboa from West Brom|
|Remy joins Palace on season-long loan|
|Kante like a rat - Hazard|
|Rooney proud to break England outfield caps record|
|Rooney to quit international football after World Cup|
|Barcelona sign €30m Valencia striker Alcacer|
|Koke and Vazquez welcome Laporte to Spain fold|
|Schweinsteiger has no ´personal problems´ with Mourinho|
|Alcacer, Hart, Wilshere and the deadline-beating deals still to come|
|Antonio thought first England call-up was banter|
|Premier League a completely different market - Heidel|
|Lens completes Fenerbahce loan move|
|Pescara awarded points after Sassuolo field ineligible player|
|Lyon calm Lacazette injury fears|
|Bamford joins Burnley on loan|
|Van Basten to leave Netherlands´ backroom staff for FIFA role|
|Ventura perfect for Italy - Verratti|
|Martial needs to be more consistent - Deschamps|
|Verratti not happy at PSG - Ventura|
|Ventura: I´ll probably manage Chelsea when Conte leaves|
|Bartomeu: Barca discussing new contract with Messi|
|Bauza: No doubts over Messi motivation|
|Schmeichel targets quick return after surgery|
|Giovinco to help aid earthquake victims in Italy|
|Ancelotti backs Madrid for LaLiga and Ronaldo to be top goalscorer|
|Gomes: Portugal can deal with Ronaldo absence|
|Sterling reveals Guardiola impact|
|Fiorentina deny approach for Chelsea target Alonso|