How to unlock Xiaomi if you forgot your password: 7 proven ways (2026)

Forgot the password from the smartphone Xiaomi, Redmi or POCO And now you can't access your data, and this is a familiar situation, because statistics show that one in five users has at least once blocked themselves because of a loss. PIN-Fortunately, unlocking Android on Xiaomi is possible even without completely resetting the settings, if you do the right thing.

In this article, we’ll break down all the current unlocking methods (from official to technical workarounds) that work on devices with MIUI 12-14 and Android 10-14. Importantly, some methods require prior preparation (for example, linking a Mi Account account), so if you read this in advance, save the article in case of emergency. For those who are already blocked, we’ll start with the fastest and safest solutions.

1 Unblocking through Mi Account (official method)

The most reliable and recommended method Xiaomi uses is a tied Mi Account, which works if:

  • πŸ“± Device connected to the Internet (Wi-Fi or mobile network).
  • πŸ”‘ You remember the username and password from Mi Account (or you can restore them).
  • πŸ”„ Find Device has been activated in the settings.

Instructions:

  1. On the lock screen, tap Forgot Password? (or Forgot Password?).
  2. Select Sign in via Mi Account and enter the details.
  3. Confirm unlocking via SMS or email (if two-factor authentication is enabled).
  4. Set a new password or pattern lock.

⚠️ Note: If the device is not connected to the network, this method will not work. SMS to the attached number - make sure that SIM-card.

πŸ’‘

If you do not remember the password from Mi Account, restore it through account.xiaomi.com. Use the backup email or phone number provided during registration.

2. Password reset via Fastboot (for advanced users)

If the Mi Account is not tied or the device is not connected to the network, you can try resetting the password through Fastboot mode. ADB/Fastboot, It does not erase user data (unlike Hard Reset).

What you need:

  • πŸ’» Computer with Windows/Linux/macOS.
  • πŸ”Œ Cable USB (preferably original).
  • πŸ› οΈ Utilities. ADB Fastboot (download from the official Android website).

Step-by-step:

  1. Turn off the phone. Press the Power button + Volume down to enter the Fastboot.
  2. Connect the device to your PC and open the command prompt (cmd in Windows or Terminal in macOS/Linux).
  3. Check the connection command: fastboot devices must display the serial number of the device.
  4. Enter the command to unlock: fastboot oem unlock On some Xiaomi models (for example, Redmi Note 10 Pro), this command may not work – an additional command of fastboot flashing unlock will be required.
  5. Reboot the phone: fastboot reboot

⚠️ Note: On new devices (Xiaomi) 13/14, Redmi Note 12) This method may not work due to increased protection. MIUI. Also, after unlocking, you may need to re-authorize in the Mi Account.

Install ADB/Fastboot PC-only|Download drivers for Xiaomi (e.g. MiFlash)|Disable the antivirus (it can block commands)|Charge your phone at least to 50%|Prepare a backup cable USB-->

3.Use of Recovery (Hard Reset) mode

If previous methods failed, it is hard to reset through Recovery Mode, which deletes all data (photos, messages, apps), but is guaranteed to unlock the device, suitable for Xiaomi, where Mi Account is not tied or Fastboot is not available.

How to make a Hard Reset:

  1. Turn off the phone.
  2. Press the Power button + Volume up to enter Recovery.
  3. Use volume buttons for navigation and power button for selection.
  4. Select Wipe Data β†’ Wipe All Data (on some Factory Reset models).
  5. Confirm the action and wait for the reboot.

⚠️ Attention: On devices with MIUI 13+ After a reset, you may need to enter data from a Mi Account that was previously tied (even if you don't remember it) that is protection against theft - you can't get around it without proof of ownership.

What to do if you ask for an old Mi Account after a reset?
If the phone requires data from your previous Mi Account and you don't remember it, contact Xiaomi with proof of purchase (check, box, IMEI) in some cases, providing passport scans will help. Without this, unlocking is impossible - this is a measure of protection against theft.

4 Unlocking through Xiaomi Service Centers

If you fail to do so, contact the official Xiaomi Service Center, which is the only legal way to unlock your device without losing data if:

  • πŸ“„ You have a check or a guarantee card.
  • πŸ†” You can confirm possession (for example, show a box with a box of IMEI).
  • πŸ”’ The device is not stolen (checked against the database) IMEI).

