Skip to content

LGBTQ rights by country or territory

Ch. 1 of 8
— CH. 1 · INTRODUCTION —

Contents

LGBTQ rights by country or territory

8 sections
  • LGBTQ rights by country or territory covers a legal landscape with almost no common ground. In 38 countries, same-sex marriage is recognized by law. At the other end of the scale, a small number of governments treat consensual same-sex acts as a crime that can end in execution. Between those extremes sit rules about parenting, schooling, military service, and even who may donate blood. Which countries sit at the most punishing end, and what does the law actually do there? How do outsiders measure progress across so many legal systems? And where did the oldest rules about same-sex relationships come from, and which of them still shape statute books today?

  • Iran and Afghanistan are the only two countries believed to impose the death penalty on consensual same-sex acts. That count leaves out non-state actors and extrajudicial killings. Four other places keep a death penalty in their official law but generally do not carry it out. They are Mauritania, Saudi Arabia, the United Arab Emirates, and Somalia, where the law applies in the autonomous state of Jubaland.

    The Russian region of Chechnya sits outside this legal picture. LGBTQ people there face extrajudicial killings, which means deaths carried out without any court process. Sudan took one step away from the harshest end in 2020, when it rescinded a death penalty that had gone unenforced. That penalty covered anal sex of any kind, whether between a man and a woman or between two men.

    Stoning adds a second layer. Fifteen countries have stoning on the books as a punishment for adultery. Because gay marriage is illegal in those countries, gay sex falls under that offense by default. Legal authorities actually enforce the penalty in Iran and in the northern third of Nigeria. Outside those lands, the United Nations began asking governments to change course in 2011.

  • In 2011, the United Nations Human Rights Council passed its first resolution recognizing LGBTQ rights. The Office of the United Nations High Commissioner for Human Rights then issued a report. It documented hate crimes, the criminalization of homosexual activity, and discrimination. After that report, the United Nations urged every country that had not yet acted to enact laws protecting basic LGBTQ rights.

    Researchers have also tried to put numbers on the stakes. A 2022 study used ILGA-Europe's Rainbow Index to score LGBTQ rights. It found that stronger rights were correlated with less HIV/AIDS among gay and bisexual men. That link held independently of risky sexual behavior.

    Rankings give a second view. The 2023 Equaldex Equality Index places the Nordic countries, Chile, Uruguay, Canada, the Benelux countries, Spain, Andorra, and Malta among the best for LGBTQ rights. Its lowest ranks go to Senegal, Oman, Brunei, Afghanistan, Somalia, Eritrea, Gambia, and Iran. Some religious groups back these rights too, including progressive Christian denominations, Inclusive churches, and progressive Jewish organizations.

    One Benelux country holds a particular first. In 2001, the Netherlands became the first country in the world to legalize same-sex marriage.

  • Fourteen distinct kinds of law touch the lives of LGBTQ people, and the list is described as non-exhaustive. Some concern family life: recognition of same-sex relationships through marriage, civil unions, or domestic partnerships, plus same-sex parenting, adoption, and access to assisted reproductive technology.

    Others protect people from harm. Anti-discrimination laws cover employment, housing, education, and public accommodations. Anti-bullying legislation protects LGBTQ children at school. Hate crime laws raise the penalty when violence is motivated by prejudice.

    A third group does the opposite. Sodomy laws penalize consensual same-sex activity. Some target males only, some cover males and females, and some leave certain homosexual acts legal. Adultery laws can apply to same-sex couples. Age of consent laws may set a higher age for same-sex activity.

    The remaining categories are narrower. They include bathroom bills on access to sex-segregated facilities for transgender people and rules on military service. Further rules limit blood, cornea, and tissue donation by men who have sex with men. The last two cover gender-affirming surgery and hormone therapy, and legal recognition of a person's affirmed gender. These categories mostly describe the modern state, yet some of the oldest legal writing already dealt with the same questions.

  • The Arthashastra of ancient India punished Ayoni, meaning non-vaginal sex of every type. Homosexual acts counted as a smaller offense there and drew a fine. Unlawful heterosexual sex carried a much harsher punishment. Later texts followed a similar pattern. The Vashistha Dharmasutra prescribed against non-vaginal sex, and the Yajnavalkya Smriti set fines for such acts, including those between men. The Manusmriti prescribed light punishments. The scholar Vanita explained one set of verses, about sex between a woman and a maiden, as a reflection of the strong emphasis on a maiden's sexual purity.

    The Law of Moses, the Torah, takes a sterner tone. Leviticus 18 forbids people from lying with someone of the same sex. Genesis 19 tells of an attempted homosexual rape in Sodom and Gomorrah. The cities are then destroyed with "brimstone and fire, from the Lord." Lot's wife is turned into a pillar of salt for looking back at the destruction. Deuteronomy 22:5 separately condemns cross-dressing as "abominable."

    The Assyrians took a very different view of the same acts.

  • A clay tablet called the Šumma ālu, written in Akkadian, once treated a same-sex encounter as a sign of good luck. It reads: "If a man copulates with his equal from the rear, he becomes the leader among his peers and brothers." Assyrian society punished sex crimes the same way whether they were homosexual or heterosexual. A man faced no penalty for penetrating an equal in social class, a cult prostitute, or someone whose gender roles were not considered solidly masculine.

    Social rank decided whether an act brought luck or trouble. Relationships with fellow soldiers, slaves, or royal attendants were treated as bad omens. So were relationships in which a social better was the submissive or penetrated partner.

    The Middle Assyrian Law Codes, dating to 1075 BC, were severe about the military. They state: "If a man have intercourse with his brother-in-arms, they shall turn him into a eunuch." A similar code reads: "If a seignior lay with his neighbor, when they have prosecuted him (and) convicted him, they shall lie with him (and) turn him into a eunuch." That second law condemns homosexual rape. Any Assyrian male could visit a prostitute or lie with another male, provided no false rumors or forced sex were involved. Rome drew its lines according to citizenship instead.

  • The Lex Scantinia in ancient Rome imposed penalties on anyone who committed a sex crime, called stuprum, against a freeborn male minor. The bodies of citizen youths were strictly off-limits. Acceptable same-sex partners were males who lacked a citizen's legal protections. These were slaves, male prostitutes, and the infames, such as entertainers whose lifestyles set them outside the law. A male citizen who willingly performed oral sex or received anal sex was disparaged, yet evidence of legal penalties against these men is limited. Courtroom and political rhetoric accused "democratic" politicians, the populares, of effeminacy. Julius Caesar and Mark Antony were among the targets.

    Rape law protected men too. As early as the 2nd century BC, Rome ruled that even a man who was "disreputable and questionable" held the same right as other citizens not to be forced into sex. A law probably dating to Julius Caesar's dictatorship defined rape as forced sex against a "boy, woman, or anyone." The penalty was execution, which was rare in Roman law. An infamis could not legally be raped, and neither could a slave, who counted as property. A slave's owner could instead prosecute for property damage.

    In the army of the Republic, sex between soldiers violated military discipline and could bring death. The Greek historian Polybius, in the 2nd century BC, listed deserters, thieves, perjurers, and "young men who have abused their persons" among those subject to the fustuarium, clubbing to death. A young soldier accusing a superior had to show that he had not willingly taken the passive role or prostituted himself. Soldiers could have relations with their male slaves. What the law barred was the use of a fellow citizen-soldier's body, not homosexual behavior itself. By the late Republic and through the Imperial period, evidence grows that men whose lifestyle marked them as homosexual in the modern sense served openly.

    Marriage was a different matter. Roman law did not recognize marriage between men, and Romans generally saw marriage as a heterosexual union meant to produce children. Even so, in the early Imperial period some male couples celebrated traditional marriage rites. The poet Juvenal remarked with disapproval that his friends often attended such ceremonies. The emperor Nero married two men, once as the bride to a freedman named Pythagoras and once as the groom. His consort Sporus appeared in public as Nero's wife, wearing the regalia customary for an empress.

    The prosecution of homosexuality as a general crime began in the 3rd century of the Christian era. Philip the Arab banned male prostitution. By the end of the 4th century, after the empire had come under Christian rule, passive homosexuality was punishable by burning. The Theodosian Code prescribed "death by sword" for a "man coupling like a woman." Under Justinian, all same-sex acts, passive or active, were declared contrary to nature and punishable by death. Centuries later, another empire carried harsh laws across much of the world.

  • In 1861, the British Empire introduced Section 377 of the British Colonial Penal Code. It outlawed consensual sexual activity between same-sex couples. It also labelled third gender communities, such as the apwint people and the Hijra, as "outlaw tribes." The law targeted acts "against the order of nature," and authorities used it to prosecute oral and anal sex along with homosexual activity. The United Kingdom spread anti-homosexuality laws across its colonies, particularly in the 19th century when the empire was at its peak. As of 2018, more than half of the 71 countries that criminalised homosexuality were former British colonies or protectorates.

    Section 377 still exists in some of those places. Bangladesh, Malaysia, Myanmar, and Pakistan retain it, and Sri Lanka has the same rule as Section 365.

    Other laws aimed at gender non-conformity. In 1861, authorities of the North-Western Provinces sought a special law against Hijra people in order to criminalise their identity. The Hijra were then included in the Criminal Tribes Act of 1871 and were monitored in the hope of eliminating their culture. Under that act, Hijra people could not possess children.

    The effects reach into the present. Homosexual activity remains a criminal offence in 29 of the 56 sovereign states of the Commonwealth of Nations and is legal in 27. In 3 of those states, it is punishable by death.

    The source also points to a history that predates colonial rule. Texts from India's religious traditions, including Jainism, Buddhism, and the Kama Sutra, refer to a third sex. The Manu Smriti, dated to roughly 200 BC to 200 AD, describes humans as belonging to one of three biological sexes. That framing suggests a belief that transsexuality was an inherent trait.

