Match ends, Coventry City 2, Barnsley 0.
A second win in three days saw Coventry move further clear of relegation danger and dent Barnsley's play-off hopes.
The home team made the perfect start when Dominic Hyam fired an excellent shot past Bradley Collins in the Tykes goal.
Daryl Dike came close to a late leveller when his effort from Alex Mowatt's cross hit the post.
Matty Godden made the points safe in stoppage-time with a wonderful finish after his initial effort had been blocked.
The victory lifted the Sky Blues nine points clear of the bottom three in 18th, while Barnsley remained in the play-off places in sixth, but just four points clear of seventh-placed Reading.
Defeat, on a day when they struggled to create clear openings, ended Barnsley's record of six successive away victories.
They fell behind in the ninth minute when Hyam smashed a bouncing ball past Collins from the edge of the area after the visitors had been caught out by a quick throw-in.
Cauley Woodrow came close to an equaliser just before the break when he shot just past the post, and Coventry goalkeeper Ben Wilson made a good save to deny sub Dominik Frieser after the break.
With Barnsley chasing a late leveller, Godden wrapped up the win when he got in behind the Tykes defence and sent a low effort into the bottom corner.
Mark Robins' side travel to Stoke on Wednesday in search of a third win in four, while Valerien Ismael's side visit Yorkshire rivals Huddersfield on the same evening.
Coventry City boss Mark Robins:
"It was a much-needed win. There are still games to come and points to play for so I wouldn't want anybody thinking it was job done.
"We need to get into the 50s. That has to be the aim.
"We need to put as much distance as we can between us and the teams around us but there are also teams we can catch in front of us and that has to be the challenge for us.
"The quality in the game is bereft a little bit now because the stakes are so high.
"But within it we played some good stuff and we did what we needed to do to."
Barnsley boss Valerien Ismael:
"It was not enough today. The first half, we didn't shoot on target.
"The second half was better but over the 90 minutes, Coventry deserved to win. They were well organised and we were not good enough.
"But it's not time to complain. We just have to focus on the next game.
"We have put in a big effort so far and we move quickly on to the next game now. We need to bounce back."
- 29Da Costa
- 38HamerSubstituted forO'Hareat 60'minutes
- 19WalkerSubstituted forGyökeresat 60'minutes
- 9BiamouSubstituted forGoddenat 74'minutes
- 21PalmerSubstituted forHalmeat 57'minutes
- 4StylesBooked at 85mins
- 11ChaplinSubstituted forMorrisat 45'minutes
- 9WoodrowSubstituted forFrieserat 57'minutes
- Lee Mason
- Shots on Target
Second Half ends, Coventry City 2, Barnsley 0.
Attempt missed. Carlton Morris (Barnsley) header from very close range is too high. Assisted by Alex Mowatt with a cross following a corner.
Corner, Barnsley. Conceded by Dominic Hyam.
Attempt saved. Matt Godden (Coventry City) right footed shot from the centre of the box is saved in the bottom right corner. Assisted by Viktor Gyökeres.
Goal! Coventry City 2, Barnsley 0. Matt Godden (Coventry City) right footed shot from the left side of the box to the bottom right corner following a fast break.
Hand ball by Matt Godden (Coventry City).
Attempt missed. Daryl Dike (Barnsley) right footed shot from the right side of the six yard box misses to the right. Assisted by Alex Mowatt.
Daryl Dike (Barnsley) wins a free kick on the left wing.
Foul by Julien Da Costa (Coventry City).
Callum Styles (Barnsley) is shown the yellow card for a bad foul.
Foul by Callum Styles (Barnsley).
Callum O'Hare (Coventry City) wins a free kick on the right wing.
Carlton Morris (Barnsley) wins a free kick on the left wing.
Foul by Leo Østigard (Coventry City).
Carlton Morris (Barnsley) wins a free kick in the defensive half.
Foul by Callum O'Hare (Coventry City).
Corner, Coventry City. Conceded by Michal Helik.
Attempt missed. Matt Godden (Coventry City) right footed shot from outside the box misses to the left.
Substitution, Coventry City. Matt Godden replaces Maxime Biamou.