Ethnic groups The Maghreb is primarily inhabited by peoples of
Arab and
Berber ancestral origin. Arabs inhabit
Algeria (70% to 80%),
Libya (97%),
Morocco (67%), and
Tunisia (98%). Berbers inhabit
Algeria (20%),
Morocco (35%), and
Tunisia (1%). Ethnic French, Spanish, West African, and Sephardic Jewish populations also inhabit the region. Centuries of
Arabization and
Arab migration to the Maghreb since the 7th century shifted the demographic scope of the Maghreb in favor of the Arabs. Various other influences are also prominent throughout the Maghreb. In northern coastal towns, in particular, several waves of European immigrants influenced the population in the Medieval era. Most notable were the
moriscos and
muladies, that is, the indigenous
Spaniards (Moors) who were forcibly converted to Catholicism and later expelled, together with ethnic Arab and Berber Muslims, during the
Spanish Catholic Reconquista. Other European contributions included French, Italian, and English crews and passengers taken captive by
corsairs. In some cases, they were returned to families after being ransomed; in others, they were used as slaves or assimilated and adopted into tribes. Historically, the Maghreb was home to significant historic
Jewish communities called
Maghrebim, who predated the 7th-century introduction and conversion of the region to Islam. The earliest recorded Jewish settlement in the region dates back to the third century BCE under
Ptolemaic rule in what is now Libya, although Jewish presence may have begun even earlier. Jewish communities continued to develop throughout the Roman period in present-day Tunisia, Algeria, and Morocco, with evidence of their existence during the early centuries CE. During the early Muslim era, Jews flourished in major urban centers such as Kairouan, Fez, and Tunis, despite facing intermittent persecution, notably under the
Almohads. The influx of
Sephardic Jews from Spain and Portugal, fleeing pogroms, forced conversions and expulsions in the 14th to 16th centuries, further augmented the Jewish presence in North Africa. Africans from south of the Sahara joined the population mix during centuries of
trans-Saharan trade. Traders and slaves went to the Maghreb from the
Sahel region. On the Saharan southern edge of the Maghreb are small communities of black populations, sometimes called
Haratine. In Algeria especially, a large European minority, known as the "
pied noirs", immigrated to the region, settling under French colonial rule in the late 19th century. As of the last census in French-ruled Algeria, taken on 1 June 1960, there were 1,050,000 non-Muslim civilians (mostly
Catholic, but including 130,000
Algerian Jews) in Algeria, 10 per cent of the population. In comparison to the population of France, the Maghrebi population was one-eighth of France's population in 1800, one-quarter in 1900, and equal in 2000. The Maghreb is home to 1% of the global population as of 2010. Another significant group is Turks, who migrated with the expansion of the
Ottoman Empire.
Genetics The Y-chromosome genetic structure of the Maghreb population seems to be modulated chiefly by geography. The Y-DNA Haplogroups
E1b1b and
J make up the vast majority of the genetic markers of the populations of the Maghreb.
Haplogroup E1b1b is the most frequent among Maghrebi groups, especially the downstream lineage of
E1b1b1b1a, which is typical of the indigenous Berbers of North-West Africa.
Haplogroup J1 is the second most frequent among Maghrebi groups and is more indicative of
Middle East origins, and has its highest distribution among populations in Arabia and the Levant. Due to the distribution of
E-M81(E1b1b1b1a), which has reached its highest documented levels in the world at 95–100% in some populations of the Maghreb, it has often been termed the "Berber marker" in the scientific literature. The second most common marker,
Haplogroup J, especially
J1, which is typically Middle Eastern and originates in the Arabian peninsula, can reach frequencies of up to 35% in the region. Its highest density is found in the
Arabian Peninsula. a Eurasian marker, has also been observed in the Maghreb, though with lower frequency. The Y-DNA haplogroups shown above are observed in both Arabic speakers and Berber-speakers. DNA studies of
Iberomaurusian peoples at
Taforalt, Morocco dating to around 15,000 years ago have found them to have a distinctive Maghrebi ancestry formed from a mixture of
Near Eastern and African ancestry, which is still found as a part of the genome of modern Northwest Africans. A 2025 study sequenced individuals from
Takarkori (7,000 YBP) and discovered that most of their ancestry was from an unknown
Ancestral North African lineage, related to the African admixture component found in Iberomaurusians. According to the study, the Takarkori people were distinct from both contemporary sub-Saharan Africans and non-Africans/Eurasians. They had "only a minor component of non-African ancestry" but did "not carry sub-Saharan African ancestry, suggesting that, contrary to previous interpretations, the
Green Sahara was not a corridor connecting Northern and sub-Saharan Africa." Later during the
Neolithic, from around 7,500 years ago onwards, there was a
migration into Northwest Africa of
European Neolithic Farmers from the Iberian Peninsula (who had originated in
Anatolia several thousand years prior), as well as pastoralists from the
Levant, both of whom also significantly contributed to the ancestry of modern Northwest Africans. The
proto-Berber tribes evolved from these prehistoric communities during the late
Bronze- and early
Iron ages.
Haplogroup E Haplogroup E is thought to have emerged in prehistoric North Africa or East Africa, and would have later dispersed into West Asia. The major subclades of haplogroup E found amongst Berbers belong to
E-Z827, which is believed to have emerged in North Africa. Common subclades include E1b1b1a, E1b1b1b and E1b1b1*.
E1b1b1b is distributed along a west-to-east cline with frequencies that can reach as high as 100 percent in Northwest Africa.
E1b1b1a has been observed at low to moderate frequencies among Berber populations with significantly higher frequencies observed in Northeast Africa relative to Northwest Africa. Loosdrecht et al. 2018 demonstrated that E1b1b is most likely indigenous to
North Africa and migrated from
North Africa to the
Near East during the
Paleolithic.
Haplogroup J1 Haplogroup J-M267 is another very common haplogroup in the Maghreb, being the second most-frequent haplogroup in the Maghreb. It originated in the
Middle East, and its highest frequency of 30%–62.5% has been observed in Muslim Arab populations in the Middle East. Recent genome-wide analysis of North Africans found substantial shared ancestry with the
Middle East, and to a lesser extent
sub-Saharan Africa and
Europe. The recent gene flow caused by the Arab migrations to the Maghreb increased genetic similarities between Maghrebis and Middle Easterners. Haplogroup J1-M267 accounts for around 30% of Maghrebis and has spread from the Arabian Peninsula, second after E1b1b1b which accounts for 45% of Maghrebis. A study from 2021 has shown that the highest frequency of the Middle Eastern component ever observed in North Africa so far was observed in the Arabs of
Wesletia in
Tunisia, who had a Middle Eastern component frequency of 71.8%. According to a study from 2004, Haplogroup J1 had a frequency of 35% in Algerians and 34.2% in Tunisians. ==Religion==