A whitewashed wall of packed earth curving around a sunken courtyard, with a bright blue door, a storage niche and a large clay jar

Djerba & the Sahara South, Tunisia

Matmata

The courtyard wall of a troglodyte house dug into the ground at Matmata. (Bernard Gagnon / Wikimedia Commons · CC BY-SA 3.0)

A small Amazigh village in the hills south-west of Gabès, known for houses dug into the soft ground: a wide circular pit forms an open courtyard, with rooms cut into its sides and passages linking one pit to the next. Some are still lived in, some have become guesthouses, and one was used as a location in the first Star Wars film.

Neighbourhoods

  • Old Matmata and the pit houses
    • First-time visitors
    • Historic district
    • Photography

    The scatter of courtyard dwellings across the pale hills, each sunk into the ground and invisible until the edge of its pit appears underfoot. Several are open to visitors, a few work as guesthouses, and others are ordinary homes whose owners expect to be asked before anyone looks in.

    Open in Maps
  • The village centre
    • Best for food
    • Close to transport

    A short main street with a few cafés, shops, a market area and the stop for buses and louages to Gabès. It is where the hotels and restaurants that serve day trippers are concentrated, and it empties in the evening once the coaches have gone.

    Open in Maps
  • Nouvelle Matmata
    • Local life
    • Quiet and residential

    The newer settlement a short way down the road, built above ground from the late 1950s onwards as families moved out of the pits. It holds the administrative buildings, schools and most of the area's ordinary housing.

    Open in Maps

Things to do

The village

  • The troglodyte pit houseslandmark

    Dwellings made by digging a broad pit several metres deep and cutting rooms and store chambers into its walls — cool in summer, sheltered in winter, and reached by a sloping tunnel from the hillside.

    Open in Maps
  • Sidi Drisslandmark

    A set of linked pits converted into a hotel, used as the interior of the Lars homestead in the first Star Wars film in 1976 and again in a prequel released in 2002; some of the film decoration remains in place.

    Open in Maps
  • Viewpoint over the Matmata hillsviewpoint

    The ridges above the village look out over pale, eroded hills pocked with the circular openings of the pits, and towards the plain that falls away to the coast.

    Open in Maps

Short trips from the village

  • Tamezretattraction

    An Amazigh hill village about ten kilometres west, built above ground in stone on a ridge, where the Berber language is still spoken and the cafés look far out over the hills.

    Open in Maps
  • Toujaneattraction

    A stone village clinging to a steep gorge south-east on the road towards Médenine, known for its weaving and its terraced olive slopes.

    Open in Maps
  • Gabèsattraction

    The coastal city about 40 kilometres north-east, an industrial port unusual for its seaside oasis of palms, with a large market in its medina.

    Open in Maps

Seasonal events

  • Olive and date harvestautumn and early winter

    Olives are picked and pressed on the terraces around the village, and dates arrive from the oases to the west, filling the market and the household stores.

  • Eid al-Fitrat the end of Ramadan, moving earlier each year

    The holiday that ends the fasting month, when families return to the village, sweets are baked and ordinary business stops for several days.

Eat and drink

Long-standing places and food districts in Matmata. Hours, ratings and directions come from your maps app, always current.

Matmata classics

  • Southern couscous and lambrestaurant

    Couscous steamed with lamb or vegetables, sometimes with kadid, salted air-dried meat, served in the village restaurants and guesthouses cut into the rock.

    Open in Maps
  • Tabouna bread and olive oilrestaurant

    Flat loaves baked against the wall of a clay oven, eaten with the oil pressed from the olive terraces around the village, harissa and fresh cheese.

    Open in Maps

Shops and cafés

  • Village market and shopsmarket

    A small market for vegetables, dates, olives and household goods, with stalls of woven blankets and palm-frond baskets aimed at visitors.

    Open in Maps
  • Cafés on the main streetcafe

    Plain terraces where mint tea with almonds and small strong coffees are served, busiest in the late afternoon once the day's heat has passed.

    Open in Maps

Experience Matmata

History

