Compare LGBT Rights in Denmark, Libya, & Slovakia

Equality Index

Overall score, and how far each country’s laws sit from its public opinion

  • Legal
  • Public opinion
  • Equality Index
Country · Equality Index
Legal ↔ Public opinion
Gap
82
DenmarkRank 1 of 3
9469
25 ptsLaws ahead of opinion
46
SlovakiaRank 2 of 3
5833
25 ptsLaws ahead of opinion
13
LibyaRank 3 of 3
819
11 ptsOpinion ahead of laws
0255075100

Compared with every country

  • In this comparison
  • Other countries
25
50
75
100
Denmark82
Slovakia46
Libya13
Highest197 countries, ranked by Equality IndexLowest

Law

Current legal status of LGBTQ+ rights in each country

  • Protected
  • Restricted
  • Not protected
Issue
Denmark
Libya
Slovakia
Homosexual activity Legal
Since 1933
Changes to the Danish penal code in 1930, coming into effect in January 1st 1933 permitted same-sex sexual activity.
Illegal (imprisonment as punishment)
Since 1953
Articles 407 and 408 of the Penal Code of 1953 criminalize homosexuality. Article 407 criminalizes “illicit sexual intercourse” with up to…
Legal
Since 1962
Homosexuality was legalized in the former Czechoslovakia.
Same-sex marriage Legal
Since 2012
Since June 15, 2012, Denmark has recognised both homosexual and heterosexual marriages. Denmark was the eighth country in Europe, and the…
Banned
In Libya, marriage is defined as between a man and a woman, and same-sex couples are granted no legal recognition.
Banned
Since 2026
Same-sex marriage is constitutionally banned in Slovakia under Article 41 of the Constitution (amended in 2014), which defines marriage…
Censorship of LGBT issues No censorship
In Denmark, there are no laws restricting the discussion or promotion of LGBTQ+ topics.
Imprisonment as punishment
Since 1953
Article 421 of Libya's Penal Code prohibits "indecent acts and articles" with imprisonment of up to one year or a fine of up to 50 pounds…
No censorship
In Slovakia, there are no laws restricting the discussion or promotion of LGBTQ+ topics. In September 2024, Slovakia proposed a law that…
Right to change legal gender Legal, no restrictions
Since 2014
Denmark's historic new law allows citizens to self-determine their own gender identity without any requirements for medical or psychiatric…
Illegal
Transgender individuals are not able to change their legal gender.
Legal, but requires surgery
Since 2023
In 2023, the Ministry of Health made surgery a requirement again and repealed the short-lived policy that made surgery no longer required…
Gender-affirming care Legal
Since 2016
Please note: As a general rule, surgical treatment is not offered before the age of 18. Denmark launched a centralised gender transition…
Restricted
Gender-affirming care is inaccessible in Libya. However, there is no explicit ban on it.
Legal, but restricted for minors
Since 2023
There are no excessive restrictions placed specifically on transgender people's access to gender-affirming care in Slovakia. However, this…
Legal recognition of non-binary gender Recognized
Since 2014
The Danish government allows the 'X' gender marker in passports.
Not legally recognized
There is no legal gender recognition provided to nonbinary or intersex people in Libya.
Not legally recognized
Slovakia does not officially recognise non-binary genders. On 26 September, the Slovak Parliament passed a constitutional law which…
Hate crime protections Sexual orientation and gender identity
Since 2022
Section 81 No. 6 “In determining the penalty it shall, as a general rule, be considered an aggravating circumstance that (...) 6) the…
No protections
Libya does not provide hate crime protections based on sexual orientation or gender identity.
Sexual orientation only
Since 2006
Section 140 – (Definitions) Specific Motivation Specific motivation shall mean that a criminal offence was committed (...) e) from hatred…
LGBT discrimination Illegal
Since 1996
There is protection against discrimination at court in the criminal code.
No protections
There are no protections from discrimination provided to LGBTIQ+ people in Libya.
Illegal
Since 2013
The Anti-Discrimination Act (Slovak: Antidiskriminačný zákon) was adopted in 2004, to comply with the European Union's requirements on…
LGBT employment discrimination Sexual orientation and gender identity
Since 1996
Employment Discrimination illegal.
No protections
There are no protections from discrimination in employment provided to LGBTIQ+ people in Libya.
Sexual orientation and gender identity
Since 2018
Act No. 365/2004 on Equal treatment gives protections for LGB People, Trans people would be covered later on when the act was amended in…
LGBT housing discrimination Sexual orientation and gender identity
Since 2022
Since 2022, any type of discrimination based on sexual orientation, gender identity, gender expression, and sex characteristics has been…
No protections
There are no protections from discrimination in housing provided to LGBTIQ+ people in Libya.
Sexual orientation and gender identity
Since 2008
In 2008, Slovakia passed an amendment to its Law on Equal Treatment in Certain Areas and Protection against Discrimination by adding sexual…
Same-sex adoption Legal
Since 2009
At the time, gay couples were allowed to have civil unions and thus was able to apply as a couple.
N/A
In Libya, adoption, as understood in many Western contexts, is prohibited for everyone.
Illegal
Since 2025
A new constitutional amendment makes it almost impossible for anyone other than married couples to adopt children. The constitution had…
Intersex infant surgery Not banned
Unnecessary genital 'normalisation' surgeries on intersex infants are not banned in Denmark.
Not banned
There is no ban on surgeries performed on intersex infants in Libya.
Not banned
There are no bans on genital 'normalisation' surgery on Slovakian intersex infants.
Serving openly in military Legal
Since 1978
LGB people have been able to serve since 1978, transgender people were largely unknown but have been permitted from at least 2014.
Don't Ask, Don't Tell
Libya does not explicitly ban LGBTQ+ individuals from serving in the military. However, homosexuality is criminalized, so serving openly is…
Legal
Since 1993
Legal for all people
Blood donations by MSMs Legal
Since 2024
On July 1st, 2024, Denmark lifted its four month deferral that was specifically aimed toward MSM blood donors. Now, deferrals and rules…
Legal with restrictions
On Libya’s blood donation page, it states that donations from men who have sex with men are restricted due to the risk of HIV. However, on…
Banned (1-year deferral)
Changes pending.
Bathroom access Protected
In Denmark, The Danish Parliament passed amendments to the Gender Equality Act and the Anti-Discrimination Act. These laws explicitly…
Restricted (enforced with penalties or fines)
In Libya, the law contains zero explicit mentions of transgender people or public restrooms, Instead, transgender people are targeted…
Partially restricted
Since 2025
While there is no nationwide criminal ban on restroom access, access in public institutions, state buildings, and schools is de facto…
Conversion therapy Not banned
According to ILGA, laws in force in Denmark do not regulate or restrict conversion therapies.
Not banned
Libya does not have a ban on conversion therapy that seeks to change an individual’s sexual orientation or gender identity
Not banned
Conversion therapy is legal in Slovakia and often promoted by religious authorities.

