Three goals in a devastating twenty-five-minute spell went some way to ensuring that Guiseley retain their National League status, and although visitors Wrexham reduced the deficit in the second half the Lions went on to rack up their first win in eleven games.
Adam Boyes tested keeper Rhys Taylor before on 14 minutes he retrieved an overhit corner and fed Oli Johnson, who skipped past two defenders just inside the area before drilling a low shot into the corner.
Two minutes later, Boyes latched on to a ball from Will Hatfield and held off a defender to beat Taylor with a shot off the inside of the post. The striker then grabbed his second ten minutes later courtesy of his header down to Anthony Dudley, who laid it back for Boyes to rifle into the top corner.
Oliver Norburn went close with two powerful shots shortly afterwards, and Will Hatfield had a shot tipped over as the home side went for the kill.
Gavin Rothery replaced Johnson on the restart, and as Guiseley lost some momentum and conceded ground Wrexham took full advantage, Sean Newton heading home from a corner midway through the half. And although the visitors created further openings, they never looked like adding to their tally.
Substitute Tom Craddock had the chance to put the icing on the cake just before the end following some superb approach play, but fluffed his lines from six yards out with the goal at his mercy.
Although the Lions are still eighteenth in the table there is now a five-point gap between them and Boreham Wood, who occupy the last relegation place with three games left to play.
Post match reaction from Mark Bower on West Yorkshire Sport and Danny Lowe: