Seamus Coleman's stoppage-time strike gave Everton a seventh consecutive home win as struggling Cardiff City were beaten 2-1.
The Republic of Ireland defender's sliced shot deep into stoppage time stunned Ole Gunnar Solskjaer's relegation-threatened side, who have now suffered eight consecutive away defeats.
Juan Cala's first goal for Cardiff looked to have secured a precious point in their battle to avoid the drop after fellow Spaniard Gerard Deulofeu had put Roberto Martinez's side in front.
But Coleman had the final say as Everton moved above Manchester United into sixth place in the Premier League and inflicted yet another defeat on a Cardiff side who nevertheless showed plenty of fighting spirit as goalkeeper David Marshall produced a string of outstanding saves.
Leon Osman came into the Everton side as captain in the absence of Steven Pienaar (knock), while Tim Howard and Deulofeu started at the expense of Joel Robles and Ross Barkley following last weekend's FA Cup quarter-final defeat at Arsenal.
Cala recovered from illness to take his place in the Cardiff side as Kenwyne Jones dropped to the bench and Kevin Theophile-Catherine replaced the injured Ben Turner in defence.
Kevin Mirallas must have thought he had put Everton ahead after just two minutes when he picked his spot with a measured right-footed strike, but Marshall produced a fine reflex save.
The tricky Deulofeu then went down in the penalty area under a challenge from fellow Spaniard Cala, but referee Roger East waved play on 22 minutes in.
Fraizer Campbell spurned a chance to open the scoring against the run of play six minutes later, as the alert Howard saved with his feet.
Marshall was delivering a goalkeeping masterclass at the other end as he thwarted Deulofeu and then produced an outstanding fingertip save to keep out Romelu Lukaku's venomous left-footed strike as the first half finished goalless.
Cala was in the thick of the action and the defender made a vital last-ditch challenge as Lukaku prepared to pull the trigger just after the break.
Everton were in front after 59 minutes though, and it was Deulofeu who got the breakthrough when he cut in from the left unchallenged and beat Marshall at his near post with a deflected effort.
Cardiff refused to lie down and they were level nine minutes later, when substitute Peter Whittingham whipped in an inviting free-kick which struck Cala and bounced down into the corner of the net.
The equaliser stunned Everton, but Osman almost restored their advantage when his vicious strike flashed just wide with Marshall beaten.
Marshall produced yet more heroics to somehow tip Lukaku's deflected right-footed strike wide 12 minutes from time, but Coleman won it right at the end with a scuffed effort that looped into the net after Gareth Barry had headed Aiden McGeady's cross into his path.
|Coach: Roberto Martínez|
for K. Mirallas 61'
for Deulofeu 62'
for L. Osman 82'
|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|
|Allardyce confirms Rooney retains England captaincy|
|Hart to join Torino – agent|
|Sanches withdrawn from Portugal squad|
|Sporting CP issue Adrien Silva clarification amid Leicester links|
|Watford confirm Okaka signing|
|Manchester City outcast Zuculini seals Rayo Vallecano loan switch|
|Dembele offers something different - Deschamps|
|Sunderland would just love to get rid of me - Lens|
|No Casillas in Spain squad represents a ´new era´, says Ramos|
|Zenit defender Criscito could return to Italy, claims agent|
|Barcelona reveal Messi hamstring injury|
|Modric named new Croatia captain|
|Napoli announce Rog signing|
|De Boer is building something at Inter - Morratti|
|Keane eyes coaching career after international retirement|
|Bravo left out of Chile squad for family reasons|
|West Brom announce Chadli signing|
|Former Dodgers owner set for Marseille purchase|
|Ferdinand: I reached out to Wenger|
|Holgate has big quality for a young player - Koeman|
|Manchester United want to keep Rojo, says agent|
|Low not concerned by captaincy as Germany bid farewell to greats|
|Aguero pulls out of Argentina squad|
|Howedes: Germany must prove themselves all over again|
|Ventura close to tears on first day of Italy training|
|Torino interested in City outcast Hart|
|Adrien Silva hoping to seal ´exceptional´ Leicester switch|
|Boufal joins Southampton from Lille for club-record fee|
|Villa outcast Lescott joins AEK Athens|
|Milner: I´m learning left-back role as fast as I can|
|Allardyce ready for Hart transfer disruption|
|´Door always open´ for Barkley - Allardyce|
|Xhaka like Petit, claims Wenger|
|Coric: I was a medical away from joining Liverpool|
|Pasalic keen to put injury troubles behind him at Milan|
|Guardiola delighted with Sterling form|
|Rooney should retire from England duty - Shearer|
|Hazard can ´decide´ the title - Ivanovic|
|Allardyce hails ´outstanding´ Antonio|
|Belgium can make history - Henry|
|Nice president: Call Balotelli and tell him we need a striker|
|Modric would like to see out career in Madrid|
|Geromel replaces Caio in Brazil squad|
|Mustafi: Ozil convinced me to join Arsenal|
|Pardew confirms ´one or two´ more signings|
|MLS Review: Kaka brace denies NYC top spot, Timbers beat Sounders|
|Mihajlovic: I won´t waste anymore breath on Maksimovic|
|Okon named Central Coast Mariners coach|
|´Special´ Rashford will get chance - Rooney|
|Injury forces Schurrle out of Germany squad|
|Burke snubs Premier League interest to join RB Leipzig|
|Guardiola: Nasri has a future at City, if he wants it|
|Klopp confident ´all will be good´ with Sturridge|
|Emery confident PSG will bounce back|
|Athletic may strengthen squad - Valverde|
|Fabregas dismisses exit rumours, committed to Conte and Chelsea|
|De Boer encouraged as Inter´s wait continues|
|Barca ´strengthened´ by Luis Enrique´s 100th win|
|Fekir to undergo knee operation|
|Monaco 3 Paris Saint-Germain 1: Ligue 1 champions suffer early loss|
|Aguero facing possible Manchester derby ban|
|Athletic Bilbao 0 Barcelona 1: Rakitic strike extends Barca´s strong start|
|West Ham´s Antonio handed first England call-up|
|Guardiola ´so optimistic´ after Man City´s perfect start|
|Inter 1 Palermo 1: Icardi gets De Boer´s men off the mark|
|Credit Guardiola for boost in form, says Sterling|
|Manchester City 3 West Ham 1: Hosts stay perfect under Guardiola|
|Cavani won´t return to Napoli - De Laurentiis|
|Pulis puts 48-hour deadline on Berahino future|
|Zaza awaits ´new adventure´ at West Ham|
|Karanka open to transfer ´surprises´ after strong Middlesbrough start|
|Dost completes Sporting move|
|Allardyce wanted N´Zonzi for England|
|World Cup could be expanded - Infantino|
|West Brom 0 Middlesbrough 0: Booed Berahino benched for dour draw|
|Gyan´s ´destiny´ in England, Sunderland return an option|
|Zidane wanted Pogba and Madrid are weaker without him - Raiola|
|Juventus end Matuidi pursuit|
|´He´s freaking amazing!´ - Balogun hails Dortmund´s Dembele|
|Thohir thrilled as Inter confirm Joao Mario signing|
|Fabinho expects Monaco stay despite Manchester United links|
|Infantino has Blatter wine cellar removed as part of FIFA reform commitment|
|West Ham seal Zaza loan|
|Joao Mario posts heartfelt thanks to Sporting after record-breaking Inter move|
|Aguero: I´m not competing with Ibrahimovic|
|Mihajlovic: Maksimovic is dead to me|
|Risdon replaces Wright for Socceroos|
|MLS Review: DC United in goal-fest, Impact stun Toronto|
|Schmeichel to undergo surgery|
|Milik revels in ´dream´ brace as he ignores Higuain shadow|
|Rossi to join Celta Vigo|
|Ayestaran: Barcelona target Alcacer unable to compete|
|Simeone: Winless Atletico must remain calm|
|Griezmann: Atletico must improve or face relegation fight|
|Sterling ´feels the love´ at City - Guardiola|
|Stones glad he did not end up at Chelsea|
|James impact earns Zidane´s praise|
|Montella bemoans AC Milan´s indiscipline|
|Leganes 0 Atletico Madrid 0: Returning Griezmann fails to inspire turgid visitors|