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'
|Potential victims in football abuse probe surpasses 500|
|BREAKING NEWS: Bonaventura signs new AC Milan contract|
|Messi: Ronaldo has achieved great things|
|Koscielny: Wenger has built men at Arsenal|
|Messi vows to stay at Barcelona ´for as long as they want me´|
|Cafu adamant Neymar will become world´s best|
|I´m just taking a sabbatical - Van Gaal denies he´s retired|
|Not even Gerrard won Premier League - Buttner says he´s not a United flop|
|Samper ignored Wenger as Barca midfielder rejected Arsenal|
|Pleased Pioli wants more from Inter|
|Evergrande boss Scolari dismisses Turan links|
|Klopp seeks legal advice over Matip|
|Marseille complete Sanson move|
|Inter 3 Bologna 2: Candreva prevents remarkable turnaround in Coppa Italia thriller|
|FA Cup Review: Non-league Lincoln stun Ipswich, Burnley and Palace through|
|Gabon v Burkina Faso: Aubameyang says hosts have learned from Guinea-Bissau setback|
|Mali 0 Egypt 0: El-Hadary makes history in stalemate|
|El-Hadary oldest AFCON player ever - 44-year-old Egypt goalkeeper makes history|
|Reus and Gotze on target but Bender injured in Dortmund win|
|Toure shunning lavish China interest to stay at City, says Seluk|
|Rahman´s AFCON in the balance, says Ghana boss Grant|
|Just 14 goals conceded and nine clean sheets - How Vertonghen blow could impact Tottenham|
|Ghana 1 Uganda 0: Andre Ayew hands Black Stars nervy victory|
|Swansea snap up Carroll and Olsson in double swoop|
|All is forgiven? - Costa trains with full Chelsea squad after reported Conte bust-up|
|I would throw myself off a bridge for Luis Enrique - Rakitic dismisses Barca rift rumours|
|Was Juventus´ new logo inspired by tennis star?|
|Smooth sailing for Liverpool in Plymouth? Klopp expects tough test|
|Demichelis re-joins Malaga until end of season|
|Cameroon v Guinea-Bissau: Broos urges new heroes to emerge|
|Boxing champ hits Carragher with Chinese Super League comeback prank|
|Zidane backs Navas and defends Benzema as Madrid aim to bounce back|
|Deportivo bring in Kakuta from Hebei after CSL rule changes|
|Matip could miss eight games without doing anything wrong - Klopp|
|United trigger Valencia´s contract extension|
|Ronaldo returns to Real Madrid´s Copa squad|
|FA fine Sagna for Instagram post|
|Nedved does not foresee more January business for Juventus|
|Rafinha injury blow for Barcelona|
|Villas-Boas fumes at CSL foreign player crackdown|
|Ibrahimovic invaluable to Manchester United youngsters - Rashford|
|Robben rejected China move|
|A-League review: Phoenix rise to the occasion to end Victory´s streak|
|Van Gaal slams English media over treatment at Manchester United|
|Mignolet: Liverpool in better position to win title than in 2013-14|
|Giroud wants Premier League title but understands China temptations|
|Tianjin forced to scrap moves for Costa, Benzema, Cavani and Falcao|
|My goal was better than Mkhitaryan´s - Giroud|
|Pochettino not interested in Argentina job|
|Kane: Tottenham can win Premier League|
|Corinthians dreaming of Drogba - Paulo Roberto|
|Coutinho calls for Liverpool focus|
|Chiellini compares Pogba to LeBron and Bolt|
|Maradona to become Napoli ambassador|
|Mihajlovic furious after Torino collapse|
|Icardi has offers from China - Wanda Nara|
|Pogba can cope with pressure - Ibrahimovic|
|´My half-time words will stay in the dressing room´ - Montella annoyed with AC Milan|
|Juventus unveil dramatic change to club logo - but not everyone´s a fan|
|´I do not think I will return to coaching´ - Van Gaal set to call it quits|
|Torino 2 AC Milan 2: Bacca caps thrilling comeback as hosts pay the penalty|
|DR Congo 1 Morocco 0: Kabananga pounces on blunder to give 10 men the points|
|´Happy and comfortable´ Sanchez dismisses Arsenal exit talk|
|How much?! West Ham flop Simone Zaza could cost Valencia €20m|
|Mali v Egypt: Salah leads Pharaohs´ bid for AFCON glory|
|Sevilla concede they ´cannot force´ sporting director Monchi to stay|
|Ivory Coast 0 Togo 0: Reigning champions held to opening draw by Adebayor and co.|
|Goalkeeping woes, Stones and tactical confusion - How Guardiola is making life difficult for himself|
|Ozil and Sanchez can be persuaded to stay - Cech|
|Pogba: I rejected Barcelona and Real Madrid|
|Ghana v Uganda: Gyan dreams of first trophy since 1982|
|Chiellini: Juventus a work in progress|
|Robben agrees Bayern renewal until 2018|
|Hazard: Goals do not matter to me|
|Bennell pleads not guilty to eight child sex offences|
|Muller fed up with debate over Bayern role|
|Wenger glad Sanchez is not ´a Costa problem´|
|Flick resigns as DFB´s sporting director|
|Gomis ´can´t wait´ to welcome Payet to Marseille|
|Chinese FA changes foreign player rules after ´irrational´ spending|
|Like father, like son: Justin Kluivert follows in dad´s footsteps|
|´No reason to lose him´ - Marotta rubbishes talk of Allegri exit|
|Courtois: We don´t need Costa|
|Kane: Tottenham players won´t go to China|
|Noble ´angry and disappointed´ with Payet|
|Klopp furious over Matip uncertainty|
|Wenger surprised by tight Premier League|
|´Money is not everything´ - Conte issues warning amid China speculation|
|Fiorentina defeat a ´bad setback´ - Allegri|
|´This will elevate this group of players´ - Sampaoli revels in Sevilla late show|