The Dragons slipped up at Kingfield after dominating the first 25 minutes, when could have scored several times, and in the end Woking responded well to deservedly run out winners.
Two second half goals from Jayden Stockley, inspired by the energetic Billy Knott, swung the result for the Cards and ended any lingering championship hopes for the Welshmen.
An early attack saw Jay Harris attempt a chip at goal, after a nice pass through by Declan Walker, but keeper Elivjs Putnins was well placed to collect. Then the Wrexham midfielder was guilty of a late tackle on Mike Cestor, but somehow escaped a card for his actions!
The home keeper showed courage in running from his line to block big Dele Adebola's effort, after Danny Wright touched on down the left.
On 10 minutes, Wright headed a set piece into the Woking box and Martin Riley fired goalwards, but his effort was deflected away for a corner. The flag kick was crossed deep by Dean Keates and Wright's header hit the cross bar.
Four minutes later and a cross from Keates on the left saw Joe Clarke at the back post head across the face of goal for Adebola, but the big striker missed an open goal from just a few yards out, when any sort of decent contact would surely have seen the ball swept home!
With 18 minutes on the clock, Adebola set up a quick Wrexham attack with a pass to Clarke on the left and his ball across the face of the home goal was touched behind for another corner.
For a man who can hardly walk, Dean Keates was playing well - winning a ball in midfield and setting up Brett Ormerod for a long range shot that sailed over the home crossbar!
It was 25 minutes before the home side threatened Chris Maxwell’s goal and he did well to take a high shot following a corner.
Coming in at an angle Adebola shot from the corner of the Woking box, but the effort just lacked enough bend to get inside the far post, as the big man was certainly causing the home defence problems.
Then the tide started to turn as Woking had two chances in the space of two minutes, first Gavin McCallum and then Stockley fired off shots at Maxwell.
Harris conceded a free kick 30 yards from goal, with Billy Knott delivering the dead ball. His cross dropped at the back post and McCallum fired wide from 10 yards when handily placed.
Wrexham started the second half on the attack, but it was Maxwell who needed to make a smart save from a ball driven at him from the edge of the box.
Out of nothing, Knott’s effort from a long way out forced the Wrexham keeper to push the ball round a post - then he followed that up with a great save to deny Cardinals captain Mark Ricketts.
There was a double substitution by the visitors on 55 minutes, as Kevin Thornton and Glen Little were both introduced for Keates and Ormerod respectively.
Adebola then sent in a curling shot which was heading inside the far post, but it was deflected away for a corner by the leg of his defender with the keeper seemingly beaten.
Pressure was though building on the Wrexham goal and it was no great surprise when the home side though went ahead on 60 minutes, and while Wrexham will complain about a trip by Kevin Betsy on Little in the build up, Stockley surged into the box found space and fired low under Maxwell.
Riley then went down on the turf calling for treatment and was quickly replaced by Neil Ashton, who in doing so made his 300th career appearance.
The Cards scored a second goal on 67 minutes, when Knott scurried away down the right, his shot being parried by Maxwell, but Stockley was first to the rebound getting in between two green shirts just a few yards out.
Stockley then missed his hat trick after being set up by Knott, who broke away on the right and unselfishly squared for his team mate, but the effort struck the cross bar from only a few yards out!
We went straight down to the other end and Adebola headed back for Danny Wright to test Putnins with a good shot from 15 yards, the keeper saving well to his left.
Woking could have gone further ahead in the dying minutes though and it took another fine stop by Maxwell to once more thwart the home side, as this time he denied substitute Brett Williams with a great save to his right.
It was a case of what might have been for the Dragons, as early pressure failed to bring a deserved goal, before the game swung completely round in the favour of the hosts, who themselves might have run out even more convincing winners.
Woking: Elvijs Putnins, Adam Newton, Mike Cestor, Joe McNerney, Jack Parkinson, Mark Ricketts (Bradley Simmons 86), Kevin Betsy, Lee Sawyer, Billy Knott (John Nutter 77), Gavin McCallum (Brett Williams 83), Jayden Stockley.
Subs: Aaron Howe, George Frith.
Wrexham: Chris Maxwell, Declan Walker, Stephen Wright, Martin Riley (Neil Ashton ), Johnny Hunt; Jay Harris, Dean Keates (Kevin Thornton 55), Joe Clarke; Dele Adebola, Danny Wright, Brett Ormerod (Glen Little 55).
Subs: Nick Rushton, Adrian Cieslewicz">Adrian Cieslewicz.
Referee: Brett Huxtable (Devon)
Wrexham: Little (72, foul)