Arab migrations to the Maghreb
Medieval migrations of Arabs to the Maghreb
Read the original on Wikipedia ↗ Last updated from Wikipedia: 4 December 2026
Map depicting the routes Umayyad armies took during the Arab conquest of the Maghreb in the 7th century[1] | |
| Date | c. 7th century — 17th century |
|---|---|
| Location | |
| Cause | See §Causes |
| Participants | Total unknown: |
| Outcome |
|
The Arab migrations to the Maghreb[b] involved successive waves of migration and settlement by Arab peoples in the Maghreb region of North Africa, encompassing modern-day Algeria, Libya, Morocco and Tunisia. The process took place over several centuries, from the early 7th century to the 17th century. The Arab migrants hailed from the Middle East, particularly the Arabian Peninsula, with later groups arriving from the Levant and Iraq.
The influx of Arabs to the Maghreb began in the 7th century with the Arab conquest of the Maghreb, when Arab armies conquered the region as part of the early Muslim conquests. This initial wave was followed by subsequent periods of migration and settlement, notably during the Umayyad and Abbasid caliphates and later Arab dynasties. However, the most significant wave occurred in the 11th century with the arrival of more Bedouin tribes from the Arabian Peninsula, such as Banu Hilal, Banu Sulaym, and Maqil. The last notable influx was from Al-Andalus in the 17th century as a result of the Reconquista. These migrants established numerous Arab empires and dynasties in the Maghreb, such as the Aghlabids, Idrisids, Sulaymanids, Salihids, Fatimids, Saadians and 'Alawites.
Arab migration had a profound impact on the culture and demographics of the Maghreb. Over centuries, the region underwent a process of Arabization, in which the indigenous Berber population adopted the Arabic language and culture.[4][6][7][5] While genetic studies show high continuity with pre-Arab populations,[11] several million Berbers underwent an ethno-socio-linguistic transformation following the migration of several tens thousands of Bedouins.[12] Historians have characterized the Arab migrations, particularly those of the Hilalians, as the most significant event in the medieval history of the Maghreb.[13]
There were multiple factors that caused Arabs to migrate to the Maghreb. The first Arabs arrived in the 7th century with the goals of conquering Byzantine territories in the Maghreb and spreading Islam to the local populations, as well as protecting Egypt "from flank attack by Byzantine Cyrene" according to historian Will Durant (opens on Wikipedia).[14] The Arabs who arrived in the 11th century were driven by factors such as instability and political unrest in the Mashriq. Arab immigration from the Mashriq to the Maghreb increased during periods of unrest and disorder.[15] During a period of severe drought in Egypt due to a fall in the level of the Nile river, as well as plague and economic crisis, Bedouin tribes such as Banu Hilal and Banu Sulaym moved to the Maghreb, where the economic situation was better. The Fatimid caliph also persuaded them to march westwards by giving each tribesman a camel and money and helping them cross from the east to the west bank of the Nile.[16]
Other Arab nomads were encouraged to settle in the Maghreb by local Arab dynasties, such as the Idrisids, Aghlabids, Salihids and Fatimids, to fulfil the Arabization of the non-Arab populations.[15] Commercial activities such as the Trans-Saharan trade boosted the expansion of Islam and spread of Arabic, and trade with the Mashriq brought several Arab groups to the Maghreb.[15] The Arab emigrants to the Maghreb from the 15th to the 17th century were largely refugees from Al-Andalus who left Christian Spanish persecution following the Fall of Granada in 1492.[17]
Rashidun and Umayyad era (7th–8th century)
Arab migration to the Maghreb first started in the 7th century with the Arab conquest of the Maghreb. This first started in 647 under the Rashidun Caliphate, when Abdallah ibn Sa'd led the invasion with 20,000 soldiers from Medina in the Arabian Peninsula, swiftly taking over Tripolitania and then defeating a much larger Byzantine army at the Battle of Sufetula in the same year, forcing the new Byzantine Exarch of Africa to pay tribute.[18] By the late 7th century, the surge in Arab migration eventually succeeded in overcoming both Berber and Byzantine resistance. This gradual process led to the conversion of the Berbers to Islam and the full integration of the entire Maghreb into the Umayyad Caliphate.[19] The Berbers embraced Islam en masse during the conquest, initially with limited commitment, although they continued to adhere to the religion due to its clear and simple doctrine, which strongly appealed to them.[20] Throughout the period of conquest, Arab migrants settled in all parts of the Maghreb, arriving as peaceful newcomers who were welcomed everywhere. Large Arab settlements were established in several areas. A considerable portion of the Arab settlers belonged to the Najdi (opens on Wikipedia) tribe of Banu Tamim.[20] During the earliest Muslim conquests in the 7th to 8th centuries, about 150,000 Arabs settled in the Maghreb.[21][3][2][22]
Arabs arrived in the Maghreb in large numbers after an expedition by the Banu Muzaina (opens on Wikipedia) tribe to the Maghreb under the leadership of Zayd ibn Haritha al-Kalbi (opens on Wikipedia) in the 7th or 8th century.[23] The Arab Muslim conquerors left a significantly more lasting influence on the culture of the Maghreb compared to earlier and later conquerors, and by the 11th century, the Berbers had undergone significant Islamization and Arabization.[24]