Updated

Common questions

Which countries impose the death penalty in LGBTQ rights law?

Iran and Afghanistan are the only two countries believed to impose the death penalty on consensual same-sex acts, not counting non-state actors and extrajudicial killings. Mauritania, Saudi Arabia, Somalia (in Jubaland), and the United Arab Emirates have it in law but generally do not practice it.

How many countries recognize same-sex marriage in LGBTQ rights by country?

38 countries recognize same-sex marriage. The Netherlands was the first country in the world to legalize it, in 2001.

What is Section 377 and how does it relate to LGBTQ rights?

Section 377 of the British Colonial Penal Code was introduced in 1861 and outlawed consensual sexual activity between same-sex couples. It still exists in Bangladesh, Malaysia, Myanmar, and Pakistan, and Sri Lanka has the same rule as Section 365.

What did the United Nations do about LGBTQ rights in 2011?

In 2011, the United Nations Human Rights Council passed its first resolution recognizing LGBTQ rights. A report from the Office of the United Nations High Commissioner for Human Rights followed, and the United Nations urged all countries to enact laws protecting basic LGBTQ rights.

Which countries rank best and worst for LGBTQ rights in the 2023 Equaldex Equality Index?

The index ranks the Nordic countries, Chile, Uruguay, Canada, the Benelux countries, Spain, Andorra, and Malta among the best. It ranks Senegal, Oman, Brunei, Afghanistan, Somalia, Eritrea, Gambia, and Iran among the worst.

