A Shaun Pearson header gave Wrexham a narrow victory over Maidstone at the Racecourse.
The Reds had the better of the chances throughout, but a set piece proved the difference in what was a close, tense encounter.
Victory saw Wrexham climb to fourth in the National League standings with seven games remaining.
Wrexham began on top and were very nearly in front inside two minutes. Scott Quigley, typically direct and combative, was picked out by Marcus Kelly, but saw his left footed effort saved by Maidstone goalkeeper Lee Worgan.
And it was Worgan that proved the difference in the early stages. Having denied Quigley, he kept out what seemed a certain goal after Paul Rutherford had found space in the box. Pearson was then left frustrated with 14 minutes played when his header was saved by the impressive Worgan.
But Wrexham were dominant in the early stages and an opening goal seemed only a matter of time. Just before the half hour mark, Quigley struck the bar with a powerful header, another squandered opportunity in an increasingly frustrating half.
It seemed to waken Maidstone, who had started slowly but grew into the game in the latter stages of the half. There were few chances of note for the visitors, but they had emerged from Wrexham's early dominance still on level terms.
Wrexham started the second half in similar fashion to the first. Shaun Pearson twice led appeals for a penalty as the Reds looked for a breakthrough.
But it was Maidstone that should have taken the lead on 53 minutes when Alex Wynter could only guide a free header over the bar. Five minutes later, they wasted an even better chance, Blair Turgott firing over the bar having looked set to tap into an empty net.
They were made to rue their profligacy when, with 75 minutes played, captain Pearson emphatically headed home from a Marcus Kelly free kick.
Maidstone attempted to fight their way back into the game, but they were unsuccessful in their search for an equaliser. Wrexham defended resolutely and secured a vital win to maintain their play-off push.
Wrexham: Dunn, Jennings, Smith, Pearson, Wedgbury, Quigley (Ainge 83), Holroyd, Deverdics (Franks 57), Rutherford, Kelly, Roberts.
Subs: Raven, Boden, Wright.
Maidstone: Worgan, Hare, Finney, Wynter, Loza (Sam-Yorke 70), Lewis, Anderson, Turgott (Wraight 83), De Havilland, Lafayette, Phillips (Luer 77).
Subs: Prestedge, Paxman.
Referee: Matthew Donohue
Wrexham: Pearson (45, foul), Quigley (56, foul)
Maidstone: Lafayette (36, foul), Wynter (82, foul)
Photographs courtesy of Alun Roberts (AJAR Photographics)