In the 11th century, the westward migration of Arab tribes from Egypt helped transform North Africa in ways that would be felt for centuries. Political power shifted, Arabic spread into new regions, and relationships between communities changed. At the centre of this transformation were the Banū Hilāl, an Arab tribal confederation whose westward migration became one of the defining episodes of medieval Maghrebi history.
They were not alone. From the middle of the 11th century, Banū Sulaym and other allied groups of Arabic-speaking pastoral people also moved westwards from Egypt through present-day Libya into Ifrīqiya (roughly modern Tunisia and adjoining parts of western Libya and eastern Algeria) and the wider Maghreb. The migrants came not as a single army on a single march, but as families, herds and military contingents travelling at different times along different routes. By the time they reached Ifrīqiya around 1050–52, they had already spent generations in Egypt; Arabia was part of their genealogical memory, not their most recent home.
What drew them west was a combination of Fatimid policy and local opportunity. When the Zirids, an Amazigh dynasty belonging to the Ṣanhāja tribal confederation, broke with Cairo in the middle of the 11th century, Fatimid encouragement of the migration — portrayed in medieval accounts as retaliation — became one factor in the movement west. Historians nevertheless differ over how far Fatimid policy determined the migration. The pastoral groups had their own chiefs, interests and objectives. Once in the Maghreb, they fought, allied, split and negotiated with local rulers independently.
The Maghreb they entered was already Islamic and partly Arabic-speaking. Muslim conquest and settlement had begun in the seventh century; Kairouan had long served as an intellectual and political centre; Arabic functioned in government, commerce and scholarship. At the same time, Amazigh (Berber) languages continued to be spoken across extensive rural and mountainous regions, and political power often rested with Amazigh confederations and dynasties. The region was also politically fragmented: the Zirids controlled parts of Ifrīqiya, the Hammadids had built an autonomous state in the central Maghreb from their capital at Qal’at Banī Ḥammād (founded in 1007), and the Almoravids were expanding from their Saharan Ṣanhāja base through Morocco, later extending their empire into al-Andalus (Muslim-ruled Iberia).
The migration played out very differently across the Maghreb.

