Jake Speight scored a hat-trick as Wrexham returned to the top of the Blue Square Bet Premier.
Speight gave his side the lead on 12 minutes before bottom side Alfreton hit back with a Nathan Jarman penalty.
But Speight restored their lead on 32 minutes and completed his hat-trick in the second half with a penalty after Neil Ashton was fouled.
Mathias Pogba completed the scoring late on for the visitors, who maintained their unbeaten start.
Alfreton Town: Lowson, Hall, Matt Wilson, Franks, Hawes (Ellison 72), Franklin, Brown, Streete, Mackin, Clayton (Senior 90), Jarman (Mullan 62).
Subs Not Used: Moult, Young. Booked: Brown, Franks, Mackin, Matt Wilson.
Goals: Jarman 21 pen.
Wrexham: Maxwell, Obeng, Creighton, Knight-Percival, Ashton, Harris, Tolley, Fowler, Speight (Taylor 90), Wright (Pogba 62), Morrell (Cieslewicz 61).
Subs Not Used: Keates, Clarke.
Booked: Tolley, Fowler.
Goals: Speight 13, 32, 57 pen, Pogba 90.
Referee: Ross Joyce (Cleveland).