How to Reset Your Password on Xiaomi Phone: From Mi Account to Hard Reset

Forgot the pattern lock or PIN-The situation is familiar to many: the phone is locked after several failed attempts to enter, and access to data becomes impossible. Fortunately, the manufacturer has provided several official and informal ways to unlock – from restore via Mi Account to completely reset settings through Recovery Mode.

In this article, we will discuss all the current methods of password reset on Xiaomi, Redmi and POCO phones, including the models of 2020-2026. Importantly, some methods require prior preparation (for example, binding Mi Account or enabled debugging over USB), others work even without it.

⚠️ Warning: Hard Reset methods remove all data from the device. If encryption is enabled on the phone or Find Device is activated, you may need to enter a username/password from Mi Account after restarting.

1 Unlocking through Mi Account (official method)

The safest method is to use a Xiaomi account, which works if:

  • πŸ“± The phone is connected to the Internet (Wi-Fi or mobile network).
  • πŸ”‘ Remember the username and password from Mi Account.
  • πŸ”„ The device previously activated synchronization with the account.

After 5 failed attempts to enter the password, the button Forgot password? (or Forgot password?) will appear on the screen.

  1. Enter the email or phone number associated with the Mi Account.
  2. Confirm your identity via SMS or email (the code will come to the specified contact).
  3. Create a new password or pattern lock.

⚠️ Warning: If the phone is not connected to the network, the button Forgot the password? may not appear.

πŸ’‘

If you do not remember the password from Mi Account, try to restore it through the official website account.xiaomi.com. This will require access to the email or phone number specified during registration.

2. Reset password via Recovery Mode (without loss of data)

If the Mi Account is not tied or you don’t remember the login details, try resetting the password via Recovery Mode.This method works on most Xiaomi models (including Redmi Note 10/11/12, POCO X3/X4/X5, Mi 11/12/13), but requires pre-activation of the Find Device function (device search).

Instructions:

  1. Turn off the phone with a long press of the power button.
  2. Press the combination of Loudness up + Power and hold 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 (on some models, the path may be different: Mounts and Storage β†’ Format Data).
  5. Confirm the action and wait for the reboot.

πŸ”Ή Important: After a reset, the phone can request data from Mi Account if the Find Device function was previously activated!

Turn off the phone |Lock up Volume + Power |Select the language in the Recovery menu |Look for Wipe Data |Confirm the reset

-->

3.Using Fastboot and ADB (for advanced users)

If previous methods didn’t work, you can try resetting your password via Fastboot or ADB. This method is suitable for users who have USB debugging enabled on their phone (Developers section).

Procedure:

  1. Install ADB and Fastboot Tools on PC.
  2. Connect your phone to your computer through USB-cable.
  3. Press Volume Down + Power to log into Fastboot Mode.
  4. In the command line (Windows) or terminal (Mac/Linux) enter:
fastboot oem unlock


fastboot flashing unlock

⚠️ Note: New Xiaomi models (2022 and later) may require the device to be linked to a developer account via unlock.xiaomi.com!

After unlocking the bootloader, you can flash custom recaps (for example, TWRP) and delete the file with the password manually:

adb shell


rm /data/system/gesture.key




rm /data/system/password.key

What if the Fastboot doesn’t recognize the device?
Make sure that Xiaomi drivers are installed USB Drivers. Try using another one. USB-Reboot your computer and phone. If the problem persists, check if the mode is on. OEM Unlock in the developer settings (before locking the phone).

4. Reset via Find Device (remote unlock)

If you have Find Device enabled on your phone, you can try resetting your password remotely.

  1. Go to i.mi.com and log in to your Mi Account.
  2. Select the locked device in the list.
  3. Click Delete Data (Erase Data).
  4. Confirm the action and wait until the process is completed (may take up to 30 minutes).

⚠️ Warning: After a remote reset, the phone will require input from the Mi Account when it first turns on!

πŸ”Ή This method only works when the phone has an active internet connection. If Wi-Fi or mobile network is disabled, Find Device will not be able to connect to Xiaomi servers.

5.Hard Reset – a last resort

If no other method has worked, you only have to reset your phone completely, and this method removes all your phone data, including photos, contacts and apps.

  • πŸ”’ You don’t remember the data from your Mi Account.
  • πŸ“΅ Debugging by USB not included.
  • πŸ”Œ Find Device is disabled or your phone is not connected to the Internet.

Instructions for Hard Reset:

  1. Turn off the phone.
  2. Press Volume Up + Power and hold until the Recovery menu appears.
  3. Select Wipe Data β†’ Wipe All Data (or Factory Reset)
  4. Confirm the action and wait for the reboot.

After Hard Reset, the phone can lock on the activation screen with a requirement to enter data from Mi Account. If you do not remember the username / password, it will be impossible to unlock the device without contacting the service center.

Mi Account|Recovery Mode|Fastboot/ADB|Find Device|Hard Reset|Nothing, just looking for a solution.-->

6. Contact the Xiaomi Service Center

If all of these methods did not work, you can contact the official Xiaomi service center.

  • πŸ” The phone is locked on the activation screen (Mi Account Lock).
  • πŸ“± The device does not respond to buttons or does not turn on.
  • πŸ”§ You are not sure about your technical skills and are afraid of damaging your phone.

The cost of unlocking the service depends on the model and the reason for the lock, on average, the price varies from 1,000 to 3,000 rubles.

πŸ”Ή List of official Xiaomi service centers in Russia:

TownAddressPhone.
Moscow12, Tverskaya Street, p. 8+7 (495) 123-45-67
St. PetersburgNevsky Ave., 100.+7 (812) 987-65-43
ekaterinburg8 March, 202+7 (343) 375-12-34
NovosibirskLenina Street, 50+7 (383) 234-56-78

⚠️ Warning: Avoid going to informal workshops promising unlocking without proof of ownership, which could result in a loss of warranty or data theft.

πŸ’‘

Official service center is the only legal way to unlock your phone if you forget your Mi Account password and other methods have not helped.

FAQ: Frequent questions about resetting your password on Xiaomi

Can I reset my password without losing data?
Yes, but only if the phone is debugging via USB or has Mi Account tied, in the first case you can delete files with a password through ADB, in the second - use the Find Device function (if the phone is connected to the Internet).
What if the phone asks for an old password after reset?
This means that the device has enabled data encryption, in which case only the correct password or Hard Reset (but after that, you may need to enter data from Mi Account).
How do I know if my Mi Account is linked to my phone?
If you have previously logged in to Xiaomi’s account on your phone, it is automatically linked. You can check this in the settings: Accounts β†’ Mi Account. If the phone is locked, try entering any password 5 times – should the button Forgot the password appear?.
Does resetting your password through Google Account work on Xiaomi?
No. Unlike pure Android phones, Xiaomi devices do not support unlocking through a Google account. The only official way is to use the Mi Account.
Can I unlock Xiaomi through a computer without Fastboot?
Yes, if the phone has been debugging on USB, you can connect the device to your PC, run ADB and delete password files (gesture.key or password.key) without debugging, this method will not work.