LGBTQ rights by country or territory

Rights affecting lesbian, gay, bisexual, transgender and queer (LGBTQ) people vary greatly by country or jurisdiction—encompassing everything from the legal recognition of same-sex marriage to the death penalty for homosexuality.

[1][2] By contrast, not counting non-state actors and extrajudicial killings, only two countries are believed to impose the death penalty on consensual same-sex sexual acts: Iran and Afghanistan.

[3][4][5][6] The death penalty is officially law, but generally not practiced, in Mauritania, Saudi Arabia, Somalia (in the autonomous state of Jubaland) and the United Arab Emirates.

[15][16] A 2022 study found that LGBT rights (as measured by ILGA-Europe's Rainbow Index) were correlated with less HIV/AIDS incidence among gay and bisexual men independently of risky sexual behavior.

[22] The ancient Law of Moses (the Torah) forbids people from lying with people of the same sex (i.e., from having intercourse) in Leviticus 18 and gives a story of attempted homosexual rape in Genesis 19, in the story of Sodom and Gomorrah, after which the cities were soon destroyed with "brimstone and fire, from the Lord"[23][24] and the death penalty was prescribed to its inhabitants – and to Lot's wife, who was turned into a pillar of salt because she turned back to watch the cities' destruction.

[29] An individual faced no punishment for penetrating someone of equal social class, a cult prostitute, or with someone whose gender roles were not considered solidly masculine.

[29] Such sexual relations were even seen as good fortune, with an Akkadian tablet, the Šumma ālu, reading, "If a man copulates with his equal from the rear, he becomes the leader among his peers and brothers".

[36] In ancient Rome, the bodies of citizen youths were strictly off-limits, and the Lex Scantinia imposed penalties on those who committed a sex crime (stuprum) against a freeborn male minor.

[38] In courtroom and political rhetoric, charges of effeminacy and passive sexual behaviors were directed particularly at "democratic" politicians (populares) such as Julius Caesar and Mark Antony.

[44] The Greek historian Polybius (2nd century BC) lists deserters, thieves, perjurers, and "...on young men who have abused their persons" as subject to the fustuarium, clubbing to death.

[45] Ancient sources are most concerned with the effects of sexual harassment by officers, but the young soldier who brought an accusation against his superior needed to show that he had not willingly taken the passive role or prostituted himself.

[48] By the late Republic and throughout the Imperial period, there is increasing evidence that men whose lifestyle marked them as "homosexual" in the modern sense served openly.

[51] Apart from measures to protect the prerogatives of citizens, the prosecution of homosexuality as a general crime began in the 3rd century of the Christian era when male prostitution was banned by Philip the Arab.

Worldwide laws regarding same-sex intercourse, unions and expression
Same-sex intercourse illegal. Penalties:
Prison; death not enforced
Death under militias
Prison, with arrests or detention
Prison, not enforced 1
Same-sex intercourse legal. Recognition of unions:
Extraterritorial marriage 2
Limited foreign
Optional certification
None
Restrictions of expression, not enforced
Restrictions of association with arrests or detention

1 No imprisonment in the past three years [ timeframe? ] or moratorium on law.
2 Marriage not available locally. Some jurisdictions may perform other types of partnerships.
LGBTQI+ rights at the United Nations
Neither States which did not support either declaration
Non-member states States that are not voting members of the United Nations
Oppose States which supported an opposing declaration in 2008 and continued their opposition in 2011
Subsequent member South Sudan, did not exist in 2008
Support States which supported the LGBT rights declaration in the General Assembly or on the Human Rights Council in 2008 or 2011
Laws concerning gender identity-expression by country or territory
Legal identity change, surgery not required
Legal identity change, surgery required
No legal identity change
Unknown/Ambiguous
Worldwide laws regarding same-sex intercourse, unions and expression
Same-sex intercourse illegal. Penalties:
Prison; death not enforced
Death under militias
Prison, with arrests or detention
Prison, not enforced 1
Same-sex intercourse legal. Recognition of unions:
Extraterritorial marriage 2
Limited foreign
Optional certification
None
Restrictions of expression, not enforced
Restrictions of association with arrests or detention

1 No imprisonment in the past three years [ timeframe? ] or moratorium on law.
2 Marriage not available locally. Some jurisdictions may perform other types of partnerships.
Support
Countries which have signed a General Assembly declaration of LGBT rights or sponsored the Human Rights Council 's 2011 resolution on LGBT rights ( 96 members )
Oppose
Countries which signed a 2008 statement opposing LGBT rights (initially 57 members, now 54 members after withdrawal of Fiji, Rwanda and Sierra Leone )
Neither
Countries which, as regards the UN, have expressed neither official support nor opposition to LGBT rights ( 44 members )
Homosexual "propaganda" and "morality" laws by country or territory
Countries or territories that do not have homosexual "propaganda" or "morality" laws
Imprisonment
1791–1850
1850–1945
1946–1989
1990–present
Unknown date of legalization of same-sex intercourse
Same-sex sexual intercourse always legal
Still criminalized
1790–1829
1830–1839
1840–1859
1860–1869
1870–1879
1880–1889
1890–1929
1930–1939
1940–1949 1
1950–1959
1960–1969
1970–1979
1980–1989
1990–1999
2000–2009
2010–2019
2020–present
Unknown date for equal age of consent laws for opposite and same-sex couples
No consent laws/equal age of consent laws always equal for opposite and same-sex couples
Unequal age of consent laws for same-sex couples
Same-sex sexual intercourse illegal
1 During World War II , Nazi Germany annexed or occupied territory, extending Germany's laws against same-sex sexual intercourse . Age of consent was previously equalized for same-sex couples in the following countries or territories before the war: Belluno ( legal in 1890 ), Trentino-Alto Adige/Südtirol ( legal in 1890 ), Friuli-Venezia Giulia ( legal in 1890 ), [ 59 ] [ 60 ] and Poland ( decriminalized in 1932 ). [ 61 ] [ 62 ] During World War II Germany did not consistently enforce anti-homosexual laws in all occupied countries. [ 63 ] [ 64 ] All countries and territories listed that were annexed or established into reichskommissariats by Nazi Germany during World War II were restored as independent countries or reincorporated into their previous countries during or after the war and thus re-legalized equal age of consent laws for same-sex couples in those areas. [ citation needed ]
Marriage open to same-sex couples
Mixed jurisdiction: marriage recognized by the state but not by tribal government for residents who are members of the tribe
Legislation or binding domestic court ruling establishing same-sex marriage, but marriage is not yet provided for
Same-sex marriage recognized with full rights when performed in certain other jurisdictions
Civil unions or domestic partnerships
Limited legal recognition
Local certification without legal force
Limited recognition of marriage performed in certain other jurisdictions (residency rights for spouses)
Other countries where same-sex unions are not legally recognized
Joint adoption allowed
Second-parent adoption allowed
No laws allowing adoption by same-sex couples and no same-sex marriage
Same-sex marriage but adoption by married same-sex couples not allowed
All LGBT people can serve
GBT men can serve
LGB people can serve
GB men can serve
Ambiguous/unknown policy
LGBT people are banned from serving
No military
Sexual orientation and gender identity: all employment
Sexual orientation with anti–employment discrimination ordinance and gender identity solely in public employment
Sexual orientation: all employment
Gender identity: all employment
Sexual orientation and gender identity: federal public employment and federal contractors
Sexual orientation and gender identity: public employment
Sexual orientation: public employment
No national-level employment laws covering sexual orientation or gender identity
Countries and territories with LGBT anti-discrimination laws in goods and services
Sexual orientation and gender identity covered
Sexual orientation covered
Gender identity covered
No national or local level anti-discrimination laws covering sexual orientation and/or gender identity in goods and services
Sexual orientation and gender identity covered
Sexual orientation covered
Gender identity covered
No national or local level constitutional discrimination laws covering sexual orientation and/or gender identity
Sexual orientation and gender identity hate crime laws
Sexual orientation hate crime laws
No LGBT hate crime laws
Incitement to hatred based on sexual orientation and gender identity prohibited
Incitement to hatred based on sexual orientation prohibited
No prohibition on incitement to hatred based on sexual orientation and gender identity
Ban on conversion therapy on the basis of sexual orientation and gender identity
De facto ban on conversion therapy
No ban on conversion therapy
Recognition of same-sex couples in national immigration laws
Unknown/ambiguous
No specific prohibition of same-sex marriages or unions
Same-sex marriage banned by secular constitution
Same-sex marriage banned by constitutionally mandated religious law
Blood donation policies for men who have sex with men
Men who have sex with men may donate blood; No deferral
Men who have sex with men may donate blood; Temporary deferral
Men who have sex with men may not donate blood; Permanent deferral
No Data
Blood donation policies for female sex partners of men who have sex with men
Female sex partners of men who have sex with men may donate blood; No deferral
Female sex partners of men who have sex with men may donate blood; Temporary deferral
Female sex partners of men who have sex with men may not donate blood; Permanent deferral
No Data
Legal identity change, surgery not required
Legal identity change, surgery required
No legal identity change
Unknown/Ambiguous
Nonbinary / third gender available as voluntary opt-in
Opt-in for intersex people only
Standard for third gender
Standard for intersex
Nonbinary / third gender not legally recognized / no data