How to Unblock Xiaomi if You Forgot PIN-Code: All working methods in 2026

Forgotten. PIN-The situation is familiar to many - especially if the device has been lying idle for a long time or the code has been entered rarely. Fortunately, there are several formal and informal ways to get around the lock, but each of them has its own nuances and risks.

In this article, we’ll break down all the current unlocking methods (including those running the latest versions of MIUI 14/15), assess their complexity and data implications, learn how to restore access through Mi Account, perform Hard Reset without losing important files (if you’re lucky), use Fastboot mode or even bypass blocking through ADB.

⚠️ Important: If the phone has Find My Device enabled, some methods may only work after being confirmed through a Xiaomi account.

1 Unlocking through Mi Account (official method)

The most secure and recommended method Xiaomi is to restore access through an associated account.It works on most models (Redmi Note 10/11/12, POCO X3/X4/X5, Mi 11/12/13, etc.) if:

  • πŸ“± The phone is connected to the Internet (Wi-Fi or mobile network).
  • πŸ”‘ You have access to email/phone linked to Mi Account.
  • πŸ”„ Find My Device was activated before being blocked.

If these conditions are met, follow the instructions:

  1. On the lock screen, click Forgot Password? (or Forgot Password? on English firmware).
  2. Enter the email or phone number associated with your Xiaomi account.
  3. Confirm the entry via SMS or a letter with a code.
  4. Follow the instructions of the system for discharge PIN-code.

⚠️ Note: If you have previously changed your Mi Account password but have not updated it on your phone, the system may request the old password, in which case you will have to restore access to your account through the official website.

πŸ“Š How often do you change? PIN-smartphone-code?
Every month.
Six months
Only when buying a new phone
Never change.

2. Hard Reset (reset to factory settings)

If the Mi Account is not tied or you don’t remember the data from it, the radical method is a complete reset. It will delete all data from the phone (photos, messages, apps), but unlock the device. The method works on all Xiaomi models, including the Redmi 9/10/11, POCO F3/F4/F5 and the flagship Mi series.

There are two options for resetting:

  • πŸ”§ Recovery Mode (Recovery Menu).
  • πŸ–₯️ Fastboot (for advanced users).

Instructions for Recovery Mode:

  1. Turn off the phone (press Power + Volume up for 10 seconds).
  2. Press Power + Volume up until the Mi logo appears.
  3. From the Recovery menu, select Wipe Data β†’ Wipe All Data.
  4. Confirm the action and wait for the reboot.

β˜‘οΈ Preparation for Hard Reset

Done: 0 / 4

⚠️ Note: on some models (Xiaomi) 12T, Redmi K50 After a reset, you may need to enter data from Mi Account, even if you do not remember it (FRP).

What to do if you need a Mi Account after resetting?
If the phone requests your account information after Hard Reset and you don’t remember it, there are two options: 1. Contact Xiaomi Support with proof of ownership (check, box, IMEI). 2. Use paid unlock services (risk of fraud!).

3. Unlock through ADB (for users with debugging)

