Wrexham extended their unbeaten Blue Square Bet Premier run to 12 games to remain top of the division as their overcame Gateshead at the Racecourse.
Mathias Pogba put the hosts ahead in the third minute, finding the bottom right hand corner of the goal.
Sloppy defending gave Micky Cummins the chance to pounce and equalise for the visitors after 20 minutes.
But Curtis Obeng and Jake Speight combined for Danny Wright to head home the winner 15 minutes later.
VIEWS FROM THE DRESSING ROOMS:
Wrexham manager Andy Morrell told BBC Radio Wales:
"I'm really pleased. It was a tough second half but I'm delighted for the lads.
"We thoroughly deserved it, I felt. The chances we had and the amount of work we put in - I thought we merited the win.
"We managed to nick another goal with a good passage of play to go in up at half-time and we knew it was going to be hard in the second half."