Bali laws for tourists: what changed in 2026

Indonesia's new criminal code applies to tourists: what it means for drugs, unmarried couples, temples and speech, with each penalty as the law states it.

On this page
  1. Short answer
  2. In detail
    1. Do Indonesian laws apply to tourists?
    2. What changed in January 2026?
    3. Can unmarried couples stay together in Bali?
    4. What are the drug laws in Bali?
    5. What are Bali's rules for tourists?
    6. What are the temple rules in Bali?
    7. Can you be jailed for insulting religion or the government?
    8. What are the rules on drinking and on Nyepi?
  3. Sources

General information, not legal advice: check the official source before you act. How we check

Short answer

Indonesia's new criminal code applies to tourists in Bali, but sex outside marriage and living together are prosecuted only on a complaint from a spouse, parent or child. Illegal drugs are the real danger, with up to 12 years for possession and death for dealing larger amounts, so carry none: a prescription from home does not cover cannabis or CBD.[1, 7, 8]

Unmarried couples
Complaint by family only
Drug possession
Up to 12 years
Dealing larger amounts
Death penalty possible
Temple inner courtyards
Worshippers only

In detail

Do Indonesian laws apply to tourists?

Yes. Indonesia's criminal code covers everyone who commits an offence in the country, visitors included, and breaking Bali's customs or laws can bring a criminal penalty, deportation or both.[1, 8]

In the first half of 2026, immigration in Bali deported 342 foreigners, most for overstaying or misusing a permit, and some for public order offences or for breaching local custom.[13]

Carry your passport, or your stay permit if you live here, at all times. If you are detained, contact your embassy and learn your rights before you agree to any payment.[7]

What changed in January 2026?

A new criminal code replaced the old one in January 2026. On the same day a second law rewrote some of its penalties, and the drug penalties lost their minimum prison terms.[1, 2]

Fines in the code are set in bands, from IDR 1 million up, and each offence names its top band. That is why the penalties below read "up to": the law sets the maximum, and a court picks the sentence.[1]

Three parts matter most to a visitor. Sex outside marriage is an offence between two unmarried people as well as for the married, though only on a family complaint. Drug penalties have no minimum term. Insulting the President or a state institution is an offence, on a complaint from whoever was insulted.[1, 2]

Can unmarried couples stay together in Bali?

Sex outside marriage and living together are offences, but a case needs a complaint from your family. If you are married, only your husband or wife can complain; if not, only your parent or your child. Sex outside marriage can mean a year in prison or a fine of up to IDR 10 million (about AUD 801), and living together six months or the same fine.[1]

Only those family members can file a valid complaint, and a complaint can be withdrawn until the court hearing starts.[1, 3, 4]

Who can bring a case for sex outside marriage or living together, 2026
If you areWho can complainPenalty, at most
MarriedYour husband or wife1 year, or a fine of IDR 10 million
UnmarriedYour parent, or your child aged 16 or over1 year, or a fine of IDR 10 million
Living together, unmarriedYour parent, or your child aged 16 or over6 months, or a fine of IDR 10 million

The edge case is a marriage at home. If you are married and travelling with someone else, your husband or wife is entitled to complain. Sources differ on the risk to couples sharing a room; see Conflicts.[1, 5]

What are the drug laws in Bali?

Drug penalties are the heaviest a visitor can face. Possessing a drug in the strictest class, which includes cannabis, carries up to 12 years, a fine of up to IDR 2 billion (about AUD 160,000), or both. Above 5 grams, or above 1 kilogram or five plants of cannabis in plant form, it is life or up to 20 years, and dealing or bringing in larger amounts can carry the death penalty.[2, 9]

Cannabis is in that strictest class in every form, and a prescription from home does not make it legal here. CBD products are illegal too. Using a drug yourself carries up to four years, and a user proved to be a victim of abuse must undergo medical and social rehabilitation.[7, 8, 9]