The Umayyad conquest introduced 50,000 Arab troops who had originally served in Egypt. These soldiers, along with their descendants, formed a hereditary ruling class, with very few elites being outsiders. These soldiers were rewarded with land grants, creating an Arab aristocracy that controlled substantial territories, which were primarily cultivated by slaves from sub-Saharan Africa. One notable example of this aristocracy were the Fihrids, descendants of Uqba ibn Nafi, who held a privileged status in both Ifriqiyan (modern-day Tunisia) and Andalusi society. Additionally, there were other influential Arab settlers, particularly those of Qurayshi ancestry.[25] Arab settlers mostly settled in cities, such as Kairouan, until the migration of the nomadic Banu Hilal and Banu Sulaym in the 11th century.[26] During this time, the majority of Maghrebi Arabs were Qahtanites from South Arabia.[27]
The Umayyad Caliphate was aware of the importance of the spread and settlement of Arabs in the Maghreb to the Caliph. Umayyad Caliph Hisham ibn Abd al-Malik (opens on Wikipedia) swore that he would send a large army and added "I will not leave a single Berber compound without pitching beside it a tent of a tribesman from Qays (opens on Wikipedia) or Tamim".[15]
Abbasid era (8th century)
The Abbasids reconquered Ifriqiya in 761 from the Kharijites (opens on Wikipedia) that took over the region following the fall of the Muhallabids (opens on Wikipedia).[28] During the rule of the Abbasid Caliphate, there was a great influx of Khurasani Arabs (opens on Wikipedia) from Iraq to the Maghreb. These were mostly North Arabian tribes, among them was the Najdi (opens on Wikipedia) tribe of Banu Tamim. This shifted the tribal balance of Ifriqiya in favor of the North Arabian Adnanite tribes who became the majority, to the detriment of the formerly more numerous South Arabian Qahtanite tribes.[27]
Aghlabid, Idrisid, and Fatimid era (9th–10th century)

