Forgot PIN- code from SIM- card or want to put a more reliable? on smartphones Xiaomi, Redmi and POCO code change procedure takes less than a minute, but has nuances depending on the model and version of MIUI. In this article, we will analyze all the current methods - from standard change through settings to restore access when blocked.
Important: PIN-Z SIM- card code is not the same as a pattern lock or screen unlock password. It protects the SIM itself from unauthorized use in other devices. If you type it incorrectly 3 times in a row, the card will be blocked, and you will need PUK- code to unlock it (you can find it from the operator or in your personal account).
Why you may need to change the PIN- code SIM- card
Many Xiaomi users have not changed a standard PIN (such as 0000 or 1234) for years, although this poses risks:
- π Data Leakage: If the phone falls into the wrong hands, an attacker can extract the SIM- card and use it on another device, receiving SMS (including with bank confirmation codes).
- π± Newer device incompatibility: Some operators (e.g., Tele2 or Yota) require a change of standard PIN when eSIM is activated.
- π Transition to a different tariff: when changing the operator or tariff plan, confirmation through PIN is sometimes required.
- π‘οΈ Extra protection: The sophisticated PIN will make life harder for scammers, even if they steal your Xiaomi.
According to a 2023 Kaspersky study, 68% of users never change standard PIN- codes on SIM- cards, although it takes less than 2 minutes. Meanwhile, mobile operators in Russia are required to provide the ability to change PIN through USSD- commands or personal account from 2021, a requirement of Federal Law β 248-FZ.
Method 1: Change PIN- code through the settings of Xiaomi
This is the simplest and most versatile method that works on all Xiaomi smartphones running MIUI 12/13/14 (including Redmi Note 12, POCO X5, Xiaomi 13T, etc.).
- Open the Settings app (cog icon).
- Go to section. SIM-Maps and mobile networks (or Mobile Network on older versions).
- Choose yours. SIM-card (if two of them).
- Tap on the security SIM- card or Management SIM- card.
- Click Change PIN- code.
- Enter the current PIN (by default, it is 0000, 1111 or 1234).
- Create and enter a new PIN (from 4 to 8 digits).
- Confirm the change.
If you do not have a SIM- card, try an alternative route:
Settings β Passwords and security β Privacy β Security of SIM-cardMake sure that SIM-card active (there is a network)
Remember your current PIN or find it in your contract with the operator.
Think of a new PIN (donβt use dates of birth or simple combinations)
Check if the phone is charged (in case of locking)
-->
β οΈ Warning: If you enter the current PIN incorrectly 3 times, the SIM- card will be locked. Unlocking will require a PUK- code (you can find it on the plastic SIM- card holder or in the operator's personal account). Without the PUK- code, you will have to change the card!
Method 2: USSD- Commands to change PIN (without settings)
Not everyone knows, but you can change the PIN- code directly through conditional commands (USSD) without going into the phone settings. This method works independently of the Xiaomi model and the MIUI version, but not supported by all operators.
- π For MTS, Beeline, MegaFon and Tele2: #04[old PIN][new PIN][new PIN]# Example: If the old PIN 1234 and the new 5678, dial: *#04*1234*5678*5678#]
- π± For Yota and Tinkoff Mobile: **04*[old PIN][new PIN][new PIN]#
After dialing the command, press the call button. If done correctly, you will receive a notification of a successful PIN change.
- π’ Correctness of old PIN (no errors shown).
- πΆ Network availability (USSD only works when the connection is active).
- π± Team support by your operator (check on the official website).
π‘
If the teamβs USSD- does not work, try entering it through the standard Phone app, not through third-party calls (such as Truecaller or Google Phone).
Method 3: Change PIN through the operatorβs personal account
Some operators (e.g. MegaFon or Tinkoff Mobile) allow you to change the PIN- code of the SIM- card via the web version of your personal account or mobile application.
- π΅ You do not have access to your phone (lost or broken).
- π You forgot the current PIN and you want to reset it.
- π You are abroad and cannot use USSD.
Instructions on the example of MegaFon:
- Go to your personal account or open the MegaFon application.
- Go to the SIM- Card Management or Security Settings section.
- Select the option to Change PIN- code.
- Enter the current and new PIN (SMS- confirmation may be required).
| Operator. | Method of changing PIN | Link to personal account |
|---|---|---|
| MTS | Through the My MTS or USSD app | login.mts.ru |
| Beeline | Only through USSD or support call | moskva.beeline.ru |
| MegaFon | Personal account or application | lk.megafon.ru |
| Tele2 | USSD or call in support | my.tele2.ru |
| Tinkoff Mobile | Application or personal account | tinkoff.ru/mobile |
β οΈ Warning: If you changed PIN through the operator's personal account and the phone still asks for the old code, restart the device. Sometimes the changes don't apply immediately.
What to do if you forgot PIN-code SIM-maps on Xiaomi
If you entered the wrong PIN 3 times, the SIM- card will be blocked and the PUK- code request will appear on the screen.
- π Plastic holder of SIM-card: PUK is usually listed next to PIN on the card you received when you purchased the SIM.
- π§ Operator contract: If saved, there may be PUK.
- π Operatorβs Personal Cabinet: MTS, MegaFon and Beeline PUK displays in the SIM- Map Management section.
- π Support call: If nothing helps, call the operator from another phone (the support number is usually listed on the site).
If you enter PUK wrongly 10 once, the SIM- card will be permanently locked and you will have to change it in the operator's cabin, so it is better not to guess, but to specify the code in advance.
How to unlock a SIM- card without a PUK- code?
Frequent Mistakes and How to Avoid Them
When changing the PIN- code to Xiaomi, users often face typical problems:
| Mistake. | Reason. | Decision |
|---|---|---|
| You can't change the PIN. | SIM- Card is inactive or not on the network | Check the signal level or restart the phone |
| No item "SIM Security" is available | Outdated version of MIUI or custom firmware | Update the software or use the USSD- command |
| The new PIN is not retained. | Conflict with dual SIM applications | Turn off the second SIM- card before changing |
| Phone asks for PUK after PIN change | Operator error or network failure | Restart the device or contact support |
If after changing the PIN, the phone stopped catching the network, try:
- Turn on/off Flight Mode.
- Reboot the smartphone.
- Manually select the operator in the settings (Settings β SIM-cards β Network selection).
π‘
If after changing the PIN- code, mobile Internet disappeared, check the settings of the APN. Sometimes operators reset them when changing the security settings of the SIM- card.
How to Create a Reliable PIN for SIM- Card
Many people put simple combinations like 1234 or 0000, but that's the equivalent of no protection.
- π’ Length: Use 6-8 digits (maximum for most operators).
- π² Accident: Avoid dates of birth, repeating digits (1111) or sequences (1234).
- π Unique: Do not use the same PIN as for a credit card or pattern lock.
- π± Storage: Write the code in a secure location (e.g., in the Xiaomi Password Manager).
Examples of reliable PIN- codes:
- π 742961 (random combination).
- π 384729 (without apparent logic)
- π 519370 (not related to personal data)
Don't use:
- β Last 4 digits of the phone number.
- β Year of birth or other personal data.
- β Repeated digits (2222, 5555).
π‘
To remember the new PIN, come up with an association: for example, code 314159 is the beginning of pi, and 271828 is the number e (mathematical constant).