Match ends, Gillingham 2, Tranmere Rovers 0.
Goals from Bradley Dack and Cody McDonald eased Gillingham's relegation fears and kept Tranmere within two points of the League One drop zone.
Rovers are two points above the safety line, while the Gills have moved seven points clear of the bottom four.
Dack superbly volleyed in Joe Martin's deep cross to put the hosts in front with 12 minutes remaining.
And after Tranmere sent keeper Owain Fon Williams forward for a corner, McDonald slotted in to seal the win.
Fon Williams had earlier made a series of saves to keep Rovers in the game, while the visitors close through Jake Cassidy, Jason Koumas and Jean-Louis Akpa Akpro.
Gillingham manager Peter Taylor told BBC Radio Kent:
"We needed a very important win and needed a better performance than last Saturday.
"We know what Bradley Dack is capable of - he's got great lungs and legs. At times he's been frustrated that he hasn't played so much lately, but we're happy with his work today.
"We would be unlucky to go down with 51 points, but it's still not impossible so we've got to be careful.
"I spoke to the chairman before - we're not interested in talking about next season, we're just interested in getting enough points to stay up. Once we've got enough points - then Mr [Paul] Scally has got to make a decision."
Tranmere caretaker manager John McMahon told BBC Radio Merseyside:
"It's so difficult to comprehend how we can come away with a 2-0 defeat after that performance.
"Again, a lack of concentration cost us. We gave everything we had and if there was a team that was going to win the game, I thought it was going to be us."
Line-ups
Gillingham
Formation 4-4-2
- 1Nelson
- 18LeeSubstituted forDackat 66'minutesBooked at 79mins
- 3MartinBooked at 35mins
- 31HessenthalerBooked at 52mins
- 6Legge
- 26Barrett
- 29Hewitt
- 12Gregory
- 10McDonald
- 8AkinfenwaSubstituted forKedwellat 70'minutes
- 11Weston
Substitutes
- 4Linganzi
- 7Whelpdale
- 9Kedwell
- 15Dack
- 23Harriman
- 27Fagan
- 35Baxter
Tranmere
Formation 4-4-2
- 1Williams
- 29Pennington
- 23Ridehalgh
- 17Power
- 4Taylor
- 5GoodisonSubstituted forHolmesat 28'minutes
- 26Akpa-Akpro
- 22KoumasSubstituted forStocktonat 85'minutes
- 14Cassidy
- 9LoweSubstituted forArthurworreyat 90'minutes
- 20Brown
Substitutes
- 2Holmes
- 12Rowe
- 15Kirby
- 16Stockton
- 28Boland
- 32Arthurworrey
- 33Mooney
- Referee:
- Michael Naylor
- Attendance:
- 7,343
Match Stats
- Possession
- Home49%
- Away51%
- Shots
- Home17
- Away10
- Shots on Target
- Home9
- Away2
- Corners
- Home11
- Away6
- Fouls
- Home15
- Away5
Live Text
Post update
Full Time
Second Half ends, Gillingham 2, Tranmere Rovers 0.
Goal!
Goal! Gillingham 2, Tranmere Rovers 0. Cody McDonald (Gillingham) right footed shot from outside the box to the bottom right corner. Assisted by Stuart Nelson.
Post update
Corner, Tranmere Rovers. Conceded by Adam Barrett.
Post update
Attempt blocked. Cole Stockton (Tranmere Rovers) right footed shot from outside the box is blocked.
Substitution
Substitution, Tranmere Rovers. Stephen Arthurworrey replaces Ryan Lowe.
Post update
Corner, Gillingham. Conceded by Matthew Pennington.
Post update
Attempt saved. Myles Weston (Gillingham) right footed shot from outside the box is saved in the centre of the goal.
Substitution
Substitution, Tranmere Rovers. Cole Stockton replaces Jason Koumas.
Post update
Jake Cassidy (Tranmere Rovers) wins a free kick on the right wing.
Post update
Foul by Joe Martin (Gillingham).
Post update
Foul by Jake Hessenthaler (Gillingham).
Post update
Jean-Louis Akpa-Akpro (Tranmere Rovers) wins a free kick on the left wing.
Post update
Corner, Gillingham. Conceded by Jean-Louis Akpa-Akpro.
Post update
Myles Weston (Gillingham) wins a free kick on the left wing.
Post update
Foul by Matthew Pennington (Tranmere Rovers).
Booking
Bradley Dack (Gillingham) is shown the yellow card for excessive celebration.
Goal!
Goal! Gillingham 1, Tranmere Rovers 0. Bradley Dack (Gillingham) right footed shot from the centre of the box to the top left corner. Assisted by Joe Martin.
Post update
Attempt saved. Cody McDonald (Gillingham) header from the centre of the box is saved in the centre of the goal.
Post update
Corner, Gillingham. Conceded by Owain Williams.