· New stories every morning at 6:00 Sumba time (WITA) ⚲ SearchENESID
The Sumba Times
News, culture and travel from the island of Sumba, Indonesia

Guide · Travel

Indonesia's new criminal code: what visitors should know

The KUHP in force since 2 January 2026 punishes sex outside marriage and cohabitation, but only on a complaint from a spouse, parent or child.

By The Sumba Times deskPublished Reviewed by the newsroom on 3 min read
The check-in hall of Tambolaka airport in 2013.
The check-in hall of Tambolaka airport in 2013. Photo: nu9i (CC BY-SA 3.0)
Quick answer

Indonesia's new criminal code (KUHP, Law 1 of 2023) has been in force since 2 January 2026. Article 411 punishes sex with someone who is not your spouse with up to one year in prison or a fine, and article 412 punishes living together as a couple outside marriage with up to six months or a fine, but both can be prosecuted only on a complaint from the spouse or from a parent or child of the unmarried person. Hotels, police and neighbours cannot start a case on their own.

Key points
  • Law 1 of 2023 on the Criminal Code took effect on 2 January 2026, replacing a Dutch-era code in force for more than 80 years.
  • Article 411: sex outside marriage, up to 1 year in prison or a fine.
  • Article 412: cohabiting outside marriage, up to 6 months or a fine.
  • Both are complaint offences: only a spouse, or a parent or child (aged 16 or over) of the unmarried person, may file.
  • Insulting the president or vice president carries up to 3 years; only the president can file that complaint.

TAMBOLAKA. When Indonesia's parliament passed a new criminal code in 2022, headlines abroad focused on one line: sex outside marriage would become a crime. Three years later, on Friday 2 January 2026, the code came into force. Travellers planning a trip to Bali or Sumba still ask whether an unmarried couple can share a room. The answer is in the detail of the law, and it is less alarming than the headlines.

This is a guide to what the code says, not legal advice. If you face a specific legal problem in Indonesia, contact your embassy and a local lawyer.

The law and when it started

The new code is Law 1 of 2023 on the Criminal Code (Kitab Undang-Undang Hukum Pidana, KUHP). It was signed by President Joko Widodo and promulgated on 2 January 2023, and its article 624 set its entry into force three years later, on 2 January 2026, Kontan reported. The Associated Press, in a report published by PBS NewsHour on the day it took effect, described it as replacing a Dutch-era code that had governed Indonesia for more than 80 years; Coordinating Minister for Law Yusril Ihza Mahendra called it "the end of the colonial criminal law era".

Sumba this week, every Sunday

The week's news, one place worth the trip and practical travel notes. Free, and you get our 7-day Sumba guide (PDF) on signing up.

One email a week. No spam. Unsubscribe in one click. Sumba this week

Sex outside marriage and living together: articles 411 and 412

ArticleWhat it coversMaximum penaltyWho can file a complaint
411Sexual intercourse with a person who is not your spouse1 year in prison or a fineThe spouse; or, for an unmarried person, a parent or a child aged 16 or over
412Living together as husband and wife outside marriage6 months in prison or a fineThe same

The key word is complaint. Both offences are what Indonesian law calls delik aduan: the police can act only if one of the people named in the law files a complaint, according to Kontan's summary of the articles. A hotel receptionist, a driver, a neighbour or a police officer who sees two foreigners sharing a room cannot start a case. The government said this design prevents arbitrary enforcement, including against tourists, according to AP. Human Rights Watch warned that the morality provisions could still lead to privacy violations and selective enforcement.

For most visitors the practical risk is therefore low. For a couple where one partner is married to someone else, or where a parent is unhappy about the relationship, it is not zero.

Other parts that can matter to visitors

Two other provisions drew attention when the code took effect, according to AP:

  • Insulting the head of state. The code restores a ban on insulting the president or vice president, state institutions and the national ideology, with penalties of up to three years in prison for attacks on the honour or dignity of state leaders. Only the president can file such a case. Deputy Law Minister Edward Hiariej said the government has issued guidelines to separate criticism from criminal insult.
  • Blasphemy. The code expands the existing blasphemy law, with up to five years in prison for deviating from the core teachings of Indonesia's six recognised religions.

