France ended Morocco's World Cup dream as goals from Theo Hernandez and Randal Kolo Muani gave the holders a 2-0 win in their semi-final clash to set up a showdown on Sunday with Lionel Messi's Argentina.
Morocco, the first African or Arab team ever to reach the last four at a World Cup, dug deep despite injury problems only to concede a late second as substitute Kolo Muani scored moments after coming on.
France, who have reached a fourth World Cup final in seven editions, are hoping to become the first team since Brazil 60 years ago to retain the trophy when they take on Argentina at Lusail Stadium at the weekend.
"There is lots of emotion and lots of pride in the dressing room," said coach Didier Deschamps, whose side were congratulated at the stadium by French President Emmanuel Macron.
"It was an important step but there is still a last one to go."
Morocco had made history as the first Arab, African team to reach the semi-finals of the World Cup, after beating Belgium in the group stage and then knocking out Spain and Portugal.