Indonesia Code Number: Everything You Need to Know About the +62 Dialing Code
An Indonesia code number refers to the international dialing prefix +62, which is required to call or send messages to phone numbers located in Indonesia from another country. Whether you are trying to contact a family member, verify an online account, or understand international call formatting, knowing how this country code works prevents connection errors and unexpected communication costs.
Quick Answer
The Indonesia country code is +62. When dialing from abroad, replace the leading zero of the local Indonesian mobile or landline number with +62. For example, a local mobile number starting with 0812 becomes +62 812. Mobile numbers use specific operator prefixes, while landlines require city area codes.
- Always drop the leading zero (0) before adding +62.
- Mobile numbers typically begin with prefixes like 811, 812, 813, 815, 816, 817, 818, or 819.
- Landlines require a regional area code immediately after the country code.
What it means / how it works
Every country in the world is assigned a specific numerical prefix regulated by the International Telecommunication Union (ITU). Indonesia uses +62. When an international carrier routes a call or text message, this code identifies Indonesia as the destination country.
Telephone numbers in Indonesia consist of a country code, an area code or operator prefix, and a subscriber number. Indonesian phone numbers do not use a fixed length; mobile numbers typically range from 10 to 12 digits excluding the country code, while landlines vary based on the geographic region.
When dialing from inside Indonesia, you include the domestic trunk prefix, which is a leading zero (0). For example, a Jakarta landline dialed locally might start with 021, and a mobile number starts with 08. When calling or messaging from outside Indonesia, you must replace that initial zero with the international country code (+62).
Practical scenarios
- Calling an Indonesian mobile phone from abroad: You dial your country's international exit code (like 011 in the US or 00 in Europe), followed by +62, then drop the local zero and dial the remaining mobile digits (e.g., +62 812 XXXX XXXX).
- Sending an SMS verification code: Platforms sending automated one-time passwords (OTP) require the recipient to format their mobile number with +62 to ensure the SMS gateway routes the message correctly through Indonesian telecom networks.
- Saving contacts in a smartphone: It is best practice to save all international numbers in E.164 format (+62...) so your messaging apps like WhatsApp or Telegram recognize the contact regardless of your current physical location.
- Dialing an Indonesian landline: If you are calling a business in Bali, you dial +62, followed by the local Bali area code 361 (dropping the local 0), and then the local subscriber number.
- Using travel eSIMs or local roaming: If you are traveling to Indonesia with a foreign SIM card, anyone calling your foreign number does not need the +62 code, but anyone calling your Indonesian local tourist SIM will use +62.
- Business communication and customer support: Companies operating international helpdesks must ensure their contact databases store customer phone numbers with the +62 prefix to avoid failed automated dialing sequences.
- Troubleshooting failed calls: If a call fails to connect, the most common error is accidentally leaving the leading zero in place after the country code (writing +62 0812 instead of +62 812).
Step-by-step
If you need to format, dial, or use an Indonesia code number correctly, follow these simple steps:
- Identify the local number: Check the Indonesian phone number you want to reach. Note whether it is a mobile number (starting with 08...) or a landline number (starting with a regional area code like 021 for Jakarta or 0361 for Bali).
- Drop the leading zero: Remove the first digit (0) from the beginning of the local number. This is the most critical step, as keeping the zero breaks international routing.
- Add the country prefix: Attach +62 to the front of the remaining digits. If you are using a landline phone instead of a mobile device, you may need to dial your country's international exit code (such as 00 or +) before the 62.
- Check operator prefixes (for mobiles): Ensure the digits immediately following +62 match valid Indonesian mobile prefixes (such as Telkomsel, Indosat Ooredoo Hutchison, XL Axiata, or Smartfren) if you are verifying that a number is active.
- Test the connection: Place the call or send the message. If using a messaging app, refresh your contact list if the number does not immediately appear as registered on the platform.
Safety/privacy/legal
Handling international phone numbers requires awareness of local telecom regulations and privacy standards. In Indonesia, the Ministry of Communication and Informatics requires all prepaid mobile subscriber identity module (SIM) cards to be registered using a national identity card (KTP) and family card number (KK) for citizens, or passport details for foreign nationals.
Because numbers are tied to verified identities, public exposure of Indonesian phone numbers on untrusted websites can lead to spam calls, phishing attempts, or unauthorized account access. If you are using virtual numbers or temporary messaging services for online account verification, always review platform policies regarding data security. Avoid sharing your primary personal +62 number on public forums, classified listing sites, or unverified social media groups to protect your digital privacy.
Best alternatives
When you need to receive SMS verification codes or test applications using Indonesian numbers without exposing your personal SIM card, you have several options depending on your use case.
Free public SMS inboxes offer temporary numbers that anyone can view online. While convenient for quick tests, they provide zero privacy, and any confirmation codes sent to them are visible to the public. For dedicated personal use, purchasing a prepaid travel SIM or a local eSIM is the standard approach.
For developers, QA testers, or businesses managing global user verification flows, specialized digital telecom services can provide automated access to international SMS gateways. For instance, PVACodes offers virtual phone number and SMS verification solutions that support various country codes, allowing teams to verify accounts and handle automated OTP reception across multiple regions without maintaining physical hardware.
Frequently Asked Questions
What is the country code for Indonesia?
The international country dialing code for Indonesia is +62. It must be used at the beginning of any phone number when calling or sending text messages from outside the country.
Do I need to dial the zero when using +62?
No. When you add +62 to an Indonesian phone number, you must drop the leading zero (0) that appears at the start of domestic mobile numbers and area codes. For example, 0812 becomes +62 812.
What do Indonesian mobile numbers start with after +62?
After the +62 country code, Indonesian mobile numbers begin with the digit 8 followed by the operator code. Common mobile network prefixes include 811, 812, 813, 815, 816, 817, 818, 819, 821, 822, 823, 851, 852, 853, 855, 856, 857, and 858.
How do I call a Jakarta landline from another country?
To call a Jakarta landline from abroad, dial your country's international access code, then +62, followed by the Jakarta area code 21 (dropping the local 0), and finally the local subscriber number. The complete format looks like +62 21 XXXX XXXX.
Why is my call or SMS to an Indonesia number failing?
Calls or messages usually fail because the leading zero was left in the number after the country code, or because the international exit code was dialed incorrectly. Check that you dialed +62 followed immediately by the operator prefix or area code.
Are Indonesian phone numbers a fixed length?
No, Indonesian phone numbers do not have a fixed total length. Mobile numbers typically contain 10 to 12 digits after the country code, while landline numbers vary depending on the geographic region and city code length.
Can I use an Indonesian virtual number for WhatsApp verification?
Yes, many users utilize virtual phone numbers supporting the +62 code to register or verify accounts on messaging platforms like WhatsApp, provided the number type is accepted by the platform's security filters.
What is the difference between mobile and landline formats in Indonesia?
Mobile numbers use an operator prefix starting with 8 after the country code, whereas landlines use geographic area codes corresponding to specific cities or provinces, such as 21 for Jakarta, 31 for Surabaya, or 361 for Bali.
Is SIM card registration mandatory in Indonesia?
Yes, Indonesian law requires all mobile subscribers to register their SIM cards using official government identification documents. This rule applies to both citizens and foreign visitors purchasing local tourist SIM cards.
How can I test OTP delivery for Indonesian users?
Developers and testers can use specialized SMS gateway providers and virtual number services that handle international carrier routing to simulate and verify OTP delivery to Indonesian phone numbers.
Conclusion
Understanding the Indonesia code number (+62) ensures your international calls, text messages, and account verification requests connect without interruption. Always remember to drop the leading zero, verify mobile operator prefixes or regional area codes, and follow best practices for online privacy when dealing with international numbers.
