Quick Answer — What Is a Khettara?

A khettara is a gravity-fed underground irrigation tunnel: a "mother well" sunk to the water table at the foot of the mountains, a tunnel 1–20 km long sloping about 1–2 metres per kilometre to the oasis, and vertical shafts every 10–30 metres whose spoil mounds are the lines of craters you'll see from the road and the balloon. No pump, no energy, no evaporation. The technology is the Persian qanat, carried west with Islam and dug in Morocco from the 11th century — Marrakech's 500 by the Almoravids from the 1070s, the Tafilalet's 400 around Erfoud and Rissani, Skoura's, the Draa's. Water is shared by the hour on a rota as old as the deeds. Most are dry now, killed by motor pumps since the 1970s; a few dozen still run in Marrakech, Skoura, and the Tafilalet, and the museum at Fezna lets you walk into one. Every Merzouga tour crosses khettara country on Day 2; the 4-day tour stops — the tours are in the table below.

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

How a Khettara Works

Start at the mountain. Rain and snowmelt on the Atlas sink into the gravel fans at its foot and move slowly downhill underground, a water table that lies ten to fifty metres below the surface and deeper the further you go from the hills. A khettara catches it where it’s shallow and brings it to where it’s needed. The mother well — the oum — is sunk at the top until it finds the water; from its foot a tunnel is dug towards the oasis, sloping less steeply than the land does — a metre or two of fall per kilometre — so that the ground surface comes down to meet the tunnel and the water, following its gentle grade, surfaces at the edge of the groves as a running channel. Above the tunnel, every ten to thirty metres, a vertical shaft: the diggers’ way in and the spoil’s way out during construction, the air shaft and the maintenance hatch ever after. The spoil from each shaft is heaped around its mouth, which is why a khettara shows on the surface as a line of craters marching down the plain, and from the balloon over Marrakech as rows of pockmarks across the palmeraie.

No pump, no energy, no evaporation: the water travels underground in the cool and the dark, surfaces in the shade of the palms, and runs all year at the steady rate the aquifer gives — a few litres a second from a small khettara, a stream from a big one. Where it emerges it’s split into the seguias, the open channels that take it through the fields on the rota described below.

Key Facts

Khettaras at a glance — November 2026
FactDetail
What it isAn underground canal carrying groundwater by gravity from an aquifer to an oasis
OriginThe Persian qanat, ~1000 BC; carried west with Islam; in Morocco from the 11th century
Marrakech~500 khettaras dug by the Almoravids from the 1070s — the engineer Ubayd Allah ibn Yunus is named in the chronicles; a few dozen still run
The Tafilalet~400 around Erfoud, Jorf, Fezna, and Rissani — the largest network; about half dry
AlsoSkoura, the Draa, Figuig, the Haouz plain, Hassi Labied at Merzouga
Tunnel length1–20 km; the longest in Marrakech ran over 20
Shaft depth10–50 m at the mother well, shallowing to the outlet
Shaft spacingEvery 10–30 m — the line of mounds on the surface
GradientAbout 1–2 m per km — enough to flow, not enough to erode
FlowA few litres a second to a small stream, all year
EnergyNone: gravity, and the labour of digging
The diggingBy specialist teams — the khattatiri — with picks, baskets, and a plumb line; years for a long one
Water rightsShared by the hour on a rota, inherited and sold like land
The threatMotor pumps since the 1970s, dams, drought, the exodus of the diggers
Names elsewhereQanat (Iran), karez (Afghanistan, Xinjiang), foggara (Algeria), falaj (Oman), acequia (Spain, New Mexico)

How They Were Dug — The Khattatiri

