Which country has the largest Muslim population, and what does that ranking measure? Indonesia leads, but the list tells more than a winner’s name. Pew Research Center's 2025 report lists the ten countries with the most Muslims in 2020.
| # | Country | Region | Muslims, 2020 | Share, 2020 |
|---|---|---|---|---|
| 1 | Indonesia | Asia | 239 million | 87.0% |
| 2 | Pakistan | Asia | 227 million | 96.5% |
| 3 | India | Asia | 213 million | 15.2% |
| 4 | Bangladesh | Asia | 151 million | 91.1% |
| 5 | Nigeria | Africa | 120 million | 56.1% |
| 6 | Egypt | Africa | 104 million | 95.2% |
| 7 | Iran | Asia | 88 million | 99.8% |
| 8 | Turkey | Asia | 84 million | 97.1% |
| 9 | Sudan | Africa | 46 million | 98.9% |
| 10 | Algeria | Africa | 43 million | 98.4% |
| 11 | Ethiopia | Africa | 43 million | 36.2% |
| 12 | Iraq | Asia | 42 million | 99.5% |
| 13 | Afghanistan | Asia | 39 million | 99.9% |
| 14 | Yemen | Asia | 36 million | 99.9% |
| 15 | Morocco | Africa | 36 million | 99.7% |
| 16 | Uzbekistan | Asia | 32 million | 95.6% |
| 17 | Saudi Arabia | Asia | 29 million | 92.7% |
| 18 | China | Asia | 26 million | 1.8% |
| 19 | Niger | Africa | 23 million | 98.1% |
| 20 | Malaysia | Asia | 22 million | 64.1% |
| 21 | Syria | Asia | 20 million | 94.2% |
| 22 | Mali | Africa | 20 million | 94.1% |
| 23 | Tanzania | Africa | 18 million | 29.9% |
| 24 | Somalia | Africa | 17 million | 99.8% |
| 25 | Senegal | Africa | 16 million | 97.6% |
| 26 | Kazakhstan | Asia | 15 million | 77.9% |
| 27 | Burkina Faso | Africa | 14 million | 67.4% |
| 28 | Tunisia | Africa | 12 million | 99.3% |
| 29 | Russia | Eastern Europe | 12 million | 8.2% |
| 30 | Jordan | Asia | 11 million | 97.1% |
| 31 | Azerbaijan | Asia | 9.6 million | 94.7% |
| 32 | Philippines | Asia | 7.3 million | 6.5% |
| 33 | United Arab Emirates | Asia | 6.9 million | 72.9% |
| 34 | Ghana | Africa | 6.3 million | 19.9% |
| 35 | France | Western Europe | 6.0 million | 9.1% |
| 36 | Kenya | Africa | 5.7 million | 10.9% |
| 37 | Germany | Western Europe | 5.5 million | 6.5% |
| 38 | United Kingdom | Western Europe | 4.3 million | 6.4% |
| 39 | Benin | Africa | 4.1 million | 31.4% |
| 40 | United States | North America | 4.0 million | 1.2% |
| 41 | Lebanon | Asia | 3.9 million | 67.8% |
| 42 | Oman | Asia | 3.7 million | 81.8% |
| 43 | Thailand | Asia | 3.2 million | 4.5% |
| 44 | Sri Lanka | Asia | 2.3 million | 10.2% |
| 45 | Albania | The Balkans | 2.1 million | 74.5% |
| 46 | Canada | North America | 1.9 million | 4.9% |
| 47 | Bosnia and Herzegovina | The Balkans | 1.8 million | 53.6% |
| 48 | Kosovo | The Balkans | 1.7 million | 94.3% |
| 49 | Singapore | Asia | 900,000 | 16.1% |
| 50 | Australia | Australia and Oceania | 900,000 | 3.5% |
| 51 | Sweden | Western Europe | 840,000 | 8.1% |
| 52 | Austria | Western Europe | 740,000 | 8.3% |
| 53 | North Macedonia | The Balkans | 650,000 | 34.7% |
| 54 | Argentina | Latin America | 420,000 | 0.9% |
| 55 | Trinidad and Tobago | The Caribbean | 81,000 | 5.5% |
Myth: the leading country must be far ahead of the rest. Fact: Indonesia ranks first, Pakistan second, and India third. Pew's 2020 estimates put all three ahead of Bangladesh, the country ranked fourth. The ordering is clear; the distance between places is not the whole story.
Myth: a lower Muslim share means a smaller Muslim population. Fact: India ranks third by count, although Pew's 2020 estimates put Muslims at 15.2% of its population. A share measures a proportion; a headcount measures people. Mixing those questions makes a ranking say something it does not.
Myth: every country near the top must have a Muslim majority. Fact: Pew's 2020 estimates show Islam as the majority religion in nine of these ten countries; India is the exception. That distinction matters more than any tidy label applied to the whole table.
The ranking below is by Muslim population, not by the share of each country’s population. Each row gives both, from Pew's 2020 estimates.
| Rank and country | Muslim population and share |
|---|---|
| Indonesia, ranked first | Pew's 2020 estimates count 238,990,000 Muslims, 87.0% of the population. |
| Pakistan, ranked second | Pew's 2020 estimates count 226,880,000 Muslims, 96.5% of the population. |
| India, ranked third | Pew's 2020 estimates count 213,060,000 Muslims, 15.2% of the population. |
| Bangladesh, ranked fourth | Pew's 2020 estimates count 151,440,000 Muslims, 91.1% of the population. |
| Nigeria, ranked fifth | Pew's 2020 estimates count 119,980,000 Muslims, 56.1% of the population. |
| Egypt, ranked sixth | Pew's 2020 estimates count 104,040,000 Muslims, 95.2% of the population. |
| Iran, ranked seventh | Pew's 2020 estimates count 87,520,000 Muslims, 99.8% of the population. |
| Turkey, ranked eighth | Pew's 2020 estimates count 83,600,000 Muslims, 97.1% of the population. |
| Sudan, ranked ninth | Pew's 2020 estimates count 46,250,000 Muslims, 98.9% of the population. |
| Algeria, ranked tenth | Pew's 2020 estimates count 43,330,000 Muslims, 98.4% of the population. |
The contrast between India and the other entries is especially sharp. Its population share is far lower, yet its Muslim headcount places it third. That is not a contradiction. The ranking counts Muslims; the percentage compares that count with the whole population.
Pew's 2020 estimates put the ten countries together at about 1.3 billion Muslims, 65% of the world's total. Indonesia, Pakistan and India together hold about a third of the world's Muslims in Pew's 2020 estimates. The first three names carry much of the weight, then the list steps down through Bangladesh, Nigeria and Egypt.
After Algeria, Pew's 2020 estimates place Ethiopia, Iraq, Afghanistan and Morocco next, each with roughly 36 to 43 million Muslims. That range is a useful reminder: the top ten are not the entire picture. For a wider view, compare this ranking with where Muslims live.
The figures also make a simple sorting rule worth keeping: rank by count, then read the share separately. Neither column can stand in for the other.
We trust the headcount ranking most when its population shares stay beside it.