---
title: "Indonesia's New Criminal Code 2026: What It Actually Means for Tourists"
type: "TravelGuide"
lang: "en"
canonical: "https://www.geokepo.id/en/panduan/indonesia-new-criminal-code-2026-what-tourists-need-to-know"
html_url: "https://www.geokepo.id/en/panduan/indonesia-new-criminal-code-2026-what-tourists-need-to-know"
category: "Practical How-To Guides"
guide_type: "guide"
summary: "What Indonesia's 2026 criminal code on sex outside marriage really means for tourists, why it's rarely enforceable, and what to actually do."
published: "2026-08-28T00:26:38.089461+00:00"
updated: "2026-08-28T00:26:38.089461+00:00"
author: "GeoKepo Editorial Team"
publisher: "GeoKepo"
license: "Editorial content © GeoKepo. Cite the canonical URL."
---
# Indonesia's New Criminal Code 2026: What It Actually Means for Tourists

## The headline is scarier than the reality

If you've searched anything about visiting Indonesia lately, you've probably run into a headline like "Indonesia bans sex outside marriage" or "new law could jail unmarried tourists." It's technically true that Indonesia's overhauled Criminal Code (KUHP), fully in force since January 2, 2026, includes provisions on extramarital sex and unmarried cohabitation. It is not true that this changes anything about how you book a hotel room, who you can share it with, or your practical risk as a visitor. Here's what actually changed, why the alarming headlines are missing the important part, and what — if anything — you need to do differently.

## What the new code actually is

The KUHP is Indonesia's entire criminal code, and the version now in force replaces one inherited from Dutch colonial rule in 1918. Lawmakers passed the overhaul back in December 2022, giving the country a three-year transition period before it took effect on January 2, 2026 — so this isn't a sudden change sprung on travelers; it's been public and debated for over three years.

Two provisions have drawn most of the international attention: one criminalizes sex outside of marriage (reported with a maximum penalty around one year in prison), and a separate one addresses unmarried cohabitation (reported at up to six months). These are real provisions in a real law. What gets left out of most panic-driven coverage is the mechanism that determines whether they can ever actually be used against you.

## The part that matters: who can even file a complaint

Both provisions are what's known in Indonesian law as a *delik aduan* — a complaint-based offense. That's the single most important detail for any traveler trying to understand their actual exposure, and it's usually buried in paragraph nine of the alarmist articles.

A complaint-based offense means police cannot investigate or act on their own initiative, no matter what they see or suspect. Someone has to formally file a report, and — critically — the law restricts who is legally allowed to do that. For these specific articles, only a legal spouse, a parent, or a child of one of the people involved has standing to report it. A hotel receptionist, a suspicious neighbor, a taxi driver, or a random passerby has no legal path to trigger a police response, however strongly they might disapprove.

For the overwhelming majority of tourists — arriving as a couple with no Indonesian spouse, parent, or child anywhere near the jurisdiction — there is effectively no one with legal standing to complain in the first place.

## What the government has actually said to tourists

This isn't just an interpretation floating around travel blogs. Indonesian officials, including figures in the tourism ministry, have publicly and repeatedly stated that the law is not aimed at tourists and will not change how foreign visitors are treated. The specific assurances that matter for trip planning:

- **No marital status checks at check-in.** Hotels, villas, and guesthouses are not required — and have not been instructed — to ask for marriage certificates or verify relationship status before letting guests share a room.
- **No new visa or entry screening.** Nothing about your visa application, arrival card, or immigration process references marital status.
- **No enforcement sweeps planned.** There's no indication of police checking hotel registers or acting on tips from staff or the public, since staff and the public have no standing to complain even if they wanted to.

None of this is a guarantee written into stone — laws can be applied unevenly, and policy statements aren't the same as binding regulation — but it does mean the practical, on-the-ground risk for a typical unmarried couple booking a normal hotel room in Bali, Jakarta, or anywhere else in Indonesia is close to zero, not because the law doesn't technically exist, but because there's no plausible mechanism by which it reaches you.

## Why this got so much coverage in the first place

Part of the reason this spread so widely is that it's a genuinely unusual law by international standards — most countries a Western or Australian traveler might compare Indonesia to don't have anything resembling it on the books, so it reads as alarming out of context. It also arrived alongside other KUHP provisions that got less attention but are arguably more relevant to daily life, like updated rules on defamation, blasphemy, and public insults to state institutions — none of which are things a tourist posting vacation photos needs to think about, but which matter more to residents and to anyone doing business, journalism, or political commentary in Indonesia.

