As the game looked destined for a penalty shootout, 18-year-old substitute Endrick worked his magic to give the lead back to the home side with a sharp swivel and shot from the edge of the box in the 108th minute.
Real Madrid coach Carlo Ancelotti on Wednesday demanded a rapid reaction from his team after their capitulation against rivals Barcelona in the Spanish Super Cup final.
Lamine Yamal, Robert Lewandowski, Raphinha and Alejandro Balde were all on target before halftime, after French forward Kylian Mbappe put Real in front in the fifth minute. Raphinha grabbed another in the second half while Rodrygo scored for Real.
Kylian Mbappe put Madrid ahead but a dominant Barcelona hit five in response before their goalkeeper Wojciech Szczesny was sent off in the second half.
LaLiga leaders Real recovered from that setback and are on a five-match winning streak ahead of defending the Super Cup in Jeddah, Saudi Arabia, but coach Carlo Ancelotti is cautious.
Last season, around this time, there was a surprise package in Girona in the top three of LaLiga. However, a year later, the Spanish league has returned to the status quo, with Real Madrid, Barcelona, and Atletico Madrid -- the three giants of Spain -- occupying the top three spots on the table at the end of 2024.
Jude Bellingham and Rodrygo scored second-half goals to help Real to a 3-0 win over Mallorca after Barcelona beat Athletic Bilbao 2-0 in the other last-four clash.
"Our player Luka Modric is out of the game against Mallorca today because of a viral illness," said the Spanish champions in a statement.
The Brazilian winger was dismissed in Madrid's 2-1 victory on Friday for pushing Valencia goalkeeper Stole Dimitrievski in the back of the neck.
Champions Barcelona visit Rayo Vallecano in La Liga on Saturday reeling after midfield Gavi's devastating cruciate ligament injury, which is set to rule him out for the rest of the season..Coach Xavi Hernandez has called the 19-year-old the "soul" of the team on multiple occasions and his
England midfielder Jude Bellingham has been awarded the 2023 Golden Boy award after a stunning start to life at Real Madrid.
Real Madrid midfielder Eduardo Camavinga suffered knee ligament damage while training with the French national team, the club said on Friday.
Real are second in the standings on 32 points, two behind surprise leaders Girona, who beat Rayo Vallecano 2-1 earlier on Saturday.
Real Madrid, Bayern Munich, Inter Milan and Real Sociedad all qualified for the last 16 of the Champions League with two group games to spare on Wednesday.
The draw leaves Madrid second, two points behind shock leaders Girona, who came from behind to beat Osasuna, and two ahead of Barcelona after the Catalans' fortunate win over Real Sociedad on Saturday.
Brazilian forward Vinicius Junior has signed a new contract with Real Madrid that runs until 2027, the Spanish club announced on Tuesday.
La Liga champions Barcelona host bitter rivals Real Madrid in the first Clasico of the season on Saturday, forced into leaning heavily on players from their feted La Masia youth academy.
Sevilla expelled a supporter for "racist and xenophobic behaviour", the club said in a statement, with Vinicius thanking them for their quick action, as well as highlighting another incident
Antoine Griezmann struck a hat-trick in a 3-0 win over 10-man Celta Vigo to help Atletico Madrid climb provisionally second, in hot pursuit of their city rivals.