It began when he darted across the edge of the area before a flawless backheel released the excellent Willian, whose low cross fizzed into the danger area where Neymar slid in to turn the ball home for his second goal of the tournament.
At the 51st minute, Brazil would finally break the game open.
Brazil coach Tite was unsurprisingly supportive of Neymar, dismissing accusations of playacting, while preferring to talk about his improving side, who seem to be finding their rhythm after a third successive 2-0 victory.
'Once, the game was stopped for four minutes and that's very negative for the game of football and children around the world who are playing the game. It turned out to be pure histrionics.
Neymar Jr of Brazil scores his team's first goal during the 2018 FIFA World Cup Russia Round of 16 match between Brazil and Mexico at Samara Arena on July 2, 2018 in Samara, Russia. But not before trying to step on Layun.
The world's most expensive footballer scored the first and made the second in a scintillating match that took Brazil into a last eight showdown with either Belgium or Japan.
Momentum was with Mexico in the opening 20 minutes, with El Tri's attacking trio of Javier Hernandez, Carlos Vela and Hirving Lozano particularly testing Tete's men down the flanks and forcing Brazil into retreat.More news: Mavs’ Luka Doncic unlikely to play in Summer League
More news: Actress brings along her boyfriend to Akash Ambani's pre-engagement bash
More news: Thieves Got a Hold of Oldest Living WWII Veteran's Bank Account
Brazil's forward Neymar eyes the ball during the Russian Federation 2018 World Cup round of 16 football match between Brazil and Mexico at the Samara Arena in Samara on July 2, 2018. Germany, the 2014 champions, were in the group as well, but finished last.
"We wasted a lot of time because of one single player. we lost our style in the second half, because of the referee".
Until that moment, it had looked like his would be a story of good Neymar-of what he brings to the game that is positive.
The Manchester City forward then saw another effort saved after moving past two Mexico defenders and before the first half had come to a close, Neymar had drilled a 30-yard free kick marginally off target.
Mexico wilted against a limited Sweden team that was able to control the game through physical play and direct football, which it was entitled to do.
"But, I'm still proud, I'm happy with the job we've all done, with the support of the people, it never stopped and was there in all the stadiums we played in".
It was a choking blow for Mexico, who had been the better side for the opening half an hour, pegging Brazil back and creating several half chances. A video review reversed the decision to award a penalty kick and Neymar's frustrations a few minutes later led to a yellow card.
Brazil will now face the victor of the match between Belgium and Japan.