Forgot the password from the Xiaomi phone: 6 working ways to unlock (2026)

Forgetting your smartphone password is a difficult situation, but it is not a hopeless one. Especially when it comes to Xiaomi devices, where the manufacturer has provided several official ways to restore access. In this article, we will analyze all the current unlock methods for Redmi, POCO and Mi phones, including models with MIUI 14/15 and HyperOS. Importantly, the effectiveness of the method depends on whether backup functions were enabled and whether the Mi Account is attached.

If you're reading this article on a locked device through another gadget, don't panic. 80% of the time, unlocking takes no more than 10 minutes. The main thing is not to try to find a password at random: after 5 unsuccessful attempts, Xiaomi can lock the device for 24 hours or completely erase all data. We have collected methods from the simplest (with saving files) to radical (full reset) so you can choose the best option.

1 Unblocking through Mi Account (official method)

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

  • πŸ”Ή The phone is connected to the Internet (Wi-Fi or mobile network)
  • πŸ”Ή You remember the username and password from Mi Account (or you can restore them through the email/phone)
  • πŸ”Ή Synchronization with the account is enabled on the device (checked in Settings). β†’ Xiaomi account)

Instructions:

  1. On the lock screen, click Forgot Password? (or Forgot Password? on English firmware).
  2. Select the option to Sign in via Mi Account.
  3. Enter the email or phone number associated with the account, then the password.
  4. Confirm your login via SMS or email (if two-factor authentication is enabled).
  5. Create a new unlock password.

Make sure your phone is connected to the Internet |Remember data from Mi Account |The device is synchronized with your account |Access to email/phone to confirm-->

An important caveat: if your phone is not connected to the network, connect it to Wi-Fi via the Quick Settings Panel (swipe down from the top of the screen). Some models (Redmi Note 12, POCO X5) require you to enter a password, but sometimes just click Connect without authorization.

πŸ’‘

If you do not remember the password from Mi Account, restore it to the official website account.xiaomi.com via the attached email or phone. Do not use third-party services - this can lead to theft of the account!

2. Reset password via Find Device (remote unlock)

Find Device (similar to Google’s Find Phone) not only tracks Xiaomi’s location, but also remotely resets the lock password.

  • πŸ“ The device is tied to Mi Account and the Find Device option is enabled. β†’ Memory. β†’ Find Device)
  • πŸ“Ά Phone's connected to the Internet.
  • πŸ”‹ Battery level above 15%

Step-by-step:

  1. Go to i.mi.com and log in to your Mi Account.
  2. In the Devices section, select a locked phone.
  3. Click Delete Data (or Erase Device in English).
  4. Confirm the action via SMS or email.
  5. Wait until the process is complete (it can take up to 10 minutes). The phone will reset and reset the password.

⚠️ Warning: This method completely erases all data from the device, including photos, contacts and apps. If your phone had important files without a backup, try other ways first.

Yeah, to find the phone.|Yes, for remote unlocking.|No, but I know it exists.|No, I just found out now.-->

3 Unlocking through Recovery Mode (without Mi Account)

If your Mi Account is not tied or you don’t remember the login details, you can try resetting your password through Recovery Mode, which does not require an Internet connection, but deletes all user data (except files on the user account). SD-It is suitable for most Xiaomi models, including Redmi. 10/11/12, POCO F3/F4/F5, Mi 11/12/13.

Instructions:

  1. Turn off the phone with a long press of the power button (or Power + Volume Up on some models).
  2. Hold the Power + Volume Up combination and hold it for 10-15 seconds until the Mi logo appears.
  3. From the Recovery menu, select the language (usually English or Chinese).
  4. Go to Wipe Data β†’ Wipe All Data (or Clear Data).
  5. Confirm the action by swipe or press Confirm.
  6. After reset, select Reboot β†’ Reboot to System.

Features for different firmware:

FirmwareThe way to dumpNotes
MIUI 12–14Wipe Data β†’ Wipe All DataRequires confirmation via Mi Account if it was tied
HyperOSClear Data β†’ Format DataReset takes longer (up to 5 minutes)
Global ROMWipe & Reset β†’ Wipe All DataYou may need to enter CAPTCHA

⚠️ Note: on some models (Redmi Note 9 Pro, POCO X3) After resetting via Recovery, you may need to re-authorize to Mi Account to activate your phone. If you don't remember your account details, the device will turn into a brick».

4.Use of ADB (for advanced users)

The method through Android Debug Bridge (ADB) is suitable if the phone is enabled debugging mode via USB (Settings β†’ About Phone β†’ MIUI version β†’ 7 times tap to unlock the developer’s options, then enable debugging by USB).

What you need:

  • πŸ–₯️ Computer with Windows/Linux/macOS
  • πŸ”Œ USB-cable (preferably original)
  • πŸ“₯ Installed drivers Xiaomi and ADB Tools

Step-by-step:

1. Connect the phone to the computer via USB.


2. Open the command line (Windows) or the terminal (macOS/Linux).




3. Enter the commands in order:




Adb devices (you should display your device)




adb shell




su