In 800, Ibrahim ibn al-Aghlab was appointed as governor of Ifriqiya by the Abbasid caliph Harun al-Rashid. He founded the Aghlabid dynasty, a dynasty of emirs from the tribe of Banu Tamim. During this time, Arab migration increased in numbers due to the anti-Kharijite wars against the Rustamid dynasty.[29] The structure of the Aghlabid army was largely derived from the Arab tribes that settled in Ifriqiya during the late 7th and 8th centuries. The soldiers were likely paid at specific intervals, with cavalry earning twice as much as infantry due to the higher expenses associated with their horses and equipment.[30] These troops were called the jund (opens on Wikipedia), descendants of Arab tribesmen who had participated in the Muslim conquest of the Maghreb. They often rebelled against the Aghlabid regime.[31]
In 789, Ali ibn Abi Talib (opens on Wikipedia)'s descendant Idris ibn Abdallah fled from the Hejaz and arrived in Tangier after the failed revolt against the Abbasids in the Battle of Fakhkh (opens on Wikipedia). He later moved to Walili and founded the city of Fez in the same year. He founded the Hashemite Idrisid dynasty, which established control over modern-day Morocco and western Algeria. The Idrisid dynasty played an important role in the early Islamization of the area, and contributed to an increase in Arab migration and Arabization in major urban centers of the western Maghreb.[32] Several Shia Arabs rapidly flocked to Fez, Arabizing the region. Fez experienced large waves of Arab migration, including one which involved 800 Arabs from Al-Andalus in 818 and one which involved 2,000 Arab families from Ifriqiya in 824.[33]
At the beginning of the 10th century, several Ismaili Shia refugees from the Abbasid Caliphate settled among the Kutama Berbers of present-day Algeria.[34] In 893, an Arab Shia missionary known as Abu Abdallah al-Shi'i arrived in the Maghreb from Yemen, who subsequently converted the Kutama of northeastern Algeria to Ismaili Shi'ism. These came under the rule of the Fatimid dynasty, who organized an army to fight the Sunni Aghlabid dynasty of Ifriqiya. After numerous battles against the Aghlabids, the Fatimids emerged victorious in 909 and conquered Ifriqiya, establishing the Fatimid Caliphate.[35]
These Arab political entities, in addition to the Salihids and Fatimids, were influential in encouraging Arabization by attracting Arab migrants and by promoting Arab culture.[36] In addition, disturbances and political unrest in the Mashriq compelled the Arabs to migrate to the Maghreb in search of security and stability. Arab immigration from the Mashriq to the Maghreb increased during periods of unrest and disorder.[15]
Arab tribes in the Maghreb (9th century)
By the 3rd century AH (9th century CE), there were numerous Arab tribes in the Maghreb. According to al-Ya'qubi (opens on Wikipedia), in the mountains near Cyrenaica were the Arab tribes of Azd (opens on Wikipedia), Lakhm (opens on Wikipedia), Judham, al-Sadaf, and other Yemenite tribes (opens on Wikipedia) on the eastern mountain, and Ghassan (opens on Wikipedia), Judham, Azd, Tujayb and others on the western mountain. In Waddan, there was a group that claimed to be Yemenite, and in Zawila, there were Arabs from the region of Khurasan (opens on Wikipedia) and the cities of Basra (opens on Wikipedia) and Kufa (opens on Wikipedia).[15]
In Kairouan, there were Arabs from Quraysh and other tribes within the groupings of Mudar (opens on Wikipedia), Rabi'a (opens on Wikipedia) and Qahtan. In nearby Al-Jazira, there were Arabs from Banu Adi (opens on Wikipedia) and other groups. In Satfura, there were people from Quraysh and Quda'a (opens on Wikipedia), in Baja there were people from Banu Hashim, and in Majjana there were people from Diyar Rabi'a (opens on Wikipedia).[15]
In al-Zab, in its capital Tobna, there was Quraysh, and other Arabs. In Sétif, there were tribesmen from Banu Asad ibn Khuzaymah (opens on Wikipedia). In Bilizma, the population consisted of tribesmen from Banu Tamim. Al-Ya'qubi's information does not include the whole Maghreb, such as the western Maghreb where the Idrisids arrived with Arab tribes and encouraged other Arabs to arrive.[15]
Banu Hilal and Banu Sulaym (11th–12th century)

