Match ends, Brentford 0, Barnsley 2.
Barnsley's first win in eight matches condemned Brentford to defeat in their 4,000th league game.
Adam Armstrong put the Tykes ahead as Conor Hourihane's free-kick was nodded down by Marley Watkins and fired in.
Scott Hogan had a fine chance to level as he got in behind the visitors' defence, but Adam Davies was quick off his line to deny the Brentford forward his ninth goal of the season.
The win was sealed when Ryan Kent hit the post and Sam Winnall pounced.
Late on, Davies again had to make a fantastic save as Josh Clarke rushed through on goal, as the Tykes' keeper forced him wide and then got down low to block.
Earlier, Watkins whipped a dangerous cross into the Bees' box, but Winnall could only head straight at home keeper Daniel Bentley.
The Bees suffered their fifth loss of the season and are winless in their last four, only picking up two points during this period.
Barnsley's sixth win of the season ends a run of three defeats for the visitors, and is their first victory since beating Wolves 4-0 at Molineux on 13 September.
Brentford manager Dean Smith:
"We controlled the first half without creating too many chances. There were half-chances for both sides but we gave them a hand.
"Our decision-making was poor on the ball. We had three or four opportunities to play Scott Hogan in but we took an extra touch which slowed play down for us.
"When you are two goals up you can afford to take a few chances and you will look sharper, but if we'd taken our chances it might have been a different story.
"There is an expectancy for us to beat Barnsley and people fancy us to beat them, but every game is different and there are no easy ones."
Barnsley manager Paul Heckingbottom:
"I'm really pleased. It's what we've been after for a few games now, where we've performed well and not got our rewards.
"There were fewer errors and the decision-making was much better. It's been easy to see what the problem has been because the eight goals we've conceded have been down to us and things we did wrong.
"We put that right today and got what we deserved. We have to bring the same level of performance we've shown today into every game."
"Brentford have only conceded two at home this season and are a good side, good with the ball and tough to handle, but we came with a game plan and executed it. We deserved the win."
Line-ups
Brentford
Formation 4-2-3-1
- 1Bentley
- 2Colin
- 14Egan
- 5Bjelland
- 29Barbet
- 15Woods
- 8Yennaris
- 7SaundersSubstituted forClarkeat 45'minutes
- 19SawyersSubstituted forHofmannat 79'minutes
- 25KaikaiSubstituted forMcEachranat 58'minutesBooked at 66mins
- 9HoganBooked at 45mins
Substitutes
- 4MacLeod
- 6Dean
- 10McEachran
- 11Hofmann
- 16Bonham
- 17Kerschbaumer
- 20Clarke
Barnsley
Formation 4-4-2
- 1Davies
- 2Bree
- 5MacDonaldBooked at 45mins
- 18Jackson
- 17Yiadom
- 15Watkins
- 8HourihaneBooked at 81mins
- 29Morsy
- 40KentSubstituted forHammillat 86'minutes
- 9WinnallBooked at 45minsSubstituted forBrownat 90+3'minutes
- 32A ArmstrongSubstituted forWilliamsat 85'minutes
Substitutes
- 7Hammill
- 11Lee
- 13Townsend
- 16Evans
- 19Kpekawa
- 26Brown
- 28Williams
- Referee:
- James Linington
- Attendance:
- 10,417
Match Stats
- Possession
- Home59%
- Away41%
- Shots
- Home20
- Away16
- Shots on Target
- Home7
- Away7
- Corners
- Home9
- Away3
- Fouls
- Home6
- Away14
Live Text
Post update
Full Time
Second Half ends, Brentford 0, Barnsley 2.
Post update
Attempt saved. Conor Hourihane (Barnsley) left footed shot from outside the box is saved in the top left corner. Assisted by Marley Watkins.
Post update
Corner, Brentford. Conceded by Adam Davies.
Post update
Attempt saved. Nico Yennaris (Brentford) right footed shot from the centre of the box is saved in the top right corner. Assisted by Maxime Colin.
Post update
Foul by Nico Yennaris (Brentford).
Post update
Ryan Williams (Barnsley) wins a free kick in the defensive half.
Substitution
Substitution, Barnsley. Jacob Brown replaces Sam Winnall.
Post update
Offside, Barnsley. Adam Davies tries a through ball, but Sam Winnall is caught offside.
Post update
Corner, Brentford. Conceded by Adam Hammill.
Post update
Ryan Woods (Brentford) wins a free kick on the right wing.
Post update
Foul by Adam Hammill (Barnsley).
Post update
Attempt missed. Scott Hogan (Brentford) right footed shot from the right side of the box is close, but misses to the left. Assisted by Josh Clarke.
Post update
Josh Clarke (Brentford) wins a free kick on the right wing.
Post update
Foul by Sam Morsy (Barnsley).
Substitution
Substitution, Barnsley. Adam Hammill replaces Ryan Kent.
Post update
Josh Clarke (Brentford) wins a free kick in the defensive half.
Post update
Foul by Sam Morsy (Barnsley).
Substitution
Substitution, Barnsley. Ryan Williams replaces Adam Armstrong.
Booking
Conor Hourihane (Barnsley) is shown the yellow card for a bad foul.