The Matmata hills are part of the Dahar, the dry range that runs down south-eastern Tunisia, and the people who made the pit houses are Amazigh communities who settled here long before the Arab conquest. Local tradition, and most historical accounts, treat the underground houses as a response to both climate and insecurity: cutting rooms into the friable rock gave an even temperature in a place of extreme heat and cold, used little timber in a treeless country, and left almost nothing visible on the surface for raiders crossing the hills.

The technique is simple and the results are not. A circular pit some seven to ten metres across and several metres deep is dug as a courtyard; rooms for living, storage and animals are then tunnelled into its walls, sometimes on two levels, with niches for grain jars and a sloping entrance tunnel from the hillside. Several pits could be joined underground to house an extended family, and grain stores were cut high in the walls.

The area lived on olives, barley, figs and flocks, with men migrating for work. France took control of Tunisia in 1881, and the village came to wider notice only in the twentieth century. After independence the state tried to move mountain families to new towns built on the plateau, among them Nouvelle Matmata, and in 1969 rains that lasted twenty-two days flooded the pit houses and brought many of them down, after which more families moved above ground. In 1976 the crew of the first Star Wars film used a converted pit complex, the Hotel Sidi Driss, for interior scenes, and the association brought a steady stream of visitors. Some households have since returned to the pits or reopened them as guesthouses, and the village now lives substantially on tourism.

Culture & Customs

Matmata belongs to the Amazigh south. The Berber language survives here and in the villages around, alongside Tunisian Arabic, and older people in particular still use it at home; in nearby Tamezret it is more widely spoken. Identity is tied to the hills, to a particular house and pit, and to an extended family, and many people who now live in Gabès or Tunis keep a claim on the family dwelling and return for holidays and funerals.

Domestic craft follows the materials at hand: wool woven on ground looms into blankets and the heavy striped cloth used for cloaks, clay jars for oil, grain and water, palm fronds turned into baskets and mats, and olive wood worked into tools. Households still keep the great storage chambers that once held a year's barley and oil, and the making of tabouna bread in a clay oven remains an everyday skill rather than a demonstration.

Visitors have been part of village life for decades, and the relationship is practical: households charge a small sum to show their courtyards, and film tourism is treated as a straightforward trade rather than a source of local pride. Away from the few open houses, Matmata is a conservative, quiet place where families keep to themselves, and greetings, patience and asking before photographing go a long way.

Daily Life

The old village counted about 2,100 residents at the 2004 census, and Nouvelle Matmata, down on the plateau, has since become the larger settlement. Perhaps a few dozen families still occupy pit houses year-round; more live in concrete houses on the surface and use an inherited pit for storage or as a guesthouse. Households are often split between the village and the cities, with money sent home from Gabès, Tunis, France or the Gulf.

The local economy is thin. Olives, figs, barley, sheep and goats support subsistence farming on terraces held together by dry-stone walls, and the rest comes from tourism: guesthouses, cafés, craft stalls, guiding and the coaches that come up from Djerba and Gabès for a few hours. That income is seasonal and has collapsed for years at a time after security incidents elsewhere in the country, and unemployment among the young is high.

Water and erosion are constant concerns: rain is rare but arrives hard, cutting gullies in the hills and, in bad years, damaging pit walls, and the terraces need repair after every storm. Days start early and slow through the afternoon, with men gathering in the cafés on the main street in the evening and family life underground, out of the sun and the wind.

Food

Cooking here is the plain food of the dry south, made from what keeps through a year with little rain. Barley and semolina are the base: couscous steamed over lamb or vegetables, and bazin or thick barley porridges dressed with olive oil. Tabouna bread, slapped onto the inside wall of a clay oven and peeled off when it blisters, is baked at home and eaten with oil, olives, harissa and fresh cheese.

Lamb and goat are the festive meats, roasted or stewed slowly with tomato and chilli, and kadid — meat salted, spiced and air-dried — extends the supply through the year and is cooked into couscous. Eggs, chickpeas and the national staples appear everywhere: chorba broth, brik pastry parcels, mechouia salad of grilled peppers and tomatoes, and lablabi, a chickpea soup poured over torn bread, eaten early in the day.

Olives and olive oil from the terraces are the local pride, along with figs, almonds and dates brought from the oases to the west. Sweets are simple — semolina and date pastries, honey and almonds — and mint tea, boiled over coals and poured from a height into small glasses, with pine nuts or roasted almonds floating on top, is drunk throughout the day and offered to every guest.

Planning tools

Budget

Matmata is cheap. Rooms in converted pit houses and simple hotels cost little, meals are inexpensive, and the village itself asks only small entry fees at the houses that are open. The expense is transport: without a car, reaching the village and the hill villages beyond it usually means hiring a taxi for a few hours.

Daily Budget Midrange
USD 70–150 (comfortable hotel or restored pit house, restaurant meals, a hire car or a taxi hired for the day)
Daily Budget Shoestring
USD 20–35 (room in a troglodyte guesthouse, local meals, louage from Gabès)

Bring cash — there is little banking in the village — and agree a price before a guided look inside a lived-in house, where a small payment is customary.

Best Time to Visit

October to April, when the hills are comfortable to walk and the light is good early and late. Spring can be dusty. Midsummer is very hot above ground, though the pit rooms stay cool, and the village is at its quietest in the middle of the day all year, once the tour coaches have passed through.

Suggested Number of Days

Many people see Matmata on a half-day stop between Djerba and the desert. Staying a night, when the day visitors have gone, allows time for the surrounding hill villages, which take most of another day.

First Visit
half a day to 1 day
With Surroundings
1–2 days

Transportation

The village is small enough to walk, though the pit houses are scattered across the hills and some lie a kilometre or more apart along sandy tracks. Buses and louages run to Gabès, where connections continue to Médenine, Djerba and Tunis, but services are infrequent and stop early. A hire car or a taxi engaged for the day is the practical way to see the villages around.

Roads over the hills are narrow, steep in places and unlit, and loose stones and animals are common, so avoid driving them after dark.

Airport & Station Connections

Most visitors come from Gabès, about 40 kilometres north-east and roughly an hour by road, by louage, bus or hired taxi. Djerba is around two hours away by car and the usual base for organised day trips, and Tataouine and Douz are each a few hours off. The nearest airport is Djerba–Zarzis.

Walkability

The centre is a short, flat street, but visiting the pit houses means walking uphill on stony tracks with little shade, and the distances between groups of houses add up. Sturdy shoes help, and the slopes and unfenced pit edges call for care, especially with children.

Safety

The village is quiet and crime is rare; the main hazards are physical. Pit courtyards are open in the ground, often unfenced, and the tunnels and stairs into them are dark and uneven. Heat and sun on the treeless hills are the other risk, and mobile coverage weakens away from the road. Western governments advise against travel to the far south and the Libyan border area, and to the military zone south of Tataouine.

Keep away from the Libyan border zone and the desert military zone, use licensed guides for the Sahara, and carry water. Check current official travel advice before travelling.

Climate

Semi-arid to desert, with hot dry summers, mild sunny winters and very little rain, although occasional downpours can run hard off the bare slopes. The altitude of the hills makes nights noticeably cooler than on the coastal plain, and the underground rooms stay at an even temperature all year.

Summer
hot and dry, often 35–40°C by day, with cooler evenings in the hills
Winter
mild sunny days of about 15–19°C, with cold nights sometimes near freezing

Local Customs

Matmata is a conservative village where many of the pit houses are private homes. Permission should be asked before entering a courtyard or photographing a family, and a small payment is normal where a household shows visitors around. Modest dress is expected, and Amazigh as well as Arabic is spoken.

Ask before photographing people or their homes, bring small notes for entry payments and tips, and expect alcohol to be available only in hotels rather than village cafés.

Common Payment Methods

The currency is the Tunisian dinar, which cannot legally be taken out of the country. Cash is used for nearly everything here: hotels may take cards, but restaurants, shops, taxis and household entry payments do not, and cash machines are limited, so draw money in Gabès or on Djerba.