How to turn on the PIN code on SIM-Map in Xiaomi phones: all ways

Protection SIM-PIN cards are one of the easiest but most effective ways to protect your data from unauthorized access. If your Xiaomi smartphone (be it Redmi Note 12, POCO X5 or any other model) will fall into the wrong hands, the attacker will not be able to use mobile communication, receive SMS But many users neglect this feature, considering it unnecessary or inconvenient.

In this article, we will discuss how to activate the PIN code on the SIM-map in Xiaomi phones on the basis MIUI (including recent versions MIUI 14 and HyperOS.You will learn not only the standard way through settings, but also alternative methods for different scenarios - for example, if you have two. SIM-We'll also explain how a PIN is different from a pattern lock or a screen password, and why it should be used even if there are other types of protection.

Why do you need protection? SIM-PIN-code?

Many users mistakenly believe that locking the screen of the smartphone (PIN, Pattern or Face ID) It's completely protecting their data, but it's not: SIM-The card remains vulnerable. Here are the key reasons why you should include the PIN:

  • πŸ”’ Protection against theft: without a PIN code, a thief can extract your SIM-card, insert it into another phone and access calls, SMS (including codes from banks and mobile Internet.
  • πŸ“± Safety in case of loss, even if the phone is blocked, SIM-The card can be used on another device to bypass two-factor authentication.
  • πŸ’³ Fraud Prevention: Attackers often use stolen goods SIM-Cards for account registration, payment confirmation or password reset.
  • πŸ”„ Compatibility with corporate policies: some companies require PIN activation on work phones.

It is important to understand that the PIN code SIM-The card is a separate security mechanism that doesn't involve unlocking the screen, even if you have a fingerprint or facial recognition, without a PIN. SIM-Your mobile phone is still at risk.

⚠️ Note: By default, the PIN code on new SIM-The operators (for example, MTS, Beeline, MegaFon) do not activate it automatically, so the user has to configure the protection himself.

πŸ“Š You use a PIN code on SIM-map?
Yeah, always.
No, I don't see the point.
Only on the work phone.
Forgot it was on.

Standard way: Enabling PIN code through Xiaomi settings

The easiest activation method is through the smartphone settings menu, and the instructions are suitable for all Xiaomi, Redmi and POCO models based on MIUI or HyperOS, including:

  • πŸ“± Xiaomi 13/14 series, Redmi Note 12/11, POCO F5/X5
  • πŸ“± Redmi 10/9 series, POCO M5/M4, Xiaomi Mi 11
  • πŸ“± Budget models: Redmi A2, POCO C55, Redmi 12C

Follow the step-by-step instructions:

  1. Open the Settings app (the gear icon on the home screen).
  2. Go to section. SIM-Maps and mobile networks (or Mobile Network in older versions) MIUI).
  3. Choose. SIM-card for which you want to include a PIN (if you have two SIMs, repeat the process for each card).
  4. Slip on the block item SIM-Cards or Set PIN code SIM-map.
  5. Activate the switch Lock SIM-cards (should turn blue).
  6. Enter a standard PIN (usually 0000 or 1234 if you haven't changed it) if the code is unknown, see "What to do if you forgot the PIN?"
  7. Create and enter a new PIN (from 4 to 8 digits) and avoid simple combinations such as date of birth.
  8. Confirm the new code and save the changes.

Make sure that SIM-The card is active and catches the network

Check the standard PIN (usually on a plastic SIM holder)

Connect your phone to charge if the charge is below 20%

Remember or write a new PIN code in a safe place-->

After activation, the phone will request a PIN code at each turn on or restart, as well as when retrieving / inserting. SIM-If you enter the wrong code three times in a row, SIM-The card will be blocked and will require PUK-Unlocking code (see section below).

πŸ’‘

If you have two. SIM-If you have a card, you have a PIN for both, you'll double the protection. In Xiaomi's settings, you can give each SIM a unique PIN to keep it from getting confused.

Alternative ways to include a PIN code

Sometimes the standard method is not available β€” for example, if your phone is locked, or you use informal firmware. Let's look at additional options.

Method 1: Through USSD-Team (if the phone is unlocked)

Some operators support PIN activation through USSD-- You can try it:

  1. Open the Phone app.
  2. Enter the command ##4636## (Engineering menu opens).
  3. Go to the phone information section.
  4. Scroll down and find SIM Lock (not available on all models).

If this method does not work, contact the operator - some providers have their own. USSD-PIN-code management team.

Method 2: Restore Menu (if the phone is locked)

If Xiaomi smartphone is blocked, but you need to urgently turn on the PIN code SIM-card (for example, before sale), you can use the Recovery mode:

  1. Turn off the phone.
  2. Press the Power + Volume buttons up until the Mi logo appears.
  3. From the recovery menu, select Advanced β†’ SIM Lock (not available on all versions of MIUI).

This method does not work on all devices and may require root rights.

What if you don’t have a SIM Lock option in Recovery?
If there is no PIN management item in the recovery menu, the only way out is to unlock the phone via Mi Account (if tied) or reset the settings to factory settings (this will delete all data!).

Method 3: Through the operator's application

Some mobile operators (such as Tele2 or Iota) offer their own management applications. SIM-Install your operator’s official application from Google Play and check for PIN Management option.

Operator.AnnexSupport for PIN code
MTSMy MTS.Yes "SIM-map")
BeelineMy Beeline.Yes (SIM settings)
MegaFonMegaFon-ServicePartially (PIN reset only)
Tele2.My Tele2.Yes (Security section)

What to do if I forget my PIN code?

If you have entered the wrong PIN three times, SIM-The card will be blocked and will require PUK-Personal Unblocking Key: This code is linked to your SIM-It's a card, and it's usually shown on the plastic holder that came with it. If you lost it, there are a number of ways to recover it:

  • πŸ“ž Call the operator: contact the support service of your mobile operator (numbers: 0890 for MTS, 0611 for Beeline, 0500 for MegaFon.
  • 🌐 Personal account: go to the operator's website in the section "Management" SIM-map - sometimes PUK-code can be found there.
  • 🏦 Operator's office: visit the nearest passport communication salon. PUK-code-in SIM-map.

⚠️ Note: If you enter incorrectly 10 times PUK-code, SIM-The card will be permanently locked and you'll have to change it!

After unlocking with the help of PUK-The system will suggest you to set a new PIN, select a reliable combination and write it in a secure place (for example, in the password manager Xiaomi Mi Security).

πŸ’‘

Never keep it. PUK-phone-code SIM-Use a physical notebook or password-protected manager (e.g. Google Password Manager) to do this).

How to disable PIN code on SIM-mapping?

If you no longer need PIN protection (for example, you sell your phone or temporarily give it to relatives), you can deactivate it:

  1. Go to Settings. β†’ SIM-maps and mobile networks.
  2. Choose the right one. SIM-map.
  3. Slip on the lock. SIM-map.
  4. Turn off the switch (should turn grey).
  5. Enter the current PIN code for confirmation.

After the blackout SIM-The card will work without asking for a code when you start the phone, but remember, it reduces security. If you temporarily turn off the PIN, remember to turn it back on!

πŸ’‘

Before selling your phone, not only disable the PIN, but also extract it. SIM-map, and also perform reset to factory settings through Settings β†’ The phone. β†’ Resetting settings.

Frequent Mistakes and How to Avoid Them

When working with a PIN code, users often face typical problems, and let's look at the most common errors and ways to solve them:

Mistake.Reason.Decision
Phone does not ask for PIN code after restartPIN code not saved in settings or system failureRe-activate the SIM lock in the settings
SIM-The card was blocked after 3 incorrect attempts.Three times incorrect PIN enteredUse it. PUK-code (see section above)
The mobile network does not work after the PIN code is turned onNetwork registration failureRestart your phone or switch network mode to Settings β†’ Mobile Network β†’ Network Mode
You cannot change the PIN (button is inactive)SIM-card does not support the change of PIN or the operator has blocked the functionContact the operator or replace SIM-map

If after turning on the PIN code, the phone began to work unstable (for example, the network disappears or errors occur), try:

  • πŸ”„ Reset the device.
  • πŸ“Ά Manually select the operator network in the settings (Settings) β†’ Mobile network β†’ Network operators).
  • πŸ”§ Reset network settings (Settings) β†’ SIM-maps and networks β†’ Resetting network settings).