A khettara was dug by a trade. The khattatiri were specialist teams, often from the Tafilalet and the Draa, who hired themselves to a village or a sultan: a master who could read the land and the water, two or three diggers, and the boys who hauled the baskets. The master found the water first — by the plants, the morning dew, the trial wells — and sank the mother well; then the line was set out on the surface with stakes and a plumb line, the shafts sunk at intervals, and the tunnel dug from shaft to shaft, a man’s height and a shoulder’s width, by pick and oil lamp, the spoil hauled up in baskets on a rope and heaped at the mouth. The grade was kept by water in a trough and by the master’s eye; the tunnel was lined with stone where the ground was soft and left bare in rock; and the whole thing for a long khettara took years and the lives of men, because the roof came down. Every spring the channel was cleaned — a man in the tunnel, a line of villagers at the shafts — and a khettara maintained was a khettara that ran for centuries; a khettara neglected silted in a decade. The trade died with the pumps: the last masters in the Tafilalet are old men now, and the restoration projects of the past twenty years have had to relearn the craft from them.

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

Water in Hours — The Rota

A khettara’s water belongs to the people who dug it and their heirs, and it’s shared not by volume but by time. The flow is divided into turns — the nouba — and each family holds a number of hours in the cycle, which runs a week, ten days, or a fortnight depending on the khettara: so many hours on so many days, when the sluice to your field is opened and everyone else’s is shut. The hours were measured by a water clock — a bowl with a pinhole that sank in a basin — or by the shadow of a stick on a marked stone, and today by a wristwatch and the same stone. Shares are inherited, divided among sons, sold, mortgaged, and argued over at the mosque, where the amin el ma — the water master, elected by the shareholders — keeps the register and settles the disputes; a share of water is worth more than the land it waters, and a marriage can be made for one. It’s the oldest institution in the oasis, older than any state that’s governed it, and it still runs the fields at Skoura and in the Tafilalet exactly as it did when the Amazigh families who hold the shares first dug the channels.

From Persia to Marrakech — A Thousand Years Underground

The idea is Persian and about three thousand years old: the qanats of Iran, where whole cities still drink from them, were the first, and the technology travelled with armies and with Islam — east to Afghanistan and Xinjiang as the karez, south to Oman as the falaj, west across North Africa as the foggara of the Algerian Sahara, and on to Spain, where the Arabic as-saqiya became the acequia and crossed the Atlantic with the conquistadors to New Mexico, whose acequia associations still meet. In Morocco it has its own name, khettara, and its own moment: the Almoravids, the Berber dynasty from the Sahara, founded Marrakech in 1070 on a plain with no river, and within a decade their engineer — Ubayd Allah ibn Yunus, named in the chronicles — had dug the first khettaras from the foot of the Atlas to the new city. Five hundred followed over the centuries, a web of tunnels under the Haouz plain that watered the palmeraie, filled the Menara’s basin and the Agdal’s, ran the fountains of the Medina, and made a capital possible in a place that had no business having one. The things to do in Marrakech are, most of them, things the khettaras made.

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

The Tafilalet — The Sahara’s Largest Oasis

East of the Atlas, where the Ziz and the Rheris rivers run out into the desert, the Tafilalet is the biggest oasis in the Moroccan Sahara and the one the khettaras built most completely: about four hundred of them around Erfoud, Jorf, Fezna, and Rissani, dug over a thousand years to carry the aquifer under the hamada to a palm grove of a million trees — the Mejhoul dates, Sijilmasa the caravan capital, the ksour of the Alaouite dynasty, which came from here. The shaft lines are the landscape: on the road from Erfoud to Rissani and on to Merzouga, the rows of craters run beside you for kilometres, dozens of khettaras side by side, most of them dry. About half still carry water. What the oasis holds, and the dunes beyond it, is in our Merzouga guide.

Where to See One Run

Fezna and Jorf, on the Erfoud road: the Tafilalet’s khettara museum at Fezna, 15 km before Erfoud, is the one place a visitor can go underground — down a shaft by a ladder into a working tunnel, with the water running past your feet in the dark and the shafts’ light every twenty metres; a guide from the village walks you through and explains the rota, 20–30 MAD, half an hour. The 4-day tours pass it on Day 2 and stop on request.

