What you should know about this indicator
- This data comes from the LGBTI National Policy Dataset, compiled by Kristopher Velasco at Princeton University. It tracks the adoption, scope, and enforcement of 27 LGBTI-related policies across 195 countries, with annual data starting in 1991.
- The indicator is coded as follows: No death penalty (no law makes consensual same-sex sexual acts punishable by death), Varies by region (application differs between subnational jurisdictions) and Death penalty applies (a law makes consensual same-sex sexual acts punishable by death).
- The dataset counts policies established by binding legal instruments — statutes, constitutional provisions, decrees and regulations with the force of law, and binding court rulings. Where no law governs a policy, a written rule that does can count too, such as a health-authority guideline, a blood service's donor questionnaire or a religious ruling. Bills, ministerial statements and non-binding declarations are not counted.
- In this data, a country has the death penalty for consensual same-sex acts when a penal-code article, a decree, or a religious (sharia) provision makes them punishable by death, whether or not that provision is written into a code (as in Saudi Arabia). Where only some states' penal codes allow it, as in parts of Nigeria, the country is classified as Varies by region. Death-penalty provisions that apply only to acts committed by force, bills that never became law, and statements by officials don't count. Pakistan, Somalia, and the United Arab Emirates are classified as having no death penalty in 2025.
More Data on LGBT+ Rights
Sources and processing
This data is based on the following sources
How we process data at Our World in Data
All data and visualizations on Our World in Data rely on data sourced from one or several original data providers. Preparing this original data involves several processing steps. Depending on the data, this can include standardizing country names and world region definitions, converting units, calculating derived indicators such as per capita measures, as well as adding or adapting metadata such as the name or the description given to an indicator.
At the link below you can find a detailed description of the structure of our data pipeline, including links to all the code used to prepare data across Our World in Data.
Notes on our processing step for this indicator
From the original dataset's single-direction proportion (0 = no policy, 1 = fully implemented, intermediate values = partial subnational adoption), we coded countries into three categories: the substantive direction in effect, partial subnational implementation ("Varies by region"), or no policy in effect.
Reuse this work
Citations
How to cite this page
To cite this page overall, including any descriptions, FAQs or explanations of the data authored by Our World in Data, please use the following citation:
“Data Page: Same-sex sexual acts punished by death”, part of the following publication: Bastian Herre and Pablo Arriagada (2023) - “LGBT+ Rights”. Data adapted from Velasco. Retrieved from https://archive.ourworldindata.org/20261029-104738/grapher/same-sex-sexual-acts-punished-by-death.html [online resource] (archived on October 29, 2026).How to cite this data
In-line citationIf you have limited space (e.g. in data visualizations), you can use this abbreviated in-line citation:
Velasco (2026) – with major processing by Our World in DataFull citation
Velasco (2026) – with major processing by Our World in Data. “Same-sex sexual acts punished by death – Velasco” [dataset]. Velasco, “LGBTI National Policy Dataset 3.0” [original data]. Retrieved October 29, 2026 from https://archive.ourworldindata.org/20261029-104738/grapher/same-sex-sexual-acts-punished-by-death.html (archived on October 29, 2026).Download
Quick download
You can download the visualization as an image or download the chart data.