Argentina beat Nigeria 3-2 to win their last group game of the World Cup. Messi earned himself a brace while Marcos Rojo scored also for Argentina, and Ahmed Musa also scored a brace.
Messi scored the opener when Angel Di Maria's shot deflected off the post in the early minutes to the Barcelona forward. Messi dispatched the ball high into the net to give the Argentines an early lead.
Nigeria though didn't want to lay down as they scored the equaliser a minute later through Ahmed Musa.
Argentina were enjoying the shots in the first half as Gonzalo Higuain missed after being played in by Messi. Di Maria also tested Nigerian keeper Enyeama with a 25 yard shot.
Messi scored his and his country's second in the dying minutes of the first half through a sublime free kick that that left Enyeama stranded.
The score at the break was 2-1 to the South Americans, with Nigeria needing unfavourable results elsewhere to deny them to the round of sixteen.
Almost immediately after the break Musa claimed his second as he found space in the oppositions defence and slotted past Romero after Emmanuel Emenike played him in.
Argentina though restored the lead moments later as Marcos Rojo scored off Ezequiel Lavezzi's corner, shifting momentum yet again.
Argentina then took control of most of the creativity and even after Messi's withdrawal they created chances, but poor finishing kept the scoreline at 3-2.