Drug penalties in Indonesia, from 2 January 2026
What you doStrictest class, cannabis includedLarger amounts (over 5 g; cannabis plant over 1 kg or 5 plants)
Use it yourselfUp to 4 years; a proved victim of abuse must undergo rehabilitationNo higher band
Carry or keep itUp to 12 years and up to IDR 2 billionLife or up to 20 years
Sell itLife or up to 20 yearsDeath penalty possible
Bring it in or take it outUp to 15 yearsDeath penalty possible

Police often target venues popular with visitors, Bali included, and raids reach private villa parties too: in December 2024 a raid on a villa party in Canggu used sniffer dogs, and about 50 guests were urine-tested.[8, 10]

Our rule

Leave any party where drugs appear.

A raid can test everyone in the room, not only the person carrying.

What are Bali's rules for tourists?

Bali's governor has set out a list of do's and don'ts for foreign visitors, and it still applies in 2026. Most of it is about respect, and the rest about using licensed services.[11, 12]

Do:

  • Respect temples, offerings and ceremonies, and dress modestly at temples, sights and public places.
  • Pay the tourist levy.
  • Use licensed guides, money changers, rental vehicles and accommodation.
  • Ride with the right licence and a helmet in good condition, and follow traffic law; the scooter licence guide covers which licence.

Don't:

  • Climb sacred trees, or take nude or improper photos at sacred sites.
  • Step on or disturb offerings.
  • Litter, or use single-use plastic.
  • Swear, cause a disturbance, bargain aggressively, or post hate or hoaxes online.
  • Work or run a business without a permit.

Breaking these rules can lead to a criminal penalty, deportation or both. Bali's public order police watch for breaches, and the police handle serious ones.[7, 8, 11]

What are the temple rules in Bali?

Dress modestly at a temple, and stay in its outer courtyards. The inner area is only for people praying in Balinese dress, and not for women who are menstruating.[11]

Behaviour at a temple can also break the criminal code. Defiling a temple or a sacred object can bring a year in prison or a IDR 10 million (about AUD 801) fine at most. Nudity in a public place carries the same. Making a disturbance near a temple during worship carries a fine of up to IDR 1 million.[1]

Can you be jailed for insulting religion or the government?

Yes, though the bar is high. Stirring up hatred against people because of their religion, in public, carries up to three years, and spreading it online up to five. Fair, private or scholarly comment is not a crime.[1, 2]

Insulting the President in public can mean three years at most, and insulting the government or a state institution up to 18 months. Neither can be prosecuted unless the President, or the head of the institution, complains in writing. What you post online counts too, and Indonesia's internet laws also punish defamation and spreading hoaxes.[1, 8]

What are the rules on drinking and on Nyepi?

You must be 21 to drink. Being drunk in a public place and disturbing others or putting them at risk carries a fine of up to IDR 10 million (about AUD 801).[1, 8]

On Nyepi, the Balinese Day of Silence, the island shuts down for the day, tourists included: no fire or lights, no leaving home, no work and no entertainment. Village guards (pecalang) enforce it. They can hold someone until the next day, villages set their own fines, and a serious disturbance goes to the police.[14]

Nyepi 2027 falls on Monday 8 March; the Nyepi 2027 guide covers what shuts and how to plan around it.[15]

Next steps

  • Visa on arrival

    Overstaying and misusing a permit are the most common reasons visitors are deported.

  • Scams in Bali

    The other way a trip goes wrong, and how to spot it.

FAQ

Is it legal to be gay in Bali?

Indonesia does not recognise same-sex relationships, and in Aceh province they are illegal. Visible displays can draw unwanted attention, and an obscene act in public is a crime whatever the sex of the people involved.[1, 8]

Do hotels ask for a marriage certificate?

The law does not require hotels to check whether guests are married.[6]

Conflicts

Sources differ on whether an unmarried couple sharing a room in Bali is at risk under the new criminal code.

Sources disagree

Is an unmarried couple sharing a room in Bali at risk under the new criminal code?

Our reading

The law applies to you, but only your spouse, a parent or your child aged 16 or over can start a case; sharing a room puts no one else in a position to.

The 2022 headline predates the in-force text and the 2026 statements; the statute's complaint rule and the law commission chair's January 2026 statement settle who can act. A married traveller with someone other than their spouse is the case the law does reach.

