The 39-year-old World Cup winner and record eight-time Ballon d’Or recipient gave a fitting farewell to the national team by scoring from the penalty spot and providing two assists in a 3-0 win over Benin.
Messi announced his international retirement at the end of August, having raised “serious doubts” over his footballing future following the death of his father.
The Inter Miami star ends his 20-year career with the national team as the country’s most capped player of all time and their record goal scorer, having found the net 126 times in 208 appearances.
Widely considered the greatest player of all time, Messi scored in the 71st minute – having earlier set up goals for Nicolas Otamendi and Nico Paz.
Kick-off was delayed by about 30 minutes at the Estadio Monumental, while both Messi and Argentina head coach Lionel Scaloni appeared visibly emotional during the national anthems.
The match was then paused for a standing ovation in the 10th minute, in honour of Messi’s shirt number, complete with fireworks and chanting from the crowd.
Messi had earlier shared a message with fans, saying: “The moment has arrived. I leave in peace. I gave it my all. This jersey was my dream. My pride. And my life.
“Thank you for loving me so much. I will always carry you with me.”
The former Barcelona and Paris Saint-Germain forward made his senior international debut as an 18-year-old in 2005, but it lasted less than a minute when he was sent off moments after coming on as a substitute.
He went on the lead his country to World Cup glory in 2022, as well as two Copa America titles in 2021 and 2024.
Assuming the captaincy in 2011, Messi also helped steer Argentina to two other World Cup finals in 2014 and 2026, where they lost to Germany and Spain, respectively.
He previously called time on his international career in 2016, but reversed that decision a few weeks later.

