Two first-half goals within 97 seconds of each other left the game tied until two late strikes from the substitutes provided the Toffees' with their first home win of the season
A deflected effort from Franco Di Santo gave the visitors the lead on the 31st minute after a poor opening half an hour from both sides but Phil Jagielka pounced only 97 seconds later to level for David Moyes' side.
The Toffees then completed their turnaround with only five minutes remaining as a rising Apostolos Vellios latched on to Tony Hibbert's sublime cross to nod home from 10 yards out. New boy Royston Drenthe then wrapped it up in stoppage time to put Everton into seventh.
David Moyes named an unchanged side from the team that drew 2-2 with Aston Villa last weekend, leading Louis Saha, not even on the substitutes bench, to take to his Twitter account and state, somewhat mysteriously: “I am not good enough,” less than an hour before kick-off.
Wigan saw three changes to their starting line-up from the 3-0 defeat to Manchester City at Eastlands last Saturday, as James McCarthy, Jordi Gomez and league debutant Patrick van Aanholt coming in for Mohamed Diame, James McArthur and Emmerson Boyce, who had failed to overcome a groin injury prior to the clash at Goodison.
The opening exchanges saw neither side able to gain a foothold in the game, with the hosts having the better start but with little effect as possession remained loose in the centre of the park. Chances for both Leon Osman and Di Santo came and went, but neither goalkeeper was to be tested early on.
Everton were showing the greater endeavour but it was a tentative start that would prove to characterise the opening 20 minutes, with both Martinez and Moyes left aghast by their respective sides' inability to keep hold of the ball going forward.
With half time approaching, a piece of inspiration was required and it was to come in the form of Argentine Di Santo, who, having received the ball off Ben Watson off a short corner, drove the ball towards goal and saw it deflected off Hibbert and into Tim Howard's top corner to give his side the lead against the run of play.
Back level | Everton's Phil Jagielka cancels out Di Santo's opener
The Toffees' response was incisive and only 97 seconds after conceding, they were level. A Leighton Baines corner was met superbly by the flying Tim Cahill, only for the Australian to see his header slam against the crossbar. However, with the ball free in the area, Jagielka was on hand to pounce and score his first goal at Goodison Park in the Premier League in three and a half years.
The game had gone from turgid to terrific in a matter of minutes and as the half-time whistle went, things were very much in the balance.
The Latics came out full of vigour in the second period and it was Victor Moses who was shining brightest, weaving in and out of Baines and linking well with Gomez but with the Toffees looking dangerous on the break, nerves were jangling in all quarters.
Both sides were, similarly to the opening 45 minutes, proving largely wasteful and Moyes introduced Royston Drenthe and Apostolos Vellios in order to provide a little vibrancy into a game that had offered anything but in large part.
The fixture was becoming increasingly stretched, with neither side willing to settle for a point but the willingness of both teams wasn't matched by quality and as the clash moved into its final quarter of an hour, frustration reigned at Goodison.
But joy was to come with only five minutes remaining, as Tony Hibbert picked up the ball on the right-hand side to loft a superb ball into Vellios, and the young Greek made no mistake, nodding home to give the home side the lead late on.
The three points were then wrapped up for the hosts as Drenthe, another of Moyes' substitutes, latched on to Denis Stracqualursi's through ball and coolly slid it past Ali Al-Habsi as Everton, despite having been poor for much of the game, took all three points.