Can I include a PIN code on SIM-card?
No, activating a PIN requires a phone or other support device SIM-cards (e.g. tablet or USB-If the phone is broken, contact the operator to replace it. SIM-Cards with an already activated PIN code.
What is the difference between PIN code SIM-lock-screen password cards?
PIN code SIM-The card protects the SIM itself from use in other devices, and the password of the lock screen (PIN, Pattern, Password: Access to the phone's interface, even if the phone is unlocked, without a PIN. SIM-The card cannot be used in another device.
How many numbers should a PIN contain?
A standard PIN is 4 digits long, but some operators and devices support an extended format of up to 8 digits. The longer the code, the more secure the protection, avoid repetitive digits (e.g. 1111) and simple sequences (1234, 2580).
Can data be restored from the blocked SIM-map?
No, it's blocked. SIM-The card does not allow you to get contacts or SMS β€” They're stored in your phone's memory, not on a SIM. If you don't back up, the data will be lost after you replace it. SIM-To avoid this, sync your contacts regularly with your Google Account or Mi Cloud.
Does the PIN code on eSIM work in Xiaomi?
Yes, virtual. SIM-The cards (eSIM) also support PIN. Xiaomi is set up in a similar way: β†’ SIM-maps and mobile networks β†’ eSIM β†’ Lockdown SIM-Note that not all operators in Russia support eSIM for individuals (for 2026, the most active technology is promoted by MTS).