Secret Codes guide
#331*0000# on iPhone: Cancel International Call Barring
By Muhammad Shahid · · 3 min read
Quick answer
#331*0000#: Allow international dialling again after *331*. Deactivates barring of outgoing international calls while leaving every other barring setting untouched. Substitute your own four digit call barring password for the 0000.
| Code | #331*0000# |
|---|---|
| What it does | Allow international dialling again after *331*. |
| Published for | AT&T and T-Mobile |
| Type | Support varies |
Allow international dialling again after *331*. This page explains what #331*0000# does, how to use it on an iPhone and which carriers it applies to.
I build Secret Codes: IMEI & Carrier, a free iPhone app with 317 checked codes and guides, including this one. If you would rather tap than memorise, get Secret Codes on the App Store.
What does #331*0000# do?
Deactivates barring of outgoing international calls while leaving every other barring setting untouched. Substitute your own four digit call barring password for the 0000.
Worth trying if international calls started failing straight after a trip abroad and a carrier support call has not explained it, but do not read an error here as proof that nothing is barred. Most international blocks on US accounts are billing controls that this string cannot see.
How do I use #331*0000#?
- Open the Phone app and tap Keypad.
- Type #331*0000# exactly as written.
- Press the green Call button and wait for the result.
Which carriers does this apply to?
| Published for | AT&T and T-Mobile |
|---|---|
| Type | Support varies |
| Good to know | Answers only on lines where international barring was genuinely provisioned as a GSM service. That is uncommon in the US. |

Related call barring and sim pin codes
- *331*0000#: Bar Outgoing International Calls
- *#331#: Check International Call Barring
- #33*0000#: Cancel Outgoing Call Barring
- *332*0000#: Bar International Calls Except Home
- *33*0000#: Bar All Outgoing Calls
- #332*0000#: Cancel Except-Home Barring
See all call barring and sim pin codes or every category of iPhone codes.
How Secret Codes helps
Secret Codes keeps this and every other entry a search away. Pick your carrier once and each entry says whether it is published for your line. You can save favourites, add a private note, and record whether a code worked on your line.
Frequently asked questions
What does #331*0000# do on iPhone?
Allow international dialling again after *331*. Deactivates barring of outgoing international calls while leaving every other barring setting untouched. Substitute your own four digit call barring password for the 0000.
What else should I know about #331*0000#?
Worth trying if international calls started failing straight after a trip abroad and a carrier support call has not explained it, but do not read an error here as proof that nothing is barred. Most international blocks on US accounts are billing controls that this string cannot see.
What are the steps for #331*0000#?
1. Open the Phone app and tap Keypad. 2. Type #331*0000# exactly as written. 3. Press the green Call button and wait for the result.
Where do I use #331*0000#?
On the keypad of the Phone app.
Do I need to press Call after typing #331*0000#?
Yes. Type it on the Phone keypad, then press the green Call button.
Is #331*0000# a hidden or secret code?
No. It is a published service, not a hidden menu. iPhones do not have Android-style engineering menus.
Which carriers does #331*0000# work on?
It is published for AT&T and T-Mobile. Answers only on lines where international barring was genuinely provisioned as a GSM service. That is uncommon in the US.
Does #331*0000# work on Android phones too?
It is handled by the carrier or service rather than the iPhone, so it is not tied to one phone brand. Check with your carrier.
Will #331*0000# work outside the US?
It is published for US carriers and services, so do not count on it abroad. Ask your carrier before you travel.
What if #331*0000# does not work on my iPhone?
Check that it applies to your carrier first, because carriers decide which services they offer and can change them. If it should apply to your line, contact your carrier.
What is related to #331*0000#?
*331*0000#: Bar Outgoing International Calls. Block international dialling at the network, not on the handset.
What else is in this category?
*#331#: Check International Call Barring. Ask whether outgoing international calls are barred.