Match ends, Burton Albion 2, Gillingham 1.
Tom Naylor's injury-time winner put Burton on the brink of promotion to the Championship and damaged Gillingham's play-off hopes.
Burton will be promoted to the second tier for the first time if Walsall fail to beat Fleetwood on Monday.
Lucas Akins met Mark Duffy's cross to put Burton ahead with a tap-in finish.
Cody McDonald levelled with a header from a Bradley Dack corner and the Gills piled pressure on Burton before Naylor headed in a Duffy corner.
Gillingham, who are two points adrift of sixth-placed Barnsley after the Tykes drew 2-2 with already-relegated Colchester, suffered an early double blow with Bradley Garmston and Aaron Morris forced off injured inside 16 minutes.
Still, the Gills made it difficult for Nigel Clough's Burton side, with McDonald and Dominic Samuel particularly menacing, but Burton survived a number of scares before Naylor won it.
- 23PalmerSubstituted forWalkerat 85'minutes
- 21DuffySubstituted forO'Connorat 90+4'minutes
- 9BeavonBooked at 68minsSubstituted forButcherat 75'minutes
- 5EhmerBooked at 75mins
- 3GarmstonSubstituted forDickensonat 14'minutes
- 15MorrisSubstituted forLoftat 16'minutesBooked at 82mins
- 23DackBooked at 54mins
- 14SamuelSubstituted forDonnellyat 74'minutes
- Tony Harrington
- Shots on Target
Second Half ends, Burton Albion 2, Gillingham 1.
Substitution, Burton Albion. Anthony O'Connor replaces Mark Duffy.
Goal! Burton Albion 2, Gillingham 1. Tom Naylor (Burton Albion) header from very close range to the bottom right corner. Assisted by Mark Duffy with a cross.
Corner, Burton Albion. Conceded by Max Ehmer.
Corner, Gillingham. Conceded by Damien McCrory.
Hand ball by Tyler Walker (Burton Albion).
Foul by Tyler Walker (Burton Albion).
John Egan (Gillingham) wins a free kick on the left wing.
Substitution, Burton Albion. Tyler Walker replaces Matthew Palmer.
Attempt missed. Josh Wright (Gillingham) right footed shot from outside the box is close, but misses to the right.
Mark Duffy (Burton Albion) wins a free kick in the attacking half.
Doug Loft (Gillingham) is shown the yellow card for a bad foul.
Foul by Doug Loft (Gillingham).
Corner, Burton Albion. Conceded by Adedeji Oshilaja.
Substitution, Burton Albion. Callum Butcher replaces Stuart Beavon.
Max Ehmer (Gillingham) is shown the yellow card for a bad foul.
Lucas Akins (Burton Albion) wins a free kick in the defensive half.
Foul by Max Ehmer (Gillingham).
Corner, Gillingham. Conceded by John Mousinho.