Giacomo Bonaventura's late header continued Inter's Atalanta hoodoo as the visitors secured a dramatic 2-1 win at San Siro on Sunday.
In a result that extends Atalanta's winning run to four Serie A games, Bonaventura scored twice, with his winning goal coming after withstanding a second-half barrage from Inter.
However, Inter's profligacy and Bonaventura's brace proved crucial as the hosts missed the chance to move ahead of fourth-placed Fiorentina, who make the trip to Napoli later on Sunday.
After an entertaining start that saw visiting captain German Denis head against the crossbar, the opening two goals came within the space of two late first-half minutes.
Expert finishes from Bonaventura and Mauro Icardi ensured the sides went in level at the break before Inter twice struck the woodwork early in the second half.
Inter, though, failed to make the most of their chances and Bonaventura made them pay - heading home in the 90th minute to extend Inter's winless run against Atalanta to six matches.
With Walter Mazzarri's Inter going in search of a third straight victory, Hernanes played in Fredy Guarin for the game's first opportunity - the Colombian placing an effort marginally wide of Andrea Consigli's left-hand post.
The two combined again shortly after, but this time Guarin opted for power, as he fired over the crossbar.
Samir Handanovic was then required to keep out powerful efforts from Guglielmo Stendardo and Luca Cigarini as he demonstrated some of the form that had seen Inter keep clean sheets in their previous three outings.
Guarin's third effort stung the palms of Consigli before Icardi failed to provide a cutback for Rodrigo Palacio when played in behind the Atalanta defence.
Bonaventura's long-range strike dipped too late to threaten Handanovic before he eventually found the net at the third attempt after 35 minutes.
Following a quick break, Bonaventura made the most of Denis' decoy run to create space before firing past Handanovic.
However, Atalanta's joy was shortlived, as a minute later Icardi collected Guarin's slipped pass before cutting inside his marker and firing home the equaliser to restore parity nine minutes before the break.
As in the first half, Inter began on the front foot after the interval with Guarin at the centre of their attacking threat - firing a shot from distance that clipped the crossbar and went over.
Palacio was then denied by the post as he glanced Jonathan's cross over the helpless Consigli as Inter continued to pile on pressure.
However, Stefano Colantuono's charges secured a dramatic late win thanks to Bonaventura's fifth league goal of the season as Inter's European aspirations were dealt a blow.
|Coach: W. Mazzarri|
for E. Cambiasso 61'
for D. D'Ambrosio 72'
for H. Campagnaro 82'
|Barcelona announce record revenues for 2015-16|
|Moyes enjoys Sunderland win as Palace beat Colchester|
|Stoke complete Allen signing|
|Roma coach Spalletti warns suitors off Manolas|
|Cresswell out for up to four months with knee injury|
|Burnley fan banned by club for racist abuse|
|Dad won´t let me play at the Olympics - Larsson Sr pulls rank|
|Kostic joins Hamburg on five-year deal|
|Tevez: I´d turn down Chelsea and Napoli to stay at Boca|
|Mayoral inspired by Benzema for Wolfsburg stint|
|Allardyce straight into competitive action with England|
|Liverpool, Sevilla fined for Europa League final incidents|
|Barcelona seal Guillemenot signing as part of new Servette deal|
|Niersbach handed one-year ban over World Cup corruption|
|Chelsea and Everton ´still interested´ as Koulibaly eyes Napoli exit|
|´Still working hard´ - Balotelli trains with Liverpool kids|
|Winter breaks, long-ball football and the World Cup: Allardyce in his own words|
|Inter warn Napoli Icardi is not for sale|
|Zanetti wants Simeone back at Inter|
|Stoke snap up Sobhi|
|PSG tougher under Emery - Lucas Moura|
|Totti not ready for retirement - Pallotta|
|Confident Allardyce reveals plan for England success|
|Pochettino to discard three Tottenham players|
|Allardyce: Rooney must wait for captaincy decision|
|Aubameyang: I will only leave Dortmund for Real Madrid|
|Allegri silences questions on Pogba|
|Bruce stands by decision to quit Hull City|
|Pochettino: Not the right time for Argentina job|
|Inter yet to approach De Boer with Mancini exit rumoured|
|Ancelotti trusts me more than Guardiola - Ribery|
|Wijnaldum rejected Everton for Klopp|
|Pre-season Manchester derby cancelled|
|Coutinho excited by ´fast´ Liverpool recruits|
|Cristiano Ronaldo and Conor McGregor step into the ring together|
|Mancini coy on reports linking Icardi to Napoli|
|Nolito reveals why he chose Man City over Barcelona|
|Inter 1 Paris Saint-Germain 3: Icardi absence in defeat fuels Napoli talk|
|MLS Review: Wright-Phillips double inspires Red Bulls to New York derby rout|
|James seeks more game time at Madrid|
|Rooney: I want to be a manager|
|Mignolet welcomes Karius challenge in Liverpool number one battle|
|Batshuayi buoyed by winning vibes at Chelsea|
|Moyes and Sunderland players diverted after plane fault|
|´Loved´ Varane targets long Madrid stay|
|Kostic set for Hamburg medical|
|Leicester crying over Kante sale - Ranieri|
|Schurrle the perfect Mkhitaryan replacement - Tuchel|
|West Ham face anxious wait on Cresswell injury|
|Mourinho will accept criticism from United legends|
|Bertolacci desperate for fresh start after underwhelming first season at Milan|
|Hoops hand Toure one-year deal|
|Origi ready to fight for Liverpool spot|
|Emery wants PSG stay for ´fantastic´ Matuidi|
|No Barcelona offer for Vietto - Cerezo|
|Burnley apologise for racist abuse from supporter|
|Guardiola will not rush Kompany comeback|
|Of course I´ll shake Guardiola´s hand, snaps riled Mourinho|
|Watzke: No more signings for Dortmund|
|Roma expect Manolas to snub Premier League move|
|Adriano set to leave Barcelona for Besiktas|
|Manchester United in worst possible situation - Mourinho|
|Sporting would have to sell stadium to afford Van Persie - Jesus|
|Jonas´ agent confirms Barcelona approach|
|No problem with Mourinho, insists Guardiola ahead of derby in China|
|Toronto´s hat-trick hero Giovinco: I´m back|
|Drogba revels in ´special night´, dedicates hat-trick to family|
|MLS Review: Hat-tricks for Drogba and Giovinco as stars shine|
|Whelan backs Liverpool for top-four finish|
|Pellegrini still waiting for right offer|
|Ronaldo deserves to win Ballon d´Or - Vazquez|
|Phelan wants Hull job|
|Alaba saddened by Gotze exit|
|Morgan: Vardy right to re-sign|
|Maradona ´hurting´ as Higuain closes on Juventus move|