Neither is likely to touch an ordinary holiday, but both apply to what you post online while you are in the country. Drug offences are covered by separate and much harsher laws; police checked ferry passengers at Waingapu port on 2 November 2026, as we reported in our story on the checks.

What it means on Sumba

Sumba is a conservative, mostly Christian island with strong customary rules, and the code does not change what is polite. Modest dress is expected in villages and at ceremonies; our etiquette guide has the details. But nothing in articles 411 and 412 lets a hotel refuse a couple or report them. Entry rules are unchanged too: visas are covered in our guide to Indonesian visas for Sumba, and health and safety in our safety guide.

What it means

Since 2 January 2026, sex outside marriage and cohabitation are crimes in Indonesia, but only a spouse, parent or child can bring a case. For a tourist couple on Sumba, that makes prosecution very unlikely, though not impossible in family disputes. The provisions that deserve more care are the ones on insulting the president and on religion, which apply to what you say and post, and the drug laws, which are separate and severe.

If you are travelling to Sumba

For a couple on holiday in Sumba, the code changes little in practice: no hotel, guide or police officer can bring a case under articles 411 or 412 without a complaint from a spouse, parent or child. Respect local norms anyway, keep criticism of officials off social media while you are in the country, and remember that drug laws are separate and very strict.

Frequently asked questions

Can unmarried couples share a hotel room in Indonesia in 2026?

Yes in practice. Cohabitation and sex outside marriage are offences under the new code, but only a spouse, parent or child can file a complaint, so hotels and police cannot act on their own.

When did Indonesia's new criminal code take effect?

On 2 January 2026, three years after Law 1 of 2023 was promulgated on 2 January 2023.

Does the new criminal code apply to foreigners?

Yes, Indonesian criminal law applies to everyone in Indonesia, but the morality articles 411 and 412 can be prosecuted only on a complaint from a spouse, parent or child.

Tools for this topic: Distances and driving times Map of Sumba Attractions and entrance fees

Planning a trip to Sumba? Our free guides cover when to go, how to get around, costs, safety and culture. Plan your trip →
Was this page useful?

Sumba this week, every Sunday

The week's news, one place worth the trip and practical travel notes. Free, and you get our 7-day Sumba guide (PDF) on signing up.

One email a week. No spam. Unsubscribe in one click. Sumba this week

Related stories

A rider leads a second horse past roadside shops in East Sumba in 2007.

Travel

Petrol in Sumba: prices, stations and roadside bottles

Pertalite costs Rp10,000 a litre, Pertamax Rp15,950 in NTT. Why queues form in Waingapu, what roadside bottles cost and how to plan fuel on a road trip.

· 4 min read
The terminal of Tambolaka airport seen from the apron in 2016.

Travel

Indonesia's 2027 public holidays and your Sumba trip

18 holidays and 8 collective leave days in 2027, a 10-day break around Idul Fitri and Nyepi on 8 March. The dates to book around for Sumba.

· 4 min read
The control tower and terminal of Tambolaka airport, Southwest Sumba, in 2013.

Travel

Flight delayed or cancelled to Sumba: your rights

Indonesian rules: food after 2 hours, IDR 300,000 after 4, a refund or new seat if the flight is cancelled. When they apply and how to claim in Sumba.

· 4 min read
The red roofs of Tambolaka airport seen from an aircraft window in 2017.

Travel

Cost of a Sumba trip from Jakarta: a 4-day budget

Flights eat more than half the budget. What 4 days in Sumba cost per person starting in Jakarta, in rupiah, dollars and euros, sourced and dated.

· 5 min read

Travel

Sumba by motorbike: licence, roads, fuel and safety

Empty roads and big skies make Sumba a fine island to ride, if you have the right licence, a full tank and no plans to be out after dark.

· 5 min read
The car park of Tambolaka airport and the hills of Southwest Sumba in 2012.

Travel

Hiring a car with driver in Sumba: prices and how it works

What a car and driver cost in Sumba in 2025-2026, what the price includes, how to choose and brief a driver, plus fuel, tipping and the alternatives.

· 6 min read