Quick Answer — What Is a Khettara?

A khettara is a gravity-fed underground tunnel that channels groundwater from an aquifer to the surface — no pumps, no motors, no energy. The technology originated as the qanat in ancient Persia and was adapted in Morocco from roughly the 10th–11th century. Construction: a series of vertical shafts (10–50 m deep) connected by a gently sloping tunnel (1–15 km long, gradient ~1:1000). The Tafilalet region (near Merzouga) had 400+ historically. Surface sign: lines of circular mounds (spoil heaps) marking each shaft. See them: on any 3-day desert tour from €95.

How Khettaras Work

Cross-section diagram showing the structure of a khettara irrigation system with vertical shafts and sloping tunnel
Khettara cross-section — vertical shafts connect to a gently sloping tunnel that channels groundwater by gravity alone

A khettara starts at a “mother well” — a deep vertical shaft dug into a hillside or elevated area where it reaches the water table. From this point, a gently sloping tunnel (gradient roughly 1:1000 — that’s just 1 metre of drop per kilometre) carries water underground toward lower-lying agricultural land. The water flows entirely by gravity — no pumps, no electricity, no moving parts.

Along the tunnel’s route, vertical access shafts are dug every 10–30 metres. These serve three purposes: construction access (workers dig the tunnel section by section between shafts), ventilation (air circulation for the diggers), and maintenance (clearing sediment and debris over the centuries). The visible sign on the surface is a line of circular mounds — spoil heaps of earth removed during digging — stretching across the landscape. From a distance, they look like a line of giant anthills.

Construction is entirely manual: picks, shovels, and locally sourced materials. Workers dig shafts first, then connect them underground. The tunnel walls are sometimes reinforced with stone or clay in unstable soil. Building a single khettara could take months to years and required precise knowledge of local geology and water table behaviour — passed down through generations of specialist well-diggers.

How to spot them: On the drive between Erfoud and Merzouga, look out the window for lines of circular mounds crossing the flat desert. Each mound marks a vertical shaft. Some lines stretch for kilometres. Ask your MDT guide to point them out — most visitors drive right past without realising what they’re seeing.

Key Facts

Khettara key facts — dimensions, history, and global equivalents
FactDetail
What it isGravity-fed underground irrigation tunnel — aquifer to surface
OriginPersian qanat technology, adapted in Morocco ~10th–11th century
Tunnel length1–15 km (some longer)
Shaft depth10–50 m (depends on water table)
Shaft spacingEvery 10–30 m along the tunnel
Gradient~1:1000 (1 m drop per km)
Energy usedZero — gravity only, no pumps or motors
Tafilalet network400+ khettaras historically (largest in Morocco)
StatusMany abandoned; restoration projects underway in Skoura and Tafilalet
Surface signLines of circular mounds (spoil heaps) marking vertical shafts
Global equivalentsQanat (Iran), falaj (Oman), foggara (Algeria), acequia (Spain), karez (Afghanistan)

Origins & History

Ancient khettara irrigation channel emerging at the surface in a Moroccan oasis
A khettara outlet — groundwater arriving at the surface after travelling kilometres underground

The technology behind khettaras originated as the qanat in ancient Persia (modern Iran), where the earliest examples date to roughly 1000 BCE. The technique spread across the Islamic world during the medieval golden age — reaching Morocco, North Africa, Spain, and Central Asia. In Morocco, khettaras were established from around the 10th–11th century, becoming the backbone of oasis agriculture in the arid south.

The same basic technology goes by different names across the world: qanat (Iran — UNESCO World Heritage), falaj (Oman — also UNESCO-listed), foggara (Algeria), acequia (Spain), and karez (Afghanistan, western China). All share the same principle: gravity-fed underground tunnels from aquifer to surface. Morocco’s khettaras are the westernmost branch of this global family of water engineering.

Khettaras didn’t just irrigate — they shaped entire communities. Water rights were communally managed, with precise allocation schedules determining which family received water on which day. This social organisation persists in some oasis towns today and is one of the oldest continuous systems of resource governance in North Africa. The Berber communities who built and maintained them passed the specialist knowledge through family lineages of well-diggers.

Where to See Khettaras

Lines of circular khettara shaft mounds visible across the Moroccan desert landscape
Khettara shaft mounds near Erfoud — each circular mound marks a vertical access shaft underground

Tafilalet & Merzouga (Largest Network)

The Tafilalet region — stretching from Erfoud through Rissani to Merzouga — has the largest surviving khettara network in Morocco. Historically, over 400 khettaras irrigated the palm groves and date plantations that made the Tafilalet one of the richest oasis regions in North Africa. Many are now abandoned (see “Why They’re Disappearing” below), but the shaft mounds remain visible across the landscape. The area around Erfoud also has a small khettara eco-museum where restoration efforts are on display.

