Match ends, Barcelona 4, Huesca 1.
Lionel Messi scored twice and made another on the day he equalled Xavi's record for most Barcelona appearances.
Messi was playing for Barca for the 767th time and his curled double, along with goals from Antoine Griezmann and Oscar Mingueza, helped his side to a comfortable win over struggling Huesca.
Rafa Mir scored a controversial penalty for Huesca at the end of the first half, but Barca cruised to the victory.
They move second in La Liga, four points behind leaders Atletico Madrid.
The 33-year-old Argentina forward has won La Liga 10 times and the Champions League on four occasions among 34 trophies since he made his competitive debut as a substitute in a 1-0 away derby win against Espanyol on 16 October 2004.
Messi, whose contract expires at the end of this season, will break former Spain midfielder Xavi's record on Sunday if he plays in the league game at Real Sociedad.
Barcelona were knocked out in the last 16 of the Champions League by Paris St-Germain on Wednesday but still have hopes of winning a domestic league and cup double.
Against bottom-of-the-table Huesca, Messi scored after 13 minutes with a fine, left-footed curled effort from outside the penalty area before Griezmann added an almost identical goal 22 minutes later.
Huesca had lost 8-2 at the Nou Camp in 2018, but were given a fortunate way back into the game when Barca goalkeeper Marc-Andre ter Stegen was adjudged to have fouled Huesca's Mir.
The striker, on loan from Wolves, converted the penalty, but the hosts restored their two-goal lead when Mingueza headed his first goal for the club following Messi's cross from the left wing.
Mir had a chance to make it 3-2 but somehow chested the ball over the bar from only a few yards out. Messi grabbed his second goal of the night, and his 661st for Barcelona, with another curled, left-footed shot from distance in stoppage time.
The win takes Barcelona, who have already reached the Copa del Rey final, above Real Madrid and into second with 11 league games of the season remaining.
- 1ter Stegen
- 21F de JongSubstituted forAraujoat 63'minutes
- 2DestSubstituted forKourouma Kouroumaat 69'minutes
- 16PedriSubstituted forPuigat 85'minutes
- 7GriezmannSubstituted forMachado Trincãoat 69'minutes
- 11DembéléSubstituted forBraithwaiteat 85'minutes
- 17Machado Trincão
- 19Fernandes Siqueira
- 27Kourouma Kourouma
- 3MaffeoSubstituted forLópezat 78'minutes
- 4ÍnsuaBooked at 60minsSubstituted forVavroat 78'minutes
- 11Galán Gil
- 7FerreiroSubstituted forOntiverosat 78'minutes
- 2DoumbiaSubstituted forSeoaneat 60'minutes
- 23EscricheBooked at 48minsSubstituted forGómezat 60'minutes
- Adrián Cordero Vega
- Shots on Target
Second Half ends, Barcelona 4, Huesca 1.
Corner, Huesca. Conceded by Ronald Araujo.
Goal! Barcelona 4, Huesca 1. Lionel Messi (Barcelona) left footed shot from outside the box to the bottom left corner. Assisted by Trincão.
Foul by Óscar Mingueza (Barcelona).
Javi Galán (Huesca) wins a free kick in the defensive half.
Offside, Barcelona. Ilaix Moriba tries a through ball, but Jordi Alba is caught offside.
Riqui Puig (Barcelona) wins a free kick in the attacking half.
Foul by Jaime Seoane (Huesca).
Óscar Mingueza (Barcelona) wins a free kick in the defensive half.
Foul by Jaime Seoane (Huesca).
Substitution, Barcelona. Riqui Puig replaces Pedri.
Substitution, Barcelona. Martin Braithwaite replaces Ousmane Dembélé.
Attempt missed. Rafa Mir (Huesca) right footed shot from the left side of the box is close, but misses to the right.
Ilaix Moriba (Barcelona) wins a free kick in the defensive half.
Foul by Rafa Mir (Huesca).
Foul by Ronald Araujo (Barcelona).
Rafa Mir (Huesca) wins a free kick in the defensive half.
Substitution, Huesca. Denis Vavro replaces Pablo Ínsua.
Substitution, Huesca. Javier Ontiveros replaces David Ferreiro.
- The Terror: Ridley Scott's tale of an isolated and murderous expedition
- Let's Talk About Race: Understanding what it means in the UK today
Copa America runner-up: 2007, 2015, 2016
World Cup runner up 2014
People have quite a harsh view of a player 'doing nothing' for his country.
Di Stefano, Cruyff, Platini, Best, Zico, C.Ronaldo have never won the World Cup either.
It's a team sport.
I watched him as a 17 year old years ago, like a fine bottle of whiskey, Messi has aged beautifully. Hope to see him again in the premier league!
Alan Shearer, 283 in 559 games............and.............
Some other bloke who's still going.................661 in 767 games.............Honestly, you just can't get the staff nowadays.
I think Messi want Aguero to be with him, whether he stays a Barca or he leaving for another club.
God's gift to football
There are some good players out there every generation has them but this lad was special a real natural genius
The world moves on I am sure there are some rising stars in the twenties that are beginning to rewrite the history books, perhaps light touch reviews of these new kid on the block please
Barca so porous at the back though.
Huesca could have had 3 or 4 with better finishing.
You'd think an ex-defender as manager would be tighter at the back.