Forgot the password from the Xiaomi phone? 7 proven ways to unlock

Forgetting the password from Xiaomi’s smartphone is a frustrating situation, but it’s fixable. Even if the screen is locked and access to data seems lost, there are official and alternative methods of restoring access. The main thing is not to panic or try to find a combination at random: after 5-10 unsuccessful attempts, the system can lock the device for 24 hours or completely erase all data.

In this article, we’ll break down all the current unlocking methods for Redmi, POCO, Mi and other Xiaomi phones, including the 2020-2026 models, from the simplest reset via Mi Account to advanced methods using Fastboot and ADB. You’ll also learn how to save photos, contacts and other files before resetting, and what to do if the phone requires the old password to be confirmed after recovery.

Important: Some methods require pre-preparedness (e.g., linking a Mi Account or enabling debugging over USB) If you read this article in advance, bookmark it or print out the instructions, which will save time in a critical situation.

1 Unlocking through Mi Account (official method)

Xiaomi’s most reliable and recommended method is to use a tied Mi Account, which works on all modern devices (starting with MIUI 12) and does not require technical skills, the main condition is that the phone must be connected to the Internet (Wi-Fi or mobile network).

If you have forgotten your Mi Account password, first restore it to account.xiaomi.com, which will require the email or phone number you provided when you register.

  • πŸ”„ On the lock screen, click Forgot Password? (or Forgot Password?).
  • πŸ“± Enter the username and password from the Mi Account linked to the device.
  • πŸ”“ Confirm the unlock through SMS or email (if two-factor authentication is enabled).
  • πŸ“² Set a new password or PIN-phone-code.

⚠️ Note: If your phone is not connected to the network, this method will not work, and it is also not available if you previously disabled sync with Mi Account in the settings (Settings) β†’ Xiaomi account β†’ Synchronization).

πŸ“Š Your Xiaomi phone is tied to your Mi Account?
Yeah, tied up and remembering the data.
Yeah, but I don't remember the password.
No, not tied.
I don't know.

2. Reset password via Find Device (remote unlock)

If the Mi Account is tied but the phone is not connected to the Internet, you can try remote unlocking via Find Device, which works even if the device is turned off, but requires:

  • πŸ“ Active function Find the device in settings (Settings) β†’ Google β†’ Security β†’ Find my device).
  • 🌐 Internet connection at least at the time of sending the command.
  • πŸ”‹ Battery charge of at least 10% (otherwise the command may not be executed).

Instructions:

  1. Go to i.mi.com and log in.
  2. Select a locked phone from the list of devices.
  3. Press Find the device. β†’ Block it.
  4. Enter a new password and confirm the action.
  5. Wait for the synchronization (can take up to 5 minutes).

⚠️ Note: After remote unlocking, all data on the phone can be erased if the function Erase data when remotely locked is enabled (configured in Settings). β†’ Google β†’ Check this setting in advance!

πŸ’‘

If the phone is dead, plug it into charging for 10-15 minutes before sending a command.Find Device may not work on a fully discharged device.

3. Unlocking through Recovery Mode (hard reset)

If the Mi Account is not tied or you don't remember the login details, you'll be left with a hardware reset via Recovery Mode, which will delete all the data from your phone, including photos, messages and apps, but will return access to the device. 10/11/12, POCO X3/X4/X5, Mi 11/12/13 others.

Instructions:

  1. Turn off the phone with a long press on the power button.
  2. Press the button combination: πŸ“± For most models: Volume up + Nutrition. πŸ”Š For some older models (e.g. Redmi) 4X): Loudness up + Loudness down + Nutrition.

Mi

Recovery

Use volume buttons for navigation and power button for selection.

Wipe Data β†’ Wipe All Data

Factory Reset

Reboot

After the reboot, the phone will look like new. You will need to go through the initial setup, including the Mi Account binding (required!).

What to do if Recovery Mode does not open?
If the button combination doesn’t work, try 1. Connect your phone to charge for 30 minutes (a discharged battery can block the entrance to Recovery). 2. Use another combination (e.g. Volume Down). + Food for POCO F1). 3. Repeat the attempt with the connected USB-Cable (sometimes helps).

Xiaomi modelCombination for RecoveryNotes
Redmi Note 10/11/12, POCO X3/X4/X5Volume up + NutritionHold 10-15 seconds
Mi 11/12/13, Mi Mix 4Volume up + NutritionLet go after the vibration
Redmi 9/9A/9C, POCO M3Volume up + NutritionA charging connection may be required
Redmi 4X/5A, Mi A1/A2Volume up + Volume down + NutritionHold until the menu appears

4. Unlock via Fastboot (for advanced users)

If Recovery Mode is not available or you need to save data, you can use Fastboot mode. This method is suitable for models with an unlocked bootloader and requires a computer with Xiaomi drivers installed and the Mi Flash Tool.