The 11th century witnessed the most significant wave of Arab migration, surpassing all previous movements. According to traditional narratives like those pushed by Ibn Khaldun, this event unfolded when the Zirid dynasty of Ifriqiya proclaimed its independence from the Fatimid Caliphate of Egypt. In retribution against the Zirids, the Fatimids dispatched large Bedouin Arab tribes, mainly the Banu Hilal and Banu Sulaym, to defeat the Zirids and settle in the Maghreb. These tribes followed a nomadic lifestyle and were originally from the Hejaz and Najd (opens on Wikipedia).[23][38]
To encourage the Banu Hilal and Banu Sulaym to migrate to the Maghreb, the Fatimid caliph provided each tribesman with a camel and financial support and assisted them in crossing from the eastern to the westwen bank of the Nile River. The harsh drought and subsequent economic crisis in Egypt at the time further motivated these tribes to relocate to the Maghreb, which had a better economic situation at the time. The Fatimid caliph instructed them to rule the Maghreb instead of the Zirid emir Al-Mu'izz and told them "I have given you the Maghrib and the rule of al-Mu'izz ibn Balkīn as-Sanhājī the runaway slave. You will want for nothing." and told Al-Mu'izz "I have sent you horses and put brave men on them so that God might accomplish a matter already enacted".[16]
However, many modern historians now reject this narrative as a piece of propaganda that the Fatimids constructed capitalising on the victories of the Banu Hilal to bolster their own image.[39][40][41][42]

Upon their arrival in Cyrenaica, the Arab nomads discovered that the region was almost empty of its inhabitants, with only a few Zenata Berbers remaining, most of whom had been largely destroyed by Al-Mu'izz.[16]
Estimates of the number of people involved in the Hilalian migration vary considerably among historians. Gabriel Camps estimated the number of warriors at several tens of thousands,[43] while other estimates range from 50,000 people leaving Egypt[44] to 150,000[45]–200,000 migrants, including approximately 50,000 warriors.[46] The figure of 50,000 warriors is also given by Leo Africanus, who based his account on the medieval chronicler Ibn Rachu.[47] Cyrenaica was subsequently settled by the Banu Sulaym, while the Banu Hilal continued their westward expansion.[48]
According to the Encyclopédie berbère, the Banu Hilal, Banu Sulaym and Banu Maqil together numbered no more than 100,000 Arabs in the Maghreb.[49] Estimates for the total number of Arab nomads who migrated to the Maghreb during the 11th century range from around 250,000[50] to as many as 1,000,000 people, including the Banu Hilal and Banu Sulaym, according to Idris El Hareir.[51] Maya Shatzmiller estimates the total population of the Maghreb at approximately 5,000,000 at the time.[52]
The Banu Sulaym settled in Cyrenaica while the Hilalians continued their advance west. The influx of Arab tribes to Cyrenaica caused the region to become the most Arab place in the Arab world after the interior of Arabia.[53] According to Ibn Khaldun, the Arab tribes were accompanied by their families and stock. They settled in the Maghreb after engaged in numerous battles with the Berbers, such as the Battle of Haydaran (opens on Wikipedia).[23] The Zirids abandoned Kairouan to take refuge on the coast where they survived for a century. The Banu Hilal and Banu Sulaym spread on the high plains of Constantine where they gradually obstructed the Qal'at Bani Hammad as they had done to Kairouan a few decades ago. From there, they gradually gained control over the high plains of Algiers and Oran. In the second half of the 12th century, they went to the Moulouya valley and the Atlantic coast in the western Maghreb to areas such as Doukkala.[54]
They heavily transformed the culture of the Maghreb into Arab culture, and spread nomadism in areas where agriculture was previously dominant.[23] It played a major role in spreading Bedouin Arabic (opens on Wikipedia) to rural areas such as the countryside and steppes, and as far as the southern areas near the Sahara.[15] In addition, they destroyed the Berber Zirid state and most of its cities, sparing only the Mediterranean coastal strip at al-Mahdiyya, and deeply weakened the neighboring Hammadid dynasty and the Zenata. Their influx was a major factor in the linguistic, cultural, genetic and ethnic Arabization of the Maghreb.[23] According to Ibn Khaldun, the lands ravaged by Banu Hilal invaders had become desertified and turned into completely arid desert. The journey of Banu Hilal is recounted in the Arabic oral poem of Sirat Bani Hilal (opens on Wikipedia).[23]
The effect that the Hilalian migration had on North Africa is a source of controversy. The traditional view is that the Hilalian migration marked the triumph of nomadism over civilisation. However, this view has been challenged by recent studies. For example, the French historian Jean Poncet argued that the Zirids already had been weakened by internal factors before while the French Marxist historian Claude Cahen (opens on Wikipedia) argues that the Hilalian migration was part of a wider decentralization and "bedouinisation" in the 10th and 11th centuries which affected the entire Islamic World.[55][40]
Some sources estimate that approximately 1 million Arab nomads migrated to the Maghreb during the 11th century.[16] Historian Mármol Carvajal (opens on Wikipedia) states that over a million Hilalians migrated to the Maghreb in the 11th century, an estimation he attributes to Ibn Al-Raquiq, who died 2 decades before the migrations.[56][57] In the 19th century, Ernest Carette used Mármol Carvajal (opens on Wikipedia)'s accounts to estimate that the Arab population in the 16th century was 4,000,000 individuals.[58] According to Charles-André Julien (opens on Wikipedia), a specialist in North African history, the Hilalian invasion was "the most important event of the entire medieval period in the Maghrib".[13]
Almohad and Marinid era (12th–15th century)