Libya: more than a passage west
Present-day Libya was more than a route towards the western Maghreb. From the middle of the 11th century, the Banū Sulaym became particularly established in Barqa (Cyrenaica), in eastern Libya, while Hilalian groups crossed the Gulf of Sirte towards Tripolitania, where some settled and others continued westwards. These were overlapping movements rather than a neat division of territory between two tribes. Research on the settlement of Banū Hilāl and Banū Sulaym in Libya shows that the region was a destination as well as a passage.
The consequences varied considerably. The newcomers encountered established Amazigh and Arabic-speaking communities, coastal towns and Saharan settlements. In his study of medieval Libya, historian Jacques Thiry examines accounts describing damage around Sirte but also exchange and coexistence elsewhere. At the oasis of Awjila, for example, settled inhabitants lived alongside Sulaymi pastoral groups. Such evidence complicates the traditional picture of widespread devastation. Thiry argues that much of the region’s later economic disruption resulted from conflicts during the 12th and 13th centuries rather than directly from the original migrations.
Over subsequent generations, the settlement of Arab pastoral groups contributed to changes in political relationships, social organisation and the spread of spoken Arabic. Yet Libya’s transformation was neither immediate nor uniform. Its coastal regions and Saharan oases followed different trajectories, and linguistic change cannot be understood simply as a direct reflection of medieval tribal settlement.
Tunisia: where the shock hit first
Ifrīqiya experienced the earliest and most abrupt phase of political upheaval. Hilalian groups entered southern Ifrīqiya in the early 1050s, moved into northern and central areas over the following years, and Kairouan suffered a major crisis in 1057. The Zirid state, already weakened by fiscal pressures, rebellious cities and a divided military establishment, contracted towards the coast and its base at Mahdia. The extent to which the migration alone caused this upheaval has long been debated by historians.
The political consequences were severe. The old relationship between Kairouan, its agrarian hinterland and centralised Zirid authority fractured. Arab tribal chiefs became increasingly influential political actors, and power became more localised. Economically, some settled areas suffered raids, displacement and changes in land use, and taxation and communications became harder where central government lost effective control. Yet maritime commerce and coastal towns survived, and the wider central Mediterranean remained economically interconnected, despite changes to established commercial networks.
It is worth stressing that the Zirid state’s fragility mattered as much as the newcomers’ military strength. The historian Jean Poncet argued in a landmark study that the Hilalians’ success owed a great deal to the pre-existing crisis they walked into: a weakened ruler, rebellious tributaries and a divided military apparatus. The migration brought genuine disruption, but its consequences were shaped by political and economic weaknesses that already existed.
Linguistically, Tunisia eventually developed one of the clearest contrasts in the Maghreb between older urban and coastal Arabic traditions and later rural or Bedouin-type speech varieties associated with Hilalian settlement — though even here, modern scholarship cautions against treating this as a simple tribal map.
Algeria: the central hinge
The expansion into Algeria was more gradual. Hilalian groups reached the central Maghreb during the second half of the 11th century, after several years of movement across Ifrīqiya. The eastern plains, the Zāb, the Hodna basin and the neighbouring steppe zones — open country suited to mobile livestock-raising — became long-term zones of settlement and interaction among Arab pastoral groups, Hammadid and later Almohad rulers, and diverse Amazigh populations. Their settlement patterns in eastern Algeria continued to evolve over subsequent centuries.
One of the clearest surviving reminders of Hilalian political impact in Algeria is Qal’at Banī Ḥammād, the Hammadids’ fortified capital. UNESCO dates its foundation to 1007 and records that it was abandoned in 1090 under the threat of Hilalian invasion. Its archaeological remains provide unusually detailed evidence of Hammadid civilisation, although the precise relationship between military pressure, political decisions and the city’s abandonment also depends on historical interpretation. The site was finally dismantled in 1152, amid the Almohad conquest.
The Hammadid story illustrates the complexity of what was happening. Political and commercial weight began shifting towards Béjaïa, a Mediterranean port better placed to participate in maritime commerce and easier to defend from inland pastoral pressure. The Hammadids established Béjaïa as their new capital around 1069, before the final abandonment of Qal’at Banī Ḥammād in 1090. The process was not simply contraction but spatial reorientation: from an inland fortified capital to a coastal commercial city. Hammadid political and commercial activity did not simply vanish — it moved.
Over the following generations, Hilalian groups in Algeria did not exist as a sealed immigrant bloc. Their history after the mid-12th century was one of increasingly complex relationships with Amazigh populations — alliance, intermarriage, economic exchange and incorporation into political coalitions as much as military confrontation. The result was not uniform ethnic replacement but a patchwork of Arabic- and Amazigh-speaking communities, with considerable regional variation and many areas of sustained contact. These patterns continued to shift for centuries, which is why modern linguistic boundaries cannot be mechanically projected back to the year 1100.
Sétif and the reversal of direction
By the mid-12th century, the Almohads — originating in Morocco and supported initially by Maṣmūda Amazigh constituencies — had conquered eastwards across Algeria. In 1153, the Almohad ruler ʿAbd al-Mu’min defeated Hilalian and allied Arab groups near Sétif. The victory was followed by policies that included the resettlement of some tribal groups towards present-day Morocco, alongside military recruitment and political integration.
The significance of this episode lies in the reversal it represents. In the 1050s–60s, Arab pastoral groups had moved east to west into Algeria as Zirid and Hammadid authority weakened. A century later, a powerful new state could break up tribal concentrations and redistribute them westwards. Under the Almohads, Arab tribal groups became not only military opponents but also potential allies, soldiers and communities deliberately resettled to strengthen imperial authority. Algeria was both the destination of the initial migration and the staging ground for its later redistribution, which is one of the reasons the Banū Hilāl story belongs to a Maghrebi rather than narrowly national frame.
Morocco: a later, state-shaped settlement
Morocco’s experience differed substantially. When the first Hilalian groups were entering Ifrīqiya and the central Maghreb in the 1050s, the Almoravids were simultaneously building a western empire from their Saharan base. The western Maghreb did not initially experience the same rapid political upheaval associated with the Hilalian arrival in Ifrīqiya; the Almoravid state was consolidating its power from the opposite direction.
Arab pastoral settlement became much more important in Morocco during the Almohad period. After ʿAbd al-Mu’min’s campaigns in Algeria and Ifrīqiya, defeated groups were transferred towards present-day Morocco following the 1153 confrontation near Sétif. Later Almohad policies incorporated Arab tribal groups into military recruitment and settlement strategies, and the long-term results were especially visible in open plains rather than in the mountain cores from which the Almohad movement had arisen.
The contrast with Tunisia is instructive: whereas the initial migrations reached Ifrīqiya during a period of political fragmentation, later settlement in Morocco was shaped in significant part by the deliberate policies of a strong imperial state.
Moroccan Arabisation consequently has several overlapping layers: early Islamic urban Arabic, later Arab tribal settlement, internal diffusion, Andalusi migration and continuing contact with Amazigh languages. Present-day dialect zones have undergone many centuries of convergence and population movement since the Almohad period, and treating all Moroccan rural Arabic as “Hilalian” flattens a far richer history. As research into Arabic historical dialectology emphasises, present-day linguistic patterns cannot always be traced directly to medieval population movements.
Language: a cumulative process across the Maghreb
The strongest long-term association between Banū Hilāl and the modern Maghreb is linguistic. Traditional Arabic dialectology distinguishes older pre-Hilalian urban or sedentary varieties from later Hilalian or Bedouin-type varieties associated with the spread of pastoral Arab communities. These labels describe linguistic features and historical classifications; they do not necessarily identify the ancestry or way of life of present-day speakers.
That distinction captures a real historical layer, but Alexander Magidow’s methodological critique is important: Arabic historical dialectology has sometimes assumed that current dialect geography derives directly from medieval settlement patterns. Languages change through innovation, contact, the spread of new features and the gradual reduction of differences between dialects; dialect divisions that appear ancient can in fact be much younger than the population movements invoked to explain them.
Across the Maghreb, Arabisation was cumulative. The seventh- and eighth-century conquests created Islamic and Arabic-speaking institutions; cities and scholarship transmitted Arabic; the settlement and interaction of Banū Hilāl and associated pastoral populations contributed to the spread of spoken Arabic into many rural areas; medieval states moved populations and rewarded tribal allies; and later social movements continued the process. Libya, Tunisia, Algeria and Morocco each exhibit different linguistic geographies today — a reflection of differing topographies, pre-existing settlement, state policies, later migrations and the continuing presence of Amazigh languages.
The economy: disruption and reorientation
Warfare, raiding and competition over land and resources caused genuine damage in particular places. Kairouan’s political decline and Qal’at Banī Ḥammād’s abandonment were real events with real consequences. In some areas, settled cultivation suffered; in others, taxation and communications became harder where central government lost effective control.
At the same time, nomadic pastoralism already existed among Amazigh populations before the migration; commercial and coastal centres continued to flourish; and the 11th- to 13th-century Maghreb remained involved in Mediterranean and trans-Saharan trade. In Morocco, trade and imperial resource systems continued to develop while Arab settlement expanded. Research into medieval North Africa’s economic geography shows the importance of changing political circumstances and commercial connections. Some established routes and centres declined, while other towns and ports acquired greater importance.
Algeria offers a particularly instructive case. The abandonment of an inland capital in 1090 shows serious insecurity, yet Hammadid political and commercial activity had already begun shifting towards Béjaïa and the coast rather than simply disappearing. Accounts by medieval travellers and geographers describe Béjaïa’s commercial importance under Hammadid rule. The outcome across the Maghreb was less a single economic catastrophe than a reorganisation of economic geography, with differing consequences for farmers, pastoralists, ports, rulers and merchants.
An epic born of the migration
The migration generated one of the Arab world’s great oral epic traditions: al-Sīra al-Hilāliyya (the Hilalian epic), of which the taghrība (westward journey) is a central episode. Passed down through poetry, song and storytelling, its tales celebrate heroes, exile, warfare, tribal honour, love and migration. In 2008, UNESCO inscribed Egypt’s Al-Sirah Al-Hilaliyyah epic tradition on its Representative List of the Intangible Cultural Heritage of Humanity, recognising it as a living oral-performance tradition.

