Where is apostasy illegal?

How apostasy (also searched as leaving a religion) is treated in 31 countries, from sources last checked September 2026. Choose a country for its classification, the source, and how its neighbours compare.

  • Death penalty possible 10 countries (32%), including Afghanistan, Saudi Arabia, Yemen and Somalia.
  • Criminal offense 9 countries (29%), including Indonesia, Pakistan, Nigeria and Algeria.
  • Legal 12 countries (39%), including India, United States, Bangladesh and Turkey.

Death penalty possible 10

Criminal offense 9

Legal 12

About this data

Compiled from Wikipedia: Apostasy in Islam by country; sources last checked 17 September 2026. The full dataset is available as JSON.

More on speech & belief

A visual reference compiled from Wikipedia’s law-by-country articles, not legal advice. Laws change and summaries simplify — check a primary source before relying on anything here.