How to unlock a Xiaomi phone if you forget your digital password: all the ways of 2026

Forgetting the digital password from Xiaomi's smartphone is a bad situation, but it's fixable, PIN-The code blocks access to all device functions, including calls and SOS-However, the manufacturer has provided several formal and informal unlocking methods that work even without data loss (in some cases). MIUI and having a linked Mi Account account.

In this article, we will discuss 5 proven methods, from the safest (with data saved) to radical (full reset), pay special attention to the nuances for the new Xiaomi 13/14, Redmi Note 12 and POCO F5 models, where the manufacturer has tightened protection, and learn how to avoid locking in the future and what to do if the phone requires confirmation after reset (FRP-lock).

1 Unlocking through Mi Account (official method)

The most reliable and recommended method Xiaomi uses is the use of a tied account Mi Account. It works on all models, including Redmi 10/11, POCO X5 and flagship Xiaomi 13T, if:

  • πŸ“± The phone is connected to the Internet (Wi-Fi or mobile network).
  • πŸ”— Mi Account was tied to the device before being blocked.
  • πŸ“§ You remember the login (email/phone number) and account password.

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 the Mi Account.
  3. Confirm the entrance through SMS-account code.
  4. Follow the system’s hints to create a new one PIN-code.

⚠️ Note: If the phone is not connected to the network, this method will not work, and Xiaomi may also request additional verification (for example, a tied number for the phone). SMS) If the input is made from a new device.

πŸ’‘

If you do not remember the password from Mi Account, restore it through the official website account.xiaomi.com from your computer. Use a backup email or a linked phone number.

2.Reset via Recovery Mode (Hard Reset)

If Mi Account is not tied or you don't remember the login details, you'll only be left with a hardware reset via Recovery Mode, which deletes all data from your phone, including photos, contacts, and installed apps.

  • πŸ”„ There is no important information on the phone (or it is synced to the cloud).
  • πŸ“¦ You have a backup (for example, in Mi Cloud or on PC).
  • πŸ”§ You are prepared for the fact that after the reset, you may need to confirm your Mi Account (FRP-lockdown).

Instructions for most Xiaomi/Redmi/POCO models:

  1. Turn off the phone with a long press of the power button.
  2. Press the combination of Loudness up + Power and hold for 10-15 seconds until the Mi logo appears.
  3. In the Recovery menu, select a language (e.g. English).
  4. Go to Wipe Data β†’ Wipe All Data and confirm the action.
  5. After reset, select Reboot β†’ Reboot to System.

⚠️ Note: On new models (Xiaomi) 12/13/14, Redmi Note 12 Pro+) After Hard Reset, you may receive a request for Mi Account confirmation (even if the account was not tied!). FRP-blocking, and bypass it without data from the account is almost impossible.

Turn off the phone from charging.|Backup important data (if available)|Make sure the battery is charged at least 30 times%|Prepare data from Mi Account (in case of a case) FRP-lock-in)

-->

3. Unlock via Fastboot (for advanced users)

The Fastboot method is suitable for users who have access to a computer and are willing to work with the command line, it allows you to reset your password without losing data (in some cases), but requires:

  • πŸ’» Computer with drivers installed ADB/Fastboot.
  • πŸ”Œ USB-cable (original, without damage).
  • πŸ› οΈ Knowledge of working with ADB or Fastboot.

Step-by-step:

  1. Download and install Google’s Platform Tools.
  2. Turn off your phone and put it in Fastboot mode: Volume down + Power
  3. Connect the phone to your PC and check the connection with the command: fastboot devices (should display the serial number of the device).
  4. To reset your password, type in: fastboot erase userdata or (for some models): fastboot erase locksettings
  5. Reboot the phone: fastboot reboot

⚠️ Note: The fastboot erase userdata and fastboot erase locksettings commands may work differently on different firmware, POCO F4 GT) This will result in a complete reset, on others (for example, Redmi Note 10 Pro) – only reset the password.

What if the Fastboot can’t see the device?
If the fastboot device command doesn’t show your phone, check it out: 1. Drivers installed ADB/Fastboot (Download from Xiaomi or through the Mi Flash Tool). 2. Are you using the original? USB-cable (not all cables support data transmission). 3. Is debugging mode on USB Developer settings (if the phone is unlocked). 4. Try another one. USB-port (preferably) USB 2.0 back-panel).

4.Use of ADB (without loss of data)

If the phone has USB debugging enabled and it has been connected to this computer before, you can try resetting the password via ADB. This method saves data, but only works if two conditions are met:

  • πŸ”§ Debugging by USB (USB Debugging) has been activated in Settings β†’ The phone. β†’ Version. MIUI (7 times to unlock the developer menu).
  • πŸ’» The computer was authorized in the list of trusted devices (when you first connected, you confirmed access).

