GUIDE

Indonesia's New Criminal Code and Tourists: What Visitors to Bali Should Actually Know

Indonesia revised its criminal code, and headlines about a 'sex ban' caused alarm among travellers. Here is a calm, practical look at what the law means for visitors to Bali.

MyGlob Editorial April 23, 2026 5 min read
Indonesia's New Criminal Code and Tourists: What Visitors to Bali Should Actually Know

When Indonesia passed a sweeping revision to its national criminal code, international headlines focused on one detail above all others: provisions concerning sex outside of marriage and cohabitation. For a destination as dependent on tourism as Bali, the news triggered understandable worry. Would unmarried couples be at risk of arrest? Could a romantic holiday suddenly become a legal problem? This article cuts through the noise with a measured explanation of what the law involves, how Bali officials responded, and what sensible travellers should keep in mind.

Why the new law made global headlines

The revised criminal code is a major piece of legislation that updates and replaces older colonial-era laws across many areas of Indonesian life. Among hundreds of articles, a small number address private morality, including consensual sex between unmarried adults and unmarried couples living together. Because tourism is central to Bali's economy, foreign media seized on these clauses and presented them, often without full context, as a blanket ban affecting all visitors.

The reality is more nuanced. Sensational framing spread faster than careful reading of the actual text, which is why so many travellers came away with an exaggerated picture of the risk.

How the relevant provisions actually work

The most important detail is that the provisions on extramarital relations are not enforced like ordinary public crimes. Authorities cannot simply patrol hotels or initiate prosecutions on their own. Instead, a complaint generally must come from a narrow group of close relatives, typically a spouse, parent or child, before any action can be considered.

This complaint-based structure is the single most reassuring point for travellers. In practice it means a stranger, a hotel, or the police acting alone cannot bring a case against a visiting couple. The clauses are aimed primarily at family and domestic matters within Indonesian society rather than at tourists.

It is also worth noting that the revised code did not take effect immediately on passage; Indonesian law provided a transition period before implementation. Travellers should always confirm the current status of the law closer to their trip.

What Bali officials and the tourism industry said

Bali's provincial leaders and tourism authorities moved quickly to reassure international visitors. Their consistent message was that tourists would not be subjected to checks of marital status, that hotels would not be asked to police guests' relationships, and that the day-to-day experience of visiting Bali would not change.

This response reflects a simple economic reality: tourism is the lifeblood of Bali, and the island has every incentive to keep visitors feeling welcome and safe. Hotels continue to check in couples without asking for marriage certificates, just as before.

Putting the risk in perspective

For the overwhelming majority of travellers, the practical risk arising from these specific provisions is extremely low. The combination of a complaint-only mechanism, the limited circle of people who can lodge such a complaint, and the strong official commitment to protecting tourism means ordinary couples are not the target.

That said, responsible travel always means respecting the laws and customs of the country you are visiting. Indonesia is a diverse nation with strong religious and cultural traditions, and discretion and courtesy go a long way.

Sensible advice for couples visiting Bali

  • Behave respectfully in public, as you would in any unfamiliar destination, and avoid overt displays that might offend local sensibilities.
  • Keep copies of identification and travel documents accessible, as you would anywhere abroad.
  • Choose reputable, tourist-oriented accommodation, where staff are accustomed to international guests.
  • Stay informed by checking your government's official travel advisory before departure for the latest guidance.

The bigger picture for visitors

It helps to remember that the new criminal code addresses an enormous range of subjects, and the morality clauses are a tiny fraction of the whole. The intense focus on them in foreign coverage is disproportionate to their practical effect on tourism. Bali remains the same warm, welcoming island it has always been, and millions of visitors continue to enjoy it without incident.

The bottom line

Tourists visiting Bali should not be deterred by alarmist headlines about the new criminal code. The provisions on extramarital relations are complaint-based, limited to a small circle of family members, and explicitly not aimed at foreign visitors, and Bali's authorities have repeatedly stressed that the tourist experience is unaffected. As with any trip abroad, the wisest approach is to travel respectfully, stay informed through official channels, and enjoy the island with confidence.

Because laws can be amended and interpretations can evolve, always verify the current legal situation through your own government's travel advisory and official Indonesian sources before you travel.

Continue Reading
Quick Answer

Indonesia's revised criminal code drew headlines over rules on cohabitation and conduct, but provisions are limited in how they can be enforced and largely rely on close-family complaints. In practice, ordinary tourists behaving respectfully are very unlikely to be affected. For peace of mind, follow local laws and customs and check current official guidance before travelling.

Key Facts
Topic
Indonesia revised criminal code
Tourist impact
Very limited in practice
Enforcement
Often complaint-based
Advice
Verify current official guidance
Key Takeaways
  • The new criminal code generated alarming headlines about personal conduct.
  • Enforcement of certain provisions is narrow and complaint-based.
  • Ordinary, respectful tourists are very unlikely to be affected.
  • Following local laws and customs remains the best approach.
  • Always check current official travel guidance before your trip.
Frequently Asked Questions
It is a revised set of laws covering many areas, including some provisions on personal conduct that drew international attention.