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: Self-declaration is enough (legal change of the gender marker is possible based on self-declaration), Court order required (legal change requires a judicial procedure, with no medical or surgical condition), Diagnosis required (legal change requires a medical or psychological diagnosis), Surgery required (legal change requires gender-affirming surgery), Surgery and sterilization required (legal change requires both gender-affirming surgery and sterilization), Legally possible, requirement unknown (legal change is in effect but the procedural requirement is not recorded in the source), Varies by region (rules differ between subnational jurisdictions, or legal change is only partially in effect) and Not legally possible (no legal procedure exists to change the gender marker on official identity documents).
- 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
From the original dataset, we combined the gender-marker-change proportion (the legal direction) with the recorded legal-pathway requirement to produce a single categorical indicator. When legal change of the gender marker is fully in effect, we classify countries by their procedural requirement ("Self-declaration is enough", "Court order required", "Diagnosis required", "Surgery required", "Surgery and sterilization required", or "Legally possible, requirement unknown" when the requirement is not recorded). Otherwise the country is classified as "Varies by region" (legal change is only partially in effect across subnational jurisdictions) or "Not legally possible" (no legal procedure exists).
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: Gender marker can be legally changed”, 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/gender-marker-can-be-legally-changed.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. “Gender marker can be legally changed – Velasco” [dataset]. Velasco, “LGBTI National Policy Dataset 3.0” [original data]. Retrieved November 10, 2026 from https://archive.ourworldindata.org/20261110-132838/grapher/gender-marker-can-be-legally-changed.html (archived on November 10, 2026).Download
Quick download
You can download the visualization as an image or download the chart data.