|Status||Male legal since 1977, female was never criminalized|
|Military||Gays, lesbians and bisexuals allowed to serve openly|
|Discrimination protections||Sexual orientation protection|
|Recognition of relationships||Registration of same-sex partnership between 2006 and 2017|
Partnership since 2017
|Adoption||Step-child adoption and recognition of abroad-registered same-sex adoptions|
Lesbian, gay, bisexual, and transgender (LGBT) people in Slovenia face challenges not experienced by non-LGBT residents, though the laws concerning lesbian, gay, bisexual, and transgender citizens (LGBT) have evolved over time.
Under the Penal Code of 30 June 1959, male homosexual acts were illegal in all of (now former) Yugoslavia. During the first half of the 1970s the power over penal legislation was devolved from the Federal Republic to the eight states and provinces. A new penal code that decriminalised homosexual intercourse passed in 1976 and came into force in 1977. All discriminatory provisions were removed. There were no references to lesbian relationships in the old legislation.
Same-sex sexual activity age of consent is 15 years regardless of sexual orientation and has been legal since 1977.
Registered partnership for same-sex couples has been legal since 23 July 2006, with limited inheritance, social security and next-of-kin rights.
In July 2009 the Constitutional Court held that Article 22 of the Registration of Same Sex Partnerships Act (RSSPA) violated the right to non-discrimination under Article 14 of the Constitution on the ground of sexual orientation, and required that the legislature remedy the established inconsistency within six months.
On 3 March 2015, the Assembly passed the bill to legalize same-sex marriage in a 51-28 vote. On 10 March 2015, the National Council rejected a motion to require the Assembly to vote on the bill again, in a 14-23 vote. Opponents of the bill launched a petition for a referendum. The petitioners have gained more than enough signatures for a referendum. On 22 October 2015, in a 5-4 vote, the Constitutional Court ruled the National Assembly could not interpret the constitution and that the vote to block the referendum was illegal. The referendum took place on 20 December 2015 and the bill was rejected.
On 21 April 2016, the Assembly approved the bill to give same-sex partnerships all rights of marriage, except joint adoption and vitro fertilisation. A petition for a referendum was launched, but the president of the Assembly didn't allow the referendum. He said that it was an abuse of the referendum law. The law took effect on 24 May 2016 and it became operational on 24 February 2017 without changes in marriage (only civil partnership).
Since 1998 discrimination on basis of sexual orientation in workplaces has been banned. The same goes for employment seekers. Discrimination on the basis of sexual orientation is also banned in a variety of other fields, including education, housing and the provision of goods and services. The anti-discrimination laws however, are vague and open to interpretation and thus, very rarely enforced. In July 2009, the Constitutional Court held that Article 14(1) of the Slovenian Constitution bans discrimination based on sexual orientation.
On 17 February 2016, the government introduced new anti-discrimination bill, which prohibits discrimination based on sexual orientation, gender identity and gender expression, among others. It was approved by the National Assembly on 21 April, in a 50-17 vote. The National Council did not require the Assembly to vote on the bill again. On 28 April, the union of migrant workers SDMS filed a motion, with required 2,500 signatures, in order to be allowed to proceed with the petition for referendum. However, on 5 May, the Speaker of the National Assembly Milan Brglez refused to set a thirty-five-day deadline during which the proposers could collect 40,000 valid signatures to force the referendum, arguing that this and several other SDMS referendum initiatives constitutes an abuse of the referendum laws. He sent the bill for promulgation the next day. It was promulgated by President Borut Pahor and published in the official journal on 9 May 2016. On 10 May, SDMS challenged the Brglez's decision to the Constitutional Court. On july 2016, The Constitutional Court rejected the challenge 
A Eurobarometer survey published in December 2006 showed that 31% of Slovenians surveyed support same-sex marriage and 17% think homosexuals should be allowed to adopt children (EU-wide average 44% and 33%).
A poll conducted by Delo Stik in February 2015 showed that 59% of Slovenians surveyed supported same-sex marriage, while 38% supported adoptions by same-sex couples. The poll also gauged support for the same-sex marriage bill, which was debated in the National Assembly at the time. The results showed that a narrow majority (51%) of Slovenians surveyed supported the bill.
The lesbian and gay movement has been active in Ljubljana since 1984, when MAGNUS, the gay section at ŠKUC (Student Cultural and Art Centre, Ljubljana), was founded as the "Cultural Organisation for Socialisation of Homosexuality." A pro-lesbian feminist group, Lilit, was started in 1985, followed in 1987 by LL, a lesbian group within ŠKUC. In 1990 Magnus and LL founded the national lesbian and gay campaigning organisation, Roza Klub.
Other parts of the country have no or very few organizations regarding sexual orientation.
In Ljubljana there are many gay-friendly clubs and bars. Having started with only a few, the number increases every year. At klub K4 in Ljubljana there are gay and lesbian parties (K4 ROZA) one Saturday a month. At clubs Factory and Bolivar there are gay and lesbian parties organized by Jing Jang group. Parties take place there usually once a month. Other gay-friendly bars and clubs in Ljubljana are Lan, Tiffany and Galerija.
There have been numerous instances of violent gay-bashing all over Slovenia, with the most recent being the attack[when?] that occurred during a literary event at one of the famous gay bars in Ljubljana by younger males with torches. Gay activist Mitja Blažič was injured.
In March 2019, a brick was thrown through the window of Društvo DIH - Enakopravni pod mavrico, an LGBT NGO.
In 2019, a gay man was beaten by several individuals in Murska Sobota. He suffered kidney injuries and several broken ribs.
On November 24, 2019, a gay man was called names and threatened with assault and by a security guard in a bar called Trust in Maribor.
|Same-sex sexual activity legal||(Since 1977)|
|Equal age of consent||(Since 1977)|
|Anti-discrimination laws in employment only||(Since 1998)|
|Anti-discrimination laws in the provision of goods and services||(Since 1998)|
|Anti-discrimination laws in all other areas (incl. hate speech)|
|Recognition of same-sex couples||(Since 2006)|
|Joint adoption by same-sex couples|
|Step-child adoption by same-sex couples||(Since 2011)|
|Adoption by single LGBT persons|
|LGBT allowed to serve openly in the military|
|Right to change legal gender|||
|Access to IVF for lesbians and bisexual women|
|Conversion therapy banned on minors|
|Homosexuality declassified as an illness|
|Commercial surrogacy for gay male couples||(Illegal for all couples regardless of sexual orientation)|
|Automatic parenthood on birth certificates for children of same-sex couples|
|MSMs allowed to donate blood|