To weaken resistance by Arab tribes in Ifriqiya, the Almohad ruler Abd al-Mu'min transferred them to Morocco in large numbers and settled them in the Atlantic plains in the 12th century. The region was formerly inhabited by the Barghawata tribal group, however this area was largely destroyed and depopulated by the Almoravids in their war against the heretic Barghawata, and it was depopulated again by an Almohad expedition in 1149–1150 and again in 1197–1198 to suppress revolts against them in the region.[59] The Almohads helped the Arab tribes pass the barriers of the Atlas Mountains, and accelerated their expansion to Morocco to complete the nomadic Bedouin predominance over the lowlands of the Maghreb as far as the Atlantic coastal plains. The Arab tribes increasingly played an important role in the politics of the Almohad Empire.[59]
The Almohad government thus helped the Arabs to overcome the barriers of the Atlas mountains, and accelerated their expansion into Morocco to complete the nomads' predominance over the lowlands of the Maghrib as far as the Atlantic. The appearance of the Arabs added to the complexity of the ethnic composition of Morocco, and introduced a significant non-Berber element to the population. The Arabs also increased pasture lands at the expense of agriculture, which gradually became confined to the mountains.
Abd al-Mu'min expected opposition from the Masmuda to whom he was a stranger, so he gained Arab support to secure the succession of his son. With the decline of the Almohad army, the Arab nomads became the most powerful force in the Moroccan plains, and no ruler could have held authority there without their support.[59] The later 'Alawite dynasty came to power in the 17th century with the help of these Arab tribes, who they mobilized against the powerful Berber principality of Dila'iyyah.[60]
Under the Marinid dynasty (1244–1465), the Arabs grew in importance in Morocco. Due to the lack of Zenata supporters, they welcomed the support of Arab nomads who already began to penetrate into the country under the Almohads. The Zenata were heavily assimilated into Arab culture and the Marinid Makhzan (government) composed of both Arabs and Zenata. This led to the expansion of Arab tribes into Morocco where they settled in the plains, and many Berber groups were Arabized. Under the Marinids, Arabic became both the common and official language.[61] Like the Marinids, the Zayyanid dynasty of the Kingdom of Tlemcen had to rely on Arab nomads for soldiers.[62][63]
Ma'qil, Beni Hassan, and the Char Bouba war (13th–17th century)
The Ma'qilis also entered the Maghreb during this wave of Arabian tribal immigration in the 11th century. They later allied with the Banu Hilal and entered under their protection.[64] They adapted to the climatic desert conditions of the Maghreb, discovering the same way of life as in the Arabian Peninsula.[65] In the 13th century, the Ma'qilis occupied southern Algeria, including the oasis towns of Tuat and Gourara. For some authors, at this point, the Ma'qil had already split into many tribes in the Maghreb and had given rise to the Beni Hassan along with other Ma'qili tribes.[66]