Hassi Labied, at Merzouga: the khettara that waters the last gardens before Erg Chebbi — walk from the village to the groves and the channel is there, running to the beds of alfalfa and henna with the dunes rising behind.

Skoura: the oasis is khettara-fed and the shaft lines cross the stony ground north of the groves; the walk between the kasbahs crosses the seguias, and the Skoura guide has the oasis as a system.

Marrakech: the Menara’s basin still fills from a khettara, the palmeraie’s surviving channels run to the gardens, and the best view of the whole network is from the air — the Sunrise Hot Air Balloon Ride in Marrakech lifts off over the Haouz plain, and the shaft lines below are the picture of this page.

On the crossings between Marrakech and Fes: the Private 4-Day Marrakech to Fes Desert Tour and the Private 4-Day Fes to Marrakech Desert Tour both run the Tafilalet road with the time to stop at Fezna.

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

Why They’re Dying — And What’s Being Done

A khettara runs on a water table, and since the 1970s the water table has been drunk from underneath. Diesel and then electric pumps let a farmer sink a well and draw in an hour what a khettara gave in a day, and every pumped well lowered the aquifer below the khettaras’ mother wells; one by one they went dry — most of Marrakech’s five hundred, half the Tafilalet’s four hundred, nearly all the Draa’s. The dams added to it: the Mansour Eddahbi at Ouarzazate (1972) and the Hassan Addakhil on the Ziz (1971) regulate the rivers that once flooded the plains and recharged the aquifers. Then the drought years of the 2000s and 2020s, the Bayoud fungus in the palms, and the exodus — the young to the cities, the diggers’ trade with them — so that a khettara that silted had nobody to clean it. The palmeraie of Marrakech lost two-thirds of its trees as its khettaras died, and the oases of the south have thinned the same way.

What’s being done: restoration projects in the Tafilalet and at Skoura since the 2000s have relined and recleaned dozens of channels, with the last masters teaching the work. In 2026 UNESCO granted Morocco preparatory assistance to nominate the knowledge and skills of the khettaras for its list of intangible heritage in need of urgent safeguarding — an inventory, a film, and a dossier, funded because the diggers’ trade is dying with its last masters; the nomination is in preparation, not yet inscribed. And in Marrakech the Menara and the Agdal are kept running as the city’s showcase.

Honestly, it’s a rearguard — the pumps are not going away — but a khettara that runs is a grove that lives, and the villages that have restored theirs have the dates to show for it.

What the Water Grows — The Oasis in Three Storeys

A khettara’s water surfaces at the top of the grove and runs through it in the seguias, and what it grows is arranged by the water’s own logic. The date palms stand highest — the canopy that shades everything and the crop that pays, the Mejhoul and Boufeggous of the Tafilalet and the Draa, harvested in October from the tops of the trees. Beneath them the fruit trees — olive, almond, pomegranate, fig, apricot — in the half-shade the palms make. And on the ground, in the full shade of both, the crops that feed the family and the animals: wheat and barley in winter, alfalfa for the mules and the goats, vegetables, henna, and the mint for the tea. Every square metre is worked three times over, every drop of water used by three crops as it soaks down, and the whole thing — the dates, the olives, the bread, the henna on a bride’s hands — runs on a channel dug a thousand years ago that nobody can see.

When the khettara dries, the ground crops go first, then the fruit trees, and the palms last; a grove of dead palms with nothing beneath them is a khettara that stopped twenty years ago.
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

Tours Through Khettara Country

MDT tours through Morocco’s khettara country — prices verified November 2026
TourDurationKhettaras on the routeFrom
4 Days Marrakech to Merzouga Desert Tour4 daysSkoura’s on Day 1; the Tafilalet’s shaft lines and the Fezna museum on Day 2, on request; Hassi Labied at the dunes€275
Shared 3-Day Marrakech to Merzouga Desert Tour3 daysThe Tafilalet’s shaft lines from the road on Day 2; the drivers point them out€95
Private 3 Days Marrakech to Merzouga Desert Tour3 daysThe same road at your pace; the Fezna stop on request€195
Camel Ride in the Marrakech Palmeraie1 hourThe palmeraie the khettaras made, and the surviving channels at the gardens€25

