Skip
MuslimDemography

Regions

Africa’s Muslims, country by country and region

A continental total tells one story; Pew’s regional boundaries, country estimates and young sub-Saharan age profile tell a more careful one.

Muslims, 2020
618 million
Share, 2020
45%
Africa’s Muslims, country by country and region

Adding country estimates gives Africa a Muslim population of about 618 million.

Country pages in this region
CountryRegionMuslims, 2020Share, 2020
NigeriaAfrica120 million56.1%
EgyptAfrica104 million95.2%
SudanAfrica46 million98.9%
AlgeriaAfrica43 million98.4%
EthiopiaAfrica43 million36.2%
MoroccoAfrica36 million99.7%
NigerAfrica23 million98.1%
MaliAfrica20 million94.1%
TanzaniaAfrica18 million29.9%
SomaliaAfrica17 million99.8%
SenegalAfrica16 million97.6%
Burkina FasoAfrica14 million67.4%
TunisiaAfrica12 million99.3%
GhanaAfrica6.3 million19.9%
KenyaAfrica5.7 million10.9%
BeninAfrica4.1 million31.4%

Pew Research Center’s 2020 estimates put that figure at roughly 45% of Africans. The sum is large, but it hides important differences between countries and regions.

It also depends on what counts as Africa in each table. Pew groups several North African countries within its Middle East-North Africa region.

Egypt, Algeria, Morocco, Libya, Tunisia and Sudan belong to that grouping. They are not included in Pew’s sub-Saharan Africa regional total.

That distinction matters when comparing figures. A continental sum and a regional estimate answer different questions.

The continental sum combines country estimates across Africa. Pew’s sub-Saharan figure describes a region with a different boundary.

The numbers: Pew’s 2020 country estimates give about 618 million Muslims across Africa. The same sum from Pew’s 2010 country estimates was about 481 million.

The continental sum combines country estimates across Africa.

That increase sits beside a rising global share for sub-Saharan Africa. Pew’s estimates put the region at 16.4% of the world’s Muslims in 2010.

By 2020, Pew’s estimates put sub-Saharan Africa at 18.2% of the world’s Muslims. The direction is clear, though the regional boundary still matters.

In Pew’s 2020 estimates, sub-Saharan Africa had 368,640,000 Muslims. They made up 32.8% of that region’s population.

Pew’s 2020 estimates put the region’s Muslim population 33.8% above its 2010 level. These figures describe sub-Saharan Africa, not the entire continent.

The continent’s largest national populations sit in Nigeria and Egypt. Pew’s 2020 estimates give Nigeria about 120 million Muslims and Egypt about 104 million.

Djenne great mud mosque
Djenne great mud mosque

Those totals put both countries ahead of the next group. Pew’s 2020 estimates place Sudan, Algeria and Ethiopia between about 43 and 46 million Muslims each.

The map is not simply a list of large totals. In Nigeria, Pew notes a marked north-south pattern in religious populations.

Muslims live mainly in northern Nigeria, while Christians live mainly in the south. Pew notes a similar north-south divide in some other countries.

That description is useful, but it should not flatten a country. A broad regional pattern does not tell every household’s story.

Nor do national totals show how evenly people are distributed. They help compare scale, not capture every local pattern.

Across North and West Africa, the Maliki school predominates. The Shafi’i school is common along the East African coast and in Somalia.

These broad patterns add another kind of geography to the figures. They describe schools of Islamic law, not population counts or national borders.

Sufi brotherhoods, including the Tijaniyya, are widespread in West Africa. That presence is part of the region’s religious landscape, alongside its large Muslim populations.

Country shares can move differently even within the same broad picture. Pew’s estimates show a fall in Tanzania’s Muslim share and a rise in Benin’s.

Between 2010 and 2020, Tanzania’s Muslim share fell 5.5 points in Pew’s estimates. Over the same period, Benin’s rose 7.9 points in Pew’s estimates.

Those changes are shares, not counts. They should not be read as identical measures of population growth.

The Great Clay Mosque in Djenne, Mali
The Great Clay Mosque in Djenne, Mali

The sub-Saharan age profile gives further context. Pew’s 2025 report put the median age of the region’s Muslims at 17.1 in 2020, the youngest of any religious group in the region.

That is where the age figures help, without explaining everything. A young median age is relevant context for a growing share, not a complete account of why it changed.

Pew’s regional categories also make comparisons beyond Africa less tidy. Its Asia-Pacific region includes Turkey, Iran and Australia.

So the boundaries matter on both sides of any comparison. Africa’s country sum should not be mistaken for Pew’s sub-Saharan regional figure.

The sharpest national contrasts are visible in the country estimates. Nigeria and Egypt lead by population, while regional traditions and patterns vary widely.

We find the regional measure more useful for tracking the changing global share. The country sum is better for seeing Africa as a whole.

Neither measure is a verdict on identity or lived experience. Both are estimates, and their boundaries shape what they can tell us.

There is a temptation to make one total carry every meaning. It cannot explain where people live within each country, or how communities differ.

The figures do establish a substantial continental presence. Pew’s country estimates also show that Africa’s share of the world’s Muslims is growing in its sub-Saharan regional series.

That is the careful version of the story: a larger continental sum, a rising regional share, and a distinctly young sub-Saharan age profile.

We would keep those measures separate rather than force them into one headline number. The distinction is less neat, and much more honest.

The map stays open, its borders still; the totals keep shifting.