How to Reset Your Password to Xiaomi Without Deleting Data: 2026 Proven Methods

The forgotten password on Xiaomi is a situation that thousands of users face every day. The main problem is that a standard Recovery reset erases all data, which is not always acceptable. Fortunately, there are legal ways to unlock without losing photos, contacts and apps.

In this article, we will discuss 5 working methods for devices on the MIUI 12–14, including bypassing the pattern lock, PIN-Important: the effectiveness of methods depends on the firmware version, smartphone model (Redmi Note 12 Pro)+, POCO X5, Xiaomi 13T And there are some methods that require pre-preparation, like the one that's enabled. USB-Debugging or syncing with Google.

We warn you that attempts to crack passwords with third-party programs (such as Mi Account Unlock Tool) often lead to blocking IMEI or activating anti-Rollback protection.

1 Unblocking through Mi Account (if tied)

The most reliable way is to use a Xiaomi account that works even if you forget your pattern lock or PIN, but remember the username/password from Mi Account.

Algorithm of action:

  • πŸ”Ή Enter the wrong password on the lock screen 5-10 times until the message β€œForgot the password” appears?".
  • πŸ”Ή Click on this inscription. β†’ Select "Unblock with Mi Account".
  • πŸ”Ή Enter the email or phone number associated with the account, then the password.
  • πŸ”Ή Confirm the unlock through SMS or email (if two-factor authentication is enabled).

⚠️ Note: If the device was purchased by hand and the previous owner did not untie his account, this method will not work. In this case, you will need to contact Xiaomi support with proof of purchase (check, box with a box of cards). IMEI).

πŸ’‘

If you don’t have access to your linked phone number, try to restore your Mi Account through a backup email. Go to the password recovery page and select β€œForgot your password?”.

Xiaomi modelSupport for unlocking through Mi AccountIs the Internet required?
Redmi Note 11/12Yes.Yes (Wi-Fi or mobile data)
POCO F4/F5Yes.Yes.
Xiaomi 13/14 SeriesYeah, but with a SMS confirmation.Yes.
Redmi 10A/10CYes, if MIUI 12+No (offline)

2.Using Google Find My Device (for Android 8.0+)

If you have a Google account tied to your Xiaomi smartphone and location services enabled, you can reset your password remotely via Find My Device.

Instructions:

  1. Go to Find My Device from another device.
  2. Sign in with the same Google account as on a locked smartphone.
  3. Select your Xiaomi device from the list (if there are several).
  4. Click "Block Device" β†’ enter a new temporary password.
  5. Confirm the action. After 1-2 minutes, a field will appear on the lock screen to enter a new password.

⚠️ Note: This method only works if:

  • πŸ“Ά Device connected to the Internet (Wi-Fi or mobile network).
  • πŸ”„ Sync with Google enabled (Settings) β†’ Accounts. β†’ Google).
  • πŸ“± The device is not turned off or discharged (battery) > 10%).
πŸ“Š What Unlocking Method Have You Tried Before?
Through the Mi Account.
Find My Device
Reset via Recovery
I went to the service center.
I've tried nothing.

3. Unlock through ADB (required USB-debugging)

The method for advanced users who have included in advance USB-If the debugging isn't activated, it won't work.

Step-by-step:

  1. Connect your smartphone to your PC through USB-cable (original!).
  2. Open the Command Prompt (Windows) or Terminal (macOS/Linux) in the folder with ADB.
  3. Enter the command to check the connection: Adb devices should display the name of your device.
  4. Delete the password file (for MIUI): adb shell rm /data/system/gesture.key or for newer versions: adb shell rm /data/system/locksettings.db
  5. Reboot the device: adb reboot

After the reboot, the lock screen should disappear. PIN-code SIM-cards are normal, enter them.

Install ADB and Fastboot on PC|Download drivers for Xiaomi (Mi) PC Suite)|Turn it on. USB-smartphone-debugging|Connect the original USB-cable

-->

What if the ADB can’t see the device?
If the adb device command returns an empty list, check: 1. If drivers are installed (for Windows, download Mi). PC Suite). 2. Is File Transfer Mode Enabled (MTP) When you connect. 3. Does it work? USB-cable (try another one). 4. Is debugging allowed for this PC (confirmation window should have appeared on the smartphone screen).

4. Safe Mode bypass (for older versions of MIUI)

