Match ends, Canada 1, Morocco 2.
Morocco edged past Canada to top Group F and reach the World Cup knockout stage for the first time in 36 years.
The Atlas Lions, whose previous trip to the last 16 came in 1986, finished above 2018 finalists Croatia, while Belgium - ranked second in the world - are out after finishing third in the group.
A tough test awaits in the next round as they come up against 2010 champions Spain on Tuesday (15:00 GMT).
Morocco went ahead after just four minutes courtesy of a goalkeeping howler from Milan Borjan.
The Canada keeper sprinted out of his goal but passed the ball straight to Hakim Ziyech, who lofted a cool finish into an open net from 30 yards.
The north African side doubled their advantage through Youssef En-Nesyri's well-taken goal as he controlled Achraf Hakimi's superb pass before firing in.
But sloppy defending gave Canada a route back into the game when West Ham's Nayef Aguerd stuck a boot out to divert the ball into his own net - the 100th goal scored at this World Cup.
Knowing if they avoided defeat they would go through, Morocco were happy to sit back and soak up pressure in the second period.
But Atiba Hutchinson came close with a header that rattled the crossbar and dropped down onto the line as Canada's campaign ended without a point.
Morocco march on
Morocco didn't win a game at the last World Cup in Russia but have turned on the style this time, becoming the second African team after Senegal to make it through.
Cameroon play Brazil (19:00 GMT) and Ghana face a grudge match against Uruguay in the final round of group fixtures on Friday to determine whether they can make it a total of four from the continent.
Morocco manager Walid Regragui has a team which is full of players with big game experience.
Chelsea's Ziyech, who has been off the boil for his club, has found form for his country and grabbed the opener, which was gifted to him by Borjan.
Hakimi and En-Nesyri, a regular scorer in the Champions League, combined for the second as the Sevilla player latched on to the Paris St-Germain full-back's pin-point pass before smashing in.
He could have had a second but a stunning volley was ruled out for offside.
Before the game, Morocco had kept a clean sheet in six matches, five of them under Regragui, but that record went when Aguerd poked into his own net before the break.
Canada probed for a way back in the second half and although Hutchinson came close with a header which hit the woodwork, they failed to produce a shot on target in the match.
Star man Alphonso Davies stabbed a chance wide, meaning his side have now lost all six of their World Cup games, a feat only achieved previously El Salvador.
Player of the match
ZiyechHakim Ziyech
Canada
Avg
- Squad number24Player nameWotherspoonAverage rating
6.24
- Squad number19Player nameDaviesAverage rating
6.19
- Squad number22Player nameLaryeaAverage rating
6.05
- Squad number13Player nameHutchinsonAverage rating
5.85
- Squad number11Player nameBuchananAverage rating
5.82
- Squad number20Player nameDavidAverage rating
5.76
- Squad number15Player nameKonéAverage rating
5.74
- Squad number2Player nameJohnstonAverage rating
5.50
- Squad number4Player nameMillerAverage rating
5.43
- Squad number21Player nameOsorioAverage rating
5.40
- Squad number10Player nameHoilettAverage rating
5.39
- Squad number5Player nameVitóriaAverage rating
5.33
- Squad number14Player nameKayeAverage rating
5.30
- Squad number3Player nameAdekugbeAverage rating
5.26
- Squad number17Player nameLarinAverage rating
5.24
- Squad number18Player nameBorjanAverage rating
4.53
Morocco
Avg
- Squad number7Player nameZiyechAverage rating
8.26
- Squad number19Player nameEn-NesyriAverage rating
8.16
- Squad number5Player nameAguerdAverage rating
8.08
- Squad number11Player nameSabiriAverage rating
8.03
- Squad number1Player nameBonoAverage rating
8.03
- Squad number2Player nameHakimiAverage rating
8.00
- Squad number6Player nameSaïssAverage rating
7.97
- Squad number8Player nameOunahiAverage rating
7.96
- Squad number17Player nameBoufalAverage rating
7.89
- Squad number3Player nameMazraouiAverage rating
7.87
- Squad number14Player nameAboukhlalAverage rating
7.83
- Squad number15Player nameAmallahAverage rating
7.79
- Squad number9Player nameHamdallahAverage rating
7.73
- Squad number4Player nameS AmrabatAverage rating
7.72
- Squad number18Player nameEl YamiqAverage rating
7.52
- Squad number26Player nameJabraneAverage rating
7.26
Line-ups
Canada
Formation 4-4-1-1
- 18Borjan
- 2Johnston
- 5VitóriaBooked at 84mins
- 4Miller
- 3AdekugbeBooked at 45minsSubstituted forKonéat 61'minutes
- 19Davies
- 21OsorioBooked at 26minsSubstituted forLaryeaat 65'minutes
- 14KayeSubstituted forHutchinsonat 60'minutes
- 11Buchanan
- 10HoilettBooked at 7minsSubstituted forWotherspoonat 76'minutes
- 17LarinSubstituted forDavidat 60'minutes
Substitutes
- 1St. Clair
- 6Piette
- 8Fraser
- 9Cavallini
- 12Ugbo
- 13Hutchinson
- 15Koné
- 16Pantemis
- 20David
- 22Laryea
- 23Millar
- 24Wotherspoon
- 25Cornelius
- 26Waterman
Morocco
Formation 4-3-3
- 1Bono
- 2HakimiSubstituted forJabraneat 85'minutes
- 5Aguerd
- 6Saïss
- 3Mazraoui
- 8OunahiSubstituted forEl Yamiqat 77'minutes
- 4S Amrabat
- 11SabiriSubstituted forAmallahat 65'minutes
- 7ZiyechSubstituted forHamdallahat 76'minutes
- 19En-Nesyri
- 17BoufalSubstituted forAboukhlalat 65'minutes
Substitutes
- 9Hamdallah
- 10Zaroury
- 12Mohamedi
- 13Chair
- 14Aboukhlal
- 15Amallah
- 16Ezzalzouli
- 18El Yamiq
- 20Dari
- 21Cheddira
- 22Tagnaouti
- 23El Khannouss
- 24Benoun
- 25Attiat-Allah
- 26Jabrane
- Referee:
- Raphael Claus
- Attendance:
- 43,102
Match Stats
- Possession
- Home59%
- Away41%
- Shots
- Home5
- Away6
- Shots on Target
- Home0
- Away2
- Corners
- Home6
- Away2
- Fouls
- Home14
- Away14
Live Text
Post update
Full Time
Second Half ends, Canada 1, Morocco 2.
Post update
Offside, Canada. Milan Borjan tries a through ball, but Richie Laryea is caught offside.
Post update
Corner, Canada. Conceded by Youssef En-Nesyri.
Post update
Jonathan David (Canada) wins a free kick in the attacking half.
Post update
Foul by Abderrazak Hamdallah (Morocco).
Post update
Ismaël Koné (Canada) wins a free kick in the defensive half.
Post update
Foul by Abderrazak Hamdallah (Morocco).
Post update
Foul by Tajon Buchanan (Canada).
Post update
Youssef En-Nesyri (Morocco) wins a free kick in the defensive half.
Post update
Atiba Hutchinson (Canada) wins a free kick in the attacking half.
Post update
Foul by Sofyan Amrabat (Morocco).
Post update
Richie Laryea (Canada) wins a free kick in the defensive half.
Post update
Foul by Zakaria Aboukhlal (Morocco).
Substitution
Substitution, Morocco. Yahya Jabrane replaces Achraf Hakimi.
Booking
Steven Vitória (Canada) is shown the yellow card for a bad foul.
Post update
Foul by Steven Vitória (Canada).
Post update
Abderrazak Hamdallah (Morocco) wins a free kick on the right wing.
Post update
Foul by Tajon Buchanan (Canada).
Post update
Jawad El Yamiq (Morocco) wins a free kick in the defensive half.
- Who is through in World Cup and who could join them?
- Fifa World Cup: Groups & schedule
- World Cup TV coverage guide
Get the latest results and goal notifications for any team at the Fifa World Cup by downloading the BBC Sport app: Apple - Android - Amazon
Get your daily dose of Fifa World Cup reaction, debate & analysis with World Cup Daily on BBC Sounds
Comments
Join the conversation
Congratulations.
Regardless of what they do here on out, they are one team that will return home very proud of their achievements.
The Fifa rankings lol 😂
As for Belgium, Lukaku couldn't hit a barns door with a banjo.
The current hosts were out after 2 games.
2 out of 3 of the next hosts were knocked out in the first round.
So chances are the winning bid for 2030 will be the one from Egypt, Greece and Saudi Arabia.
I once went on holiday to Agadir and ate a lot of couscous. When waiters heard my Scottish accent, they would say ‘see you Jimmy.’
A word for Canada - impressive..
Canada have really impressed me when I saw them against Belgium.. they have some good players and I hope they do well and turnup to the next big tournament as the potential to do well..