Indonesia chapter · Jakarta, Surabaya & Bali · Articles · 2026–27 edition Member login
Restu·Circle
Law · Indonesia

Indonesia's 2026 law on unmarried couples: what it means for a foreign boyfriend

Articles 411 and 412 of the new criminal code, in plain English: what's banned, who can complain, what hotels do, and where the real risk sits.

Last updated 16 Nov 20268 min readSources listed below
Two addresses until you're married. It's what her family expects, and it keeps Article 412 out of the picture.

Indonesia's new criminal code came into force on 2 January 2026, and with it two articles that every foreign man dating in the country should understand: one on sex outside marriage, one on unmarried couples living together. Most of the scary headlines about tourists being arrested in hotels are wrong. But the real risk is specific, and for a foreigner dating a woman from a traditional family it's worth knowing exactly where it sits.

This is a plain explanation, not legal advice. If you're facing an actual complaint, get an Indonesian lawyer.

The new criminal code in one paragraph

Law No. 1 of 2023, the new Criminal Code (KUHP), replaced the Dutch-era code that Indonesia had used since independence. It was passed in December 2022 with a three-year transition and took effect on 2 January 2026. It covers everything from theft to blasphemy, but internationally it's best known for its provisions on sex and cohabitation outside marriage.

Article 411: sex outside marriage

Sexual intercourse with someone who isn't your spouse is an offence carrying up to one year in prison or a category II fine. Under the code's fine scale, category II is commonly reported as up to IDR 10 million.

It applies to everyone in Indonesia, foreigners included. There's no exception for tourists or for consenting adults.

Article 412: living together outside marriage

Living together "as husband and wife" outside marriage, known in Indonesian as kumpul kebo, carries up to six months in prison or a category II fine.

The key word is living together. Sharing an apartment as a couple, or one partner effectively moving in, is what the article targets.

The part that matters most: who can complain

Both offences are complaint offences (delik aduan). Police can't act on their own initiative, and neither can hotel staff, neighbours or the local neighbourhood head. Only these people can file a complaint:

  • for a married person: their spouse;
  • for an unmarried person: their parent or their child.

A complaint can also be withdrawn before the trial begins. Hotels are not required to check whether guests are married.

That's why most of the fears about tourists don't hold up. A hotel can't report you, and a random person can't either. For a couple of foreign tourists with no family in Indonesia, the realistic risk is close to zero.

Why this matters more for you than for a tourist

Read the list of who can complain again. If you're dating an unmarried Indonesian woman, the people with the legal power to file a complaint about your relationship are her parents.

In most relationships this never comes up. Families object in other ways, or don't object at all. But in a conservative family that opposes a foreign boyfriend, and especially if you move in together, her father has a criminal-law lever. It turns a family disagreement into a police matter. That's the risk, and it's specific to exactly the kind of relationship readers of this site are in.

What this means in practice

Keep separate addresses

Until you're married, each of you should have your own place. It's what her family expects anyway, and it takes Article 412 out of the picture. Don't let her move into your apartment, and don't move into hers.

Weekend trips and hotels

Hotels don't check marriage certificates and can't file complaints. The risk on a weekend away doesn't come from the hotel; it comes from whether her family knows and objects. Separate rooms are what families expect at this stage, and some couples book them for that reason.

Don't rush a "contract" or unregistered marriage

Some foreigners hear about nikah siri, a religious marriage that isn't registered with the state, as a workaround. Don't. It gives the woman and any children no legal protection, and in January 2026 an Indonesian judge argued publicly that an unregistered marriage could itself count as cohabitation because the state doesn't recognise it. That's one judge's view, not settled law, but it shows the direction. Anyone offering a "kawin kontrak" (contract marriage) is offering you a problem.

Be careful in conservative regions

Aceh applies Sharia law to everyone, including non-Muslims, and enforces it with public punishments. Some other regions have local morality bylaws. Jakarta, Surabaya and Bali are far more relaxed, but behave conservatively in public everywhere.

Why the law was written this way

Earlier drafts of the code drew strong criticism from business groups and the tourism industry, especially in Bali, because they could have let a much wider group of people report couples. The final text kept the offences but limited the right to complain to close family. That's the compromise the country lives with now: the moral line is written into law, but it's enforced only when a spouse, parent or child decides to act.

For a foreigner, the useful way to read it is this. The state isn't watching your private life. Her family can, if they choose to. Everything that keeps her family comfortable with you, such as separate homes, respect for their faith, being introduced properly and not making them look foolish in front of relatives, also keeps you well away from Article 412.

Same-sex couples

The new code doesn't create a separate national offence for same-sex relationships, but Articles 411 and 412 apply to sex and cohabitation outside marriage in general, and Indonesia doesn't recognise same-sex marriage. Aceh criminalises same-sex relations under its Sharia code. The UK Foreign Office notes that police have arrested people at LGBT+ events. Discretion in public is strongly advised.

Other provisions that catch foreigners

The same code contains several other articles worth knowing:

  • Insulting the president or vice-president: up to three years. Only the president or vice-president can file. Insulting state institutions is also an offence.
  • Blasphemy: up to five years. Stay away from religious jokes, online or off.
  • Spreading communist or Marxist-Leninist ideology: up to four years.

