Why are there monkeys in Marrakech, and should I interact with them?

The short answer

Barbary macaques are endangered primates native to Morocco's Atlas Mountains. The ones in Marrakech's squares were taken illegally from the wild as infants, had their teeth pulled, and are chained as photo props. Paying for a photo funds the next capture. The wild populations live in the cedar forests near Azrou and Ifrane — that's where to see them.

A man approaches you in Jemaa el-Fna with a Barbary macaque on a chain. The monkey is wearing a diaper. It looks miserable. The man wants you to hold it for a photo. He will then charge you 200 dirhams.

Don't.

The Barbary macaque — Macaca sylvanus — is the only primate native to Africa that also lives in Europe (the famous Rock of Gibraltar colony). Its real home is the Atlas Mountains. Wild populations live in the cedar and oak forests of the Middle Atlas, around Azrou and Ifrane, where they survive snow, forage for acorns, and live in social troops of up to eighty individuals. Morocco has an estimated 8,000 to 10,000 left in the wild. The number is falling.

The ones in Marrakech were taken from the wild as infants. Poachers capture babies by driving mothers from the troop — sometimes killing them. The infants are sold to handlers in cities, where their canine teeth are pulled or filed down to prevent biting. They're dressed in clothes, chained, and used as photo props in tourist squares. The animal you're being asked to hold has been through something closer to trafficking than training.

The Barbary macaque is listed as Endangered on the IUCN Red List. Capturing or trading them is illegal under Moroccan law and under CITES, the international wildlife treaty. Enforcement is inconsistent. The handlers operate openly because tourists pay — every photo taken funds the capture of the next infant.