
4 min read
Morocco's history of astronomy and alchemy
Fez and Marrakech were once real centres of scholarship, astronomy included, within the wider Islamic world.
Written by Morocco Tailored Tours.
Fez's Al-Qarawiyyin, founded in 859 AD and recognised by UNESCO and Guinness World Records as the oldest existing, continually operating degree-granting institution in the world, was a genuine centre of scholarship across theology, law, mathematics, and astronomy, part of the wider network of learning connecting Morocco to Andalusia and the broader Islamic world during the medieval period.
Marrakech has its own claim through Ibn al-Banna al-Marrakushi, a 13th-century mathematician and astronomer born in the city. His work on arithmetic and astronomical tables belonged to a real tradition of applied astronomy across the Islamic world, driven largely by practical needs. Calculating prayer times and the direction of Mecca (qibla) required genuine astronomical and mathematical skill, and mosque orientation across Morocco still reflects that work.
Alchemy is a harder claim to pin specifically to Morocco. It was a real strand of scholarship across the medieval Islamic world more broadly, with figures like the earlier Jabir ibn Hayyan associated with its foundations, and Morocco's scholarly centres connected to that wider tradition through Andalusia. That's different from being an independent, separately documented alchemical centre in its own right, and it's worth knowing the difference before repeating a stronger claim than the history actually supports.
None of this is heavily signposted for visitors today; there's no "astronomy museum" built around it. But the Al-Qarawiyyin's library (partially viewable) and the sheer density of historic madrasas in Fez are about as close as you'll get to seeing this history in person instead of just reading about it.
Want to see how this works on a real route? Our 15-Day Morocco Tour from Casablanca via Rabat, Asilah and Ait Benhaddou and 7-Day Family Morocco Tour from Casablanca to Marrakech are private itineraries we can adjust to fit.
Planning around Fez? Read the Fez destination guide, browse all tours from Fez, or see 15-Day Morocco Tour from Casablanca via Rabat, Asilah and Ait Benhaddou, a sample itinerary that includes it.
A few common questions
Ready to see this in person?
15-Day Morocco Tour from Casablanca via Rabat, Asilah and Ait Benhaddou
A private 15-day Morocco tour from Casablanca that gives each region its own night: Rabat, Chefchaouen with an Akchour hike, Fez, two nights in the Sahara, a night in Ouarzazate, Marrakech and Essaouira. The coast road through Asilah and El Jadida bookends the trip, so you finish in Casablanca where you began.
More from the blog

Ramadan in Morocco: what changes, and what to expect as a visitor
The month shifts every year, and so does the rhythm of the country while it's happening.
Read article
The 9 UNESCO World Heritage Sites of Morocco
From the oldest medina in Fez to a Portuguese fortress on the Atlantic: the cultural sites on UNESCO's list, and how to visit them.
Read article
Understanding Moroccan culture: the basics that matter
Arab, Amazigh, Andalusian, and French influences overlap rather than replace each other.
Read articleTours for this trip

15-Day Morocco Tour from Casablanca via Rabat, Asilah and Ait Benhaddou
A private 15-day Morocco tour from Casablanca that gives each region its own night: Rabat, Chefchaouen with an Akchour hike, Fez, two nights in the Sahara, a night in Ouarzazate, Marrakech and Essaouira. The coast road through Asilah and El Jadida bookends the trip, so you finish in Casablanca where you began.
Visits Chefchaouen · Fez · Sahara Desert · Ait Benhaddou · Marrakech · Essaouira · +8 more
From€7,625(≈ $8,520 USD)€8,970 (≈ $10,020 USD)15% off, reserve by 17 Feb 2027per person, double or twin room

7-Day Family Morocco Tour from Casablanca to Marrakech
A private 7-day family tour of Morocco from Casablanca to Marrakech, built around things children actually remember: a giant mosque over the sea, the blue streets of Chefchaouen, Roman mosaics, wild monkeys in the cedar forest and a night under the stars in a Sahara camp. The pace is gentle at the start and gets wilder as the trip goes on.
Visits Chefchaouen · Fez · Sahara Desert · Todra and Dades Gorges · Ait Benhaddou · Marrakech · +5 more
From€1,741(≈ $1,945 USD)€2,048 (≈ $2,290 USD)15% off, reserve by 17 Feb 2027per person, double or twin room

10-Day Imperial Cities and Sahara Tour from Casablanca to Marrakech
A private 10-day Morocco tour from Casablanca to Marrakech that links the Atlantic coast, the blue Rif, the imperial cities and the Sahara. You get two nights at Erg Chebbi, a full day in Fez, a night in Ouarzazate and a morning in Marrakech before you leave, with no day rushed.
Visits Chefchaouen · Fez · Sahara Desert · Todra and Dades Gorges · Ait Benhaddou · Marrakech · +6 more
From€2,625(≈ $2,935 USD)€3,088 (≈ $3,450 USD)15% off, reserve by 17 Feb 2027per person, double or twin room
