LGBT rights by country or territory

Worldwide laws regarding same-sex intercourse and state of expression and association
Same-sex intercourse illegal
  
Death penalty
  
Death penalty on books but not applied
  
Life imprisonment
  
Limited imprisonment
  
Prison on books but not enforced1-
Same-sex intercourse legal
  
Marriage2
  
Marriage recognized but not performed3
  
Civil unions
  
Limited domestic recognition (cohabitation)
  
Limited foreign recognition (residency)
  
Optional certification
  
Same-sex unions not recognized
  
Laws restricting freedom of expression and association
Rings indicate areas where local judges have granted or denied marriages or imposed the death penalty in a jurisdiction where that is not otherwise the law or areas with a case-by-case application.
1No arrests in the past three years or moratorium on law.
2For some jurisdictions the law may not yet be in effect.
3Jurisdictions in this category may perform other types of partnerships.
LGBT 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, which was not a member of the United Nations in 2008
  
Support States which supported the LGBT rights declaration in the General Assembly or on the Human Rights Council in 2008 or 2011

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

Notably, as of 2019, 28 countries recognize same-sex marriage, they are: Argentina, Australia, Austria, Belgium, Brazil, Canada, Colombia, Denmark, Ecuador, Finland, France, Germany, Greenland, Iceland, Ireland, Luxembourg, Malta, Mexico, the Netherlands, New Zealand, Norway, Portugal, South Africa, Spain, Sweden, Taiwan, the United Kingdom, the United States and Uruguay.[1] By contrast, 6 countries effectively impose the death penalty on consensual same-sex sexual acts, with three in Asia (Iran, Saudi Arabia and Yemen) and three in Africa (Nigeria, Sudan and Somalia). In addition, the death penalty is a possible punishment in 6 other countries: Afghanistan, Brunei, Mauritania, Pakistan, Qatar and the United Arab Emirates. Iraq has been removed from this list following the elimination of the Islamic State (ISIL/ISIS), it remains as a "de facto" criminalising country due to reports of State prosecution using laws on public indecency, prostitution or others.[2][3]

In 2011, the United Nations Human Rights Council passed its first resolution recognizing LGBT rights, following which the Office of the United Nations High Commissioner for Human Rights issued a report documenting violations of the rights of LGBT people, including hate crimes, criminalization of homosexual activity, and discrimination. Following the issuance of the report, the United Nations urged all countries which had not yet done so to enact laws protecting basic LGBT rights.[4][5]

Scope of laws

Laws that affect LGBT people include, but are not limited to, the following: