Uneven GroundTrans Rights Worldwide 2000-2021

An exploration of the Trans Rights Indicator Project, the record that political scientist Myles Williamson built of what the world's laws say about trans people.

Scroll for more
Protesters at a trans rights march holding signs that read Protect Trans Youth and End Trans Torture, under a trans pride flag

What the world's laws say about trans people

In 2000, most of the world offered trans people very little in law. Often it came down to a single thing: being trans was not, in itself, a crime.

For 98 of the 170 countries with data that year, that was where it stopped. No way to change the name or gender on a passport. No rule to stop an employer, a school or a landlord from saying no. And eight countries went even further and made being trans a criminal offence.

Political scientist Myles Williamson went through the laws of 173 countries for every year between 2000 and 2021 as part of his doctoral research at the University of Alabama. His Trans Rights Indicator Project, TRIP for short, was published in Perspectives on Politics in 2024. He composed a score that is based on 13 indicators that answer questions that fall into three groups:

  • Criminalization, two questions. Is there no law that directly targets trans people, and none that is used against them indirectly?
  • Recognition, five questions. Can people change the gender marker on their official documents? Can they do it without surgery or other physical requirements, without a psychiatric diagnosis, and without having to divorce? Is there a nonbinary or third gender option?
  • Protection, six questions. Is there a general anti-discrimination law covering trans people? Specific protection in employment, education, healthcare and housing? Protection written into the constitution?

Building a record like this is no easy task. "Transgender" is not a legal category everywhere. In South Asia, for example, laws recognize hijra, khawaja sira and other third-gender identities that overlap with the Western idea of being trans, but are not the same as it. Federal countries add another difficulty. In the United States, gender recognition is decided state by state, while a national record can only count federal law. A yes-or-no question also flattens detail. A country that allows a change of gender after a year-long waiting period and one that allows it on the spot can both answer yes.

The sources have limits too. Williamson coded each law by hand, using at least two sources whenever possible: reports from human rights organizations, government websites and news articles. Some forms of persecution can also be undercounted, such as arrests under vague laws that never name trans people. Finally, all thirteen questions weigh the same, so two countries can reach the same score by very different roads. Williamson himself notes that the real richness of the data is in the individual indicators, not only in the total.

None of this makes the record less useful. It means the score should be read as a map of the law, not as a portrait of daily life.

Measured this way, the world has made some progress. The average score more than doubled, from 10.9% in 2000 to 23.5% in 2021. But an average of 173 countries hides almost everything that matters about them.

Average Median Middle half (25th to 75th percentile) Top 10% threshold Bottom quarter (25th percentile)
Fig. 1Distribution of TRIP scores across countries, 2000 to 2021.Source: Trans Rights Indicator Project (Williamson, 2024). 170 to 173 countries per year.

The average: 10.9% in 2000, 23.5% in 2021. But this hides the real distribution.

The median country, the one in the middle of the ranking, gained a single protection in 22 years. It went from 7.7% to 15.4% in 2015 and stayed there.

The middle half of countries. Its upper edge climbs from 15.4% to 30.8%. Its lower edge does not move once.

The top tenth. From 2000 to 2021, the score needed to be among them climbed from 15.4% to 61.5%. This is where the average's growth comes from.

The bottom quarter: same score in 2000 as in 2021. One point out of thirteen, often the absence of a criminal law, and nothing else.

Read all together in the graph, the lines describe two different groups of countries. A few dozen rewrote their laws, often more than once. Half the world did not touch them: 88 countries ended 2021 with exactly the score they had in 2000. The average climbed because the top ran ahead, not because the middle followed.

A map of exceptions

If the bottom held still while the top moved, who is at the top?

Part of the answer is what you would expect. Of the 13 countries with the highest scores in 2021, eleven are in Western Europe. Five of them, Belgium, France, Luxembourg, Malta and Norway, hold 11 of the 13 protections. Taken together, Western Europe and North America average 7.5, more than any other region. But the region is not uniform, and the countries that break the pattern, inside Europe and outside it, are the reason this map deserves a closer look.

Fig. 2TRIP score by country, 2021.Source: TRIP (Williamson, 2024).

In 2021, two thirds of countries held two protections or fewer. On the map they are the three lightest shades.

South America. Uruguay holds 12 of 13, the highest score in the dataset. Argentina wrote the world's first self-ID law in 2012 but scores 6: it has none of the six anti-discrimination protections.

South Asia. Pakistan scores 11, level with France and Norway, while its penal code still criminalizes same-sex relations. India holds 8. All four countries here recognize a third gender.

Europe. Malta is the only European country that protects trans people in its constitution. Austria, Italy and Switzerland hold 3 points each. Hungary abolished legal gender change in 2020.

Sub-Saharan Africa. Three in four countries score 0 or 1, and none scores higher than 3. Nigeria criminalizes trans people directly.

Now explore. Zoom with the buttons, pinch, or ⌘/Ctrl + scroll. Hover any country for its score.

Many of the countries at the bottom share something beyond their politics: their criminal codes were written under British rule. Section 377 of the Indian Penal Code, drafted in 1860, criminalized "carnal intercourse against the order of nature." It, or close copies of it, spread to Pakistan, Bangladesh, Malaysia and Singapore, and similar "unnatural offences" clauses entered the codes of Nigeria, Kenya and Uganda. Courts and police have applied them to gender-nonconforming people for more than a century.

Iran is a different kind of exception. The state has paid for gender-affirming surgery since the 1980s, yet same-sex relations remain punishable by death. On TRIP it scores 2: legal gender change exists, but only after surgery, a psychiatric diagnosis and a divorce.

Recognition before protection

Not all thirteen rights moved at the same speed, and not every country moved forward.

The chart compares the share of countries that held each right in 2000 with the share in 2021.

2000 2021, rose 2021, fell
Fig. 3Share of countries with each protection in law, 2000 and 2021.Source: TRIP (Williamson, 2024).

Recognition led the progress. In 2000 you could change the gender on your documents in 18 countries, mostly European, and in none of the Americas. By 2021 you could in 60, ten of them in Latin America.

Protection from discrimination came later and ranked lower. No country had an anti-discrimination law covering trans people in 2000. By 2021, 20% protected them at work and about 17% in schools, hospitals and housing. Five countries (Bolivia, Cuba, Ecuador, Fiji and Malta) wrote that protection into their constitutions. Eight offered a nonbinary or third gender marker.

Going backwards

Progress was not in one direction. Twenty-one countries lost at least one protection at some point between 2000 and 2021. Six ended the period with a lower score than they started with: Cambodia, Equatorial Guinea, The Gambia, Indonesia, Kuwait and Oman.

The clearest cases are four countries that wrote new laws against trans people. In TRIP's dataset, Indonesia did it in 2002, Kuwait in 2007, The Gambia in 2013 and Oman in 2018. Other countries took recognition away. Hungary's parliament ended legal gender change in 2020; Bulgaria and Kyrgyzstan lost it in 2021.

In 14 of the 21 countries, the only loss came from indirect criminalization, an indicator that tracks laws not written about trans people but used against them.

Behind each score is a different legal history. In these examples we can see how much a number can hide.

Every country, every year

Put every country and every year into one image, and both stories become visible at once.

Each row is a country, sorted from the highest score in 2021 at the top to the lowest at the bottom. Each column is a year. The colour of a cell is the number of protections that country held that year.

Each row is a country, each column a year. Hover a row, or look a country up in the search box.

In 2000 the picture is almost one colour. 89% of countries held one or two protections, and none held more than four.

Through the 2000s, a few rows at the top begin to darken. By 2011, twelve countries had reached five protections or more.

The bottom quarter barely changes colour from left to right. Of its 44 countries, 39 held exactly the same score in 2021 as in 2000.

Now explore on your own. Hover any row, or search for a country to see how its laws changed.

Fig. 4TRIP score of every country, every year (2000-2021).Source: TRIP (Williamson, 2024).

This is the shape behind the average. There was real legal progress, but only in one part of the chart. In 2000, not one country had five protections. By 2021, 42 did, and 16 had nine or more. But further down the chart, the colour is still the one it started with.

What the law doesn't record

Everything in this article is about laws, and laws are only one part of the picture. They say nothing about the lived experience of trans people: what happens in the street, in a hospital or at home. A country can score 85% and still be a dangerous place for trans people, and a country with a low score can have strong communities that no law records. Still, the law matters. It shapes what the police can do, what a doctor can say and which documents a person is allowed to carry. It is just not the whole story.

The first version of the TRIP records stops in 2021, but the world continued changing. In 2023, Russia banned legal gender change and gender-affirming medical care. The same year, Uganda's Anti-Homosexuality Act made same-sex relations punishable by life imprisonment and, in some cases, death. In the United States, where gender recognition is left to the states, more than twenty states have restricted gender-affirming care for minors since 2021. In the United Kingdom, the government blocked Scotland's self-ID reform in 2023, and in 2025 the Supreme Court ruled that "sex" in equality law means biological sex.

This dataset shows that a country can change its laws in a year. It also shows that it can change them back. Some of the countries that moved forward between 2000 and 2021 did it fast, and some of the ones that went the other way did it just as fast, as we continue to see in different parts of the world.

About this data

The Trans Rights Indicator Project (TRIP) is a dataset of 13 legal indicators for 173 countries from 2000 to 2021, developed by Myles Williamson as part of his doctoral research at the University of Alabama and published in Perspectives on Politics (Cambridge University Press), Vol. 22, No. 3 (2024).

All scores, shares and counts in this article are calculated from the TRIP data.

The LGB comparison uses ILGA World's State-Sponsored Homophobia Report (2020). Post-2021 events: ACLU Legislative Tracker, Human Rights Watch.

Credits

Analysis and visualization: Iván Alfonso Burgos

Photo by Karollyne Videira Hubert