LGBTQ rights by country or territory
Thirty-eight countries currently recognize same-sex marriage. This legal recognition stands in stark contrast to the reality in Iran and Afghanistan, where two nations are believed to impose the death penalty for consensual same-sex sexual acts. Mauritania, Saudi Arabia, Somalia, and the United Arab Emirates maintain the death penalty as official law, though it is generally not practiced there. In the Russian region of Chechnya, LGBTQ people face extrajudicial killings without any state protection. Sudan rescinded its unenforced death penalty for anal sex in 2020, removing a harsh provision from its books. Fifteen countries have stoning on their books as a penalty for adultery, which effectively includes gay sex by default since gay marriage is illegal in those places. Legal authorities in Iran and Nigeria enforce this stoning penalty in the northern third of that country.
The British Empire introduced anti-homosexuality laws throughout its colonies during the nineteenth century when the empire was at its peak. Section 377 of the British Colonial Penal Code outlawed consensual sexual activity between same-sex couples in 1861. This law also labeled third gender communities such as the apwint people and Hijra as outlaw tribes. More than half of the seventy-one countries that criminalized homosexuality were former British colonies or protectorates as of 2018. The United Kingdom authorities sought to enact a special law against Hijra people in the North-Western Provinces in 1861. The Criminal Tribes Act of 1871 included Hijra people and monitored them with the hope of eliminating their culture. Homosexual activity remains a criminal offense in twenty-nine of the fifty-six sovereign states of the Commonwealth today. Only twenty-seven states allow legal homosexual activity within the Commonwealth. Three of these states still punish homosexual activity with death.
In ancient India, Ayoni or non-vaginal sex of all types was punishable under the Arthashastra text. Homosexual acts were treated as a smaller offense punishable by a fine while unlawful heterosexual sex carried much harsher punishment. The Dharmsastras prescribed against non-vaginal sex in later texts like the Vashistha Dharmasutra. Ancient Israel forbade people from lying with people of the same sex in Leviticus eighteen. Genesis nineteen tells a story of attempted homosexual rape after which the cities were destroyed with brimstone and fire from the Lord. Assyrian society punished sex crimes identically whether they were homosexual or heterosexual. An Akkadian tablet reading Šumma ālu stated that if a man copulated with his equal from the rear he became the leader among his peers. Middle Assyrian Law Codes dating to 1075 BC mandated turning a man into a eunuch if he had intercourse with his brother-in-arms. Roman law imposed penalties on those who committed a sex crime against a freeborn male minor under the Lex Scantinia. A law probably dating to Julius Caesar defined rape as forced sex against boy woman or anyone.
The United Nations Human Rights Council passed its first resolution recognizing LGBTQ rights in 2011. Following this resolution the Office of the United Nations High Commissioner for Human Rights issued a report documenting violations including hate crimes and criminalization of homosexual activity. The United Nations urged all countries which had not yet done so to enact laws protecting basic LGBTQ rights. A 2022 study found that LGBTQ rights correlated with less HIV/AIDS incidence among gay and bisexual men independently of risky sexual behavior. The Equaldex Equality Index ranks Nordic countries Chile Uruguay Canada Spain Andorra and Malta among the best for LGBTQ rights. Senegal Oman Brunei Afghanistan Somalia Eritrea Gambia and Iran rank among the worst according to the index. A 2023 Gallup opinion poll found Nepal was the only non-Western country where over 80 percent of respondents considered their residential area good for gay or lesbian people.
The Netherlands became the first country in the world to legalize same-sex marriage in 2001. This landmark decision set a precedent for other nations to follow regarding legal recognition of same-sex relationships. Decriminalization movements have gained momentum across various regions as countries review their historical penal codes. Some nations have moved to equalize age of consent laws for same-sex couples after previously maintaining different standards. Legal status varies significantly between countries that recognize same-sex marriage and those that do not. Blood donation policies for men who have sex of men differ widely across national borders today. Conversion therapy bans for minors are now part of legislation in several jurisdictions seeking to protect vulnerable youth.
Up Next
Common questions
Which countries currently recognize same-sex marriage?
Thirty-eight countries currently recognize same-sex marriage. This legal recognition stands in stark contrast to the reality in Iran and Afghanistan, where two nations are believed to impose the death penalty for consensual same-sex sexual acts.
When did the Netherlands legalize same-sex marriage?
The Netherlands became the first country in the world to legalize same-sex marriage in 2001. This landmark decision set a precedent for other nations to follow regarding legal recognition of same-sex relationships.
What is the history of LGBTQ rights laws under the British Empire?
Section 377 of the British Colonial Penal Code outlawed consensual sexual activity between same-sex couples in 1861. More than half of the seventy-one countries that criminalized homosexuality were former British colonies or protectorates as of 2018.
How does the United Nations Human Rights Council address LGBTQ rights?
The United Nations Human Rights Council passed its first resolution recognizing LGBTQ rights in 2011. Following this resolution the Office of the United Nations High Commissioner for Human Rights issued a report documenting violations including hate crimes and criminalization of homosexual activity.
Which countries have the worst rankings for LGBTQ rights according to Equaldex?
Senegal Oman Brunei Afghanistan Somalia Eritrea Gambia and Iran rank among the worst according to the index. Legal authorities in Iran and Nigeria enforce stoning penalties in the northern third of that country.
All sources
50 references cited across the entry
- 4bookForbidden Tale (A comprehensive study on lesbian, gay, bisexuals (LGB) in Iran)Kameel Ahmady — AP Lambert Academic Publishing — 2020
- 5newsLives of LGBTQ+ Afghans 'dramatically worse' under Taliban rule, finds surveyRuchi Kumar — 2022-01-26
- 10newsNigerian Islamic court orders death by stoning for men convicted of homosexualityArdo Hazzad — 2022-07-02
- 13bookState-Sponsored Homophobia 2019Lucas Ramón Mendos — ILGA — 2019
- 14newsBrunei not the only place LGBTQI can be killed for who they loveSamantha Dick — 4 April 2019
- 15newsU.N. council passes gay rights resolutionJill Dougherty — 17 June 2011
- 17journalStigmatizing 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
- 20bookSexual Diversity in Asia, c. 600–1950Daud Ali — Routledge — 2012
- 21bookSame-Sex Love in IndiaRuth Vanita — Penguin Books Limited — October 20, 2008
- 22bookLove's Rite: Same-Sex Marriage in India and the WestRuth Vanita — Palgrave Macmillan — 2005
- 23bookSodom and Gomorrah: History and Motif in Biblical NarrativeWeston W. Fields — A&C Black — 1997
- 24bookA Tale of Two Cities: Sodom and Gomorrah in the Old Testament, Early Jewish and Early Christian TraditionsJ. A. Loader — Peeters Publishers — 1990
- 25bookOn Restitution; Lot and his Wife; The Rich Man; Christian Composure; sermons by ... F. S. ... translated from the German, by Miss SleeGerhard Friedrich Abraham STRAUSS et al. — 1837
- 27bookDressing Judeans and Christians in AntiquityRoutledge — 2016
- 28bookCross Dressing, Sex, and GenderVern L. Bullough et al. — University of Pennsylvania Press — 1993
- 29bookHomoeroticism in the Biblical World: A Historical PerspectiveMartti Nissinen — Fortress Press — 2004
- 30bookThe Construction of HomosexualityDavid F. Greenberg — University of Chicago Press — 15 August 1990
- 33bookTritiya-Prakriti: People of the Third SexAmara Das Wilhelm — Xlibris Corporation — 18 May 2010
- 35bookThe Marriage of Roman SoldiersSara Elise Phang — BRILL — 13 May 2024
- 38newsIndia legalized homosexuality, but many of its neighbours haven'tJosh Elliott — 6 September 2018
- 39bookGoverning Gender and Sexuality in Colonial India: The Hijra, c.1850–1900Jessica Hinchy — Cambridge University Press — 2019
- 40bookWith Respect to Sex: Negotiating Hijra Identity in South IndiaGayatri Reddy — University of Chicago Press — 2010
- 41journal"Like a city ablaze": The third sex and the creation of sexuality in Jain religious literatureL Zwilling et al. — 1996
- 42journalNon-normative Sex/Gender Categories in the Theravada Buddhist ScripturesPeter A. Jackson — April 1996
- 43journalHidden in History: Female Homoeroticism and Women of a "Third Nature" in the South Asian PastWalter Penrose — 2001
- 44bookHomosexuality and the Law: A DictionaryAbc-Clio — 2001