Skip to content
SwingersPlayLiveWorld's No.1 Swingers Network
Illegal

Is Swinging Legal in Malaysia? What the Law Says

By the SwingersPlayLive editorial team · Last reviewed

The health, safety and legal statements in this guide rest on the 6 sources listed below (lom.agc.gov.my, kehakiman.gov.my, freemalaysiatoday.com, malaysiakini.com and others). It is general information, not medical or legal advice; how we write our guides.

No: swinging is illegal in Malaysia, and the risks depend partly on religion. Muslims are subject to state Syariah laws that punish sex outside marriage and khalwat (close proximity with someone of the opposite sex who is not a spouse or close relative), and Syariah courts impose fines, prison and caning. For everyone, the federal Penal Code punishes oral and anal sex, even between consenting adults, with up to 20 years in prison and whipping, and "gross indecency" with another person in public or private with up to two years. Raids and prosecutions are real.

Only in part. Section 377A of the Penal Code defines oral and anal sex between any two people as "carnal intercourse against the order of nature", and section 377B punishes it, even with consent, with up to 20 years in prison and whipping. Section 377D punishes any act of "gross indecency" with another person, in public or private, with up to two years. For Muslims, Syariah laws add offences of sex outside marriage, khalwat and same-sex intimacy. In February 2024 the Federal Court struck down 16 provisions of Kelantan's 2019 Syariah criminal code, including its sodomy offence, because they fell under federal criminal law; offences that were not challenged, such as khalwat, are still enforced by Syariah courts. SwingersPlayLive is for adults only (18+).

Is adultery a crime in Malaysia?

The federal Penal Code has no general adultery offence, but section 498 punishes taking or enticing away a married woman with intent that she have illicit intercourse, with up to two years. For Muslims, adultery and sex outside marriage are Syariah offences: a Syariah court in Tawau, Sabah, ordered a couple caned for adultery in 2016, and in 2024 a Terengganu Syariah court sentenced a woman to six strokes of the cane and a RM4,000 fine for khalwat.

Is sex in public illegal in Malaysia?

Yes. Section 294 of the Penal Code punishes anyone who does an obscene act in a public place, to the annoyance of others, with up to three months in prison or a fine, and Syariah laws punish indecent behaviour in public by Muslims. The UK government notes that showing affection in public can draw negative reactions.

No. The offence of "gross indecency" with another person in section 377D, which the Code does not define, applies in private as well as in public and could reach group sexual activity, and section 372B punishes soliciting "for any immoral purpose" in any place with up to a year in prison. Raids happen: in November 2025, according to the Human Dignity Trust, more than 200 people were arrested at an all-male health centre in Kuala Lumpur, and 13 people were arrested in Penang under section 377B.

No. The Penal Code punishes exploiting a person for prostitution (section 372), living on its earnings (section 372A, up to 15 years and whipping), soliciting (section 372B) and keeping or letting premises for a brothel (section 373, up to 15 years). Swinging is unpaid and between equals, and SwingersPlayLive does not allow commercial sex.

The Penal Code text we checked (reprint as at July 2023) has no offence written specifically for intimate images. Circulating obscene images is punished by section 292 with up to three years in prison, which can reach the people shown as well as whoever shares the images, and intruding on someone's privacy to insult their modesty by section 509 with up to five years.

What should visitors to Malaysia know?

The UK government's travel advice says Muslim travellers may be subject to local Sharia law, that same-sex sexual acts are illegal under federal law, and that the authorities sometimes raid LGBT+ spaces and events. The UK also advises modest dress, especially in conservative and rural areas. Federal offences, some carrying whipping, apply to visitors of any religion and in private as well as in public: swinging in any form exposes visitors to prosecution in Malaysia.

Sources

  1. Laws of Malaysia, Act 574 Penal Code, reprint as at 4 July 2023 (Attorney General's Chambers)
  2. Federal Court of Malaysia — summary of judgment, Nik Elin Zurina v Kerajaan Negeri Kelantan (9 February 2024)
  3. Free Malaysia Today — Single mother becomes first woman whipped in Terengganu for khalwat (April 2024)
  4. Malaysiakini — report on Syariah caning, including a couple caned for adultery in Tawau, Sabah, in 2016 (September 2018)
  5. Human Dignity Trust — Malaysia country profile (sections 377A to 377D, Syariah offences, enforcement)
  6. UK Government (FCDO) — Malaysia travel advice, safety and security

Not legal advice. This page is general information and laws change; for advice about your own situation, ask a qualified lawyer where you live. Last reviewed .