Wrexham found it tough going in a first half devoid of clear-cut chances for either side. Wigan’s pressing made life difficult for the hosts and their best chances came from set-pieces. Both Paul Mullin and James McClean had opportunities but failed to test Sam Tickle in the Wigan goal.
Wigan came out flying after half-time and hit the woodwork within minutes of the restart. Dale Taylor went for goal but was denied by the woodwork, and there was more misery for Wigan as Jensen Weir somehow managed to blaze the follow-up over the bar.
The chance seemed to spark the hosts into life and they took the lead on the hour. A surging run from Ryan Barnett ended with the Wrexham winger firing a left-footed shot past Tickle with the help of a slight deflection. Barnett then produced more danger with a cross for Lewis Brunt that should have made it 2-0 to Wrexham, however, the defender put his effort just over the bar and Wigan escaped.
It looked like being a pivotal moment in the game as the visitors levelled within minutes. Silko Thomas' floated cross in from the left was headed firmly past goalkeeper Mark Howard by Joe Hugill to make it 1-1 in the 79th minute.
Yet there was still time for more drama at the SToK Racecourse as Wrexham grabbed a dramatic late winner through substitute Fletcher. The striker did superbly to control a cross from James McClean and fire home a stoppage-time winner that sends the hosts second.