Ghorfa
Vaulted room used by Berbers for storing grain

A ghorfa (Arabic: غرفة, lit. 'room') is a type of communal granary found mainly in southern Tunisia. Similar structures are also found in northeastern Libya. They are associated in particular with Berber settlements in these regions. They consist of a collection of vaulted rooms built in rows and stacked in multiple stories organized around an internal courtyard.
01Terminology
The Arabic word ghorfa (غرفة) refers in a more narrow sense to the individual rooms of the granary. The granary as a whole can also be known as a ksar (pl. ksour), the term used for fortified villages in the region. Some similar fortified granaries in Tunisia are referred to by the term kasbah.

02Historical background
The formation of the collective granaries in southern Tunisia and the Nafusa Mountains of Libya can be attributed generally to the 14th century. In more recent centuries, the number of ksour in southern Tunisia increased as local lifestyles became more uniform. At one time, some 6000 ghorfas existed in Tunisia. A large proportion of these have disappeared since Tunisian independence in the 20th century, as the rural economy in the region declined. In the Nafusa Mountains, most of the ksour were destroyed in the 19th century when the Ottomans suppressed a rebellion in the area.

03Architecture
Ghorfa-type granaries consist of a series of barrel-vaulted rooms, each with a single door, built in rows and stacked on top of each other to form multiple stories. These are organized around an internal courtyard, usually quadrilateral in shape, from which the rooms are accessed. The tallest granaries can be up to four or five stories high. The rooms were used to store grain, dates, and other food or animal products. The rooms at the ground level could also be used as living quarters for guards and animals. The rooms above ground level are accessed by external staircases. Many of these structures were built using loose stones and clay.
04Notable examples
In Tunisia:
- Medenine
- Metameur
- Ksar Aouadid
- Ksar El Kedim (near Ksar Aouadid, also known as Ksar Zenata)
- Ksar Ouled Soltane
- Ksar Ez Zahra
- Ksar Ouled Debbab
In Libya:

05In popular culture
Ghorfas were featured prominently in the film Star Wars: Episode I, The Phantom Menace as the slave quarters of Mos Espa, home to Anakin Skywalker. These scenes in the film show ghorfas from several locations in southern Tunisia, including Ksar Ouled Soltane and Ksar Hadada.
Sources and credits
This article is adapted from the Wikipedia article “Ghorfa”, written by its contributors and licensed under CC BY-SA 4.0. Fathomly has changed the layout, removed citation markers, navigation and maintenance notices, and adjusted punctuation. This adapted version is shared under the same license. For references, see the original article.
Images, from Wikimedia Commons:
- Ksar Ouled Soltane 01.jpg by Ian Sewell, CC BY 2.5
- Photo Housing complex, ghorfa, in Medenine 1957 - Touring Club Italiano BBW 236.jpg by Unknown authorUnknown author, CC BY-SA 4.0
- Ksar Ez Zahra.jpg by Colin Hepburn from Sale, UK, CC BY-SA 2.0
- Gasr Al-Hajj - inside.jpg by David Stanley, CC BY 2.0
Fathomly is not affiliated with or endorsed by the Wikimedia Foundation. Spotted a problem? Tell us.