Gay Indonesia

The legal position in 2026

Indonesia's treatment of homosexuality changed on 2 January 2026, when the new Criminal Code (KUHP, Law 1/2023) replaced the Dutch colonial one. Older guidance that Indonesia has "no specific laws" on the subject is out of date.

The Code does not name homosexuality, and a clause criminalising gay sex directly was dropped before passage. It does criminalise sex outside marriage (Pasal 411, up to one year) and unmarried cohabitation (Pasal 412, six months). Since Indonesia recognises no same-sex marriage, every same-sex relationship counts as "outside marriage" and falls within these provisions.

One qualification matters. Both offences are complaint-based (delik aduan): a prosecution can begin only on a complaint from a spouse, or the parent or child of an unmarried person. Hotel staff, neighbours, landlords and moral vigilantes have no standing to trigger a case. This narrows the everyday exposure of a foreign national with no Indonesian family able to complain, but does not remove it.

Pasal 414 separately criminalises obscene acts against a person "of the same or different sex" in public (up to eighteen months) or distributed as pornography (up to nine years). The 2008 Pornography Law likewise lists homosexual acts as prohibited "deviant" content, and it is that law, not the new Code, that police most often use in raids.

Aceh is a separate legal world

Aceh runs its own Islamic criminal code (Qanun Jinayat) under special-autonomy powers, amended in 2025. It criminalises same-sex acts directly, with penalties up to 100 lashes of the cane or roughly eight years' imprisonment. Public canings continue: two men were flogged in Banda Aceh for same-sex relations in February 2025 and two more in August, with further canings into 2026. Non-Muslims and foreign nationals can, in defined circumstances, fall under this jurisdiction. Treat Aceh as a distinct environment governed by different rules.

The social climate

The optimistic older picture, of a prospering middle class quietly making gay venues "cool", has been wrong since 2016, when a sustained backlash began. Police periodically raid private gatherings labelled "gay parties" and charge those detained under the Pornography Law; around 75 were arrested at a villa in Bogor, near Jakarta, in June 2025. A 2025 Pew survey found 93% of Indonesians consider homosexuality morally unacceptable, and the Indonesian Ulema Council is drafting a bill to criminalise LGBT acts outright. The regional trend runs the other way: Thailand's marriage-equality law took effect in January 2025, the first in Southeast Asia.

Practical guidance for foreign residents

The sensible posture is discretion rather than fear. Public displays of affection between same-sex partners are unwise anywhere in the country. Same-sex dating apps such as Grindr have been blocked on local networks since 2016 and reached via VPN, though such material has surfaced in past prosecutions. Avoid events advertised openly as gay gatherings, the usual target of raids. Indonesian immigration offers no partner or spouse route for a same-sex couple, because the marriage it would rest on cannot be registered here; for the current visa framework, consult Okusi Associates. Outside Aceh, a private life conducted privately draws little attention; the risk rises sharply with public visibility, and with any Indonesian family member entitled to invoke the complaint provisions.

Support organisations

The HIV centres, clubs and bars listed in guides written twenty years ago have mostly closed or gone quiet; presenting them as live contacts would mislead. A few national bodies were still operating at the time of writing, all keeping a low profile:

  • GAYa Nusantara (Surabaya), founded in the 1980s by Dede Oetomo; advocacy and HIV work.
  • Arus Pelangi, the national LGBT rights federation formed in 2006.
  • GWL-INA, the national HIV-prevention network for gay men, other men who have sex with men, and waria (transgender women).

Warok and gemblak: history, not present practice

Older accounts often dwell on the warok-gemblak tradition of Ponorogo in East Java, which is routinely misread. A warok was a spiritually powerful martial-arts figure who kept young male apprentices, the gemblak, paying their family a cow a year; sexual intimacy was widely assumed, though some waroks insisted on chastity, believing lost semen would sap their power. The practitioners rejected Western labels, calling it a tradition of prowess and performing art, not homosexuality. The apprenticeship is now largely historical, surviving in the Reyog Ponorogo dance rather than as living custom.

The dance thrives: Reyog Ponorogo joined UNESCO's Intangible Cultural Heritage list, in the Urgent Safeguarding category, at the end of 2024, its staging now deliberately family-friendly, the androgynous gemblak horse-soldier roles once danced by boys now performed by girls. Citing Reyog as a living homosexual tradition describes a past its own custodians have left behind.


Have comments or corrections? Please email editor [at] livinginindonesia.info.