Religious composition
Somalia
In 2020, there were 16,620,000 Muslims in Somalia, 99.9% of the population. Islam was the largest religion.
How many Muslims live in Somalia?
In 2020, there were 16,620,000 Muslims in Somalia, 99.9% of the population. By Muslim share, Somalia ranks 4 of 57 countries and territories in Africa; by number of Muslims, it ranks 10. Of the 200 countries and territories in the data, 23 had a larger Muslim population in 2020.
What is the main religion in Somalia?
Islam was the largest religion.
- Islam16,620,00099.9%
- Other religions10,0000.1%
- Christianity< 10,000—
- Religiously unaffiliated< 10,000—
- Hinduism< 10,000—
- Buddhism< 10,000—
- Judaism< 10,000—
Questions about Islam
How did religion in Somalia change between 2010 and 2020?
Between 2010 and 2020, the population grew from 12,250,000 to 16,630,000 (+35.8%). Muslims numbered 16,620,000 in 2020, compared with 12,240,000 in 2010 (+35.8%). Their share of the population changed by 0.0 percentage points.
| Group | 2010 | 2020 | Change |
|---|---|---|---|
| Islam | 12,240,000 | 16,620,000 | +4,380,000 |
| Other religions | 10,000 | 10,000 | 0 |
| Christianity | < 10,000 | < 10,000 | — |
| Religiously unaffiliated | < 10,000 | < 10,000 | — |
| Hinduism | < 10,000 | < 10,000 | — |
| Buddhism | < 10,000 | < 10,000 | — |
| Judaism | < 10,000 | < 10,000 | — |
| Total | 12,250,000 | 16,630,000 | +4,380,000 |
Source: Pew Research Center (2025), processed by Our World in Data (CC BY 4.0). Figures are rounded to the nearest 10,000; “< 10,000” means fewer than 10,000 people.
Country and regional figures come from Pew Research Center. Pew's “Religiously unaffiliated” group covers everyone who does not identify with a religion, including many people in China who follow folk traditions: 24.2% of the world in 2020. The world counter uses the World Christian Database, whose “Non-religious” group counts only agnostics and atheists (11.0% of the world in 2026). The two figures therefore cannot be added up or compared directly.
Similar countries in Africa
The countries in Africa closest to Somalia by Muslim share, 2020.
| Country | Muslim share, 2020 | Largest group |
|---|---|---|
| Comoros | 100.0% | Islam |
| Western Sahara | 100.0% | Islam |
| Mayotte | 100.0% | Islam |
| Somalia | 99.9% | Islam |
| Morocco | 99.7% | Islam |
| Mauritania | 99.3% | Islam |
| Tunisia | 99.3% | Islam |
Religion by country
Method and sources
Pew Research Center (2025) – processed by Our World in Data, “Number of people by religion”, CC BY 4.0.
Pew Research Center bears no responsibility for the analyses or interpretations of the data presented here, and did not review or approve this compilation.
Use this data
You may reuse the figures on this page freely, including commercially, under the CC BY 4.0 licence. Please credit “Harezmi (harezmi.dev)” and link to this page.
Suggested citation:
Harezmi (2026). Somalia religion & Muslim population (2020): Islam 99.9%, Other religions 0.1%. harezmi.dev. https://harezmi.dev/country/som/ — Data: Pew Research Center (2025), processed by Our World in Data. CC BY 4.0.
Spot an error?
Report an error
If something on this page is wrong or unclear, tell us. We check every report against the original source.