Match ends, Barnsley 2, Derby County 2.
Cauley Woodrow's injury-time strike earned Barnsley a draw in a pulsating game against Derby at Oakwell.
The Tykes looked to be heading for a third consecutive Championship defeat despite taking an early lead through Aapo Halme's header.
But after the Rams went 2-1 before half-time, Woodrow diverted in Conor Chaplin's strike to secure a point.
Chris Martin's close-range finish had levelled the scores in a frantic start before Tom Huddlestone's penalty put them ahead.
Tom Lawrence, recalled to the starting line-up after the Welsh winger and Mason Bennett were charged with drink driving following a car crash last week, won the spot-kick which the former Tottenham midfielder converted.
However, Woodrow struck in the 94th minute to stop the Rams making it back-to-back wins, getting the final touch as the ball fizzed across goal following a short corner.
The Tykes remain third from bottom with just one league this season but will be buoyed a spirited display against a Rams side who have now drawn six of their 10 league games.
Woodrow's late heroics made amends for a dreadful early miss, the striker somehow mis-kicking when well placed.
But the wayward finish was soon forgotten as Halme got on the end of Alex Mowatt's delightful inswinging free-kick to head home from close range.
Woodrow was then unfortunate to see his goalbound header blocked before Derby got on top.
Lawrence smashed a shot high and wide and team-mate Curtis Davies wastefully sent a diving header wide from six yards.
Martin then levelled - his third goal in three games - smashing the ball home thanks to a combination of neat build-up play and defensive hesitation.
Lawrence's trickery then lured Mads Andersen into a foul and Huddlestone converted the resulting spot-kick before limping off with a hamstring injury.
Both sides continued to create opportunities after the break, with Lawrence twice going close to sealing the win before late home pressure was rewarded by Woodrow's leveller.
Barnsley boss Daniel Stendel:
"Maybe this is the one moment that we need to turn the results and I hope on Saturday in Preston that we can do it.
"For the team, for the players and for us and also for our supporters, it was a great moment to score in the last minute. I think we deserved this point."
Derby County boss Phillip Cocu:
"We were not effective enough in front of goal. We had some good opportunities to finish the game.
"They were a danger from set-pieces from free-kicks and corners and they scored twice. It is an important part of football and it is something we definitely have to improve."
- 2WilliamsSubstituted forThomasat 68'minutesBooked at 85mins
- 6AndersenSubstituted forStylesat 74'minutes
- 21SibbickBooked at 74mins
- 7BrownSubstituted forWilksat 74'minutes
- 23HolmesSubstituted forBennettat 89'minutes
- 44HuddlestoneSubstituted forClarkeat 45+1'minutes
- 19MartinSubstituted forKnightat 79'minutes
- Tony Harrington
- Shots on Target
Second Half ends, Barnsley 2, Derby County 2.
Goal! Barnsley 2, Derby County 2. Cauley Woodrow (Barnsley) right footed shot from very close range to the bottom left corner. Assisted by Conor Chaplin following a corner.
Attempt blocked. Conor Chaplin (Barnsley) left footed shot from the right side of the box is blocked. Assisted by Luke Thomas.
Corner, Barnsley. Conceded by Krystian Bielik.
Foul by Jayden Bogle (Derby County).
Mallik Wilks (Barnsley) wins a free kick on the left wing.
Attempt saved. Martyn Waghorn (Derby County) left footed shot from the centre of the box is saved in the centre of the goal. Assisted by Mason Bennett with a headed pass.
Tom Lawrence (Derby County) wins a free kick in the defensive half.
Foul by Toby Sibbick (Barnsley).
Attempt blocked. Alex Mowatt (Barnsley) left footed shot from outside the box is blocked. Assisted by Callum Styles.
Foul by Martyn Waghorn (Derby County).
Ben Williams (Barnsley) wins a free kick in the defensive half.
Mason Bennett (Derby County) wins a free kick in the defensive half.
Foul by Alex Mowatt (Barnsley).
Substitution, Derby County. Mason Bennett replaces Duane Holmes.
Luke Thomas (Barnsley) is shown the yellow card for a bad foul.
Jamie Paterson (Derby County) wins a free kick in the attacking half.
Foul by Luke Thomas (Barnsley).
Corner, Barnsley. Conceded by Tom Lawrence.