There is a long history of lesbian, gay, bisexual, and transgender activity in Singapore. Male homosexuality was outlawed under British rule (1819–1942; 1946–1959), despite being acknowledged among the local population. Following Japanese occupation during World War II and the country gaining independence, homosexuality and transvestism were visible as a street scene, and from the 1970s were catered for in some nightclubs. In that decade also, Singapore became a centre of gender-reassignment surgery.
Concerns over HIV arose after cases were reported in the 1980s. During the 1990s, police clamped down on manifestations of homosexuality due to the stigma of HIV, leading to the growth of a gay movement. Male homosexuality was made legal in the country again in 2022, after the British colonial-era law Section 377A was repealed by the government.