Mid-table Thackley put two consecutive defeats behind them when they came from a goal down to win 3-1 at Staveley.
The home side took an early lead when Josh Scully conjured up a goal from nothing in the 12th minute.
The Dennyboys got into their stride in the second half after turning the game with two goals in as many minutes just after the interval.
James Firth levelled and Matt Mathers headed the visitors in front. They consolidated their lead when Mike Garrod slotted in eight minutes from time.