Ask your driver for the khettaras: every one of ours knows where the shaft lines run and which channels still carry water, and the Fezna museum is thirty minutes that make the rest of the Tafilalet legible.

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
Key Takeaways

What: An underground canal from the foot of the mountains to an oasis, by gravity alone — a mother well, a tunnel sloping a metre or two per kilometre, shafts every 10–30 m whose spoil is the line of craters on the surface.

Where from: The Persian qanat, 3,000 years old; in Morocco from the 11th century — Marrakech’s 500 dug by the Almoravids from the 1070s, the Tafilalet’s 400.

Who: The khattatiri, the specialist diggers, by pick and lamp, for years; a trade now almost gone.

How shared: By the hour on a rota, inherited and sold, kept by the water master.

Why dying: Motor pumps since the 1970s, the dams, drought, the diggers’ exodus — most of Marrakech’s dry, half the Tafilalet’s.

What’s being done: Restorations in the Tafilalet and Skoura; a UNESCO urgent-safeguarding nomination in preparation.

Where to see one: The museum at Fezna, Hassi Labied’s gardens at Merzouga, Skoura’s groves, the Menara in Marrakech, the shaft lines from the balloon.

Frequently Asked Questions

An underground irrigation canal: a mother well sunk to the water table at the foot of the mountains, a tunnel sloping gently to an oasis up to twenty kilometres away, and a line of vertical shafts above it. Water flows by gravity alone, underground, all year — no pump, no energy, no evaporation. It's the Persian qanat under its Moroccan name.
The tunnel is dug with less slope than the land above it — about a metre or two per kilometre — so the ground surface descends to meet it and the water, following the grade, emerges at the edge of the grove as a running channel. From there open seguias carry it through the fields on a rota.
The qanat was invented in Persia about 3,000 years ago; in Morocco the first khettaras were dug in the 11th century — Marrakech's from the 1070s, under the Almoravids and their engineer Ubayd Allah ibn Yunus. Some have run for nine centuries; UNESCO is now preparing a nomination of the khettaras' knowledge and skills for its urgent-safeguarding list.
None in the engineering — they're the same technology under different names: qanat in Iran, karez in Afghanistan and Xinjiang, falaj in Oman, foggara in the Algerian Sahara, acequia in Spain and New Mexico, khettara in Morocco.
Some. Most are dry — motor pumps since the 1970s lowered the water table below their mother wells — but a few dozen still run in Marrakech, about half the Tafilalet's 400 carry water, and Skoura's and Hassi Labied's feed their groves. Restoration projects have revived dozens in the past twenty years.
Inside one at the museum in Fezna, on the Erfoud road, where a ladder takes you down a shaft into the running tunnel; the shaft lines beside the road from Erfoud to Merzouga; the gardens of Hassi Labied at the foot of Erg Chebbi; the groves of Skoura; the Menara's basin in Marrakech; and, best of all, the whole network from the balloon over the Haouz plain.
Each mound is the spoil heaped around a vertical shaft, and the shafts follow the tunnel beneath them every 10–30 metres from the mother well to the oasis — so a khettara shows on the surface as a straight line of craters, and the Tafilalet's plains show dozens of them side by side.
Every Merzouga tour crosses the Tafilalet's khettara country on Day 2 and the drivers point out the shaft lines; the 4-day tour stops at Skoura's oasis on Day 1 and at the Fezna museum on request; private tours stop wherever you ask.

The channels under the desert

A private desert tour runs the khettara road at your pace — Skoura's groves, the museum at Fezna, Hassi Labied's gardens at the dunes — with a driver who knows where the water still runs.