The method is suitable if the phone was previously enabled debugging USB (USB Debugging. It's rare, but if you're a developer or you've experimented with settings, there's a chance. MIUI 12-15.

What you need:

  • πŸ’» Computer with Android installed SDK Platform-Tools.
  • πŸ”Œ USB-cable (original, without damage).
  • πŸ“± Phone with unlocked bootloader (not necessarily, but increases the odds).

Step-by-step:

  1. Connect the phone to the PC.
  2. Open the command line in the adb folder and type: adb devices If the device is determined, continue.
  3. Enter commands for removal PIN-code: adb shell su rm /data/system/locksettings.db rm /data/system/locksettings.db-wal rm /data/system/locksettings.db-shm reboot

⚠️ Note: if you don't have root rights, the commands won't work. On new firmware, Xiaomi blocks such manipulation, so the method only works on older versions. MIUI (up to 12.5).

πŸ’‘

If ADB doesn’t see the device, try reinstalling Xiaomi drivers via the Mi PC Suite.

4. Bypass locking through Fastboot (for advanced)

The method is suitable for models with unlocked bootloader (Redmi Note 10 Pro, POCO X3 Pro, etc.). If the bootloader is blocked, you will first have to unlock it through the official Xiaomi tool (it will take 7-15 days of waiting).

What needs to be done:

  1. Transfer the phone to Fastboot mode (clip Power + Volume down).
  2. Connect to your PC and check the connection with the command: fastboot devices
  3. Remain in charge of the block: fastboot erase persist
  4. Reboot the phone: fastboot reboot

Importantly, this method can lead to loss of IMEI or network problems, and on models with MIUI 14+, it often does not work due to enhanced protection.

5.Official Unlocking through Support

If none of these methods work, you can contact Xiaomi’s support team, which is the longest, but most secure way to do it, especially if you have important data on your phone.

What will be required:

  • πŸ“„ Check or document confirming purchase.
  • πŸ“¦ Phone box (with serial number).
  • πŸ“ž IMEI devices (can be recognized through a sticker under the battery or on the box).

How to apply:

  1. Go to the support website.
  2. Select the Unlock Device section.
  3. Fill out the form, attach a photo of the check and the box.
  4. Wait for a response (usually 3-7 days).

⚠️ Note: Xiaomi may refuse to unlock if the phone was purchased informally (for example, brought from abroad without warranty.

Alternative methods (risky)

On the Internet you can find dozens of β€œmagic” ways to unlock – from the use of the Internet. EDL-The system is run through the Mi Flash Tool, but most of them are:

  • 🚫 Requires an unlocked bootloader (which is difficult in itself).
  • πŸ’€ They can turn a phone into a brick (especially a brick). MIUI 14/15).
  • πŸ•΅οΈβ€β™‚οΈ Often distributed by fraudsters under the guise of β€œfree instructions".

List of dangerous methods (not recommended!):

MethodRisks.Chance of success
Firmware through EDLLoss of IMEI, brick30%
Use of Mi Mi Account Unlock Tool (for example)Viruses, data theft10%
Replacement of motherboardExpensive, it doesn't always help.90%
Exploitation through MTK BypassIt only works on old MediaTek chips.20%

If you do decide to experiment, at least create a full backup through TWRP (if installed), but remember: Xiaomi strengthens the protection with each new firmware, and the chances of success fall.

πŸ’‘

The only 100% workable way to get rid of data is to recover it through Mi Account, and all other methods either erase the information or risk killing the phone.

FAQ: Frequent questions about unlocking Xiaomi

πŸ”“ Can you unlock Xiaomi without losing data?
Yes, but only if: You have a Mi Account tied and available. USB (USB Debugging and you can use it ADB. In all other cases, the data will be deleted.
⏳ How long does it take to unlock through support?
3 to 14 days, depending on: Availability of supporting documents (check, box), phone models (new devices respond faster), region (in Europe and the United States, the process is faster than in the CIS).
πŸ“± Does the method of calling a blocked phone work?
No, it's a myth. In the past, some Xiaomis had the ability to bypass locks through the call screen, but with a MIUI 10+ Now the call will just interrupt the input process. PIN-code, but does not unlock the device.
πŸ’° How much does it cost to unlock in the service center?
Price depends on the model and complexity: Redmi (budget models): 1 500–3 000 β‚½. POCO / Mi (middle segment): 3 000–5 000 β‚½. Flagships (Xiaomi) 13/14): 5 000–10 000 β‚½. ⚠️ Beware of β€œcheap” offers – often scammers who will just drop the phone to factory settings.
πŸ”§ Can you unlock Xiaomi with iTunes (like on iPhone)?
No, iTunes only works with Apple devices. For Xiaomi, use the Mi Flash Tool or ADB, but these tools require technical knowledge.