9 rules that catch foreigners out in Indonesia, in plain English, each with a link to where it comes from.
This is not legal advice. It is a plain-English summary of what official travel advisories and the other sources named below said when we last checked, on 13 November 2026. Laws and enforcement change, the summaries leave out detail, and penalties quoted are those the sources give. Before you rely on any of it, read the source and, for anything that matters, ask a lawyer in the country or your embassy.
Relationships
Sex outside marriage and living together can be prosecuted
Indonesia's new criminal code sets penalties for cohabitation and for sex outside marriage. A case can only start if certain close family members of either person file a complaint.
CBD, hemp products and medical cannabis are all illegal
Every cannabis-based product is illegal, including medicinal cannabis, oils and creams, hemp products, CBD and edibles, in any form. Drug offences can bring long prison sentences or the death penalty.
Some prescription and over-the-counter medicines, such as those containing codeine or morphine, are controlled substances. Bringing them in, even in small amounts, is illegal without prior permission from the Ministry of Health and the right documents.
Aceh is the only province that enforces Sharia law, and it applies to non-Muslims too. Alcohol, gambling, sex outside marriage and same-sex sexual activity are illegal there, with punishments that include public caning.
On Balinese New Year, local custom requires everyone on the island, visitors included, to stay inside for the day with lights off and no noise. The airport closes for the whole day. The date changes each year.
During Ramadan, don't eat, drink or smoke in public in the daytime
The UK advises not eating, drinking, smoking or chewing gum in public during daylight in Ramadan, including in your car, and not playing loud music or swearing in public.
Police often raid venues popular with foreigners, especially in Bali. If they suspect drug use you may have to give a urine or blood sample, and a positive result leads to arrest.