Boro competed well in the first half despite a lack of clear-cut chances for either side, but conceded twice after the interval.
Alex Mowatt’s in-swinging corner put the hosts ahead when Boro keeper Marcus Bettinelli made a mess of the set-piece and was beaten at his near post.
The points were sealed 15 minutes from time when Callum Brittain’s cross was headed home by Tykes frontman Daryl Dike as Valerien Ismael’s side continued their push for a play-off place.
The result leaves Boro 10th in the table with five games to play, with their chances of finishing in the play-offs as good as over.
Warnock will now prepare his side for a home game against QPR next weekend.
Here’s how the Teessiders fared at Oakwell.

5. Marc Bola - 5
Wasn't able to get forward much. Failed to stop a couple of crosses before Barnsley's second goal. 5 Photo: Alex Burstow

6. Jonny Howson - 6
Covered plenty of ground in front of Boro’s back four but wasn’t able to get on the ball much as it was fired back and forth. 6 Photo: Stu Forster

7. George Saville - 5
Missed a decent chance in the first half and struggled to make an impact on the game as the midfield was often bypassed. 5 Photo: Stu Forster

8. Djed Spence - 4
Won a few headers early on but failed to make an impact on the right flank. 4 Photo: Getty Images


