Messi scored in 21 consecutive La Liga matches during the 2012–13 season.
The run began with a goal against Mallorca on 11 November 2012 and continued through Barcelona's league matches until a hamstring injury ended it in 2013. Across those 21 games, Messi scored 33 goals, an extraordinary streak that set a major Spanish league record.
The figure is sometimes confused with two related achievements from the same season. Messi scored in 27 La Liga matches overall, including a separate record of scoring in 13 consecutive away matches. The 21-match mark refers specifically to consecutive league appearances in which he scored, not every match Barcelona played or every competition.
The streak formed part of Messi's remarkable 2012–13 campaign. He finished the La Liga season with 46 goals and was the league's top scorer, while Barcelona won the title. The injury that stopped the run did not erase its significance: it remains one of the most remarkable sustained scoring sequences in top-level football.