
Last Updated: November 4, 2026 | Reading Time: 8 minutes
All gambling is illegal in Indonesia, online or offline, and players can be prosecuted as well as operators. Since 2 January 2026 the new Criminal Code has set penalties of up to 3 years in prison for taking part in unlicensed gambling and up to 9 years for running it, and no Indonesian authority licenses any form of gambling at all. No casino, sportsbook, lottery or online site is legal there.
Online gambling, known locally as judi online or “judol”, has still grown into one of the country’s biggest enforcement problems. This guide sets out the law, the scale of the crackdown in 2025 and 2026, and what it means for players and for Malaysians who visit or work in Indonesia.
Table of Contents
Quick Answer
Online casinos: illegal for operators and players. Indonesia licenses no gambling of any kind.
Penalties since 2 January 2026: up to 3 years’ prison or a fine for players (Article 427); up to 9 years for organisers (Article 426) under the new Criminal Code.
Enforcement: about 3.7 million gambling sites and content items blocked between October 2024 and July 2026, and 32,500 linked bank accounts closed.
Scale: Indonesia’s financial intelligence agency counted IDR 286.84 trillion in online gambling transactions in 2025.
For visitors: Indonesian law applies to anyone in Indonesia, whatever licence an offshore site claims.
The Law: A Complete Ban
Indonesia has banned gambling nationally since the 1970s, and the ban covers every form: casinos, sports betting, lotteries, card games played for money and online gambling. Unlike Malaysia, which licenses one casino resort and several lottery operators, or the Philippines, which licenses online gaming for its own residents, Indonesia has no legal channel at all. Any site taking bets from players in Indonesia is operating illegally there.
The legal basis changed in 2026. Indonesia’s new Criminal Code, Law No. 1 of 2023, took effect on 2 January 2026 and replaced the old Article 303 and 303 bis gambling provisions with two new articles. Before 2026, online gambling was also prosecuted under the Electronic Information and Transactions (ITE) Law, which bans distributing or making gambling content accessible; legal commentators disagree on how that provision now fits alongside the new Code.
| Who | Provision (from 2 January 2026) | Maximum penalty |
|---|---|---|
| Organisers, and anyone offering the chance to gamble without a permit | Article 426, Criminal Code | 9 years’ prison or a category VI fine (IDR 2 billion) |
| Players taking part in unlicensed gambling | Article 427, Criminal Code | 3 years’ prison or a category III fine |
Reports of the exact fine amounts differ, because the new Code sets fines by category and the rupiah values attached to each category can be adjusted. Indonesian state radio RRI and Indonesian legal commentators agree on the prison terms: up to 9 years for organisers and up to 3 years for players. Since no permit for gambling is ever issued, every gambling site is “without a permit” under Article 426.
Enforcement in 2025 and 2026
Indonesia runs one of the most aggressive anti-gambling campaigns in the region, aimed at three targets: the sites, the money and the players.
| Measure | Figure | Period |
|---|---|---|
| Gambling sites and content blocked by the Ministry of Communication and Digital Affairs (Komdigi) | About 3.7 million | 20 Oct 2024 to 12 Jul 2026 |
| Bank accounts referred to the financial regulator (OJK) | About 38,000 | Same period |
| Of those, accounts closed | About 32,500 | Same period |
| Online gambling cases handled by police | 718 cases, 1,164 suspects arrested | First half of 2026 |
| Assets seized | IDR 1.75 trillion | First half of 2026 |
| Online gambling transactions recorded by PPATK | IDR 286.84 trillion, about 12.3 million people | 2025 |
The figures were set out by Communications and Digital Minister Meutya Hafid in July 2026, as reported by AGB. The minister argued that blocking websites is not enough on its own, which is why the campaign now concentrates on mule bank accounts that move gambling money. Indonesia has also suspended welfare payments to households where a member is found to gamble online.
What Players Face
For players the risks are both legal and financial. Article 427 makes the player liable, not only the operator: taking part in unlicensed gambling can bring up to 3 years in prison. Bank accounts used for gambling deposits can be frozen or closed, which also locks any legitimate money held in them.
There is no protection if something goes wrong. An illegal site that refuses a withdrawal, closes an account or changes its bonus terms cannot be reported to any Indonesian regulator, because the bet was illegal in the first place. Sites aimed at Indonesia also change domains constantly to get around blocking, so a site you used last week may simply vanish with your balance.
Gambling adverts in Indonesia often appear as “slot gacor” spam in social media comments, hijacked government and university web pages, and messaging-app groups. The same tactics are used across the region; our breakdown of online casino scams targeting Malaysians explains how these lures work and how withdrawals are blocked once you deposit.
How Indonesia Compares With Its Neighbours
| Indonesia | Thailand | Malaysia | |
|---|---|---|---|
| Any legal gambling? | None | Government Lottery and licensed horse racing | One casino resort, licensed lotteries and racing |
| Online casinos | Illegal for operators and players | Illegal for operators and players | Not licensed |
| Main law | Criminal Code (Law 1/2023, in force 2 Jan 2026) | Gambling Act 1935, Computer Crime Act | Common Gaming Houses Act 1953, Betting Act 1953 |
| Maximum player penalty | 3 years’ prison or a fine | Fines and up to 5 years (reported) | Fines and prison possible under the 1953 Acts |
Thailand is the closest comparison: both countries ban online gambling for players and block sites on a massive scale, but Thailand at least runs a legal lottery. Our guide to online casinos in Thailand covers its law and enforcement in the same format, and our guide to online casinos in Vietnam explains how Vietnam opened three casinos to its own citizens while keeping online gambling a crime.
What Offshore Licences Mean for Players in Indonesia
Sites targeting Indonesian players often display Curaçao, Anjouan or other offshore licences, and some still show PAGCOR seals. None of them make playing legal in Indonesia, because Indonesian law applies to the player in Indonesia, not to where the operator is registered. PAGCOR revoked all of its offshore internet gaming licences from 15 December 2024 under Executive Order No. 74, so a PAGCOR claim is not valid anywhere. Our guide to online casino licensing and regulation explains how to check what a licence actually covers.
For Malaysians in Indonesia
Indonesian law applies to everyone in Indonesia, including tourists in Bali or Batam and Malaysians working in Jakarta. Logging in to an online casino from Indonesia is taking part in unlicensed gambling under Article 427, regardless of whether the site is Malaysian-facing or which licence it shows. Foreigners convicted of crimes can also face deportation under Indonesian immigration law.
Be especially careful with requests to “lend” or rent out a bank account or e-wallet. Mule accounts are the main target of Indonesia’s crackdown, and the same schemes recruit account holders in Malaysia; letting a gambling operation use your account can expose you to money-laundering charges in either country.
Legal Status and Playing Safely
For Malaysian readers at home, online casinos are not licensed for Malaysian residents under the Common Gaming Houses Act 1953 and the Betting Act 1953, and no Malaysian regulator will step in if an offshore site refuses to pay. This guide explains the law in Indonesia; it is not legal advice and not a recommendation to gamble anywhere.
Gambling is for adults only (18+, or the higher age your local law sets). If gambling is causing problems for you or someone close to you, our responsible gambling tools and contacts and Gamblers Anonymous can help.
Frequently Asked Questions
Is online gambling legal in Indonesia?
No. All gambling is illegal in Indonesia, including online casinos, sports betting and lotteries. Indonesia licenses no gambling of any kind, so every gambling site is illegal there.
What is the penalty for online gambling in Indonesia?
Under the new Criminal Code in force since 2 January 2026, players face up to 3 years in prison or a fine under Article 427, and organisers face up to 9 years in prison or a fine of up to IDR 2 billion under Article 426.
Can my bank account be frozen for online gambling in Indonesia?
Yes. Accounts suspected of handling gambling money are referred to the financial regulator OJK. About 32,500 such accounts had been closed by July 2026, and any legitimate money in them is locked as well.
Does an offshore licence make online gambling legal in Indonesia?
No. Indonesian law applies to the player in Indonesia, whatever licence the site shows. PAGCOR claims are not valid in any case, as PAGCOR revoked its offshore internet gaming licences in December 2024.
Can tourists gamble online in Indonesia?
No. Indonesian law applies to everyone in the country, including tourists and foreign workers. Taking part in unlicensed gambling is an offence under Article 427, and foreigners convicted of crimes can also face deportation.
Disclaimer: This guide reflects Indonesian law, official statements and news reports available on 4 November 2026, linked above. Fine amounts under the new Criminal Code are set by category and may be adjusted. This is general information, not legal advice. Onlinecasinoz.asia does not offer gambling.