Ashley Fletcher scored for the second time inside a week to end Middlesbrough's 10-match winless run as they secured a 1-0 victory over Barnsley at the Riverside Stadium.
The Tykes remain bottom and without a win since the opening weekend of the season having failed to earn new boss Gerhard Struber his first point since taking over.
Middlesbrough emerged with a victory for only the third time in 19 matches under head coach Jonathan Woodgate after Fletcher's winner nine minutes after half-time.
The former Barnsley loan star, who scored in the 2-2 draw with Hull on Sunday, hit his fourth goal of the season to lift Middlesbrough out of the relegation zone.
It was a game between the two Sky Bet Championship teams with the longest winless runs in the division and played on a cold and wet night on Teesside.
Middlesbrough needed a break but are short of experienced options, young goalkeeper Aynsley Pears and left-back Hayden Coulson were replacements for the injured Darren Randolph and suspended Marvin Johnson.
The wet conditions, with water splashing every time a player kicked the ball, did not help either team and it inflicted a blow to Middlesbrough's Anfernee Dijksteel inside 23 minutes when he jarred his knee after slipping, which forced him off.
By that time, there was an early chance at both ends. Pears let Dimitri Cavare's cross slip from his grasp after the full-back got to the byline and both Lewis Wing and Jonny Howson had to block efforts from Luke Thomas.
At the other end, Britt Assombalonga looked to have scored. He darted beyond Bambo Diaby and his shot over goalkeeper Samuel Radlinger had to be hooked clear by Ben Williams on the line.
That was as close as either side got before the break, and the sight of Assombalonga limping down the tunnel was not what Middlesbrough's frustrated fans wanted to see at the half-time whistle.
The £15m man did return to the field and he was to play a crucial part, but Middlesbrough were on the back foot straightaway. Within four minutes, Jacob Brown curled an effort against the crossbar as Barnsley made the home crowd more nervous.
But Assombalonga was involved in the opener. His pass down the line had no right to end where it did but Cavare allowed Marcus Tavernier to the ball first.
Tavernier rolled it onto Fletcher, whose first touch led to Radlinger and Mads Andersen slipping, and the former Barnsley man had the simple task of tapping into the empty net.
After that Barnsley pushed briefly without testing Pears and then Radlinger had to make a number of saves to deny Coulson and Assombalonga twice as Middlesbrough finally clinched maximum points for the first time since September 14.
What the managers said...
Middlesbrough's Jonathan Woodgate: "It feels nice, it was a difficult game. With the conditions, we played well at times, and the second half we dominated. We could have added more goals than we did.
"I look at the positives and that is three unbeaten now. I was encouraged by the performance against Hull, QPR and Huddersfield, a lot have been decent. We just haven't put the ball in the net. With Britt Assombalonga and Ashley Fletcher up front, they are a real handful. That is a real positive for me."
Barnsley's Gerhard Struber: "For 60 minutes I think we created an interesting game. Our match plan did well. In the end we have no points and this is not so easy to take in the situation we are in.
"It is a frustrating situation, a difficult situation. We have to change the mindset in the next days to win again. This is my job to do now."