Religious composition
Tanzania
In 2020, there were 18,210,000 Muslims in Tanzania, 29.9% of the population. The largest group was Christianity, with 64.7% of the population.
How many Muslims live in Tanzania?
In 2020, there were 18,210,000 Muslims in Tanzania, 29.9% of the population. By Muslim share, Tanzania ranks 27 of 57 countries and territories in Africa; by number of Muslims, it ranks 9. Of the 200 countries and territories in the data, 22 had a larger Muslim population in 2020.
What is the main religion in Tanzania?
The largest group was Christianity, with 64.7% of the population.
- Christianity39,440,00064.7%
- Islam18,210,00029.9%
- Religiously unaffiliated2,120,0003.5%
- Other religions1,190,0002.0%
- Hinduism< 10,000—
- Buddhism< 10,000—
- Judaism< 10,000—
Questions about Islam
How did religion in Tanzania change between 2010 and 2020?
Between 2010 and 2020, the population grew from 44,750,000 to 60,960,000 (+36.2%). The largest group in both years was Christianity: 64.7% of the population in 2020, a change of +3.0 percentage points since 2010. Muslims numbered 18,210,000 in 2020, compared with 15,840,000 in 2010 (+15.0%). Their share of the population changed by −5.5 percentage points. The biggest shift in share was for Religiously unaffiliated: +1.3 percentage points.
| Group | 2010 | 2020 | Change |
|---|---|---|---|
| Christianity | 27,610,000 | 39,440,000 | +11,830,000 |
| Islam | 15,840,000 | 18,210,000 | +2,370,000 |
| Religiously unaffiliated | 970,000 | 2,120,000 | +1,150,000 |
| Other religions | 330,000 | 1,190,000 | +860,000 |
| Hinduism | < 10,000 | < 10,000 | — |
| Buddhism | < 10,000 | < 10,000 | — |
| Judaism | < 10,000 | < 10,000 | — |
| Total | 44,750,000 | 60,960,000 | +16,210,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 Tanzania by Muslim share, 2020.
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). Tanzania religion & Muslim population (2020): Christianity 64.7%, Islam 29.9%. harezmi.dev. https://harezmi.dev/country/tza/ — 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.