Khettara eco-museum near Erfoud displaying the underground irrigation system and restoration efforts
Khettara eco-museum near Erfoud — a stop where visitors can learn about the irrigation system and restoration work

Skoura Oasis (Restoration)

The Skoura Oasis — home to Kasbah Amridil and thousands of palm trees — has been the site of community-led khettara restoration projects. Local families and NGOs have worked to reopen channels, clear collapsed sections, and reconnect khettaras to functioning water sources. Skoura is on the route of 4-day+ desert tours.

Marrakech Palmeraie (Historical)

Less well known: Marrakech’s own Palmeraie — the 13,000-hectare palm grove on the city’s northern edge — was historically irrigated by a khettara network. These are no longer functional (replaced by modern wells), but the history connects Marrakech itself to the broader khettara tradition. You can visit the Palmeraie on a 1-hour camel ride (€25).

MDT tours through khettara regions — March 2026
TourDurationKhettara RegionFrom
Shared Merzouga Tour3 daysTafilalet (Day 2)€95
Private Merzouga Tour3 daysTafilalet (Day 2)€195
4-Day Extended4 daysTafilalet + Skoura€275
Palmeraie Camel Ride1 hourMarrakech Palmeraie€25

Why They’re Disappearing

Looking down into a khettara vertical shaft in the Moroccan desert
A khettara vertical shaft — many have collapsed as maintenance stops and water tables drop

Despite their ingenious design, khettaras face serious threats. The biggest: modern deep wells and motor pumps. These extract water from the same aquifers but much faster than khettaras can recharge — lowering the water table below the level the khettara tunnels can reach. Once a khettara dries up, maintenance stops, shafts collapse, and the tunnel fills with sediment. Recovering a collapsed khettara is expensive and labour-intensive.

Climate change compounds the problem: reduced rainfall in southern Morocco means less aquifer recharge. Urbanisation and population growth increase demand. The result: hundreds of khettaras have been abandoned in the Tafilalet and Draa valleys over the past half-century. Conservation efforts exist — led by local NGOs, community groups, and international partners — but the pace of loss often outstrips restoration.

Traditional irrigation channels distributing khettara water through a desert oasis in Morocco
Surface irrigation channels in an oasis — the final stage where khettara water reaches fields and palm groves
Why it matters for visitors: The palm oases you see on a desert tour — the green corridors of date palms amid the brown desert — exist because of khettaras. When khettaras die, the oases die. Understanding this connection transforms what you see from a nice landscape into a story of engineering, community, and survival stretching back a millennium.
Key Takeaways

What: Gravity-fed underground tunnel from aquifer to surface. No pumps, no energy.

Origin: Persian qanat → Morocco ~10th century. Same family as falaj (Oman), foggara (Algeria).

Dimensions: Length 1–15 km, shaft depth 10–50 m, gradient ~1:1000.

Where: Tafilalet (400+ historic), Skoura (restoration), Marrakech Palmeraie (historical).

Threat: Modern pumps lowering water tables. Hundreds abandoned.

See them: On any 3-day desert tour from Marrakech — shaft mounds visible between Erfoud and Merzouga.

Frequently Asked Questions

A gravity-fed underground tunnel that channels groundwater to the surface — no pumps, no energy. Vertical shafts (10–50 m) connected by a sloping tunnel (1–15 km). From Persian qanat technology, in Morocco since ~10th century.
1–15 km typically. Gradient ~1:1000 (1 m drop per km). Vertical shafts every 10–30 m. The surface signs are lines of circular mounds stretching across the landscape.
Some are, but many have been abandoned. The Tafilalet had 400+ historically — many dried up as modern pumps lowered the water table. Restoration projects are underway in Skoura and parts of the Tafilalet.
Same technology, different names. Qanat (Iran), khettara (Morocco), falaj (Oman), foggara (Algeria), karez (Afghanistan). All gravity-fed underground tunnels from aquifer to surface.
The Tafilalet region (Erfoud–Merzouga) has the largest network. Look for lines of circular mounds. Also: Skoura Oasis (restored) and Marrakech Palmeraie (historical). Every 3-day desert tour from €95 passes through the Tafilalet on Day 2.
Every 3-day+ Merzouga tour crosses the Tafilalet. Shared from €95, private from €195. The 4-day tour adds Skoura. Ask your guide to point out the shaft mounds between Erfoud and Merzouga.
The qanat concept dates to roughly 1000 BCE in Persia (~3,000 years ago). Morocco’s khettaras date to around the 10th–11th century (~1,000 years ago). Qanats and falaj are still functioning in Iran and Oman today — some are UNESCO World Heritage listed.

See Morocco's Ancient Khettaras

Every 3-day desert tour from Marrakech crosses the Tafilalet — the heartland of Morocco's khettara network. Ask your guide to point out the shaft mounds.