See what each source says
  • The code does not discriminate between citizens and travellers; unmarried tourists could be at risk if they so much as share a hotel room.[5]

    6 December 2022

  • Articles 411(2) and 412(2): no prosecution without a complaint from the spouse of a married person, or the parent or child (aged 16 or over, per the elucidation) of an unmarried person; Articles 411(4) and 412(4): a complaint can be withdrawn until the hearing begins.[1]

    promulgated 2 January 2023; in force 2 January 2026

  • The chair of the House law commission: only those the article names can complain, no one else, for example people raiding a hotel.[3]

    12 January 2026

  • Bali's governor: authorities would not check the marital status of people checking in at tourist accommodation.[16]

    12 December 2022

  • No requirement for hotels to verify marital status; short-term visitors are unlikely to face enforcement, as they usually have no one who could file a valid complaint.[6]

    2 January 2026

Sources

Our summaries of Indonesian rules are unofficial; the Indonesian text governs.

  1. Republic of Indonesia (BPK legal database copy), UU 1/2026 (Law 1 of 2026) on the Adjustment of Criminal Penalties: amended KUHP Articles 300, 609 and 610, and Annex II on the Narcotics Law

    published 2 January 2026 · accessed 18 October 2026

  2. Hukumonline (Indonesian legal news), DPR: the adultery article in the national Criminal Code does not threaten privacy

    published 12 January 2026 · accessed 18 October 2026

  3. InsideHook, Indonesia passes law to ban sex outside marriage, even for tourists

    published 6 December 2022 · accessed 18 October 2026

  4. eTurboNews (travel trade news), Indonesia criminal code 2026: sex outside marriage and what tourists need to know

    published 2 January 2026 · accessed 18 October 2026

  5. UK Foreign, Commonwealth and Development Office, Indonesia travel advice: safety and security

    published 18 September 2026 · accessed 24 October 2026

  6. Australian Government, Smartraveller, Indonesia travel advice

    updated 16 October 2026 · accessed 18 October 2026

  7. Republic of Indonesia (BPK legal database copy), UU 35/2009 (Law 35 of 2009) on Narcotics: Articles 111, 114 and 127, and Annex I (Class I narcotics, cannabis at item 8)

    published 12 October 2009 · accessed 18 October 2026

  8. detikBali, Foreigners' drug party disguised as a Christmas celebration in Canggu

    published 24 December 2024 · accessed 18 October 2026

  9. Bali Provincial Tourism Office, Bali cracks down on unruly tourists: Governor Koster issues new regulations

    published 8 April 2025 · accessed 12 October 2026

  10. Bali Provincial Government, Love Bali, Travel guidelines in Bali: respecting culture, maintaining order and supporting sustainable tourism

    published 24 February 2026 · accessed 12 October 2026

  11. RRI (Indonesian public radio), Immigration oversight in Bali strengthens public order: 342 foreigners deported

    published 5 July 2026 · accessed 16 October 2026

  12. Antara, What are the sanctions for breaking the Catur Brata Penyepian rules in Bali?

    published 27 March 2025 · accessed 16 October 2026

  13. Ministry of State Secretariat, Indonesia, Joint decree of three ministers on 2027 national holidays and collective leave

    published 15 September 2026 · accessed 12 October 2026

  14. Al Jazeera, Indonesian governor claims Bali 'bonk ban' no risk to tourists

    published 12 December 2022 · accessed 18 October 2026

  15. Ministry of Finance, Indonesia, Fiscal Policy Agency, Kurs Pajak (tax exchange rate), weekly

    accessed 21 October 2026

    KMK 50/MK/EF.2/2026: USD 1 = IDR 17,946.00, AUD 1 = IDR 12,483.54, EUR 1 = IDR 20,088.08, GBP 1 = IDR 23,780.53, JPY 1 = IDR 113.393, CNY 1 = IDR 2,681.69, SGD 1 = IDR 14,004.96, valid 21 October 2026 to 27 October 2026. A weekly reference rate, not the rate a bank or money changer gives you.

Spotted something wrong or out of date? Send a correction

More questions,
answered the same way.