The match, held at the Al Bayt Stadium, ended with a score of 2-0 in favor of the French. Theo Hernandez opened the score in the 5th minute, and Randal Kolo Muani scored his debut goal for the national team in the 80th.
The two-time — and incumbent — world champions have reached the final of the World Cup for the fourth time. They will now face off against the Argentine team on December 18.
France's Wednesday win marks the first time a defending champion has reached the finals in 20 years.
Morocco made history in the 2022 World Cup after earlier advancing past powerhouses Spain and Portugal to become the first African nation and first Arab nation to reach the tournament's final four.
A third-place match between Croatia and Morocco will be held on December 17. The two teams previously faced off during the group stage phase of the tournament but closed with a 0-0 draw.