rm /data/system/gesture.key (for pattern lock)




or




rm /data/system/password.key (for PIN/password)




4.Reboot phone: adb reboot

Important: newer versions of MIUI and HyperOS may not work because of enhanced security, and once password files are deleted, Recovery is sometimes required to be reset in order for the system to work properly.

What if the ADB can’t see the device?
If the adb device command does not show your phone, check: 1. Is debugging mode enabled USB on your phone (even if it is locked, sometimes it can be done through the notification panel). 2. Are Xiaomi drivers installed (you can download it on the official website). 3. Do you use the original one? USB-cable (poor cables may not transmit data). 4. Try another one USB-port on the computer (preferably) USB 2.0).

5. Unlock via Fastboot (for tech-savvy)

If previous methods failed and the Mi Account is not tied, the Fastboot unlocks, which requires an unlocked bootloader and erases all data, but bypasses the lock even on new models. 13/14, Redmi K60, POCO F5 Pro and other flagships.

What needs to be done:

  1. Download the Mi Flash Tool from Xiaomi’s official website.
  2. Download the firmware for your model (e.g. fastboot-ROM for Redmi Note 12).
  3. Turn off your phone and press Power + Volume Down to log in to Fastboot.
  4. Connect the device to your computer and start the Mi Flash Tool.
  5. Select the downloaded firmware and press Flash.
  6. Wait until the process is completed (10-15 minutes).

Warning: Incorrect firmware via Fastboot can permanently put your phone out of action.If you are not sure about your actions, you should contact Xiaomi's service center.

πŸ’‘

Unlocking through Fastboot is an extreme method that should only be used if other methods have not worked, requiring an unlocked bootloader and a complete erasure of data.

6. Contact the Xiaomi Service Center

If none of these methods worked, you can contact the official service center Xiaomi.

  • πŸ” Phone locked after failed password attempts ("Device is locked").
  • πŸ“± The device has firmware installed with a locked bootloader, and you can’t log into Fastboot.
  • πŸ”§ You are afraid to manipulate your own firmware.

What to bring with you:

  • πŸ“„ Checks or warranty card (if the phone is guaranteed).
  • πŸ†” Passport or other document confirming possession of the device.
  • πŸ“± The device itself with a charge level of at least 30%.

The cost of unlocking in the service center varies from 1,000 to 3,000 rubles depending on the model and the complexity of the case. New devices (Xiaomi 14, Redmi K70) are guaranteed, so unlocking can be free.

How to find the nearest service center:

  1. Go to mi.com/global/service.
  2. Choose your country and city.
  3. Check the addresses and hours of the centers.

Frequent Mistakes and How to Avoid Them

When trying to unlock Xiaomi, users often face typical problems, including the most common ones and ways to solve them:

1.The phone does not connect to Wi-Fi on the lock screen

Some models (POCO M4 Pro, Redmi A2) require a password to connect to the network.

  • πŸ”„ Restart your phone and try to connect again.
  • πŸ“Ά Use the mobile internet (if you have a mobile phone) SIM-card).
  • πŸ”Œ Connect to the computer through USB and enable data transfer (sometimes this will unlock Wi-Fi access).

2. Mi Account does not accept password

If you are sure you are entering the correct password, but the system does not accept it:

  • πŸ” Check the keyboard layout (English/Russian).
  • πŸ“§ Restore your password through account.xiaomi.com.
  • πŸ“΅ Make sure you have a stable internet connection.

3.After reset, the phone requires an old password

This happens if Factory Reset Protection (FRP) is enabled on the device.

  • πŸ”‘ Enter the data from the Mi Account that was linked to the phone.
  • πŸ“ž If the account is not tied, contact the service center with documents on the phone.
Can I unlock Xiaomi without losing data?
Yes, but only if: πŸ”“ You have a Mi Account tied and active (method 1 in the article). πŸ–₯️ The phone's debugging on. USB, and you can use it ADB (4) In all other cases, the data will be erased.
What to do if you forget your Mi Account password?
Restore it through the official website: Go to account.xiaomi.com. Click Forgot password?. Enter email or phone linked to your account. Follow the instructions in the letter or SMS. If you do not have access to email/phone, contact Xiaomi with documents on the device.
How much does it cost to unlock in the service center?
The cost depends on the model and the reason for the lock: πŸ“± Redmi Note, POCO M: 1 000–1 500 ruble. πŸ“± Xiaomi 12/13/14, Redmi K50/K60: 1 500–3 000 ruble. πŸ†“ Free if the phone warranty and lock occurred due to the fault of the system.
Can I unlock Xiaomi through my Google Account?
Unlike many other Android devices, Xiaomi does not support unlocking through Google Account.The only official way is to use Mi Account.
What if the phone asks for the account of the previous owner after the reset?
This means that Factory Reset Protection is enabled on the device (FRP). Options for solutions: πŸ”‘ Enter the details from the Mi Account that was tied to the phone before the reset. πŸ“„ If the phone is purchased by hand, contact the previous owner and ask them to remove the device from their account via i.mi.com. πŸ”§ If it is impossible to contact, contact the service center with purchase documents.