Brazilian superstar Neymar has retired from international football.

Brazil superstar Neymar indicated on Sunday that his international career was over after the five-time World Cup winners went out of the tournament in the last 16 at the hands of Norway.

Neymar came on as a late substitute at the MetLife Stadium and scored a penalty deep in injury time, but that was a mere consolation after Erling Haaland netted twice for Norway, and Brazil lost 2-1.

The 34-year-old is Brazil's all-time top scorer and ironically he got his first goal for his country in the same stadium, in a 2-0 win against the United States back in 2010.

"I tried and I tried. Now it's over. It began here and it ends here," Neymar said in a brief exchange with a journalist from Brazil's Globo Esporte after the game.