# **042*0000*1234*1234# on iPhone: Change Your SIM PIN2

URL: https://byshahid.com/blog/change-your-sim-pin2-star-star-042-star-0000-iphone/
App: Secret Codes: IMEI & Carrier (https://apps.apple.com/us/app/secret-codes-imei-carrier/id6807154322)
Author: Muhammad Shahid
Updated: 2026-11-04

> **042*0000*1234*1234#: Change the second SIM PIN that guards fixed dialling and similar features. PIN2 is a separate credential on the SIM that protects a different set of functions from the ordinary PIN. Historically it gates fixed dialling numbers, advice of charge counters and a handful of other stored settings. TS 22. 030 section 6. 6. 2 gives the procedure as **042*OLD_PIN2*NEW_PIN2*NEW_PIN2#.

- **Code:** **042*0000*1234*1234#
- **What it does:** Change the second SIM PIN that guards fixed dialling and similar features.
- **Published for:** AT&T, T-Mobile and any iPhone
- **Type:** Support varies

Change the second SIM PIN that guards fixed dialling and similar features. This page explains what `**042*0000*1234*1234#` 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](https://apps.apple.com/us/app/secret-codes-imei-carrier/id6807154322).

## What does **042*0000*1234*1234# do?

PIN2 is a separate credential on the SIM that protects a different set of functions from the ordinary PIN. Historically it gates fixed dialling numbers, advice of charge counters and a handful of other stored settings. TS 22.030 section 6.6.2 gives the procedure as **042*OLD_PIN2*NEW_PIN2*NEW_PIN2#.

Like the PIN change, this is a conversation between the handset and the SIM card and never reaches the carrier network.

iPhone exposes no user interface for PIN2 and no interface for the features it protects, so for most iPhone owners this is documentation rather than a tool. It is listed because a SIM moved into an iPhone from another device may still carry a PIN2 that matters if the SIM is moved on again.

**Important:** Three wrong PIN2 entries block PIN2 and it can only be restored with the separate PUK2 from your carrier. Do not guess it.

## How do I use **042*0000*1234*1234#?

- Open the Phone app and tap Keypad.
- Type **042*0000*1234*1234# exactly as written.
- Press the green Call button and wait for the result.

## Which carriers does this apply to?

| Published for | AT&T, T-Mobile and any iPhone |

| Type | Support varies |

| Good to know | iPhone provides no PIN2 interface and generally will not process this string. Included because the credential genuinely exists on the SIM and matters on other handsets. |

_Screenshot: The Secret Codes detail screen shows the steps, the carriers and an Open in Phone button._

## Related call barring and sim pin codes

- [**04*0000*1234*1234#: Change Your SIM PIN](/blog/change-your-sim-pin-star-star-04-star-0000-iphone/)
- [**05*12345678*1234*1234#: Unblock a SIM With the PUK](/blog/unblock-a-sim-with-the-puk-star-star-05-star-12345678-iphone/)
- [#43*11#: Turn Off Call Waiting for Voice Only](/blog/turn-off-call-waiting-for-voice-only-hash-43-star-11-iphone/)
- [**052*12345678*1234*1234#: Unblock PIN2 With the PUK2](/blog/unblock-pin2-with-the-puk2-star-star-052-star-12345678-iphone/)
- [*43*11#: Turn On Call Waiting for Voice Only](/blog/turn-on-call-waiting-for-voice-only-star-43-star-11-iphone/)
- [*#591#: Check Multiple Subscriber Profile](/blog/check-multiple-subscriber-profile-star-hash-591-iphone/)

See all [call barring and sim pin codes](/blog/iphone-codes/call-barring-and-sim/) or [every category of iPhone codes](/blog/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. This entry is part of Secret Codes Pro.

**Secret Codes: IMEI & Carrier** is free on the App Store: https://apps.apple.com/us/app/secret-codes-imei-carrier/id6807154322

## FAQ

### What does **042*0000*1234*1234# do on iPhone?

Change the second SIM PIN that guards fixed dialling and similar features. PIN2 is a separate credential on the SIM that protects a different set of functions from the ordinary PIN. Historically it gates fixed dialling numbers, advice of charge counters and a handful of other stored settings. TS 22.

### What else should I know about **042*0000*1234*1234#?

030 section 6. 6. 2 gives the procedure as **042*OLD_PIN2*NEW_PIN2*NEW_PIN2#. Like the PIN change, this is a conversation between the handset and the SIM card and never reaches the carrier network.

### What are the steps for **042*0000*1234*1234#?

1. Open the Phone app and tap Keypad. 2. Type **042*0000*1234*1234# exactly as written. 3. Press the green Call button and wait for the result.

### Where do I use **042*0000*1234*1234#?

On the keypad of the Phone app.

### Do I need to press Call after typing **042*0000*1234*1234#?

Yes. Type it on the Phone keypad, then press the green Call button.

### Is **042*0000*1234*1234# 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 **042*0000*1234*1234# work on?

It is published for AT&T, T-Mobile and any iPhone. iPhone provides no PIN2 interface and generally will not process this string. Included because the credential genuinely exists on the SIM and matters on other handsets.

### Is there anything to watch out for with **042*0000*1234*1234#?

Three wrong PIN2 entries block PIN2 and it can only be restored with the separate PUK2 from your carrier. Do not guess it.

### Does **042*0000*1234*1234# 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 **042*0000*1234*1234# 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 **042*0000*1234*1234# 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 **042*0000*1234*1234#?

**04*0000*1234*1234#: Change Your SIM PIN. Replace the PIN that unlocks your SIM at startup.

## Sources

- [3GPP TS 22.030: Man-Machine Interface of the phone](https://www.3gpp.org/dynareport/22030.htm)

