Wrexham player-manager Andy Morrell struck twice as the promotion chasers hammered Ebbsfleet in the Blue Square Bet Premier.
Mathias Pogba began the rout with a header and Morrell converted Jake Speight's cross.
Steven Leslie scored from the edge of the box and Morrell headed home Stephen Wright's ball.
And Speight finished off an outstanding night's work with a penalty after he was fouled by Tom Phipp.
Fleetwood conceding a late goal to draw at Mansfield,
Wrexham are now three points behind their title rivals with a game in hand.
VIEWS FROM THE DRESSING ROOM
Ebbsfleet United manager Liam Daish told BBC Radio Kent:
"Any time you concede five goals at home it hurts, it smarts a bit but that's the difference - they took their chances and us not taking ours.
"I think in certain areas we didn't defend very well but they took their chances and you've got to take your hat off to them.
"The lads had a right go at them earlier on and their keeper was very, very good. The save he pulled from Liam Enver-Marum changed the game completely."
Ebbsfleet United 01 Edwards 03 Herd 06 Lorraine 02 Stone 11 Phipp 24 Barrett 31 Bellamy Booked 10 Shakes 15 Marum 23 Ugwu 26 Pinney (West - 71' ) Substitutes 12 McNeil 07 West 18 Azeez 27 Adams 19 Williams Wrexham 25 Mayebi 03 Ashton Booked 23 Westwood 34 Wright Booked 12 Keates 18 Tolley 20 Knight-Percival 30 Leslie (Clarke - 79' ) 10 Speight (Ogleby - 79' ) 11 Morrell (Cieslewicz - 71' ) 24 Pogba Substitutes 21 Maxwell 07 Cieslewicz 16 Hunt 26 Clarke 31 Ogleby