Do Commonwealth countries still criminalise same-sex activity in LGBTQ rights law?

Homosexual activity remains a criminal offence in 29 of the 56 sovereign states of the Commonwealth of Nations and is legal in 27. In 3 of those states, it is punishable by death.

How did ancient Rome treat same-sex relationships in LGBTQ rights history?

Roman law protected citizen youths and did not recognize marriage between men, though some male couples held marriage rites in the early Imperial period. Under Justinian, all same-sex acts were declared contrary to nature and punishable by death.

All sources

71 references cited across the entry

  1. 4BookForbidden Tale (A comprehensive study on lesbian, gay, bisexuals (LGB) in Iran)Kameel Ahmady — AP Lambert Academic Publishing — 2020
  2. 12BookState-Sponsored Homophobia 2019Lucas Ramón Mendos — ILGA — 2019
  3. 14NewsU.N. council passes gay rights resolutionJill Dougherty — 17 June 2011
  4. 16JournalStigmatizing Policies Interact with Mental Health and Sexual Behaviours to Structurally Induce HIV Diagnoses Among European Men Who Have Sex with MenKristefer Stojanovski et al. — 2022
  5. 18William H. Brackney, Historical Dictionary of the Baptists, Scarecrow Press, USA, 2009, p. 603
  6. 19Jason E. Vickers, The Cambridge Companion to American Methodism, Cambridge University Press, UK, 2013, p. 112
  7. 21BookSexual Diversity in Asia, c. 600–1950Daud Ali — Routledge — 2012
  8. 22BookSame-Sex Love in IndiaRuth Vanita — Penguin Books Limited — October 20, 2008
  9. 23BookLove's Rite: Same-Sex Marriage in India and the WestRuth Vanita — Palgrave Macmillan — 2005
  10. 24BookSodom and Gomorrah: History and Motif in Biblical NarrativeWeston W. Fields — A&C Black — 1997
  11. 28BookDressing Judeans and Christians in AntiquityRoutledge — 2016
  12. 29BookCross Dressing, Sex, and GenderVern L. Bullough et al. — University of Pennsylvania Press — 1993
  13. 30BookHomoeroticism in the Biblical World: A Historical PerspectiveMartti Nissinen — Fortress Press — 2004
  14. 31BookThe Construction of HomosexualityDavid F. Greenberg — University of Chicago Press — 15 August 1990
  15. 33Pritchard, p. 181.
  16. 34Gay Rights Or Wrongs: A Christian's Guide to Homosexual Issues and Ministry, by Mike Mazzalonga, 1996, p.11
  17. 36BookTritiya-Prakriti: People of the Third SexAmara Das Wilhelm — Xlibris Corporation — 18 May 2010
  18. 37G. R. Driver and J. C. Miles, The Assyrian Laws (Oxford, Clarendon Press 1935), 71.
  19. 38Plutarch, Moralia 288a; Thomas Habinek, "The Invention of Sexuality in the World-City of Rome," in The Roman Cultural Revolution (Cambridge University Press, 1997), p. 39; Richlin, "Not before Homosex
  20. 39Williams, Roman Homosexuality, pp. 214–215; Richlin, "Not before Homosexuality," passim.
  21. 40Catharine Edwards, The Politics of Immorality in Ancient Rome (Cambridge University Press, 1993), pp. 63–64.
  22. 41As recorded in a fragment of the speech De Re Floria by Cato the Elder (frg. 57 Jordan = Aulus Gellius 9.12.7), noted and discussed by Richlin, "Not before Homosexuality," p. 561.
  23. 42Richlin, "Not before Homosexuality," pp. 562–563. See also Digest 48.5.35 34 on legal definitions of rape that included boys.
  24. 43Under the Lex Aquilia. See McGinn, Prostitution, Sexuality, and the Law in Ancient Rome, p. 314.
  25. 44McGinn, Prostitution, Sexuality and the Law in Ancient Rome, p. 40.
  26. 45Sara Elise Phang, Roman Military Service: Ideologies of Discipline in the Late Republic and Early Principate (Cambridge University Press, 2008), p. 93.
  27. 47Phang, The Marriage of Roman Soldiers, pp. 280–285.
  28. 48Phang, The Marriage of Roman Soldiers, p. 3.
  29. 49Williams, Roman Homosexuality, p. 112 et passim.
  30. 50BookThe Marriage of Roman SoldiersSara Elise Phang — BRILL — 13 May 2024
  31. 51Juvenal, Satire 2; Williams, Roman Homosexuality, p. 28.
  32. 52Suetonius Life of Nero 28–29; Williams, Roman Homosexuality, p. 279ff.
  33. 53Michael Groneberg, "Reasons for Homophobia: Three Types of Explanation," in Combatting Homophobia: Experiences and Analyses Pertinent to Education (LIT Verlag, 2011), p. 193.
  34. 54Codex Theodosianus 9.7.3 (4 December 342), introduced by the sons of Constantine in 342.
  35. 55Groneberg, "Reasons for Homophobia," p. 193.
  36. 59BookGoverning Gender and Sexuality in Colonial India: The Hijra, c.1850–1900Jessica Hinchy — Cambridge University Press — 2019
  37. 60BookWith Respect to Sex: Negotiating Hijra Identity in South IndiaGayatri Reddy — University of Chicago Press — 2010
  38. 61Journal"Like a city ablaze": The third sex and the creation of sexuality in Jain religious literatureL Zwilling et al. — 1996
  39. 62JournalNon-normative Sex/Gender Categories in the Theravada Buddhist ScripturesPeter A. Jackson — April 1996
  40. 63JournalHidden in History: Female Homoeroticism and Women of a "Third Nature" in the South Asian PastWalter Penrose — 2001
  41. 65In the Russian law "for the Purpose of Protecting Children from Information Advocating for a Denial of Traditional Family Values", foreigners may be arrested and detained for up to 15 days then deport

Queue