Shali Fortress, Siwa: History of the Kershef Town and Its Ancient Mosque

As you enter Siwa, the first thing you notice is a hill crowned with tangled brown ruins that look, from a distance, as if they were carved from the rock. This is Shali Fortress, the fortified town where Siwans lived for seven centuries, and the oasis’s most famous and most photographed landmark.

What does “Shali” mean?

In the Siwi language, “Shali” is translated as “the town” or “home”. Shali was Siwa itself: the original settlement where the people gathered inside a single set of walls.

History of Shali

Shali was built in the 13th century on a rocky hill in the middle of the oasis to protect its people from raids by desert nomads. Its houses were tall and packed tightly together, with many small rooms and narrow, winding passages, so that strangers could hardly find their way inside.

People lived within the walls for about seven centuries, building upwards whenever space ran out, until the houses rose in layer upon layer.

Kershef: the secret of Shali’s construction

Shali was built of kershef, a local material made from mud mixed with salt from Siwa’s salt lakes, reinforced with palm trunks for roofs, posts and lintels. Kershef is an excellent natural insulator, keeping houses cool in the summer heat and warm on cold nights.

But kershef has one weakness: water. The salt that gives it its strength dissolves in the rain.

The rains of 1926: the end of an era

In 1926 heavy rain fell on Siwa for three days, and many of Shali’s houses collapsed. Most residents left the walls and built new homes on and around the edges of the hill, leaving old Shali as ruins with few inhabitants, which some came to call the “city of ghosts”. Further rains in the following decades added to the damage.

The Old Mosque

At the northern end of Shali stands the Old Mosque, completed in 1203 AD and one of the oldest surviving kershef mosques in the world. Its walls still bear the handprints of the original builders. It has been carefully restored, and other mosques in the Shali maze are still in use.

Restoring Shali

In 2018 an EU-funded project began to restore Shali and preserve what remains, rehabilitating its passages, its main wall and several houses, using kershef recovered from the fortress’s own rubble. A space was added where Siwan artisans sell their crafts in the style of the old markets, and the restored fortress was inaugurated in November 2020 as an eco-tourism destination.

Visiting Shali

  • Location: in the centre of Siwa town, overlooking the main market.
  • Best time: just before sunset, when the kershef glows golden and the whole oasis, with its palms and lakes, spreads out below.
  • Suggested time: one to two hours to wander the passages and climb to the top.
  • Tip: wear comfortable shoes, as the paths are steep and uneven, and respect the houses that are still lived in.

Frequently asked questions

When was Shali Fortress built?

In the 13th century; its Old Mosque was completed in 1203.

What is Shali built of?

Kershef: mud mixed with salt from the lakes, with palm trunks.

Why was Shali abandoned?

After three days of heavy rain in 1926 caused many of its houses to collapse.

15 views