The Beni Hassan expanded southwest and occupied Sanhaja lands in the 13th century after invading and defeating the Berber confederation.[66] The Sanhaja has long had to pay tribute to the nomadic Bedouin Hassani invaders.[66] The invasion was quick and effective and happened around the year 1250, by the end of the Almohad Caliphate. Additionally, the Beni Hassan dominated the valleys of the Moulouya, Draa, Sous, as well as the Tafilalt oasis region.[67]
Historical accounts report that these Hassani communities enriched themselves by collecting tolls from trade caravans and extorting farming and herding villages settled in the oases.[68] This took place during the Char Bouba war in modern-day Western Sahara and Mauritania from 1644 to 1674, which after decades of confrontations ended up completely Arabizing the native Berber population, destroying their language and culture and giving rise to the contemporary Sahrawi people. The Arab nomads controlled the entire territory of present-day Mauritania ever since.[68][69][70]
The Moorish Sahara is the western extremity of the Arab World. Western it certainly is, some districts further west than Ireland, yet in its way of life, its culture, its literature and in many of its social customs, it has much in common with the heart lands of the Arab East, in particular with the Hijaz and Najd and parts of the Yemen
— Harry T. Norris, [71]
Andalusi refugees (15th–17th century)
Starting from the late 15th century, a new wave of Arabs arrived as refugees from Al-Andalus in response to the persecution they faced under Christian Spanish rule after the fall of Granada in the Reconquista in 1492.[17] In 1609, Spain implemented the Expulsion of the Moriscos (opens on Wikipedia), which aimed to forcibly remove all Muslims from the Iberian Peninsula, expelling about 275,000 to 300,000 of them.[72] Accustomed to urban life, they settled in urban cities in the Maghreb, including Fez, Rabat and Tangier in Morocco, Tlemcen and Constantine in Algeria, and Kairouan, Tunis and Bizerte in Tunisia. They brought with them the urban dialects of Andalusi Arabic (opens on Wikipedia), which they introduced to the existing Bedouin Arabic (opens on Wikipedia) dialects of the Maghreb.[73] This event greatly increased the process of Arabization in the Maghreb from the 15th to the 17th century.[74] There were several Arab tribes in Al-Andalus, of which the most prominent were Qays (opens on Wikipedia), Kilab (opens on Wikipedia), Uqayl (opens on Wikipedia), Mudar (opens on Wikipedia), Rabi'a (opens on Wikipedia), Yaman (opens on Wikipedia), Tayy (opens on Wikipedia), Lakhm (opens on Wikipedia), Judham, Amilah (opens on Wikipedia), and Quda'a (opens on Wikipedia).[75]
Loading “Impact”…
Loading “Contemporary demographics”…
Loading “See also”…
Loading “Notes”…
Loading “References”…
Image credits (10)
- Muslim conquest of the Maghreb.png — Cattette, CC BY-SA 4.0, via Wikimedia Commons
- Dirham de Hisham ibn Abd al-Málik (52340080547).jpg — Ángel M. Felicísimo from Mérida, España, CC BY 2.0, via Wikimedia Commons
- Dinar Aghlabide - 192 AH (obverse-reverse).jpg — DrFO.Jr.Tn, Public domain, via Wikimedia Commons
- Mouvement des Tribus Souliem et hilal.png — NBelazi, CC BY-SA 3.0, via Wikimedia Commons
- Rare Arabic manuscript of the orally transmitted epic poem about the Bedouin Banu Hilal, by Hussein Al-Ulaimi, 1849 CE, origin unknown.jpg — Osama Shukir Muhammed Amin FRCP(Glasg), CC BY-SA 4.0, via Wikimedia Commons
- Chaamba riding a camel in southern Tunisia.png — Unknown authorUnknown author, CC0, via Wikimedia Commons
- Saharan family.png — CIA report, Public domain, via Wikimedia Commons
- Bedouins in Libya.tif — Zdravko Pečar, CC BY-SA 4.0, via Wikimedia Commons
- Haplogrupo J (Y-DNA).png — LenguaMapa, CC BY-SA 4.0, via Wikimedia Commons
- Arabic Varieties Map-2023.svg — Goran_tek-en, CC BY-SA 4.0, via Wikimedia Commons