<P> The tournament consists of two parts, the qualification phase and the final phase (officially called the World Cup Finals). The qualification phase, which currently takes place over the three years preceding the Finals, is used to determine which teams qualify for the Finals . The current format of the Finals involves 32 teams competing for the title, at venues within the host nation (or nations) over a period of about a month . The World Cup Finals is the most widely viewed sporting event in the world, with an estimated 715.1 million people watching the 2006 tournament final . </P> <P> Morocco have qualified for the final stages of the FIFA World Cup on five occasions, which were in 1970, 1986, 1994, 1998 and 2018. . Their best performance was in 1986, where they reached the round of 16 . </P> <Table> <Tr> <Th_colspan="9"> FIFA World Cup record </Th> </Tr> <Tr> <Th> Year </Th> <Th> Round </Th> <Th> Position </Th> <Th> Pld </Th> <Th> </Th> <Th> </Th> <Th> </Th> <Th> GF </Th> <Th> GA </Th> </Tr> <Tr> <Td> 1930 </Td> <Td_colspan="8"> Did not enter </Td> </Tr> <Tr> <Td> 1934 </Td> </Tr> <Tr> <Td> 1938 </Td> </Tr> <Tr> <Td> 1950 </Td> </Tr> <Tr> <Td> 1954 </Td> </Tr> <Tr> <Td> 1958 </Td> </Tr> <Tr> <Td> 1962 </Td> <Td_colspan="8"> Did not qualify </Td> </Tr> <Tr> <Td> 1966 </Td> <Td_colspan="8"> Withdrew </Td> </Tr> <Tr> <Td> 1970 </Td> <Td> Group stage </Td> <Td> 14th </Td> <Td> </Td> <Td> 0 </Td> <Td> </Td> <Td> </Td> <Td> </Td> <Td> 6 </Td> </Tr> <Tr> <Td> </Td> <Td_colspan="8"> Did not qualify </Td> </Tr> <Tr> <Td> 1978 </Td> </Tr> <Tr> <Td> 1982 </Td> </Tr> <Tr> <Td> 1986 </Td> <Td> Round of 16 </Td> <Td> 11th </Td> <Td> </Td> <Td> </Td> <Td> </Td> <Td> </Td> <Td> </Td> <Td> </Td> </Tr> <Tr> <Td> 1990 </Td> <Td_colspan="8"> Did not qualify </Td> </Tr> <Tr> <Td> 1994 </Td> <Td> Group stage </Td> <Td> 23rd </Td> <Td> </Td> <Td> 0 </Td> <Td> 0 </Td> <Td> </Td> <Td> </Td> <Td> 5 </Td> </Tr> <Tr> <Td> 1998 </Td> <Td> Group stage </Td> <Td> 18th </Td> <Td> </Td> <Td> </Td> <Td> </Td> <Td> </Td> <Td> 5 </Td> <Td> 5 </Td> </Tr> <Tr> <Td> 2002 </Td> <Td_colspan="8"> Did not qualify </Td> </Tr> <Tr> <Td> 2006 </Td> </Tr> <Tr> <Td> </Td> </Tr> <Tr> <Td> 2014 </Td> </Tr> <Tr> <Td> 2018 </Td> <Td> Group Stage </Td> <Td> 27th </Td> <Td> </Td> <Td> 0 </Td> <Td> </Td> <Td> </Td> <Td> </Td> <Td> </Td> </Tr> <Tr> <Td> 2022 </Td> <Td_colspan="8"> To be determined </Td> </Tr> <Tr> <Td> 2026 </Td> <Td_colspan="8"> To be determined </Td> </Tr> <Tr> <Th> Total </Th> <Th> Round of 16 </Th> <Th> 5 / 22 </Th> <Th> 16 </Th> <Th> </Th> <Th> 5 </Th> <Th> 9 </Th> <Th> 14 </Th> <Th> 22 </Th> </Tr> </Table> <Tr> <Th_colspan="9"> FIFA World Cup record </Th> </Tr>

When is morocco playing in the world cup