FC United were left to rue missed chances after falling victim to a late Buxton smash and grab raid at Gigg Lane.
Two goals in the last 10 minutes sent the Rebels crashing to a 2-1 Evo-Stik premier division defeat in a game they ought to have had sewn up long before.
Glynn Hurst gave FC a 39th minute lead, seizing on good work by strike partner Mike Norton to fire home from the edge of the box.
But United paid a heavy price for failing to add to their advantage when Buxton hit back to snatch the points.
Greg Anderson caught FC cold at an 81st minute set-piece to equalise, firing into the roof of the net.
And there was further misery for Karl Marginson's men four minutes later when Mark Reed converted a penalty to secure the Derbyshire visitors an unlikely victory.