The Argentine's double enough to see off Racing Santander 2-0 and close gap to Real Madrid at the top of the Primera Liga to 10 points.
Lionel Messi takes goal tally to 50 for the season in Barcelona win
Lionel Messi notched up his 50th club goal of the season with a double on Sunday as Barcelona beat Racing Santander 2-0, but the Catalan club still remain 10 points off La Liga leaders Real Madrid.
After scoring a remarkable five in the Champions League in midweek against a reeling Bayer Leverkusen, Messi found the net in both halves, the second a strike from the penalty spot.
The Argentine has 10 more goals overall than Cristiano Ronaldo, although the Portuguese star leads the way in La Liga with 32.
Ronaldo hit a brace on Saturday as Real Madrid beat Real Betis 3-2to maintain their surge towards a first title since 2008.
Barcelona have now won their last four league games and coach Pep Guardiola says that they are bouncing back after having so many players sidelined.
"We have been playing well for a while, but we have had to suffer from a lot of injuries and while players have come in and done well, it still puts a greater strain on the team," said Guardiola.
"It was a good game from us and we managed well to pass the ball around but it is never easy against a side who have nine at the back. We also had to be wary of Racing on the counter-attack which we were able to do.
"As we were 13 points behind Real we just had to go out at 100 percent and give our best. Racing are among a group of teams that will fight to the end to avoid relegation and I hope they have a good end to the season."
Barca, without the injured Eric Abidal and suspended Gerard Pique, started with a three-man defence which included Carles Puyol who was passed fit.
They quickly began to dominate a struggling Racing side who have not won in eight matches and appointed Alvaro Cervera as the new coach last week.
Messi had a free-kick tipped over by the keeper while Andres Iniesta hit the top of the crossbar with an excellent chip as Barca began to find a cutting edge.
Racing were battling hard, and on occasions went overboard with crude challenges, but they had no match for Barca's movement and passing.
Cesc Fabregas had a shot well saved by the keeper before he set up Messi for the opening goal, with the Argentine sliding the ball home from the centre of the penalty area.
Barca were knocking the ball effortlessly through the midfield but had to wait until the 56th minute to go further ahead from the penalty spot.
Domingo Cisma was adjudged to have pulled down Fabregas and Messi sent the keeper the wrong way from 12 yards.
Racing were unable to respond and Barca could have extended the lead with Juan Cuenca hitting a post and Messi for once having his shot saved when one-on-one with the keeper.