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]
| If you are | Who can complain | Penalty, at most |
|---|---|---|
| Married | Your husband or wife | 1 year, or a fine of IDR 10 million |
| Unmarried | Your parent, or your child aged 16 or over | 1 year, or a fine of IDR 10 million |
| Living together, unmarried | Your parent, or your child aged 16 or over | 6 months, or a fine of IDR 10 million |
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]
| What you do | Strictest class, cannabis included | Larger amounts (over 5 g; cannabis plant over 1 kg or 5 plants) |
|---|---|---|
| Use it yourself | Up to 4 years; a proved victim of abuse must undergo rehabilitation | No higher band |
| Carry or keep it | Up to 12 years and up to IDR 2 billion | Life or up to 20 years |
| Sell it | Life or up to 20 years | Death penalty possible |
| Bring it in or take it out | Up to 15 years | Death 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
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.
Is an unmarried couple sharing a room in Bali at risk under the new criminal code?
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.
Republic of Indonesia (BPK legal database copy), UU 1/2023 (Law 1 of 2023) on the Criminal Code (KUHP), with its elucidation: Articles 4, 79, 218 to 220, 240 to 241, 300 to 305, 316, 406, 411 to 412, 414, 609 to 610 and 624
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
Hukumonline (Indonesian legal news), DPR: the adultery article in the national Criminal Code does not threaten privacy
CNA Indonesia, crediting Antara, The Law Minister on the new Criminal Code's adultery and cohabitation offences (Kontan's report of the same briefing unreachable)
eTurboNews (travel trade news), Indonesia criminal code 2026: sex outside marriage and what tourists need to know
UK Foreign, Commonwealth and Development Office, Indonesia travel advice: safety and security
Australian Government, Smartraveller, Indonesia travel advice
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)
Bali Provincial Tourism Office, Bali cracks down on unruly tourists: Governor Koster issues new regulations
Bali Provincial Government, Love Bali, Travel guidelines in Bali: respecting culture, maintaining order and supporting sustainable tourism
RRI (Indonesian public radio), Immigration oversight in Bali strengthens public order: 342 foreigners deported
Ministry of State Secretariat, Indonesia, Joint decree of three ministers on 2027 national holidays and collective leave
Ministry of Finance, Indonesia, Fiscal Policy Agency, Kurs Pajak (tax exchange rate), weekly
Spotted something wrong or out of date? Send a correction