⚠️ Attention: Fastboot’s wrong actions can turn your phone into a brick.If you’re not sure about your skills, skip this section and contact the service center.

Step-by-step:

  1. Download and install the Mi Flash Tool and Xiaomi drivers for your model.
  2. Turn off the phone and put it in Fastboot mode: Volume down + Power Hold until the screensaver with a rabbit in the hat (Fastboot mode).
  3. Connect your phone to your computer through USB-cable (preferably original).
  4. Open the Mi Flash Tool, press Select and select the firmware for your model (download it in advance from the official website).
  5. At the bottom, select Clean All or Clean All and Lock.
  6. Press Flash and wait for the process to complete (5-10 minutes).

After flashing the phone, it will restart. If the bootloader has been locked, you may need to log in to Mi Account to activate it.

Download the Mi Flash Tool|Install Xiaomi drivers|Download the firmware for your model|Prepare original USB-cable|Charge your phone at least 50 times%-->

5. Unlock via ADB (if USB debugging is enabled)

If the phone has previously enabled USB debugging (Settings β†’ About Phone β†’ MIUI β†’ 7 times tap β†’ Additional β†’ For developers β†’ USB debugging), you can reset your password through ADB without losing data. This method works on MIUI 12/13/14 and requires a computer.

Instructions:

  1. Download and install Android SDK Platform-Tools.
  2. Connect your phone to your computer via USB (use the original cable).
  3. Open the command line (cmd) in the folder with the platform-tools.
  4. Enter the commands in order: adb devices (your device should appear) 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 reboot

Once you reboot, the password will be reset, and if you have a su: not found error, you don't have root permissions on your phone, and the method won't work.

πŸ’‘

ADB only works if USB debugging has been enabled before your phone locks, and if you’re reading this article in advance, activate it in the developer’s settings.

6 Unlocking through Xiaomi Service Center

If none of these methods work, you have to go to the official Xiaomi service center, which is the most reliable, but also the longest way.

  • πŸ“„ Passport or other document confirming possession of the phone.
  • πŸ“‹ Check or warranty card (if the phone is guaranteed).
  • πŸ”‹ Charger (in the service can check the performance).

The cost of unlocking in the official service ranges from 500 to 2000 rubles (depending on the model and region), the run time is from 1 to 3 days.

⚠️ Warning: Don't go to informal workshops promising to unlock "in 5 minutes:

  • 🚫 Loss of warranty.
  • πŸ”„ Installation of unofficial firmware with bugs.
  • πŸ“± Damage to hardware (for example, soldering work).

7. How to save data before resetting

If your phone is locked but you need to save photos, contacts, or messages, try these methods:

  • πŸ–₯️ Connection to PC: If you previously allowed access to files USB (Settings β†’ Additionally. β†’ For developers β†’ Debugging by USB), Connect your phone to your computer. Open the Internal Storage folder in the conductor. β†’ DCIM (Photos) or Download (downloads) and copy files.
  • 🌐 Cloud backups: If synced with Google Photos, Mi Cloud or Dropbox is enabled, the data could automatically be saved to the cloud.
  • πŸ”§ Specialized programs: Utilities like Dr.Fone or Tenorshare 4uKey They promise to extract data from locked phones, but their effectiveness depends on the model and version. MIUI. The cost of the license is from 30 to 60 dollars.

⚠️ Note: Do not use brute-force software. Xiaomi uses a lock timer after 5 unsuccessful attempts, and after 20-30 attempts, the data can be erased automatically.

FAQ: Frequent questions about unlocking Xiaomi

Can I unlock Xiaomi without losing data?
Yes, but only if: Mi Account is tied and the phone is connected to the Internet, USB debugging is enabled (for ADB method), custom firmware is installed with TWRP Recovery, in all other cases, the data will be erased.
The phone requires an old password after reset.
This is Xiaomi's standard security measure (FRP protection). To remove a request: Enter the data from the Mi Account that was tied to the phone. If you don't remember the password, restore it to account.xiaomi.com. If the account is not tied, contact the service center with the documents.
Can I unlock Xiaomi through my Google Account?
No. Starting with MIUI 10, Xiaomi removed the unlock feature through Google. Now only Mi Account works.
How much does it cost to unlock in the service center?
The cost depends on the model and region: Redmi Note 10/11, POCO X3: 500-1000 rubles. Mi 11/12/13, Mi Mix: 1000-2000 rubles. Urgent unlock (for 1 day): +50% of the cost. Warranty phones will be unlocked free of charge if you have a check.
Can you unlock Xiaomi with a fingerprint?
No, if the phone is locked with a password or a pattern lock, the fingerprint scanner will not work, and the biometrics are tied to the primary unlock method.