Javier Mascherano (Getty)
"It's time to say goodbye," the 34-year-old ex-Barcelona, Liverpool and West Ham midfielder said after Argentina were dumped out in a 4-3 last-16 defeat by France.
"I hope that all the lads who follow in my footsteps can achieve what they are aiming for. There are no more illusions for me," he told Argentina's TyC sports channel.
Mascherano made his international debut in 2003 and went on to appear 147 times for his country.
He played 334 times for Barcelona before leaving at the end of last season for China to join Herbei China Fortune.