Cost of service:

Type of unlockTimelineCost (β‚½)
Resetting password with data retention1-3 days1 500–3 000
Password reset with data loss1 day800–1 500
Unlocking Mi Account (according to documents)3-7 days2 000–5 000

⚠️ Note: Unofficial services often use β€œgray” unlocking methods (for example, firmware through the Internet). EDL), which may result in loss IMEI or network lockdown. Only contact authorized centers.

Official reset via Mi Account|Fastboot/ADB|Hard Reset|I went to the service center.|Another way.-->

5. Bypassing the lock via ADB (if debugging is enabled)

If the device has previously been enabled debugging USB (USB Debugging, you can try to delete the file with the password through ADB. This method only works when connected to a PC and requires pre-configuration.

Instructions:

  1. Connect your phone to your computer (it should be determined in ADB).
  2. Open the command line and type in: adb shell 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
  3. Reboot the device: adb reboot

After the reset, the password should be reset, and if not, repeat the steps or try an alternative command:

adb shell am start -n com.android.settings/.ChooseLockGeneric

⚠️ Attention: MIUI 14 this method may not work due to the changed structure of the system files. Also, after the keys are deleted, some functions (e.g., fingerprint) may need to be reconfigured again (e.g., after the keys are deleted).

6 Unlocking through Google Find My Device (for older versions of MIUI)

On Android 7-9 and MIUI 10-11 devices, you can try resetting your password through Google Find My Device, which works if:

  • πŸ”— The device is linked to a Google account.
  • πŸ“Ά Internet access (Wi-Fi or mobile network).
  • πŸ”„ The "Find the Device" function is activated in the settings.

How to do this:

  1. Go to Google Find My Device.
  2. Select the locked device from the list.
  3. Click to Lock the Device (Secure Device).
  4. Enter a new temporary password and confirm.
  5. Enter this password on your phone and it will replace the old one.

⚠️ Attention: On new versions MIUI (12+) This method does not work – Xiaomi has blocked the ability to reset passwords through Google for security reasons.

7. Alternative methods (for experienced users)

If standard methods don’t help, you can try informal solutions, but they require technical skills and can result in loss of warranty or data.

Possible options:

  • πŸ”§ Firmware through EDL: Suitable for bricks (not included devices), but requires special cable and firmware. IMEI.
  • πŸ› οΈ Use of exploits: For example, the DirtyCOW vulnerability for older versions of Android. MIUI 8–9.
  • πŸ”„ Flip-through TWRP: If you have custom recaps installed, you can manually delete your password files.

⚠️ Note: Unofficial methods may lead to:

  • 🚫 Locking the boot loader (Bootloader Lock).
  • πŸ“΅ Loss of network functions (IMEI, modem).
  • πŸ”’ Permanently linked to Mi Account (on new devices).

πŸ’‘

If the phone is guaranteed, it is better to contact the service center - self-manipulation cancels the warranty obligations.

FAQ: Frequent questions about unlocking Xiaomi

Can I unlock Xiaomi without losing data?
Yes, if: Mi Account is tied and remembered. USB debugging (ADB) is enabled. The device is connected to the Internet (Find My Device) In all other cases, you will need a Hard Reset that will delete user files.
What to do if you forget your Mi Account password?
Restore it through the official website: Click Forgot Password?. Enter email or phone number. Confirm recovery via SMS/email. If the account is not restored, contact Xiaomi with proof of ownership of the device (check, IMEI).
Does Google Unblocking Work on Xiaomi?
No. Since MIUI 12, Xiaomi has disabled the ability to reset passwords through Google Find My Device, a method that only works on older devices (until 2019).
Can I bypass Mi Account after Hard Reset?
Not if the account was tied before the reset, and it's a theft protection, you can't get around it without proof of purchase, and the only legal way is to go to the service center with the documents.
How to avoid blocking in the future?
Follow the simple rules: Link Mi Account and remember the login details. Enable USB debugging (Settings β†’ About Phone β†’ MIUI Version (7 times) β†’ Additional β†’ Developers β†’ USB debugging). Back up your passwords in Google Smart Lock or Password Manager. Use biometric unlock (fingerprint, face) as a backup.