Morocco completed a perfect qualifying campaign for the 2025 Africa Cup of Nations, winning all six matches, scoring 26 goals and conceding just twice. It was the Atlas Lions’ strongest recent AFCON qualifying performance by both wins and goals scored.
The achievement came with an important distinction: Morocco had already qualified automatically as tournament host. Its six group matches nevertheless counted as competitive AFCON qualifiers.
Morocco’s qualification history stretches back to the early 1960s and includes its first finals appearance in 1972, the road to the 1976 championship, periods of elimination and a series of successful recent campaigns. The Atlas Lions have since secured qualification for AFCON 2027 under Mohamed Ouahbi, winning their first four group matches.
Morocco’s Recent AFCON Qualifying Record
The table compares six completed qualifying campaigns, using results from CAF and RSSSF competition records.
| AFCON edition | Played | Won | Drawn | Lost | Goals for | Goals against |
|---|---|---|---|---|---|---|
| 2012 | 6 | 3 | 2 | 1 | 8 | 2 |
| 2017 | 6 | 5 | 1 | 0 | 10 | 1 |
| 2019 | 6 | 3 | 2 | 1 | 8 | 3 |
| 2021 | 6 | 4 | 2 | 0 | 10 | 1 |
| 2023 | 4 | 3 | 0 | 1 | 8 | 3 |
| 2025 | 6 | 6 | 0 | 0 | 26 | 2 |
All six campaigns resulted in an appearance at the AFCON finals. Morocco’s 2025 participation was guaranteed as host. Zimbabwe’s disqualification reduced Morocco’s 2023 qualifying group to three participating teams.
The 2025 campaign stands out for its attacking output. Morocco averaged 4.33 goals per match, compared with 1.67 during the unbeaten qualifying runs for both 2017 and 2021.
However, the campaigns were played against different opponents and under different qualification arrangements. The figures demonstrate contrasting results rather than establish which squad was stronger.
Morocco’s First AFCON Qualification in 1972
Morocco’s early attempts to reach the Africa Cup of Nations were unsuccessful.
Its first qualification for the finals came through the 1972 campaign, which began with a two-legged tie against Algeria.
Morocco lost the opening match 3–1 away on December 10, 1970, but recovered with a 3–0 home victory on December 27, advancing 4–3 on aggregate.
The next opponent was Egypt.
Morocco won 3–0 at home on October 13, 1971, before losing 3–2 in the return fixture two weeks later. The 5–3 aggregate victory secured its first AFCON finals appearance.
At the 1972 tournament in Cameroon, Morocco drew all three group matches and was eliminated.
The qualifying campaign nevertheless marked the country’s arrival at Africa’s main international football competition.
The Road to Morocco’s 1976 AFCON Championship
Morocco qualified for the 1976 Africa Cup of Nations after progressing through three knockout ties.
The campaign began against Gambia, with Morocco winning both legs 3–0 for a 6–0 aggregate victory.
Senegal provided a more difficult test in the following round. Morocco won the home leg 4–0 before losing 2–1 away, advancing 5–2 on aggregate.
The final qualifying opponent was Ghana.
After losing 2–0 away, Morocco recovered with a 2–0 home victory. The tie was settled by a penalty shootout, which Morocco won to reach the finals in Ethiopia.
The subsequent tournament delivered Morocco’s first continental championship. Led by Ahmed Faras, the Atlas Lions finished first in the final championship group.
Midfielder Abdelmajid Dolmy was also part of that historic generation, contributing to an era that eventually included Morocco’s breakthrough at the 1986 World Cup.
Faras’s contribution extended beyond the 1976 campaign. His historical international goalscoring record is covered in our Morocco all-time top scorers rankings.
For the results of the finals themselves, including the 1976 championship and later appearances, see Morocco’s complete AFCON tournament record.
Changing Qualification Formats and Missed Tournaments
Morocco’s AFCON qualifying history cannot be assessed through a single format.
Earlier competitions used home-and-away knockout ties, often requiring teams to eliminate several opponents before reaching the finals. Later editions relied more heavily on qualifying groups.
The number of available places also increased as the final tournament expanded.
Some unsuccessful campaigns ended through conventional elimination. Others involved non-entry, withdrawal or administrative decisions.
Hosting also changed the qualification process. Morocco entered the 1988 AFCON automatically as host, without needing to win a qualifying group.
These distinctions matter when comparing the team’s qualification record across decades.
The 2013 Comeback Against Mozambique
One of Morocco’s most notable modern qualifying recoveries came ahead of AFCON 2013.
The Atlas Lions lost 2–0 away to Mozambique on September 9, 2012, leaving them needing a substantial turnaround in the return leg.
On October 13, Morocco won 4–0 in Marrakech.
Abdelaziz Barrada opened the scoring, followed by goals from Houssine Kharja, Youssef El-Arabi and Nordin Amrabat.
Morocco advanced 4–2 on aggregate.
The result secured qualification for the tournament in South Africa and remains an example of the different challenges posed by knockout qualification compared with today’s group-stage system.
Why Morocco Missed AFCON 2015
Morocco’s absence from the 2015 Africa Cup of Nations was not the result of elimination in a qualifying group.
The country had initially been selected to host the tournament but requested its postponement because of concerns surrounding the Ebola outbreak in West Africa.
CAF rejected the request, removed Morocco as host and awarded the tournament to Equatorial Guinea. Morocco was excluded from participation.
CAF initially imposed further sanctions preventing Morocco from participating in the 2017 and 2019 editions.
However, the Court of Arbitration for Sport overturned those suspensions in April 2015.
Morocco was therefore eligible to compete in the following qualifying campaigns.
The 2015 episode should be classified separately from ordinary qualifying failures.
Unbeaten Qualification for AFCON 2017
Morocco returned to the finals through an unbeaten campaign in Group F.
Its opponents were Cape Verde, Libya and São Tomé and Príncipe.
The Atlas Lions won five matches and drew one, finishing with 16 points, 10 goals scored and just one conceded.
The two victories over Cape Verde were particularly important. Morocco won 1–0 away and 2–0 at home in March 2016, putting qualification firmly within reach.
That defensive consistency later appeared in Morocco’s 2018 World Cup qualifying campaign, when the team conceded just one goal across eight qualifying matches on its way to Russia.
Morocco’s Qualifying Results in 2019, 2021 and 2023
Morocco won its AFCON 2019 qualifying group ahead of Cameroon, Malawi and Comoros.
The Atlas Lions finished with 11 points from six matches, level with Cameroon but ahead on the applicable tiebreaker.
A 2–0 home victory over Cameroon in November 2018, with both goals scored by Hakim Ziyech, was an important result.
Qualification for AFCON 2021 was more convincing.
Morocco finished unbeaten in Group E against Mauritania, Burundi and the Central African Republic. The team won four matches, drew two, scored 10 goals and conceded only once.
For AFCON 2023, Morocco topped Group K with three wins and one defeat.
The group included South Africa and Liberia after Zimbabwe was disqualified. Morocco won both matches against Liberia and split its two fixtures with South Africa.
These campaigns demonstrated consistent qualification, although the number of matches and level of opposition varied.
Morocco’s Perfect 2025 AFCON Qualifying Campaign
Morocco’s most productive recent AFCON qualifying performance came between September and November 2024.
The Atlas Lions were drawn in Group B alongside Gabon, Lesotho and the Central African Republic.
Despite already holding a place at the tournament as host, Morocco played all six scheduled matches and won every one.
| Date | Match | Result |
|---|---|---|
| September 6, 2024 | Morocco vs Gabon | 4–1 |
| September 9, 2024 | Lesotho vs Morocco | 0–1 |
| October 12, 2024 | Morocco vs Central African Republic | 5–0 |
| October 15, 2024 | Central African Republic vs Morocco | 0–4 |
| November 15, 2024 | Gabon vs Morocco | 1–5 |
| November 18, 2024 | Morocco vs Lesotho | 7–0 |
Morocco finished first with 18 points, eight ahead of Gabon.
The team scored 26 times and conceded twice, producing a goal difference of +24.
Its biggest victory came in the final fixture against Lesotho in Oujda.
Brahim Díaz scored a first-half hat-trick in the 7–0 win and finished the entire AFCON qualifying competition as leading scorer with seven goals.
The 2025 campaign was unusual because Morocco’s results were not required to secure its own qualification. Nevertheless, the six victories were official senior A-team competitive results and belong in the qualifying record.
Morocco subsequently reached the 2025 Africa Cup of Nations final, losing 1–0 to Senegal after extra time on January 18, 2026.
CAF’s Appeals Board initially overturned the result and awarded Morocco a 3–0 forfeit victory. However, on November 24, 2026, the Court of Arbitration for Sport (CAS) overturned that decision and reinstated Senegal’s victory.
Senegal is therefore the recognized 2025 AFCON champion, with Morocco finishing runners-up.
The ruling does not affect Morocco’s perfect qualifying record of six victories, 26 goals scored and two conceded.
Read our report on the CAS ruling for further details.
Morocco’s AFCON 2027 Qualifying Campaign
Morocco began its 2027 qualification campaign in September 2026 under head coach Mohamed Ouahbi.
The opening Group A match brought a 2–0 home victory over Gabon on September 25, with goals from Noussair Mazraoui and Soufiane Rahimi.
Four days later, Morocco secured another 2–0 victory against Lesotho in Bloemfontein. Brahim Díaz opened the scoring before Azzedine Ounahi added the second goal.
Those results gave the Atlas Lions six points, four goals scored and two clean sheets after their opening fixtures.
Ouahbi selected a 29-player group for the September window, combining established internationals with emerging players. Our September 2026 squad breakdown explains those selections and the balance across positions.
Morocco continued its perfect start with two victories over Niger in November 2026.
On November 13, the Atlas Lions defeated Niger 5–1 in Casablanca, with Achraf Hakimi scoring twice.
Four days later, Abdellah Ouazane scored the only goal in a 1–0 victory over Niger in Rabat, securing Morocco’s qualification for AFCON 2027 with two matches remaining.
Morocco’s AFCON 2027 Qualifying Results
| Date | Match | Result |
|---|---|---|
| September 25, 2026 | Morocco vs Gabon | 2–0 |
| September 29, 2026 | Lesotho vs Morocco | 0–2 |
| November 13, 2026 | Morocco vs Niger | 5–1 |
| November 17, 2026 | Niger vs Morocco | 0–1 |
Both matches against Niger were played in Morocco, with Niger designated as the home team for the second fixture.
As of December 1, 2026, Morocco leads Group A with 12 points from four victories, having scored 10 goals, conceded just one and kept three clean sheets.
Although Morocco has already secured its place at the finals, the qualifying campaign remains in progress, with the final two group matches scheduled for March 2027. Its statistics are therefore not included in the completed-campaign comparison above.
What Morocco’s Qualifying Results Reveal
Morocco’s recent qualification campaigns show sustained success, but not always in the same way.
The 2017 and 2021 teams each conceded just one goal in six matches, underlining their defensive consistency.
The 2019 campaign was closer, with Morocco finishing level on points with Cameroon.
In 2023, the shortened group offered fewer matches and a smaller sample for comparison.
The 2025 side produced the strongest attacking figures of these completed campaigns, with 26 goals and six consecutive victories.
The 2027 campaign has so far combined attacking efficiency with defensive consistency under Ouahbi. Morocco has won four consecutive matches, scored 10 goals and conceded just one. Qualification has already been secured, although two group matches remain before the campaign can be assessed in full.
What connects these records is Morocco’s ability to qualify through different systems, from historical knockout ties to modern group competitions.
For a broader view of the national team’s development across international competitions, see our Morocco national football team guide.
Methodology and Sources
Atlas Lions Insider counts only matches played by Morocco’s senior men’s A national team in Africa Cup of Nations qualification.
AFCON finals matches, World Cup qualifiers, friendlies and fixtures involving Morocco A′, B teams, Olympic or youth sides are excluded.
The 2025 qualifying fixtures are included despite Morocco’s automatic entry as host because they formed part of CAF’s official qualifying competition.
Historical knockout results and recent group tables are drawn from competition-specific CAF and RSSSF records. The article does not publish an all-time total for qualifiers played, wins or goals because those figures require a complete reconciliation of historical fixtures, withdrawals, walkovers and match classifications.
Principal sources
- RSSSF — African Nations Cup 1972
- RSSSF — African Nations Cup 1976
- RSSSF — African Nations Cup 2013
- RSSSF — African Nations Cup 2017
- RSSSF — African Nations Cup 2023
- RSSSF — African Nations Cup 2025
- CAF — Morocco complete perfect qualifying campaign
- CAF — Brahim Díaz finishes as qualifying top scorer
- BBC Sport — Morocco win appeal against 2017 and 2019 bans
- CAF — Morocco secure qualification for AFCON 2027
Get the Atlas Lions Weekly
The biggest Morocco football stories, player updates and analysis—delivered to your inbox every Sunday.