Substitute George Saville made an instant impression as he struck an 87th-minute winner to earn Middlesbrough a 2-1 victory at lowly Coventry.
Substitute Saville poked home from close range two minutes after being brought on to move Boro within three points of the play-off places.
Grant Hall had earlier opened his Middlesbrough account with a fine header from a Paddy McNair free-kick to cancel out an early own goal from Anfernee Dijksteel that had given Coventry the lead.
Saville's strike earned Boro a third win in five games, a run which has put their top-six hopes back on track having slipped off the pace with five defeats in their previous seven.
Coventry, meanwhile, remain just six points above the relegation zone, with all of the bottom three having games in hand on the Sky Blues.
City led with the game's first chance after 11 minutes as Sam McCallum's long throw was flicked on by Michael Rose and, with Max Biamou lurking for a tap-in, Dijksteel could only help the ball into his own net.
Boro responded well but Chuba Akpom nodded a far-post corner back across the box when he should have gone for goal and Rose slid in to block a low Marc Bola shot that was heading for the bottom corner.
Akpom was booked for a high foot that left Kyle McFadzean needing lengthy treatment and a bandaged forehead before Coventry's Gustavo Hamer fired wide from 20 yards after a good run.
But Middlesbrough levelled after 41 minutes as McNair whipped in a quality deep free-kick from the right that was begging to be headed home and Hall obliged, back across goal into the far corner.
It was the 29-year-old's first goal since joining Boro from QPR in the summer, in only his seventh league appearance having missed more than four months with a thigh injury.
Neil Warnock made an attacking triple second-half substitution, bringing on Duncan Watmore, Yannick Bolasie and Marvin Johnson in an attempt to spark the visitors but it was Coventry who then went close.
Matty James saw a promising 20-yard shot deflected wide and Hamer lashed wildly off target after a neat short corner exchange with Fankaty Dabo.
However, Warnock's fourth change, the introduction of Saville, proved decisive as he was in the right place at the right time after a fantastic run and cross from Jonny Howson ricocheted off a Coventry defender into the midfielder's path.
Boro could have added a third in stoppage as Watmore set Bolasie clear but the on-loan Everton man fired into the side netting with the goal at his mercy.
What the managers said...
Coventry's Mark Robins: "We had dealt with everything really - they had not really created a great deal other than the brilliant ball in from Paddy McNair for the equaliser. Before that, there was nothing from them. The changes they made, there's Premier League quality there. But we still looked like we were the ones who were going to go on and get the win.
"There were chances that we had, the quality was just lacking from time to time and unfortunately we've succumbed to the pressure they were able to build and that's the disappointment."
Middlesbrough's Neil Warnock: "I thought all the subs did well tonight. It's nice to have a bench that you can turn to and try to change a game, and we've got that at the moment. I'm delighted because they all contributed. After another long throw disaster - that's two in two games - I thought we grew into the game and I think we deserved it in the end.
"It was a world-class free-kick for the first goal and then in the second half I always felt we had the edge and we just couldn't get that goal but it paid off in the end. We're only three points off top six - it is a good platform. The lads have thrown so many points away, it is frustrating. We could quite easily have nine or 10 more points and be looking at a different ball game. We've got some tough games coming up but everybody has, in this league you can't predict anything."