Endrick, a remarkable teenager, came off the bench and scored a thrilling goal for Brazil to defeat England in their friendly game at Wembley.
The 17-year-old forward, who will move to Real Madrid this summer, capitalized on a rebound after Jordan Pickford denied Vinicius Jr to score the only goal of the game 10 minutes before the end.
England, who lost Kyle Walker to injury early in the match, struggled against the visitors on a disappointing night for Gareth Southgate’s team, who suffered their first defeat at Wembley in 21 matches.
Endrick, who will complete the season with Palmeiras before moving to the Spanish capital in the summer, earned his first international cap last November, making him the youngest male player to feature for the first-team since the legendary Ronaldo in 1994.
His goal in the capital on Saturday night was the first of many for his country.
Against a Brazil side missing many of its familiar stars, England were largely expected to beat the five-time world champions on home turf.
The visitors threatened on the break early on however as Vinicius Jr breached the England backline with Walker racing back to prevent his effort crossing the line having beaten Pickford in goal.
The sprint came at a cost, however, with Walker left clutching left hamstring, requiring treatment from the England medical staff. After briefly attempting to play on, the change was made with Ezri Konsa brought in for his England debut to replace the skipper.
Ollie Watkins, chosen over Ivan Toney up front with Harry Kane unavailable, missed perhaps England’s best chance of the half, blasting over from inside the box after being fed through by Conor Gallagher.
With the hosts struggling to trouble a relatively unrecognizable Brazil backline, Brazil seized the opportunity on the counter again with 10 minutes remaining in the first-half. Lucas Paqueta, leading his country in London, wildly misconnected with a shot on goal only to find the ball fed back to him inside the 12 yard box. The West Ham midfielder this time got the connection right but saw his effort rattle back off the post.
There was one more let off for Southgate’s side before the break with Harry Maguire’s loose touch just inside his own box allowing Raphinha to hit one across goal, driving it just wide of the far post.
England looked their most dangerous in the first period from set pieces with Brazil almost exposed early in the second period, with Maguire causing havoc in the box before Anthony Gordon’s effort on his international debut was pushed wide.
England largely dominated a flat second period but struggled to break down their well-organized opponents. Jude Bellingham, targeted with an endless string of fouls – six of them from Paqueta alone – cut a frustrated figure, replaced midway through the second-half as part of a triple substitution made by Southgate.
There was a long-awaited moment of excitement in a dull second half when Endrick joined future Real Madrid teammates Vinicius Jr and Rodrygo in attack.
England also brought on their own teenage superstar, Kobbie Mainoo, for his Three Lions debut.
However, Brazil's moment arrived 10 minutes before the end of the game, in a very similar passage of play to the first half, when Vinicius Jr sprinted towards the goal. This time, Pickford blocked his shot, but Endrick seized the rebound and scored a famous winner.
As England tried to score a goal to level the match in added time, Brazil took advantage of the counterattack once more, releasing Endrick one-on-one, only to have his second goal denied by Pickford with the last kick of the game.