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: Both protected (the constitution protects both sexual orientation and gender identity), Sexual orientation only (only sexual orientation is protected) and Not protected (the constitution does not protect either ground).
- Only constitutions that name sexual orientation or gender identity are counted. For sexual orientation, there are two exceptions: Nepal, where courts have applied the open-ended equality grounds of the 2015 constitution to it, and Taiwan, where the top court ruled in 2017 that the constitution's equality clause covers it. Protections that courts have read into general equality clauses elsewhere, or that come from ordinary laws, are not counted.
- 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.
- A policy counts from the year it was adopted, even if it took effect later. For example, same-sex marriage counts as legal in the United Kingdom from 2019, when the law extending it to Northern Ireland was passed, although the first weddings there took place in 2020.
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
The original dataset has separate indicators for sexual orientation and for gender identity. We combined them into one indicator that shows whether national law covers both grounds, only one, or neither. When either ground is covered in only part of the country, we classify the country as "Varies by region".
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: Constitutional protections against discrimination based on sexual orientation or gender identity”, part of the following publication: Bastian Herre and Pablo Arriagada (2023) - “LGBT+ Rights”. Data adapted from Velasco. Retrieved from https://archive.ourworldindata.org/20261110-132838/grapher/constitutional-protections-lgbt.html [online resource] (archived on November 10, 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. “Constitutional protections against discrimination based on sexual orientation or gender identity – Velasco” [dataset]. Velasco, “LGBTI National Policy Dataset 3.0” [original data]. Retrieved November 10, 2026 from https://archive.ourworldindata.org/20261110-132838/grapher/constitutional-protections-lgbt.html (archived on November 10, 2026).Download
Quick download
You can download the visualization as an image or download the chart data.