Defamation is a criminal offence under both the criminal code and the Electronic Information and Transactions (ITE) Law. If a business or a person treats you badly, don't name them on social media. Complain privately or go to a lawyer.

Drugs are separate but serious: Indonesia can impose the death penalty for drug offences, and all cannabis, including CBD, is illegal.

Public behaviour

No article in the new code bans holding hands, but Indonesian norms are conservative. Holding hands in a mall is fine. Kissing in public is not, and in some areas it could draw attention you don't want. During Ramadan, don't eat, drink or smoke in public during daylight in conservative areas. The UK Foreign Office advises the same.

Common misunderstandings

"Tourists will be arrested in hotels."

No. Hotels can't report you and aren't required to check whether guests are married. Police can't act without a complaint from a spouse, parent or child.

"It only applies to Indonesians."

No. It applies to everyone in Indonesia. The practical risk is just much lower for people with no family in the country.

"Bali is exempt."

No. The national criminal code applies in Bali like everywhere else. What's different in Bali is the sheer number of foreign couples and the fact that complaints from foreign families are unlikely.

"Engaged couples are fine."

Not under the text. An engagement isn't a marriage. Until the marriage is registered, the same rules apply.

"Married couples need to carry a marriage certificate."

Not in general, since nobody is checking. If you're married and travelling with your Indonesian spouse, a copy on your phone does no harm.

If a complaint is ever made

This is rare, but if it happens: don't argue with the police, don't sign anything you don't understand, and contact a local lawyer and your embassy straight away. Your embassy can't get you out of a local case, but it can give you a list of lawyers and make sure you're treated properly. Because these are complaint offences, the person who complained can also withdraw it before the trial begins, which is why many of these situations are really family situations that need careful, respectful handling.

Bigger risks than Article 411

For most foreigners, the criminal code's morality articles are a smaller practical danger than three other things. First, drugs: Indonesia can impose the death penalty for drug offences, and all cannabis, including CBD products, is illegal. Second, counterfeit alcohol: spirits containing methanol have killed people in Indonesia, including drinks served in licensed venues. Third, defamation: a negative online review naming a business or a person can lead to a criminal complaint. Each of these causes more trouble for foreigners in a typical year than the cohabitation article.

What families actually care about

The law is the formal edge of something broader. Many Indonesian families, Muslim or Christian, expect a couple to live apart until marriage, and respect a man who arranges his life that way without being asked. Keeping your own address, bringing her home at a reasonable hour and not posting holiday photos of the two of you in a hotel room are as much about her family's view of you as about Article 412.

For how relationships progress in this crowd, see dating in Jakarta as a foreigner. For how religion affects whether you can marry at all, read the section on it there: since February 2026, the Constitutional Court has again confirmed that a marriage can only be registered when both partners share a religion.

Summary

QuestionAnswer
Is sex outside marriage illegal in Indonesia?Yes, since 2 January 2026 (Art. 411), up to one year or a category II fine.
Is living together unmarried illegal?Yes (Art. 412), up to six months or a category II fine.
Does it apply to foreigners?Yes.
Who can report it?Only a spouse, or for unmarried people a parent or child.
Can a hotel report me?No. Hotels aren't required to check marital status.
Main risk for a foreign boyfriend?A disapproving parent filing a complaint, especially if you live together.
What should I do?Keep separate addresses until married; avoid unregistered or "contract" marriages.

Common questions

Is sex outside marriage illegal in Indonesia?

Yes. Since 2 January 2026, Article 411 of the new criminal code makes it punishable by up to one year in prison or a category II fine.

Can unmarried couples share a hotel room in Indonesia?

Hotels aren't required to check marital status and can't file a complaint. Only a spouse, parent or child can report these offences.

Does the law apply to foreigners?

Yes, it applies to everyone in Indonesia. The practical risk for tourists is very low because of who is allowed to complain.

Who can report an unmarried couple in Indonesia?

Only the spouse of a married person, or the parent or child of an unmarried person. For a foreign boyfriend, that means her parents.

Is nikah siri a way around the law?

No. An unregistered marriage gives the woman and children no protection, and one judge argued in January 2026 that it could itself count as cohabitation.

Sources

  1. The Star — Indonesia's new penal code takes effect (2 Jan 2026)
  2. eTurboNews — Indonesia criminal code 2026: sex outside marriage and what tourists need to know
  3. Kontan — From 2 January 2026: who can report kumpul kebo
  4. Hukumonline — A judge's reading: unregistered marriage and the cohabitation offence (Jan 2026)
  5. Constitutional Court of Indonesia — Ban on interfaith marriages ruled constitutional (2 Feb 2026)
  6. UK FCDO — Indonesia travel advice: safety and security
  7. Smartraveller (Australia) — Drugs and the law overseas

Prices, venues and opening hours change. Figures were checked against these sources for the 16 Nov 2026 update.

The full guide

The laws are one card. The guide is the rest.

Restu Circle is the field guide to Jakarta's established circles: the scene, the venues, how dating works, family and the social calendar. Chapter 01 is free.

One-time payment. An informational guide, not a matchmaking or introduction service.