Lesbian, gay, bisexual, transgender, and queer (LGBTQ) rights in Cuba have significantly varied throughout modern history. Cuba is now considered progressive, with vast improvements in the 21st century for such rights. Following the 2022 Cuban Family Code referendum, there is legal recognition of the right to marriage, unions between people of the same sex, same-sex adoption and non-commercial surrogacy as part of one of the most progressive Family Codes in Latin America, as well as amongst communist countries. Until the 1990s, the LGBT community was marginalized on the basis of heteronormativity, traditional gender roles, politics and strict criteria for moralism. It was not until the 21st century that the attitudes and acceptance towards LGBT people changed to be more tolerant.

In 2018, the National Assembly of People's Power voted to legalize same-sex marriage, with a constitutional referendum to be held in February 2019; it was later removed from the draft constitution. In May 2019, the government announced that the Union of Jurists of Cuba was working on the new Family Code, which would address same-sex marriage. On 7 September 2021, the government announced that the new Family Code would be brought to the National Assembly for approval, and then be put to popular vote to legalize same-sex marriage if approved in the referendum. The referendum was approved in April 2022 and took place in September 2022, with the referendum passing. Discrimination on the basis of sexual orientation and gender identity is illegal in Cuba.

Historically, public antipathy towards LGBT people was high. This has eased since the 1990s.Rachel Evans, "Rainbow Cuba: the sexual revolution within the revolution" Links International Journal of Socialist Renewal (23 December 2011). Educational campaigns on LGBT issues are currently implemented by the National Center for Sex Education (locally known as "CENESEX"), headed by Mariela Castro, daughter of former president and First Secretary of the Communist Party of Cuba, Raúl Castro and revolutionary Vilma Espín. Pride parades in Havana are held every May, to coincide with the International Day Against Homophobia, Biphobia and Transphobia, with attendance having grown every year. In 2022, Cuba became the first Latin American country to mark LGBT History Month. In 2016, 2019, 2022 and 2025, Cuba voted in favor of renewing the mandate of the United Nations independent expert on sexual orientation and gender identity at the United Nations Human Rights Council.

History

Pre-revolution Cuba Pre-revolutionary Cuba was a place of intolerance toward the LGBT community. Due to the emphasis on traditional heteronormativity, there were few enclaves where the LGBT community could congregate together in a common space. The job market was uneven at the time and the "Afro-Hispanic culture was very patriarchal and emphasized a compulsory toxic and heterosexual society, especially in rural areas." Most of the community migrated toward Havana in search of jobs and sexual liberation. Moreover, rural communities would often alienate their LGBT community or family members deeming them the "village queer" or the "village idiot." Due to the uneven job market, Havana around the 1950s allowed for closeted occupational life and the underground job sector continued to grow aside from tourism like drug distribution, gambling, and prostitution. This job sector curtailed homosexual desire into the "Havana Underworld, which was run by the Cuban homosexual bourgeoisie." Homosexuality was a component of the thriving industry of prostitution in Cuba, with many gay men drawn into prostitution largely for visitors and servicemen from the United States. Homosexuality also was linked to gambling and crime. Therefore, while the LGBT community did not have official visibility, they had success in the job market for US tourists who were looking for homoerotic experiences. There were few LGBT-friendly bars in Cuban cities, such as the St. Michel, the Intermezzo Bar, the Dirty Dick, and El Gato Tuerto in Havana. However, despite the vibrancy of the Underworld and the breadth of its influence, Cuba still had laws that oppressed homosexuality and targeted gay men for harassment. Socially, gay men were considered outcasts. Families were often heard calling their family members "locas" meaning queens, "maricones" meaning faggots or "tortilleras" meaning dykes. The homosexual culture was purely recognized as an economic strategy where the Underworld fostered a sense of reliance on homoerotic desires by US tourists and other niche interests that the community took part in. [D]iscrete lesbian or gay male identities in the modern sense - identities that are based on self-definition and involve emotional as well as physical aspects of same-sex relations - were rare. Erotic loyalty (and, in the case of women, subservience) to the opposite sex was assumed to be normal even by homosexuals. Hence, for many Cubans of this era, homosexuality was a mere addendum to customary marital roles. Among others, it was just a profitable commodification of sexual fantasy. For the vast majority, homosexuality made life a shameful and guilt-ridden experience.

