The Morocco national football team (Arabic: المنتخب المغربي لكرة القدم) represents Morocco in men's international football, and is controlled by the Royal Moroccan Football Federation, the governing body for football in Morocco. It has been a member of FIFA since 1960, a member of CAF since 1959, and UNAF since 2005.
One of Africa's most successful national football teams, Morocco won four CAF continental titles, the 1976 African Cup of Nations and three African Nations Championships (2018, 2020 and 2024), while participating in the FIFA World Cup six times. In 1986, they made history as the first African team to top a World Cup group and advance to the knockout stage, where they lost 1–0 to West Germany. Thirty-six years later, at the 2022 FIFA World Cup, Morocco once again defied expectations, topping a group that included Croatia, Canada and Belgium. They then went on to defeat Spain and Portugal, becoming the first African and first Arab team to reach a World Cup semi-final. They were the third World Cup semi-finalist not from Europe or South America.
Morocco is set to become the second African nation, the second MENA nation, and the first North African nation to host the World Cup when it was chosen as a co-host for the 2030 edition alongside Portugal and Spain.
The Atlas Lions were ranked 10th in the FIFA World Rankings in April 1998. They were ranked as the top African national team for three consecutive years, from 1997 to 1999, and again since December 2022. As of July 2025, Morocco is ranked as the 12th-best national team in the world.