Instructions:

  1. Connect your phone to your PC via USB.
  2. Open the command line in the folder with ADB and type: adb shell
  3. Delete password files: rm /data/system/gesture.key rm /data/system/password.key rm /data/system/locksettings.db
  4. Reboot the phone: reboot

After the reboot, the phone should start without asking for a password. If this does not happen, try repeating commands or using an alternative method.

Reset via Mi Account|Hard Reset (Recovery Mode)|Fastboot/ADB|Talked to the service center |Never blocked

-->

5. Contact the Xiaomi Service Center

If all of these methods fail (for example, because of the FRP-If you have blocked or no access to the Mi Account, you can contact the official Xiaomi service center.This is the only legal way to unlock the phone without risking damage or loss of warranty.

What will be required for the application:

  • πŸ“„ Document confirming the purchase (check, warranty card or box with IMEI).
  • πŸ†” Passport of the owner (to confirm ownership).
  • πŸ“± The phone itself (preferably with a charge of at least 20%).

The cost of the service varies from 500 to 2000 rubles depending on the model and the reason for the lock. EDL-Mode (emergency boot mode), but it requires special equipment and access to official firmware Xiaomi.

⚠️ Warning: Unofficial service centers or "masters with Avito" may offer to bypass Mi Account through exploits or firmware swapping, which not only violates the warranty terms, but can lead to loss of the service. IMEI or network lock (on models with eSIM support).

Unlocking methodData retentionPC requiredDifficultyRisks.
Mi Accountβœ… Yes.❌ No.⭐Requires access to the network and account data
Hard Reset (Recovery)❌ No.❌ No.⭐⭐FRP-blocking on new models
Fastboot⚠️ Partially.βœ… Yes.⭐⭐⭐Could lead to a complete reset.
ADBβœ… Yes.βœ… Yes.⭐⭐⭐⭐It only works when the debugging is on.
Service centre⚠️ Depends on the cause.❌ No.⭐Paid service, requires documents

6.How to avoid blocking in the future

To avoid the problem of forgotten passwords again, follow these tips:

  • πŸ” Use biometric unlocking (fingerprint or facial recognition) as an additional method.
  • πŸ“ Write it down. PIN-code in a secure location (e.g., in an encrypted file or password manager).
  • ☁️ Attach Mi Account and enable data synchronization in Settings β†’ Xiaomi Cloud.
  • πŸ”„ Regularly back up through Settings β†’ System system β†’ Backup.
  • πŸ› οΈ Turn on Debugging. USB (In the developer menu in case of emergency access through ADB.

Also avoid:

  • ❌ Installation of unofficial firmware without backup.
  • ❌ Use simple passwords (e.g., 1234 or 0000).
  • ❌ Disable Mi Cloud without an alternative recovery method.

πŸ’‘

The most reliable way to avoid data loss is to link Mi Account and enable automatic sync to the cloud, and even after Hard Reset, you can recover contacts, photos and notes.

FAQ: Frequent questions about unlocking Xiaomi

Can I unlock Xiaomi without losing data?
Yes, if: You have a Mi Account tied and your phone is connected to the network (method 1). USB debugging is enabled and the phone is authorized on this PC (method 4). In all other cases, the data will be deleted.
What if the phone asks for an old Mi Account after a reset?
It's FRP-To remove it, enter the data from the Mi Account that was linked to the phone. If you don't remember the data, restore access via account.xiaomi.com. If your account is not yours (the phone is purchased by hand), contact the previous owner or service center with proof of purchase. ⚠️ Circumvention FRP Exploitation can lead to blocking IMEI!
Does the unlocking by calling the emergency number (112) work?
No, this method doesn’t work on modern Xiaomi smartphones (starting with MIUI 10), which used to be an emergency call that allowed you to access the phone’s interface, but now this vulnerability is closed.
Can I unlock Xiaomi through Google Account (like Samsung)?
No, Xiaomi does not support unlocking through Google Account. The only official way is Mi Account. Some older models (before MIUI 8) had a bug crawling through Google, but now it is fixed.
How much does it cost to unblock in an unofficial service?
The cost varies from 1000 before 5000 RUB depending on the model and complexity: 1000–2000 rub. - discharge through Fastboot/EDL (without FRP). 2000–3500 RUB – bypassing Mi Account (with the risk of loss) IMEI). 3500–5000 ruble - restoration IMEI after-running. ⚠️ Referring to unofficial services deprives of guarantees and can lead to problems with the network!