Adrian Cieslewicz and Danny Wright struck as Wrexham ended Welsh rivals Newport's five-match unbeaten run in the Blue Square Bet Premier.
Cieslewicz beat Andy Sandell before sending the ball past Lenny Pidgely in the 24th minute.
Wright replaced Cieslewicz in the 76th minute and finished off the task at the Racecourse.
Player-manager Andy Morrell combined with Robert Ogleby before Wright hit the top-right hand corner of the goal.
The visitors continued to press until the final whistle, but Justin Edinburgh's side were unable to profit from their efforts.
However, despite defeat, County remained top of the table while Wrexham climbed three places to seventh.
VIEWS FROM THE DRESSING ROOM
Wrexham player-manager Andy Morrell told BBC Radio Wales:
"It was good. They're a good team… big, strong, got pace both flanks, but I thought we played well bar the first 10 minutes where I thought we were a bit nervy, really, a little bit edgy.
"They had a really good chance, which they put over the bar and I think from then, 15 minutes in, I thought we played well.
"It wasn't pretty at times, but we dug in and were professional about the performance and once we go 1-0 up we're not easy to peg back.
"I think we probably deserved it.
told BBC Radio Wales:
"We started the game very brightly, probably disappointed that we haven't gone one or two goals up, but I'm probably disappointed in the manner we conceded our goals.
"They were soft goals to give away.
"But I thought there were two good footballing sides out there in a strongly-contested derby.
"But it's one that we'll probably look back and think that if we'd been a bit more clinical when chances came our way, then we'd probably have got something out of the game."
- 01 Mayebi
- 03 Ashton Booked
- 06 Riley
- 18 Walker
- 23 Westwood (Wright - 46' )
- 07 Cieslewicz (Wright - 76' )
- 08 Harris
- 12 Keates
- 16 Hunt
- 10 Ormerod (Morrell - 80' )
- 15 Ogleby Booked
- 02 Wright
- 14 Clarke
- 17 Little
- 09 Wright
- 11 Morrell
- 40 Pidgeley
- 05 James
- 06 Yakubu
- 02 Pipe Booked
- 04 Porter
- 13 Sandell
- 14 Thomson (Evans - 59' )
- 17 Flynn (Minshull - 66' Booked )
- 07 O'Connor
- 10 Louis (Harris - 60' )
- 11 Charles
- 22 Perry
- 03 Hughes
- 08 Minshull
- 15 Harris
- 16 Evans