Keptour
Sankore Mosque in Timbuktu, Mali, 2006.

Timbuktu, Mali · Mali

How Did Timbuktu History Grow From Trade to Learning?

Meet the imam who restored all three earthen mosques within a single century, and see how Sankore once counted 180 Koranic schools and 25,000 students in a desert trading town.

Published November 11, 2026

Manuscripts, salt, gold, cattle and grain all changed hands in the same place, a town at the edge of the Sahara that the world still knows by one name. That town is Timbuktu, and the UNESCO World Heritage page describes it as a crossroads and market for exactly those goods.

The puzzle at the heart of Timbuktu history is how a trading town also came to be known for a university and for its mosques. Following that thread through three earthen mosques explains the story more clearly than a long list of dates, so that is the route this article takes.

Where Is Timbuktu and Why Did It Matter?

Timbuktu sits at the edge of the Sahara, in a fertile area near a river, so the desert and the water meet close to the town. The town was founded in the 5th century. It reached its economic and cultural peak in the 15th and 16th centuries. During those centuries it served as a crossroads and market for manuscripts, salt, gold, cattle and grain.

It helps to think of Timbuktu less as a remote outpost and more as a stop on a long route. UNESCO describes it as a commercial, spiritual and cultural center on the southern trans-Saharan trading route, and each of those three words points to a different part of its legacy. Keep all three in mind, because the rest of the story moves from the first word to the other two.

How Did Trade Turn Timbuktu Into a Center of Learning?

A market town is a place people pass through to buy and sell, while a center of learning is a place people travel to in order to stay and study. Timbuktu became both, and it was home to the Koranic Sankore University and other madrasas. In the 15th and 16th centuries it was an intellectual and spiritual capital, as well as a center for the spread of Islam in Africa. The UNESCO video page describes Timbuktu as the home of the Sankore University and other madrasas.

The numbers show how far the change went. At its height, Sankore University counted 180 Koranic schools and 25,000 students, while the city itself had 100,000 inhabitants in the 16th century. Set next to each other, those two figures give a sense of how much room study took up in the life of the town.

Trade and learning met in one more way, because the goods sold in the market included manuscripts. That detail is the plainest link between the two halves of the story, since it places Timbuktu manuscripts in the same market as salt, gold and grain. It is easy to see how a town that traded in written texts could also become a town where texts were studied.

What Are the Three Main Mosques of Timbuktu?

The Timbuktu mosques at the center of its heritage are three, called Djingareyber, Sankore and Sidi Yahia, and the site also includes sixteen mausoleums and holy public places. According to UNESCO, these mosques and holy places played a key role in the early spread of Islam in Africa. So when the town is described as a spiritual capital, these are the buildings and places that give the phrase its meaning.

Here is a small challenge before you read on, and it takes less than a minute. Try to hold the three names in your head, because each one returns in the next two sections and each adds a slightly different piece to the picture. A simple trick is to tie each name to a person or an idea, with Djingareyber linked to a sultan, Sankore to the university and Sidi Yahia to a sheik. If you want to see the buildings behind the names, the UNESCO gallery page collects images of the site in one place.

How Are the Timbuktu Mosques Built of Earth?

The mosques of Timbuktu are described as exceptional examples of earthen architecture, which means earth is the material they are built from. In other words, the walls, the towers and the sanctuaries all come from the same ground the town stands on.

Two of the mosques have a feature that is easy to remember. At Djingareyber, the central minaret is a visible landmark of the city, the kind of feature that lets you place the mosque at a glance. At the Sankore Mosque, the mosque was rebuilt according to the dimensions of the Kaaba in Mecca, a detail that links a building at the edge of the Sahara to Mecca itself.

What Do the Mosque Histories Say About Timbuktu's Golden Age?

One name runs through the histories of all three mosques, and it belongs to Imam Al Aqib, the Qadi of Timbuktu. The first construction of Djingareyber is linked to Sultan Kankan Moussa, and Al Aqib rebuilt and enlarged it in the late 16th century. Sankore was built in the 14th century and restored by Al Aqib in the 16th century. Sidi Yahia was built about the turn of the 15th century by Sheik El Moktar Hamalla, and it too was restored by Al Aqib in the 16th century.

Seen through one person, the pattern becomes easy to follow. The same man left his mark on all three buildings within a single century, which ties the mosques to one period rather than to scattered moments in time. According to UNESCO, the mosques bear witness to the golden age of the intellectual and spiritual capital at the end of the Askia dynasty.

So the answer to the question in the title runs in a fairly neat line. Trade brought goods, manuscripts among them, along the southern trans-Saharan trading route, and learning grew around Sankore University and the madrasas. The mosques then record that peak in earth, through the work of a sultan, a sheik and an imam whose names are tied to them.

What Could You Add to Your Own Itinerary?

Knowing the story of a place before you plan a trip changes what you look for once you arrive, whether that is a market square, a university quarter or a house of worship. Create your own itinerary with Keptour by adding the places that catch your eye, arranging them into days and sharing the plan with whoever is coming along. Start with the history of each city on your list, and let that story decide which stops come first.

CultureHistoryArchitecture

From inspiration to departure

Your next trip starts with you.

You’ve found the ideas. Turn them into a route that fits your pace, your interests and your curiosity.

  • Choose your stops and plan your days.
  • Save your itinerary to your profile and return to it anytime.
  • Take your itinerary and map with you in the Android app.
Get the Android app