Indonesia's new criminal code came into force in January 2026, and it does make sex outside marriage and unmarried cohabitation offences. For an unmarried American couple on holiday in Bali, the part that matters is who is allowed to start a case: only a spouse, a parent or a child of the people involved. Police cannot act on their own, and neither can a hotel, a neighbor or a stranger.
What Indonesia's new criminal code says about unmarried couples
Indonesia's new criminal code, Law No. 1 of 2023, took effect on January 2, 2026. It contains two articles that concern unmarried couples. Article 411 makes sexual intercourse with someone who is not your husband or wife an offence. Article 412 makes living together as husband and wife outside marriage an offence. Both articles apply to foreigners in Indonesia, and both are complaint offences, which limits who can trigger them.
What a complaint offence means
Under Indonesian criminal law, a complaint offence (delik aduan) is one that cannot be investigated or prosecuted unless a person with legal standing files a formal complaint. Without that complaint there is no case. The code names exactly who has standing for Articles 411 and 412, and the list is short.
The two articles side by side
Article 411 covers a single act of sex outside marriage. Article 412 covers cohabiting, meaning living together as a couple. The code sets a prison term or a fine for each, with the cohabitation article carrying the lighter maximum. Neither article mentions tourists, hotels or accommodation; they are written for everyone in Indonesia.
Who can file a complaint under the new code
Under Articles 411 and 412 of Indonesia's new criminal code, the people who can file a complaint are fixed by the text. If one of the couple is married, only that person's husband or wife may complain. If neither is married, only a parent or a child of either partner may complain. Police, prosecutors, hotel staff, landlords and community groups have no standing on their own.
What this means for an unmarried American couple
For two unmarried adults traveling together, the only people who could start a case are their own parents or their own children. A case would require one of them to file a formal complaint with Indonesian authorities. The code gives no route for anyone else to do it on their behalf.
The situation that does carry risk
The one arrangement where the code has real reach is a couple in which either partner is married to someone else. That person's spouse has standing to complain under Article 411, and a spouse who knows about the trip is the complainant the article was written for. Our advice is practical, not legal: if that is your situation, take it seriously and get advice before you travel.
A complaint can be withdrawn
The code allows a complaint under these articles to be withdrawn before the court begins examining the case. A withdrawn complaint ends the matter, which is consistent with the design of the articles: they are a family's remedy, not a public-order patrol.
What changed in 2026 compared with the old code
Indonesia's old criminal code, inherited from the Dutch colonial era, already punished adultery, but only where at least one partner was married, and only on a complaint from the wronged spouse. The new code that took effect in 2026 extends the offence to sex between two unmarried people, adds cohabitation as a separate offence, and gives standing to parents and children as well as spouses.
Why the headlines sounded worse than the text
When the code was passed in December 2022, much of the international coverage reported that unmarried tourists could be jailed for sharing a room. The text is narrower than that. The offences exist, but the complaint rule means a case cannot begin without a complaint from a spouse, parent or child, and no one else can file it.
Penalties
The code sets a maximum prison term and an alternative fine for each article. We do not give the figures here, because this site states numbers only from sources it keeps checked, and the question for most readers is whether a case can begin at all, not what it would lead to.