Doha: France set up a heavyweight World Cup final against Argentina after an early goal by Theo Hernandez and a late one from Randal Kolo Muani ended battling Morocco's dream run via an action-packed 2-0 semi-final victory on Wednesday.
Full back Hernandez stretched high after five minutes to hook in the first goal Morocco have conceded to an opposition player in the tournament after a scramble in the box, but the holders offered only occasional glimpses of their class.
France advances to second straight World Cup final
However, they could not quite fashion a clear enough chance for the equaliser and were unable to extend the astonishing run that included victories over Belgium, Spain and Portugal and made them the first African team to make the semi-finals.
France settled the outcome with a second goal 11 minutes from time as substitute Randal Kolo Muani, with a first touch after coming on, tucked in a shot at the back post.
For the first goal, Hernandez had to lift his left foot high to connect with a bouncing ball from a tight angle to finish off a sweeping move started by Antoine Griezmann's run down the right and a cutback pass that Kylian Mbappe initially fluffed.
Mbappe was the creator of the second as he attempted first to dribble through the Morocco defence and then shot, his effort blocked but falling for Kolo Muani to net.
Olivier Giroud struck the post and missed from point-blank range in the first half at the end of a barnstorming run through the middle from Aurelien Tchouameni.
The midfielder threaded a superb ball to find Mbappe, whose miscued shot was poorly cleared, allowing Giroud a first-time shot which was wide from close-in.
But Morocco were never overawed and had opportunity as Azzedine Ounahi forced two good saves out of French captain Hugo Lloris with speculative efforts, and curling set-pieces put the French defence under pressure.
The north Africans were hit hard by injuries to their key centre backs with the gamble of naming Nayef Aguerd in the starting line up failing to come off as he hurt his hamstring in the warm-up and skipper Romain Saiss having to go off after 20 minutes.
Replacement centre back Jawad El Yamiq was, however, closest to an equaliser with a spectacular bicycle kick on the stroke of halftime, from a poorly cleared corner by the French, with Lloris getting a vital touch as it hit the base of the upright.
France's victory set up the tantalising prospect of a decisive clash between Argentina maestro Lionel Messi, at the end of his international career, and France's Mbappe, emerging as the next superstar of the world game.