Introduction: Why Xiaomi is blocked and what to do
Forgotten password on Xiaomi smartphone is a situation that even experienced users face, especially after a long break in use of the device, changing the device. PIN-Unlike other brands, Mi, Redmi and other phones, they're not the same as the ones that failed to do security. POCO They have a unique security system attached to their Mi Account, which makes it difficult to unlock, but also makes it possible even without losing data, with the right approach.
In this article, we will look at all the current ways to reset your password to Xiaomi in 2026, including official methods from the manufacturer and alternative solutions for cases where standard options do not work. It is important to understand that some methods require prior preparation (for example, linking an account or enabling debugging over USB), while others can lead to complete data loss or locking the device at the hardware level.
If you're reading this article on a locked phone through another gadget, don't panic. 90% of the time, you can unlock the device without going to a service center, and the key is to follow the instructions and not miss important steps.
Method 1: Unlocking with Mi Account (official method)
Xiaomiβs most reliable and recommended way is to use a tied Mi Account, which works on all models, including the latest Xiaomi 14, Redmi Note 13 and POCO F6, if you have previously signed in and synchronized your account, the advantage of which is to save all data on the device.
To unlock your phone through your Mi Account:
- π± On the lock screen, tap Forgot your password? (or Forgot password? on English firmware).
- π Choose Unblocking via Mi Account.
- π§ Enter the email or phone number associated with the account and confirm the identity through SMS backup email.
- π Create a new password or PIN-unlocker.
If the option Forgot the password? is not active, it means that the device was not signed in to Mi Account before blocking, in which case you will have to use alternative methods (see below).
β οΈ Note: If you bought the phone with your hands and the previous owner did not untie his Mi Account, unlocking through the account will not be available.In this case, you will need to contact Xiaomi support with proof of purchase (check, purchase agreement).
Method 2: Reset password via Recovery Mode (with loss of data)
If the Mi Account is not tied or you donβt remember the login details, the next option is hard reset via Recovery, which will delete all data on the device, including photos, contacts and apps, but will return access to the phone, suitable for most Xiaomi models released after 2018.
Resetting instructions:
- Turn off the phone with a long press of the power button.
- Press the Volume Up + Power combination and hold for 10-15 seconds until the Mi logo and Recovery menu appear.
- Use the volume buttons for navigation and the power button to select the Wipe Data (or Clear Data) item.
- Confirm the action by choosing Wipe All Data and wait for the process to be completed (2-5 minutes).
- Restart the device via Reboot.
Once rebooted, the phone will be like new, requiring you to reconfigure it, including the Mi Account login (if it was previously tied), which doesnβt work if the device has Find My Device enabled.
βοΈ Preparing for resetting through Recovery
β οΈ Note: Some models (e.g. Xiaomi Mi) A1/A2 With pure Android, the Recovery menu may be different. If you see Factory Reset or Erase All Data, select them. Also note that you may need to enter your old Google password after resetting (FRP-protection, if it is configured.
Method 3: Unlocking via Fastboot (for advanced users)
The Fastboot method is suitable if Recovery Mode is not available or the phone does not respond to buttons. It requires a computer with Xiaomi drivers installed and the Mi Flash Tool. This method is more difficult than previous ones, but allows you to bypass the lock even on new models with anti-Rollback protection.
Step-by-step:
- Download and install the Mi Flash Tool and Xiaomi drivers for your model.
- Turn off the phone and put it in Fastboot mode: press Volume down + Power before the hare appears in the hat-eared.
- Connect the device to the PC through USB-cable (preferably original).
- In the Mi Flash Tool, select the Clean All option and specify the path to the official firmware for your model (download it in advance from the Xiaomi website).
- Press Flash and wait for the process to complete (10-20 minutes).
This method removes all data, including internal memory, but restores the device to work, and is especially relevant for models with damaged firmware or after unsuccessful updates. However, devices with a blocked bootloader may require additional unlocking through the official Xiaomi website.
What is Anti-Rollback and why does it prevent unlocking?
| Xiaomi model | Support for Fastboot | The risk of blocking | Do you need to unlock the bootloader? |
|---|---|---|---|
| Xiaomi 13/13 Pro | Yes. | Medium (Anti 5) | Yes. |
| Redmi Note 12 Pro+ | Yes. | Low (Anti 4) | Yes. |
| POCO F5 | Yes. | Tall (Anti 3) | Yes. |
| Xiaomi Mi 11 Lite | Yes. | Low (Anti 2) | No. |
Method 4: Use ADB (if USB debugging is enabled)
If the phone has USB debugging enabled in advance (Settings β About Phone β MIUI β 7 taps by build number β Developers β USB debugging), you can reset your password through the ADB command without losing data. This method works on most models, but requires pre-preparation.
Instructions:
- Connect your phone to your PC via USB and confirm your trust in your computer (if the lock screen allows).
- Open the command line (Windows) or terminal (macOS/Linux) and type:
adb shell
su
rm /data/system/gesture.key
rm /data/system/password.key
rm /data/system/locksettings.db
rm /data/system/locksettings.db-wal
rm /data/system/locksettings.db-shm
rebootAfter the reboot, the password will be reset, but the data will be saved.
If the commands donβt work, try an alternative:
adb shell am start -n com.android.settings/.ChooseLockGenericThis will open the password change menu directly on the locked device.
β οΈ Attention: On new versions MIUI (14+) Xiaomi has closed this loophole. USB It wasn't turned on before the lock, it won't work, POCO) can block ADB-firmware-level.
π‘
If you often forget passwords, turn on Smart Lock in Xiaomi settings (Settings β Screen Lock β Smart Lock) which lets you unlock your phone on trusted Wi-Fi networks or when you connect to trusted devices (such as the Mi Band smartwatch).
Method 5: Contact Xiaomi Service Center
If all of these methods fail, the last option is an official service center, which is the case when:
- π Phone locked via Find My Device (remote lock).
- π± The device has a broken screen or buttons do not work.
- π§ Previous owner did not untidy Mi Account.
- π οΈ After a failed reset via Fastboot, the phone does not turn on ("brick").
To contact the service, prepare:
- π Check or contract of sale (to confirm ownership).
- π Passport or other identification document.
- π± Phone box (if preserved) - it is indicated on it IMEI, which may be required for identification.
The cost of unlocking in official Xiaomi centers varies from 1,000 to 3,000 rubles, depending on the model and the reason for the lock. In informal workshops, the price may be lower, but the risk of damaging the device or running into fraudsters is higher. Contact only certified service centers - a list of them can be found on the official Xiaomi website.
π‘
If the phone was purchased abroad (for example, the global version of Xiaomi 13T), contact the service center of the country of purchase.
Frequent Mistakes and How to Avoid Them
When trying to reset a password on Xiaomi, users often make critical errors that can lead to the complete loss of the device.
- Using unofficial firmware: Downloading firmware from dubious sources (not from Xiaomiβs official website) can lead to a bootloader lock or system damage.
- Interrupting the reset process: If you turn off the power during a reset via Recovery or Fastboot, it can turn into a brick. Always monitor the battery level (at least 50%).
- Ignoring Anti-Rollback: Firmwareing the old version of MIUI on new devices (such as Xiaomi 14 with Anti 5) will lead to hardware locking.
- Trying to unlock through "miracle programs." There are many offers on the Internet like "unlock Xiaomi in 5 minutes without losing data," most of them are scams or viruses.
If youβre not sure what youβre doing, take the time to study the instructions or consult a specialist. For example, the 4PDA forum has detailed guides on unlocking specific Xiaomi models, including nuances for the Chinese and global versions.