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.
"(Luka) is a gift for football and even more for those who can enjoy it up close," Madrid coach Carlo Ancelotti said. "The fans, the players, the coach... for me it's a great gift. The way he prepares for this kind of match, as if it was a final. It's a very important example for our youngsters.
Real Madrid coach Carlo Ancelotti said Sunday it would be "difficult" to be Vinicius Junior after the player was sent off against Valencia.
The defendants, who were not identified, were convicted of an offence against moral integrity with the aggravating factor of racially-motivated discrimination and slapped with a two-year match ban, the Valencia court said.
Real Madrid will decline FIFA's invitation to participate in the Club World Cup as the governing body have undervalued the compensation the 15-times Champions League winners should receive, manager Carlo Ancelotti said.
After inspiring Real Madrid to La Liga and Champions League success, Vinicius is gearing up to reclaim the Copa America from arch-rivals Argentina. In the absence of an injured Neymar, the onus will be on the 23-year-old to lead Brazil to continental glory and given his stellar form the Selecao are already dreaming of success.
Real Madrid attacker Kylian Mbappe said on Tuesday "things and people made me unhappy" at Paris Saint-Germain before he signed a five-year deal with the Spanish club.
"So happy and proud to join the club of my dream," Mbappe said.
The French forward will lead one of the most potent forward lines in world football after he arrives from Paris Saint-Germain at the end of his contract, a heady blend of skill, speed and dynamism.
He leaves PSG after seven prolific years in which he became his hometown club's all-time top scorer.
Mbappe, 25, verbally agreed to move to Real in February and then announced in May he would leave PSG at the end of the season.
Brazilian forward Vinicius scored six goals and made five assists in Real's victorious campaign, including the second in the 2-0 win against Borussia Dortmund in the final at Wembley on Saturday.
"Vinicius, Ballon d'Or" chants were heard at intervals from fans throughout the afternoon, after the Brazilian netted Madrid's second goal in the final to clinch victory.