Post-revolution Cuba Following the emergence of Fidel Castro's régime in 1959, the visibility of the LGBT community only worsened. The revolutionary leaders were typically white middle-class men who were raised under the traditional sexual ideology. Furthermore, the Marxist–Leninist framework that the regime utilized prioritized a change in production and class relations, with an emphasis on family and sexuality. In addition, the government emphasized the youth as the future of the Revolution which was a fundamental aim of the 1960s. Education was used to promote "moralism" along with a sense of total commitment to the Revolution. Accordingly, anti-Revolutionary tactics were criticized and penalized, and listening to American music, wearing mini skirts, and men with long hair were all considered forms of anti-Revolutionary tactics along with homosexuality. The Revolution defined a qualified citizen as one who promotes a productive labor force and homosexuality along with prostitution were deemed nonproductive and related to American decadence. Furthermore, oftentimes, men who had sex with other men were caught in bar raids to crackdown on commercial sex and drugs in the 1960s. Consequently, the Committees for Defense of the Revolution began to report homosexual people in the 1960s to authorities in response to a possible US invasion. It was plain to see that homosexual individuals in Cuba were painted as anti-Revolutionary threats to the regime.

In 1965, the Ministry of Health stated that homosexuality was learned and therefore they began to implement preventative measures for children to learn of typical and traditional heterosexual normalities. "Effeminate" boys were taught to play sports, self-defense and military exercise. In addition, if men were deemed too feminine, they would be subject to expulsion from mass organizations such as the Young Communist League. There was even a sign held up on University of Havana's campus saying "no homosexual represents the Revolution, which is a matter of men, fists and not feathers, of courage and not trembling, of certainty and not intrigue, of creative valor and not of sweet surprises." Fidel Castro also stated in 1966 that "no homosexual could ever embody the conditions and requirements of conduct that would enable us to consider him a true revolutionary, a true communist militant." Overall, the homophobia that was established in the 1960s and persisted until the 2000s was a result of a combination of traditional heterosexual masculinity combined with socialist morality that identified certain sexual behaviors as non-productive. The Revolutionary Offensive was also a campaign that sought to nationalize private business in 1968, and was also a part of a greater scheme to promote morality within the political and economic campaign, which allowed Cuba to create its path as a socialist state.

Homophobia and labor camps during the 1960s

After the revolution, the superficial tolerance of LGBT persons by the strongly homophobic Cuban society quickly evaporated. Emigration to Miami began immediately, including lesbians and gay men who had worked for United States firms or had done domestic work for the native bourgeoisie. LGBT people who already had lived largely abroad moved away permanently.

[T]he homophobia and heterosexism that already existed ... became more systematized and institutionalized. Gender and sexuality explicitly entered political discourse even as vaguely worded laws increasingly targeted gender-transgressive men who were believed to be homosexual ... whereas lesbianism remained unnamed and invisible. Between 1959 and 1980[,] male homosexuals suffered a range of consequences from limited career options to detention in street sweeps to incarceration in labor camps. ... Long hair, tight pants, colorful shirts, so-called effeminate mannerisms, "inappropriate clothing," and "extravagant hairstyles" were seen as visible markers of male homosexuality. Such visible markers not only facilitated enforcement of homosexual repression; more broadly, visibility and gender transgressions themselves constituted a central part of the problem identified by the revolution. Even during the severest period of enforcement, Marvin Leiner reminds us, private homosexual expression was never the main target. Rather, "... the major concern, as it had always been, was with the public display of homosexuality."

Many of the progressive LGBT persons who remained in Cuba became involved in counter-revolutionary activities, independently or through encouragement of the Central Intelligence Agency (CIA), and were jailed. The 1961 Bay of Pigs invasion, commando attacks from Florida bases, and internal CIA-sponsored subversion created in Cuba an increased concern over national security. Realistic fears gave rise to paranoia, and anyone who was "different" fell under suspicion. Homosexual bars and La Rampa cruising areas were perceived as centers of counter-revolutionary activities and they began to be systematically treated as such. The gay community was seen as a threat to the military order.

Cuba's new ally, the Soviet Union, had hostile policies towards gays and lesbians, seeing homosexuality as a product of the decadent capitalist society prevailing in Cuba in the 1950s. Fidel Castro made insulting comments about homosexuality. Castro's admiring description of rural life in Cuba ("in the country, there are no homosexuals" An earlier version was published in a slightly edited form as "The Defiant One", in The Guardian, Friday Review, 8 June 2001.) reflected the idea of homosexuality as bourgeois decadence, and he denounced "maricones" as "agents of imperialism".Llovio-Menéndez, José Luis (1988). Insider: My Hidden Life as a Revolutionary in Cuba, Bantam Books, New York, pages 156–158, 172-174 Castro explained his reasoning in a 1965 interview: [W]e would never come to believe that a homosexual could embody the conditions and requirements of conduct that would enable us to consider him a true Revolutionary, a true Communist militant. A deviation of that nature clashes with the concept we have of what a militant Communist must be.Lockwood, Lee (1967). Castro's Cuba, Cuba's Fidel, revised edition: October 1990, page 124,