The other reason: outrage travels faster than nuance. "New law bans sex outside marriage" gets shared far more than "law technically exists but requires a spouse's parent to file a complaint that almost never applies to tourists," even though the second sentence is the one that actually tells you what to expect on your trip.

## What you should actually do differently

For the vast majority of travelers, the honest answer is: nothing. You don't need a marriage certificate to book a double room. You don't need to claim to be married at check-in. You don't need separate rooms with separate friend groups. Indonesia's tourism industry — hotels, resorts, villas in Bali, Lombok, and everywhere in between — continues to operate exactly as it did before January 2026, because nothing in their day-to-day operations changed.

Where a little more caution is genuinely warranted: if your situation involves an Indonesian citizen as a partner, and that partner has a spouse, parent, or child who might object and has both the motive and the standing to file a complaint, the calculation is different, because that's precisely the scenario the complaint mechanism was built around. That's a narrower and more specific situation than "two tourists sharing a hotel room," and if it applies to you, it's worth a conversation with a local lawyer rather than a travel blog.

It's also worth remembering the KUHP sits alongside Indonesia's existing, unrelated laws and norms — dress codes at religious sites, restrictions on public displays of affection that predate this code, and regional customs that vary between conservative areas like Aceh and more permissive tourist zones like Bali. None of that changed either; it's simply been true for as long as Indonesia has welcomed foreign visitors, and it's worth reading up on regardless of this specific law.

## How this compares to other countries in the region

If you're trying to calibrate how unusual this is, it helps to zoom out. Malaysia's civil law doesn't criminalize extramarital sex for non-Muslims, though its Sharia courts do for Muslims in specific states. Singapore has no equivalent law at all for private, consensual conduct between adults. Indonesia's approach — a criminal provision that exists on paper but is deliberately narrowed by a restrictive complaint mechanism — is closer to a symbolic and culturally-driven law than an actively enforced one, which is a distinction that gets lost when a headline has six words and a screenshot of a hotel receipt.

It's also worth knowing this isn't Indonesia's first attempt. A similar provision was debated and shelved multiple times over the past two decades before finally passing in 2022, specifically because lawmakers spent years negotiating the complaint-based limitation as a compromise between conservative and reform-minded factions. That history is part of why the enforcement mechanism looks the way it does — it was built, deliberately, to be narrow.

## What responsible reporting on this actually says

Outlets that cover Indonesia closely and continuously, rather than running a single reactive piece, have converged on largely the same read: this is a real legal change worth knowing about, but not one that should reshape a typical vacation. The Jakarta Post, which covers the law's rollout in detail domestically, has focused more on public-oversight concerns about how broadly it could be misused against ordinary Indonesians than on any tourist-specific risk. Coverage aimed at travelers, from outlets that specialize in Bali and Indonesia tourism, has consistently landed on the same practical conclusion this article does: verify the complaint mechanism, note the government's assurances, and don't let a scary headline reroute a trip that was otherwise going to be uneventful.

## Frequently asked questions

**Will hotels ask if I'm married?**
No. There is no requirement or reported practice of hotels checking marital status before allowing guests to share a room.

**Could I be reported by hotel staff or a stranger?**
Not under this specific law. Only a spouse, parent, or child of one of the people involved has legal standing to file a complaint, so staff and strangers have no mechanism to trigger action even if they wanted to.

**Does this affect same-sex couples specifically?**
This particular provision addresses sex outside marriage generally rather than same-sex relationships specifically, though same-sex marriage isn't legally recognized in Indonesia, which is a separate and longer-standing issue worth its own research if it applies to your trip — this article covers the cohabitation provision, not the broader legal landscape for LGBTQ+ travelers.

**Is this law actually new, or has it been building for years?**
It was passed in December 2022 and took effect January 2, 2026, after a deliberate multi-year transition — it isn't a sudden 2026 surprise, just a long-scheduled implementation that got a fresh wave of attention once it actually took effect.

**Should I cancel or change my travel plans because of this?**
Based on everything officials have said and the mechanics of how the law can actually be enforced, there's no indication typical tourist travel — including unmarried couples sharing accommodation — needs to change at all.

## The bottom line

Read past the headline. Indonesia's new criminal code does contain provisions on sex outside marriage and cohabitation, but they can only be enforced through a complaint filed by a spouse, parent, or child — a standing requirement that excludes almost every tourist scenario by design. The government has said, clearly and repeatedly, that hotels won't check and tourists aren't the target. Book your room, bring your passport, and plan your trip the same way you would have in 2025 — this is one piece of travel news where the nuance really does matter more than the headline.

*This article is general travel information, not legal advice. If your specific situation is more complex than a typical tourist stay, consult your embassy or a licensed Indonesian lawyer for guidance current at the time of your trip.*
