Real Madrid quartet of Vinícius Júnior, Federico Valverde, Rodrygo and Sergio Arribas scored for the Spanish side, which will play Al-Hilal in Saturday’s final.
The Saudi Arabian team beat Brazilian club Flamengo 3-2 on Tuesday.
Los Blancos has won the world club title a record seven times, including three times when the competition was called the Intercontinental Cup.
Madrid is chasing its first world club title since 2018.
Real Madrid will meet Al Hilal in the #ClubWC Final! 🇪🇸
— FIFA World Cup (@FIFAWorldCup) February 8, 2023
Ali Maaloul scored the lone goal for Al Ahly, with his team already trailing 2-0 in the second half.
Vinícius opened the scoring in the 42nd minute for his 50th goal in 202 matches with Madrid.
Valverde added to the lead early in the second half before Rodrygo and Arribas sealed the victory in stoppage time. It was the first goal for the 21-year-old Arribas with Madrid’s first team.
“We lowered the intensity and suffered a bit, but in the end we could manage it,” Madrid coach Carlo Ancelotti said. “We go into the final very motivated.”
Madrid was without six injured players who did not travel to Morocco, including striker Karim Benzema, defender Éder Militão and goalkeeper Thibaut Courtois.