Public Opinion

Survey results on LGBTQ+ issues, newest first

  • Supportive
  • Neutral / no answer
  • Unsupportive
Survey
Denmark
Libya
Slovakia
Perceptions of local area as a "good place" for gay and lesbian people
Gallup, April 10th to December 13th
82% Good place
Not surveyed
37% Good place
Percentage of the LBGTIQ population who have experienced a conversion practice (EU)
FRA - EU Agency for fundamental rights, June-Avgust 2023
0%
22% Yes
Not surveyed
0%
37% Yes
Hide being LGBTIQ at work 'often’ or ‘always' (EU)
FRA - EU Agency for fundamental rights, June-August 2023
0%
24% Hide
Not surveyed
0%
63% Hide
Belief that LGBTI+ is “an immoral and decadent ideology”
GLOBSEC, March 2023
Not surveyedNot surveyed
39% Disagree
55% Agree
Acceptance of LGBTI+ people’s rights
GLOBSEC, March 2023
Not surveyedNot surveyed
28% Agree
63% Disagree
Justifiability of homosexuality
World Values Survey, 2017-2022
83% Justifiable
6% Not justifiable
1% Justifiable
92% Not justifiable
23% Justifiable
31% Not justifiable
Acceptance of homosexuals as neighbors
World Values Survey, 2017-2022
97% Did not mention homosexuals
2% Mentioned homosexuals
37% Did not mention homosexuals
63% Mentioned homosexuals
59% Did not mention homosexuals
38% Mentioned homosexuals
Acceptance of gay family members
91% Not Ashamed
5% Ashamed
Older data
Not surveyed
45% Not Ashamed
32% Ashamed
Older data
Opinion on same-sex couples as parents
World Values Survey, 2017-2020
Older data
66% Agree
13% Disagree
Not surveyed
16% Agree
58% Disagree
Support for transgender people changing legal gender (European Union)
Eurobarometer, May 2019
Older data
75% Yes
18% No
Not surveyed
25% Yes
56% No

Full details about each issue can be found on each region's page. Data missing from the above chart? You can help! Sign up or log in to contribute information to Equaldex!

Share This Comparison