In a hollow in the hills south of Gabès, people dug their homes out of the earth rather than building up from it.

Section 01 of 01Down, Not Up

The technique is straightforward in principle and demanding in practice. Builders excavated a large central pit — roughly circular, open to the sky — then carved rooms directly into the vertical walls around it. The pit becomes a courtyard: light source, air shaft, social centre. The rooms surrounding it stay cool in summer and retain warmth in winter, insulated by several metres of soft rock on every side. In a region where daytime temperatures can exceed forty degrees Celsius and building timber is scarce, the ground itself becomes the architecture.

The troglodyte settlements around Matmata are not caves in the improvised sense. Many of the pit-houses have multiple storeys cut into the rock, connected by tunnels and rough staircases, with separate quarters for storage, animals and family. Some complexes link two or three courtyards, giving an extended household room to grow without ever breaking the surface. Seen from above, the landscape looks almost empty — a few mounds, some low walls — until you notice the pits opening in the earth like dry wells.

The Berber communities who built and inhabited these houses were adapting to an environment with few alternatives. The technique is ancient here, though the earliest datable occupation of the Matmata region is difficult to pin down precisely. The settlements that survive are mostly of relatively recent centuries, though the method itself is far older.

Two things changed life in the pits significantly: mains water and a sealed road. Once the town of Matmata became accessible and connected, younger generations largely moved to new-build houses in what locals call the Nouvelle Matmata, a few kilometres away. The old pits emptied slowly. Some were abandoned to goats and weather. A handful became guesthouses, allowing visitors to sleep below ground in a room that remains, regardless of what the sun is doing overhead, a remarkable piece of low-technology climate engineering.

The most famous of these conversions gained unexpected global reach when it was used as a film location in the 1970s. That association still draws visitors, but the pits are worth the trip without it.

The technique is straightforward in principle and demanding in practice.

Coastline and governorate outlines from Natural Earth, public domain.