Well Before Wall Street: Morocco’s Mountain Granaries Might Be the World’s Earliest Banking Institutions

agadir granary banking system morocco berber 7
These old granary ‘safes’ could constitute the world’s oldest banking system. Photo: ArnoldBetten

Scattered across North Africa’s mountainous regions, particularly in Morocco’s High Atlas and Anti-Atlas mountains, stand remarkable fortified structures that some historians consider to be the world’s oldest banking institutions. These communal granaries, known as “agadirs” or “igudar,” were built by the indigenous Amazigh people (also known as Berbers) as early as the 13th century, although their exact origins are difficult to pinpoint. Some experts suggest they may be even much older, since the Amazigh have inhabited North Africa for thousands of years.

These impressive structures served multiple functions: they protected valuable goods, facilitated trade, and created a sophisticated financial system that helped communities thrive in harsh mountain environments. Each Amazigh family owned a dedicated storage space within these fortified compounds, where they could safely store everything from food and jewelry to important documents and weapons.

agadir granary banking system morocco berber 1
The Inoummar agadir is the largest granary in the Western Anti-Atlas (576 huts), near Ait Baha, on the road from Agadir to Tafraoute. Photo: Nicolas Hoizey

What made these agadirs truly revolutionary was their complex management system. Each facility operated under strict protocols, with designated officials overseeing operations. A secretary called the “Lamine” managed day-to-day operations, while a group of ten tribal representatives known as the “Inflas” handled broader governance issues. An “Amir” served as the key holder, receiving payment for protecting the community’s valuables.

agadir granary banking system morocco berber 5
Interior view of the Tasguent agadir. Photo: Emmanuel Roquette

While the practice of money lending dates back to ancient Mesopotamian merchants providing grain loans around 2000 BCE, and though temples served as financial centers in ancient Greece and Rome, the concept of a dedicated bank building to deposit valuables may have originated with the Amazigh (Berber) agadirs of North Africa. These remarkable fortified structures served as communal granaries and primitive banks, where local populations could securely store their valuables and engage in their collective management.

“I say, these collective granaries may be the first indication of the emergence of banks, because when we say a bank, it’s a secure place to protect property. These are as old as these mountains, it is difficult to even determine the date of their establishment,” research professor and civil society activist, Khalid Alaroud told Reuters.

agadir granary banking system morocco berber 10
Interior of a granary store at Agadir Imi’m Korn. Photo: ArnoldBetten

The architectural design of these structures reflected their important role. Built in elevated, rocky locations, agadirs typically combined elements of both granary and citadel. Some were constructed using rammed earth, while others utilized dry stone masonry. The larger stone-built facilities featured multiple stories connected by narrow internal alleys, with cell-like rooms accessible via protruding stones that functioned as crude stairs.

agadir granary banking system morocco berber 2
Elevated and fortified, these granaries protected grain stores and other valuables. Photo: ArnoldBetten

One of the most impressive examples is Agadir Imchguiguiln, which has stood for over 700 years. Recent renovation work revealed its remarkable scale: 130 individual storage units, a central square, a mosque, and even a prison cell. This particular agadir demonstrates how these structures weren’t just banks – they were complete community centers that played a crucial role in tribal life.

The sophistication of these early banking centers is evident in their record-keeping system. The management used tablets or boards to track stored valuables and their owners, creating an early version of modern banking ledgers. Some agadirs were even large enough to serve as emergency shelters during times of conflict, and many included space for cats, which protected valuable goods from rodents.

agadir granary banking system morocco berber 3
A “safe” at the Tasguent agadir. The hole on the side of the door allows cats to enter and hunt rodents inside of the locked granary. Photo: Emmanuel Roquette

Today, of the approximately 550 agadirs scattered across central and southern Morocco, most have fallen into disuse. According to the Moroccan Ministry of Culture, only a small percentage remain actively maintained. However, their legacy as pioneering financial institutions lives on, and the Moroccan government is working to secure UNESCO recognition for these remarkable structures.

agadir granary banking system morocco berber 6
Some agadirs, such as these ones in Tizgui (top) and Ifri (bottom), are found at breathtaking and impossible locations. Photos: MarokkoErfahren 1, 2

The agadirs evolved from even earlier storage practices. During their nomadic period, Amazigh tribes used mountain caves to store food and valuables. As communities settled later on, these storage systems evolved into the more sophisticated agadir system, which continued to serve communities for hundreds, if not thousands, of years.

    Stay part of the Mission! Get our latest articles to your inbox!

    agadir granary banking system morocco berber 11
    Content of individual cells written on wooden rolls, Agadir de Tasguent. Photo: Emmanuel Roquette

    These structures represent more than just practical storage solutions – they embody a sophisticated social contract based on mutual trust and cooperation. Each agadir operated under specific customary laws developed by local communities, creating a system that successfully managed shared resources and mediated potential conflicts.

    agadir granary banking system morocco berber 8
    Similar community granaries are found in Southern Tunisia (where they were called kasbah or ghorfa – pictured) and Algeria (in the Aurès Mountains, where they were known as gal’a, though they were disappearing by the late 20th century). Photo: Bernard Gagnon

    The durability of this banking system is particularly impressive considering the harsh environmental conditions and political upheavals it survived. While modern banks rely on advanced technology and complex financial instruments, these mountain fortresses achieved similar goals through clever architecture, community organization, and social innovation.

    Sources: 1, 2, 3, 4

    Earthly Mission is done by two guys driven by the love for what we are doing. Please kindly consider keeping us going – every bit helps!

    DonateDonate
    Written by Tamás Varga
    Photo of author
    A sociologist and English major by degree, I've worked in the area of civil society & human rights and have been blogging in the fields of travel, nature & science for over 20 years.

    Check out my other project (especially if you're planning to visit Budapest soon) 👇

    Day Trips from Budapest
    Earthly Mission
    error: