Rotherham United were undone in the very last minute after a Luke Rodgers strike earned three points for Notts County, and robbed the Millers of a priceless point.
With time ebbing away a long punt by 'keeper Kaspar Schmeichel was flicked on by Lee Hughes and Rodgers fired in off the underside of the bar, leaving Andy Warrington with no chance.
Before the last minute dramas the Millers had a goal disallowed in the second half for offside. Nicky Law smashed in a shot which was parried by Schmeichel, the ball fell to Marcus Marshall who tapped in but the flag was raised against Adam Le Fondre, who was stood near the goal line.
In all fairness the Millers could have been well beaten inside the first 15 minutes. County raced out of traps and could have been in front after two minutes. Hughes shot wide after latching onto a long clearance by the 'keeper. On five minutes a cross by Craig Westcarr was struck against the post by the lively Rodgers. Again County came forward, this time it was Hughes who was denied when he shot low into the net from a Mike Edwards knockdown, the front man's celebrations curtailed by the offside flag. On 14 minutes Hughes threatened again this time crashing a header against the bar.
The Millers first decent chance came on 21 minutes when Le Fondre found space 20 yards out but he dragged his shot wide of the near post.
After the initial onslaught the Millers settled and started to look comfortable, finishing the half strong without having any clear openings.
Notts County 0 v 0 Rotherham United
The Millers started the second half with vigour and had the ball in the net through Marshall on 53 minutes but the linesman flagged for offside.
Rotherham continued to press and Marshall in particular looked a real threat giving full back Stephen Hunt a torrid time.
With 20 minutes remaining the home side almost took the lead. Ben Davies whipped in a dangerous corner which found the head of Hughes but Ian Sharps headed off the line.
The game ebbed and flowed with both sides looking for the win. The Millers had a half chance when Law's corner found Sharps at the back post, the Millers skipper headed towards goal where Le Fondre was lurking in front of the 'keeper but Schmeichel just pinched the ball ahead of the Millers poacher.
The game seemed destined to end in a draw but the Millers conceded right at the death but are still right in the hunt for automatic promotion.
Notts County 1 v 0 Rotherham United
Notts County: Schmeichel; Thompson, Lee, Edwards, Hunt, Westcarr (Hamshaw 89), Ravenhill, Bishop, Davies, Hughes, Rodgers (Hawley 90).
Subs not used: Hoult, Clapham, Canham, Fairclough, Akinbiyi.
Rotherham: Warrington; Lynch, Sharps, Mills, Gunning, Marshall, Harrison, Walker, Law, McAllister (Broughton 66), Le Fondre.
Subs not used: Annerson, Green, Fenton, Bell-Baggie, Pope, Ellison.
Att: 9,015 (1,740)
The Millers Match report is brought to you in association with The Rotherham NHS Foundation Trust