Adam Phillips of Barnsley scores past Giorgi Mamardashvili of Liverpool as teammate Dominik Szoboszlai reacts after making a defensive error.Getty Images
At a glance
Superb Dominik Szoboszlai and Jeremie Frimpong strikes give Liverpool 2-0 lead
Adam Phillips pulls one back for Barnsley after Szoboszlai howler
Florian Wirtz and Hugo Ekitike score late on as Liverpool make it 11 games unbeaten in all competitions
Arne Slot's side to host Brighton in the next round
PLAYER RATER
Aadam Patel
Football reporter, Anfield
Liverpool battled past a spirited Barnsley side at Anfield to set up an FA Cup fourth-round tie with Brighton.
Arne Slot's side scored twice in the first half through brilliant strikes from Dominik Szoboszlai and Jeremie Frimpong but a calamitous moment from Szoboszlai gave the League One outfit a lifeline.
In the 40th minute, Szoboszlai attempted a backheel in his own box to keeper Giorgi Mamardashvili but scuffed it and Adam Phillips, a boyhood Liverpool fan, was on hand to finish in front of the Kop and send the 6,000 travelling fans wild.
The Tykes had a penalty shout turned down in the second half when Reyes Cleary went down in the box under a challenge from Szoboszlai. On the sideline, Barnsley boss Conor Hourihane was furious and with no video assistant referee in play for the FA Cup third round, there was no check.
Liverpool calmed the nerves late on when substitutes Hugo Ekitike and Florian Wirtz combined, with Wirtz firing an unstoppable effort into the top corner after the France forward's excellent backheel. The pair combined again in added time, with Ekitike sliding in to tap in at the back post.
Slot stuck to his pre-match promise and did not make wholesale changes but there were starts for teenager Rio Ngumoha and Federico Chiesa, while Ekitike came off the bench in the second half after missing the last two games with injury.
Despite 57 places separating the two sides in the league pyramid, Barnsley flew out of the blocks and hit the bar through Davis Keillor-Dunn's header in the opening minute.
Szoboszlai calmed the Anfield nerves with a great hit from outside the box that left Murphy Cooper with no chance in the Barnsley goal.
Frimpong doubled Liverpool's lead in the 36th minute with a left-footed effort but just as the tie looked done and dusted, Szoboszlai delivered the moment that he will never want to watch again.
Thankfully for the Hungarian and Liverpool, it didn't prove costly. Having lost to Barnsley on the two most recent occasions they visited Anfield in 1997 and 2008, this win extended Liverpool's unbeaten run to 11 games.
Liverpool analysis: Four goals but far from convincing
The fact that Slot felt the need to throw on Ibrahima Konate, Wirtz and Ekitike on the hour mark summed up exactly how much Barnsley pushed Liverpool.
When Frimpong made it 2-0 in the first half Liverpool should have coasted to victory, but Szoboszlai's error gave the Tykes a sniff and led to a nervous second half for the home fans.
The hosts were far from convincing and Anfield was on edge until Wirtz restored the two-goal advantage in the 84th minute.
In the end, the difference in class showed with the first three Liverpool goals coming from real moments of individual quality.
The link up between Wirtz and Ekitike after they came on was definitely encouraging to see for Slot and Liverpool supporters but this was a night where Hourihane's side can take plenty of pride from their effort.
Until the 84th minute, this cup tie was well in the balance.
The Player Rater cannot be displayed in your browser. Please enable JavaScript or try another browser.
Player of the match
A. Phillips
7.38
Liverpool
Barnsley
7F. Wirtz
7.21
22H. Ekitiké
7.01
30J. Frimpong
6.95
17C. Jones
6.62
8D. Szoboszlai
6.59
10A. Mac Allister
6.50
26A. Robertson
6.38
4V. van Dijk
6.35
25G. Mamardashvili
6.32
73R. Ngumoha
6.31
38R. Gravenberch
6.22
14F. Chiesa
6.22
5I. Konaté
6.12
18C. Gakpo
5.84
42T. Nyoni
5.70
2J. Gomez
5.70
Back to team tabs
8A. Phillips
7.38
19R. Cleary
7.23
40D. Keillor-Dunn
7.08
1M. Cooper
6.84
7C. O'Keeffe
6.66
27T. Watson
6.63
5J. Shepherd
6.60
45V. Yoganathan
6.59
30J. Bland
6.58
6M. de Gevigney
6.40
14N. Ogbeta
6.31
10D. McGoldrick
6.21
15E. O'Connell
6.15
22P. Kelly
6.05
17G. Gent
6.04
Back to team tabs
After the opportunity to rate players has closed, the score displayed represents the average from all the submissions by BBC Sport users.
Related topics
Football