A late strike from Jeff Whitley saw relegation-threatened Wrexham to a vital win at the Memorial Stadium. New Wrexham loan signings Anthony Williams and Richard Walker proved solid in a goalless first half.
With the game drifting towards a draw, on-loan Cardiff midfielder Whitley powered in a short-range header from Shaun Pejic's cross to kill off Rovers.
The victory was just the second for Wrexham manager Brian Carey in his 15 games in charge of the Dragons.
Bristol Rovers: Phillips, Lescott, Hinton, Oji, Carruthers, Haldane, Campbell, Disley, Igoe (Rigg 57), Nicholson, Lambert (Walker 69).
Subs Not Used: Jacobson, Lines, Anthony.
Wrexham: Anthony Williams, Spender, Walker, Pejic, Mike Williams, Mark Jones (Done 46), Danny Williams, Whitley, Proctor (Carvill 69), Roberts, McEvilly.
Subs Not Used: Michael Jones, Gareth Evans, Mackin.
Goals: Whitley 87.
Att: 5,209
Ref: R Olivier (W Midlands).