The Sīra is important for what it reveals about how subsequent Arabic-speaking communities interpreted mobility, bravery, kinship, conflict and belonging. Its geography, characters and chronology were reshaped during centuries of performance. The historical migration changed North Africa; later generations reshaped the memory of the migration through storytelling, turning social upheaval into heroic ancestry in some traditions while preserving more critical portrayals of the newcomers in others. As the Encyclopédie berbère explains, the epic cannot serve by itself as reliable historical testimony — its value lies in documenting cultural memory and identity, not in providing a factual chronicle.
What we know, what we don’t
A few conclusions rest on convergent evidence from historians, archaeologists and linguists. The Banū Hilāl originated in the Arabian tribal world and had a significant pre-Maghrebi history in Egypt. Large groups moved west through present-day Libya into Ifrīqiya around 1050–52, in the context of the Fatimid–Zirid rupture, with some groups remaining in Libya. Kairouan suffered a decisive crisis in 1057. Hilalian groups entered the central Maghreb and put pressure on the Hammadids; Qal’at Banī Ḥammād was abandoned in 1090. After defeating Hilalian and allied Arab tribes near Sétif in 1153, the Almohads resettled some of them in present-day Morocco, weakening their influence in the central Maghreb while incorporating them into the Almohad state. These conclusions draw on medieval written accounts and their interpretation by modern historians, alongside archaeological evidence from sites such as Qal’at Banī Ḥammād. The different kinds of evidence do not establish every event with the same degree of certainty.
More uncertain is the precise allocation of particular tribal branches to specific territories, the extent of permanent agricultural displacement, the speed of language shift, and the relative weight of Hilalian migration versus earlier or later causes in changing rural settlement. Much of the surviving narrative detail comes through medieval chroniclers — notably Ibn Khaldun (1332–1406), writing roughly three centuries after the initial migration — and carries the risk of projecting 14th-century tribal geography backwards.
The least secure claims include exact migrant totals, direct biological descent of particular modern populations from named 11th-century tribes, and single-cause explanations of the Maghreb’s transformation. Historians have proposed substantially different population estimates, but the absence of reliable contemporary records makes precise figures impossible to establish.
A Maghrebi story
The historian Abdelhak Boumsied has examined how French colonial-era scholars and Algerian reformist historians drew on many of the same medieval events to construct contrasting narratives — some colonial historians emphasising destruction and decline, while reformist scholars highlighted the contribution of Islam and Arabic to Algerian identity. In both cases, interpretations of medieval history became entangled with the political concerns of a much later period.
The evidence itself points to something richer than either frame allows. The Banū Hilāl substantially altered who controlled rural space across the Maghreb, contributed to the diffusion of Arabic beyond older urban centres, changed the political influence of pastoral and tribal communities, and reshaped the balance between inland and coastal power. The migrations established communities in present-day Libya, brought major political upheavals to Ifrīqiya, transformed relationships between communities and rulers across the central Maghreb, and contributed to later state-directed settlement in Morocco — but these were interconnected developments rather than separate national histories. Medieval political geography did not respect modern frontiers: pastoral routes followed rainfall and grazing, dynasties crossed modern borders, and the Almohad empire itself eventually united much of the central and western Maghreb under its rule.
Algeria’s position between the initial Ifrīqiyan shock and the later western redistribution made it a geographical and political hinge of the wider transformation — a place where the consequences converged and where the intertwining of Arab and Amazigh populations became a lasting feature of the social landscape.