On devices with MIUI 10–11 (e.g., Redmi Note 8 Pro, Mi 9T), you can try removing the password through Safe Mode, which works if the lock is installed by a third-party application (e.g., AppLock) rather than the system.

How to turn on Safe Mode:

  1. Press the power button until the shutdown menu appears.
  2. Press and hold the "Switch off" option (or "Reboot" on some models).
  3. Confirm the transition to Safe Mode (the inscription "Safe Mode" will appear at the bottom of the screen).

In safe mode:

  • πŸ”§ Go to Settings. β†’ Annexes β†’ All applications.
  • πŸ” Find an app that locks the screen (like Screen Lock or Mi Security).
  • πŸ—‘οΈ Click "Delete" or "Stop".
  • πŸ”„ Restart the device in normal mode.

⚠️ Attention: MIUI 12+ Safe mode does not disable the system lock screen, and this method will not help if the password is set through the security settings of Android.

5.Official reset via Xiaomi Service Center

If none of the methods worked, you can contact an authorized service center. Xiaomi provides a service of unlocking data, but only if the conditions are met:

  • πŸ“„ Availability of a check or warranty card (proof of purchase).
  • πŸ†” Identity document (passport).
  • πŸ“± The device must not be blacklisted (stolen/lost).
  • πŸ”„ The smartphone does not activate the function Find Device from the previous owner.

The cost of the service varies from 500 to 2000 rubles depending on the model, the average time is 1-3 working days. Importantly, service centers do not guarantee 100% data security, especially if the device was blocked through the Mi Cloud.

The official services can be found on Xiaomi’s website, and check by phone before you visit if they provide a non-reset unlock service.

πŸ’‘

Contacting the service center is the only legal way to unlock if you do not remember the data from Mi Account and are not enabled. USB-debugging.

Frequent Mistakes and How to Avoid Them

Many users make things worse by trying to unlock Xiaomi in the wrong ways.

Mistake.Effects of consequencesThe right decision
Use of password cracking software (e.g. Mi Unlock Tool)IMEI blocking, anti-Rollback activationContact the service center
Repeatedly entering the wrong password (more than 30 times)Hardware lock for 24-72 hoursWait or Reset by Find My Device
Trying to flash the device through Fastboot without unlocking the bootloaderBrick (turning into a brick)Unlock the bootloader officially through Mi Unlock

Another common problem is locking after resetting via Recovery, and if you reset your settings, but the device requires you to enter your old Mi Account, it means that Factory Reset Protection (FRP) has been activated, and only:

  • πŸ”‘ Data from your previous Mi Account.
  • πŸ“§ Appeal in support of Xiaomi with proof of purchase.

FAQ: Answers to Frequent Questions

Can I reset my password to Xiaomi without losing data if the internet is offline?
Yes, but only if: πŸ”Œ You're on. USB-debugging ADB). πŸ“± The device is tied to your Mi Account, and you remember the username/password (unlocking works offline on some models). If the Internet is disabled and debugging is not activated, unlocking without resetting data is impossible.
What to do if you reset your password through ADB The lock screen is gone, but requires PIN from SIM-map?
It's a normal situation. PIN-code SIM-The card (usually on the plastic media that came with the card) PIN: πŸ“ž Contact the communications operator (MTS, Beeline, MegaFon, Tele2). πŸ”’ Enter. PUK-code (specified on the same card or can be obtained from the operator).
Does Mi Account unlock work on the POCO F3 GT?
Yes, but with reservations: βœ… Nana POCO F3 GT s MIUI 12.5+ Unblocking via Mi Account is available but requires confirmation SMS/email. ❌ If the device was bought by hand and the previous owner did not unblock the account, unlocking is impossible without proof of purchase.
Can I unlock the Xiaomi 13 Pro through the service center if I don’t remember the data from the Mi Account?
Yeah, but you will: πŸ“„ Check or warranty card (confirmation of purchase). πŸ†” Passport (for proof of identity). πŸ’° Payment for services (from 1000 to 2000 rubles) Xiaomi service centers in Russia have access to the database of accounts and can reset the binding, but only if there are documents.
What is Anti-Rollback and why does it prevent unlocking?
Anti-Rollback (ARB) β€” This is Xiaomi's protection, which locks the device when you try to roll back the firmware to an older version: πŸ”„ You are flashing your smartphone through Fastboot with an unofficial firmware. πŸ› οΈ You use tools like the Mi Flash Tool without unlocking the bootloader, and if the Anti-Rollback works, the device locks with the message "This device is locked.