Behind the joyful bustle of Morocco’s most famous square lies a history of Jemaa el-Fna far darker than one might imagine. From the 11th to the 19th century, this vast esplanade was also a place of public justice: sentences were proclaimed here, the condemned were executed, and the heads of those put to death were sometimes displayed on pikes or at the city gates, as a warning. It is partly this past that fed the chilling translation of its name, “the assembly of the dead.”
But be careful: between historical reality and the tales passed on by guides and travellers, the gap can be wide. Public executions did indeed take place — as they did everywhere in the pre-modern world — but the spectacular figures and the cause-and-effect links peddled on the square often owe more to touristic embellishment. This article untangles what is solidly known from what belongs to legend.
Follow us behind the macabre scenes of Jemaa el-Fna: the birth of a square of power in the 11th century, the role of public justice in old Marrakech, the ritual of displayed heads, and how a place of punishment became the living theatre we know today.

A square born to gather… and to show power
To understand the macabre side of the square, we must go back to its founding. Marrakech was created around 1070 by the Almoravids, a Berber dynasty that came from the Sahara. Near the palace and the first mosque, a large open space was needed: a place where caravans unloaded their camels, where the army assembled, where the people gathered — and where power put itself on display.
It is this role that explains everything. In a medieval capital, a central esplanade is never neutral: it is an extension of the throne. The sultan had his decisions proclaimed there, reviewed his troops there, celebrated his victories there. And because dispensing justice was one of the attributes of the sovereign, the square naturally became the place where punishment was carried out in broad daylight.
The esplanade that would become Jemaa el-Fna thus combined several functions over the centuries: marketplace, parade ground, place of celebration, and stage for public justice. Under the Almohads (12th–13th century), the dynasty that made Marrakech the centre of a vast empire, this political role grew stronger still. The square was a megaphone of stone: everything that had to be seen by all unfolded there.
Public justice: proclamations, punishments and exemplarity
In pre-modern Morocco, a penalty had meaning only if it was seen. Punishing in secret deters no one; it is the spectacle of punishment that was supposed to maintain order. The great square of Marrakech, a crossroads of every movement, offered the ideal audience.
Sentences pronounced in the sultan’s name were therefore carried out there: corporal punishments, the execution of common criminals, but also politically charged executions — defeated rebels, chiefs of unsubdued tribes, pretenders and conspirators. The execution of an enemy of power was not merely a punishment: it was a message addressed to anyone who might think of rising up.
These practices must also be placed back in their era. The Marrakech of the sultans was in no way exceptional: at the same period, European capitals were likewise displaying the executed on their squares and bridges. Public justice was the global norm, not a Moroccan peculiarity. Placing it back in this frame avoids both easy exoticism and anachronistic judgement.
Displayed heads: a ritual of warning at the city gates
This is the most striking image, and the one most documented by tradition: after the execution, the heads of the condemned — especially those of rebels and defeated enemies — were displayed in public. Not necessarily on the square itself permanently, but often at the gates of the medina (the bab), where caravans and travellers entering the city passed.
The practice is attested over the long term. The heads were stuck on pikes or hung from the ramparts, turned outward, as a warning to anyone approaching the capital. To delay decomposition and prolong the macabre exemplarity, they were reportedly sometimes salted — a detail that says a great deal about the cold logic of deterrence.

This ritual lasted surprisingly late. The display of heads at the gates of Moroccan cities is still attested in the 19th century, and truly disappeared only with the upheavals of the early 20th century and the establishment of the French protectorate in 1912, which put an end to this kind of staging of power. In other words, it is not a practice lost in some distant medieval night: it belongs to a long span of time that brushes against the contemporary era.
It is this real foundation that gives the square’s nickname its sinister charge. An esplanade associated for centuries with spectacular death could easily, in the popular imagination, become “the assembly of the dead.”
“The assembly of the dead”: what the name really owes to the executions
Here is the delicate point, the one where rigorous history must correct the legend. The translation “the assembly of the dead” is indeed real and appealing — but it does not prove that the square’s name comes from the executions.
Two facts call for nuance:
- The name appears late. The place name “Jemaa el-Fna” is attested in texts only at the beginning of the 17th century, more than five centuries after the city’s founding. If the executions had named the square, one would expect to see the name much earlier.
- Historians favour another origin. The best-supported hypothesis links the name to a monumental mosque never completed, commissioned by the Saadian sultan Ahmed al-Mansour at the end of the 16th century and abandoned after an outbreak of plague. From Jemaâ el-Hna (“the mosque of tranquillity”), the name would have shifted, by irony, to Jemaa el-Fna, “the mosque of ruin, of annihilation.”
In other words, the Arabic word fna can mean “death/extinction” or “ruin, annihilation” — and it is this second reading, supported by a 17th-century chronicler, that scholarship judges most credible. The link with the executions therefore exists above all in the imagination: a real bloody past fed an appealing macabre interpretation, but it is probably not what gave the square its name.
From place of punishment to living theatre
The history of the square is one of a complete reversal. This space once associated with putting people to death and with warning became, as power ceased to display its violence there, a place overflowing with life: storytellers, Gnaoua musicians, snake charmers, herbalists, merchants and circles of spectators (the famous halqa).
This shift from an esplanade of power to a popular stage is no accident: it is the same open space, the same capacity to gather crowds, that served justice yesterday and serves spectacle today. The square has never ceased to be the place where Marrakech comes together — only the nature of the gathering has changed.

This transformation was enshrined in 2001, when the cultural space of the square was recognised by UNESCO as a masterpiece of the intangible cultural heritage of humanity. The former “assembly of the dead” became, in a final twist of history, a global symbol of living culture and oral tradition.
To go deeper into this account, dive into our full feature on the history and meaning of Jemaa el-Fna, and discover how this past is woven into the urban fabric by exploring the surroundings of the square. You can also consult the detailed Wikipedia entry on the square to cross-check sources.
Frequently asked questions
Were there really executions at Jemaa el-Fna?
Yes. From the Middle Ages to the 19th century, the great square of Marrakech served as a place of public justice, where sentences were proclaimed and executions carried out — of criminals as well as political enemies of the sultan. This is a historical reality, to be placed in the context of the pre-modern world where justice was everywhere a public spectacle.
Is it true that heads were displayed on pikes?
Tradition reports that the heads of rebels and the condemned were stuck on pikes or hung at the gates of the medina, turned outward, as a warning. Some sources mention salted heads to preserve them. The practice is attested until the 19th century and disappeared in the early 20th century.
Does the name “assembly of the dead” come from the executions?
Not in any proven way. This translation is real, but the name “Jemaa el-Fna” appears in texts only in the 17th century, and historians favour the hypothesis of an unfinished mosque (“mosque of ruin”). The bloody past fed a macabre interpretation, without being its certain origin.
Did the square really see “45 heads a day”?
This very widespread figure rests on no reliable historical source. It is a touristic tale that must be taken with great caution. Public executions did exist, but the spectacular daily tallies are an exaggeration.
When did these macabre practices cease?
The display of heads at the gates of Moroccan cities is still attested in the 19th century. This kind of spectacular justice died out with the upheavals of the early 20th century and the establishment of the French protectorate in 1912.
Is the square unsettling to visit today?
Absolutely not. Jemaa el-Fna is today a festive, lively and warm place, listed by UNESCO for its living culture. Its macabre past belongs to history and has nothing more to do with the current atmosphere of storytellers, musicians and street food.