Barbary Macaque
On the road between Fes and the Sahara, in the cedar forests near Azrou and Ifrane, many travelers have an unexpected encounter: monkeys sitting by the roadside or climbing among the giant cedars. These are Barbary macaques, the only wild primates north of the Sahara in Africa and the only macaque species living outside Asia. They are fascinating, social animals, and they are also endangered.
This guide explains everything about the Barbary macaque: where it lives in Morocco, its behavior and family life, why it is endangered, how to see it responsibly, and why you should never feed it.
Barbary macaque at a glance
| Detail | Information |
|---|---|
| Scientific name | Macaca sylvanus |
| Also called | Barbary ape, magot |
| Where | Middle Atlas, High Atlas and Rif mountains of Morocco, northern Algeria, and a population in Gibraltar |
| Habitat | Cedar and oak forests, rocky mountain areas |
| Tail | Almost tailless, which is why it was once called an ape |
| Status | Endangered |
| Best place to see in Morocco | Cedar forests near Azrou and Ifrane |
Where Barbary macaques live
Most wild Barbary macaques live in Morocco, especially in the cedar forests of the Middle Atlas around Azrou and Ifrane. Smaller populations live in the High Atlas, the Rif and northern Algeria. A famous semi-wild population lives on the Rock of Gibraltar, the only wild monkeys in Europe.
The Atlas cedar forests, with their huge old trees, provide food, shelter and cool temperatures in summer, while the macaques adapt to snowy winters, growing thick fur.
Behavior and family life
- Barbary macaques live in social groups of several dozen individuals, with both males and females.
- They spend much of their time on the ground, foraging for leaves, seeds, roots, fruit, insects and cedar bark.
- Males are unusually involved in caring for infants. They carry, groom and play with babies, and use them in social interactions with other males.
- Grooming is important for social bonds.
- They communicate with facial expressions, sounds and gestures.
Why the Barbary macaque is endangered
The Barbary macaque is classified as Endangered. Its population has declined because of:
- Loss and degradation of cedar and oak forests from logging and overgrazing.
- Illegal capture of infants for the pet trade.
- Feeding by tourists, which harms their health and behavior.
- Drought and climate change affecting forests and water.
Conservation programs in Morocco work on forest protection, education and fighting the illegal trade.
Where to see Barbary macaques in Morocco
Cedar forest near Azrou
The most popular place is the cedar forest along the road between Ifrane and Azrou, where groups of macaques often gather near the roadside. Many tours from Fes to the Sahara stop here. See things to do in Azrou and Ifrane.
Ifrane National Park
The park protects large cedar forests and offers walks where you may see macaques in a more natural setting.
Ouzoud Falls
Macaques are also seen around the Ouzoud waterfalls in the Middle Atlas. See Ouzoud waterfalls.
Talassemtane and the Rif
Smaller groups live in the forests of the Rif, near Chefchaouen.
How to see Barbary macaques responsibly
- Do not feed them. Bread, chips, sweets and peanuts harm their health and make them dependent and aggressive.
- Keep a respectful distance and avoid touching them.
- Do not let children approach too closely.
- Keep food and bags closed; macaques can grab things.
- Avoid stopping where vendors encourage feeding for photos.
- Do not buy photos with chained or captive monkeys, as this supports the illegal trade.
- Prefer walks in the forest with a local guide to see them in a natural setting.
Barbary macaques and the illegal pet trade
Baby macaques are sometimes captured from the wild and sold as pets, often abroad. This takes infants from their families and harms wild populations. Never buy or encourage interactions with captive macaques used for tourist photos.
On the road from Fes to the Sahara
A stop in the cedar forest is one of the highlights of the drive from Fes to Merzouga, along with Ifrane, Midelt and the Ziz valley. See Merzouga to Fes and Middle Atlas Mountains.
Other Moroccan wildlife
See our guides to wildlife in Morocco and the Morocco national animal.
Our take
Meeting Barbary macaques in the cedar forests of the Middle Atlas is a magical moment of a Morocco trip. Enjoy watching their family life from a distance, take photos without feeding them, and remember that these monkeys are endangered. Responsible visits help protect them for future generations. Our Morocco custom tours include stops in the cedar forest on the way to the desert.
Frequently asked questions
Are there monkeys in Morocco?
Yes, Barbary macaques live in the Atlas and Rif mountains.
Where can I see monkeys in Morocco?
In the cedar forest between Ifrane and Azrou, around Ouzoud Falls and in forests of the Rif.
Is the Barbary macaque endangered?
Yes, it is classified as Endangered.
Can I feed the monkeys in Azrou?
No. Feeding harms their health and behavior.
Why are they called Barbary apes?
Because they are almost tailless, which made people think they were apes, although they are macaques.
Are Barbary macaques dangerous?
They are usually peaceful but can bite or scratch if fed, frightened or provoked. Keep your distance.
Explore our Morocco trips:
Tours from Marrakech: Cross the High Atlas to Ait Ben Haddou and the dunes of Erg Chebbi.
Morocco Desert Tours: Camel trekking and a night under the stars in a Sahara desert camp.
Tours from Fes: The oldest medina in Morocco, then the Middle Atlas and the desert.
Tours from Casablanca: Begin at the Hassan II Mosque and travel through the imperial cities.
Tours from Tangier: Start in the north with Chefchaouen and the Rif Mountains.
Tours from Ouarzazate: Kasbahs, film studios and the gorges of the south.
Contact us

Your Local Experts
Our Moroccan team organizes private tours from every major city in Morocco: Marrakech, Fes, Casablanca, Tangier, Rabat, Agadir, Ouarzazate and more. Wherever you land, we pick you up and design your trip around your dates and interests.
Plan Your Trip
Click any destination to see more:
Marrakech Desert Tours
- 2 Days Desert Tour from Marrakech
- 3 Days Marrakech to Merzouga
- 3 Days Marrakech to Fes
- 4 Days Marrakech to Merzouga
- 4 Days Marrakech to Fes
- 5 Days Marrakech to Merzouga
- 5 Days Morocco Tour from Marrakech
- 6 Days Morocco Tour from Marrakech
- 7 Days Morocco Tour from Marrakech
- 8 Days Morocco Tour from Marrakech
- 8 Days with Imperial Cities
- 9 Days Morocco Tour from Marrakech
- 10 Days Morocco Tour from Marrakech
- 12 Days Morocco Tour from Marrakech
- 14 Days Morocco Tour from Marrakech