AFCON tournament Date Location Opponent Score Morocco scorers Round 1972 25 February 1972 Douala Congo 1–1 Ahmed Faras Group stage 27 February 1972 Sudan 1–1 Ahmed Faras 29 February 1972 Zaire 1–1 Ahmed Faras 1976 1 March 1976 Dire Dawa Sudan 1–1 Mustapha Fetoui, Ahmed Abouali Group stage 4 March 1976 Zaire 1–0 Abdel Ali Zahraoui 6 March 1976 Nigeria 3–1 Ahmed Faras, Abdellah Tazi, Larbi Chebbak 9 March 1976 Addis Ababa Egypt 2–1 Ahmed Faras, Abdel Ali Zahraoui Final round 11 March 1976 Nigeria 2–1 Ahmed Faras, Redouane Guezzar 14 March 1976 Guinea 1–1 Ahmed Makrouh 1978 6 March 1978 Kumasi Tunisia 1–1 Hassan Amcharrat Group stage 9 March 1978 Congo 1–0 Hassan Amcharrat 11 March 1978 Uganda 0–3 1980 9 March 1980 Ibadan Guinea 1–1 Tahir Mustapha Group stage 13 March 1980 Algeria 0–1 16 March 1980 Ghana 1–0 Khalid Labied 19 March 1980 Lagos Nigeria 0–1 Semi-finals 21 March 1980 Egypt 2–0 Khalid Labied (x2) Third place 1986 8 March 1986 Alexandria Algeria 0–0 Group stage 11 March 1986 Cameroon 1–1 Abdelkrim Merry 14 March 1986 Zambia 1–0 Jones Chilengi (o.g.) 17 March 1986 Cairo Egypt 0–1 Semi-finals 20 March 1986 Ivory Coast 2–3 Abdelfettah Rhiati, Mohammed Sahil Third place 1988 13 March 1988 Casablanca Zaire 1–1 Abdelkrim Merry (p) Group stage 16 March 1988 Algeria 1–0 Mustafa El Haddaoui 19 March 1988 Ivory Coast 0–0 23 March 1988 Cameroon 0–1 Semi-finals 23 March 1988 Algeria 1–1 (3–4 p) Hassan Nader Third place 1992 12 January 1992 Dakar Cameroon 0–1 Group stage 14 January 1992 Zaire 1–1 Said Rokbi 1998 9 February 1998 Bobo-Dioulasso Zambia 1–1 Ahmed Bahja Group stage 13 January 1998 Mozambique 3–0 Saïd Chiba, Ali Elkhattabi, Youssef Fertout 17 January 1998 Ouagadougou Egypt 1–0 Mustapha Hadji 22 January 1998 South Africa 1–2 Saïd Chiba Quarter-finals 2000 25 January 2000 Lagos Congo 1–0 Salaheddine Bassir Group stage 29 January 2000 Tunisia 0–0 3 February 2000 Nigeria 0–2 2002 21 January 2002 Ségou Ghana 0–0 Group stage 26 January 2002 Burkina Faso 2–1 Hicham Zerouali (x2) 30 January 2002 South Africa 1–3 Rachid Benmahmoud (p) 2004 27 January 2004 Monastir Nigeria 1–0 Youssouf Hadji Group stage 31 January 2004 Sfax Benin 4–0 Marouane Chamakh, Youssef Mokhtari, Abdeslam Ouaddou, Talal El Karkouri 4 February 2004 Sousse South Africa 1–1 Youssef Safri (p) 8 February 2004 Sfax Algeria 3–1 (a.e.t.) Marouane Chamakh, Youssouf Hadji, Jawad Zairi Quarter-finals 11 February 2004 Sousse Mali 4–0 Youssef Mokhtari (x2), Youssouf Hadji, Nabil Baha Semi-finals 14 February 2004 Radès Tunisia 1–2 Youssef Mokhtari Final 2006 20 January 2006 Cairo Ivory Coast 0–1 Group stage 24 January 2006 Egypt 0–0 28 January 2006 Libya 0–0 2008 21 January 2008 Accra Namibia 5–1 Soufiane Alloudi (x3), Tarik Sektioui, Monsef Zerka Group stage 24 January 2008 Guinea 2–3 Hicham Aboucherouane, Abdeslam Ouaddou 28 January 2008 Ghana 0–2 2012 23 January 2012 Libreville Tunisia 1–2 Houssine Kharja Group stage 27 January 2012 Gabon 2–3 Houssine Kharja (x2) 31 January 2012 Niger 1–0 Younès Belhanda 2013 19 January 2013 Johannesburg Angola 0–0 Group stage 23 January 2013 Durban Cape Verde 1–1 Youssef El-Arabi 27 January 2013 South Africa 2–2 Issam El Adoua, Abdelilah Hafidi 2017 16 January 2017 Oyem DR Congo 0–1 Group stage 20 January 2017 Togo 3–1 Aziz Bouhaddouz, Romain Saïss, Youssef En-Nesyri 24 January 2017 Ivory Coast 1–0 Rachid Alioui 29 January 2017 Port-Gentil Egypt 0–1 Quarter-finals 2019 23 June 2019 Cairo Namibia 1–0 Itamunua Keimuine (o.g.) Group stage 28 June 2019 Ivory Coast 1–0 Youssef En-Nesyri 1 July 2019 South Africa 1–0 Mbark Boussoufa 5 July 2019 Benin 1–1 (1–4 p) Youssef En-Nesyri Round of 16