Forgot your Xiaomi password or want to update it for security?This article will help you understand all the nuances of changing the password on your brand devices, from unlocking the screen to changing your Mi Account data. We will look at current methods for MIUI 14/15, including bypassing locks through Fastboot and restoring access to your account.
It is important to understand that the procedure differs depending on the type of password: it can be a pattern lock, PIN-Mi Account code, fingerprint or account details. Some methods require confirmation through SMS Or email, or other tools like the Mi Unlock Tool, and if you're locked after you buy a used phone, you can find a solution here.
Warning: Mistakes in password resetting can result in complete loss of data on the device (especially if encryption is not enabled).
1. Change the screen unlock password (PIN/pattern lock)
If you remember your current password and want to update it, it takes less than a minute to complete the process, and this method works on all Xiaomi smartphones with MIUI 12 and later, including the Redmi Note 12, POCO X5 and Xiaomi 13.
Go to Settings β Password and Security β Screen Lock. The system will ask you to enter the current password for confirmation. After that, select the new password type: PIN (from 4 to 16 digits), pattern lock or combination of letters / number. For maximum security, we recommend using an alphanumeric password with a length of at least 8 characters.
- π PIN-Code: Quickly entered, but easily matched (do not use dates of birth!).
- π¨ pattern lock: Comfortable, but leaves marks on the screen (seen by bold dots).
- π Alphabet Digital Password: Most secure, but longer.
β οΈ Warning: If you turn on the option to erase data after 10 failed attempts in security settings, incorrectly entering a password will lead to a complete reset of the phone before the factory settings.
Check the battery charge (minimum 30%)
Connect to Wi-Fi (to sync with Mi Account)
Remember your current password (required for confirmation)
Turn it off. VPN (Can block account verification)-->
2. Recovery of password through Mi Account
If you forget your screen unlock password, but you have attached your device to your Mi Account, you can reset it via a web interface, which only works when you have an active Internet connection on your phone and sync with your account enabled.
Go to account.xiaomi.com and follow the following steps:
- Enter the email or phone number associated with the account.
- Click Forgot Password? and select the recovery method: SMS or email.
- Enter the confirmation code received.
- Create a new password (at least 8 characters, with capital letters and numbers).
After successfully changing your password on the site, unlock your phone: on the lock screen, click Forgot your password? β Sign in via Mi Account and use new data. If this option does not appear, then the device is not tied to the account or sync is disabled.
What if you donβt get an SMS with a code?
3. Password reset via Fastboot (for advanced users)
This method is suitable if you do not remember the password and have not tied the device to the Mi Account, but are ready for data loss. It requires an unlocked bootloader (if not, you will need official permission from Xiaomi).
You'll need:
- π» Computer with Windows/Linux and installed drivers ADB/Fastboot.
- π Cable USB (Original, for stable connection.li>
- π± Phone with a charge of at least 50% (to avoid shutdown during the process).
Instructions:
- Turn off your phone and press the Power button + Volume down to log into the Fastboot.
- Connect the device to your PC and open the command line in the folder with ADB.
- Enter the command: fastboot oem clean_all_and_lock This command will reset all data and block the bootloader (if it has been unlocked).
- After restarting, set your phone as new.
β οΈ Attention: Team clean_all_and_lock It deletes all data, including photos, contacts and apps, and if encryption is enabled on the phone, it will be impossible to restore files even through specialized programs.
Change through settings
Recovery through Mi Account
Fastboot/ADB
I went to the service center.
Never forgot the password.-->
4 Unlocking through Recovery Mode
If the Fastboot isnβt available (like on a locked bootloader), try resetting your password through Restore mode, which works on most Xiaomi models, except for new flagships with enhanced protection (like the Xiaomi 14 Ultra).
Steps:
- Turn off the phone.
- Press the Power button + Volume up to enter Recovery.
- Select the language (volume buttons) and go to Wipe Data β Wipe All Data.
- Confirm the reset (some models will require you to enter the confirmation code that comes to the linked email).
Once you reboot, the phone will look like new, and the downside is that you lose all the data, but you don't need to unlock the bootloader.
π‘
If the phone requires you to enter the old Mi Account password after reset, this means that Factory Reset Protection (FRP) has been activated.In this case, restore access to the account through the Xiaomi website, as described in Section 2.
5. Features for different Xiaomi models
The process of changing the password may vary depending on the model and version of MIUI. In the table below are the key nuances for popular devices:
| Model | MIUI version | Features of password reset | Is a Mi Account required? |
|---|---|---|---|
| Redmi Note 10/11/12 | 12β14 | Supports reset via Recovery without unlocking the bootloader. | Not unless FRP is activated. |
| POCO F3/F4/F5 | 13β15 | Fastboot may require a fastboot erase userdata command. | Yes, to unlock the bootloader. |
| Xiaomi 12/13/14 | 14β15 | Enhanced protection: Recovery resets require email confirmation. | Yes, I will. |
| Redmi 9A/9C | 12 | You can bypass the lock through EDL-mode (boxing required). | No. |
For devices with MIUI 15 (such as Xiaomi 14 or POCO F6), Xiaomi has tightened its security policy, and now resetting a password via Fastboot or Recovery requires confirmation through Mi Account in 90% of cases, even if the phone is not tied to the account at the time of locking.
π‘
On new Xiaomi models (2023-2026), password circumvention without access to Mi Account is almost impossible without specialized equipment (for example, UFi Box or Medusa Pro).
6 How to protect yourself from future blockages
To avoid the problem of a forgotten password, follow these tips:
- π± Link your Mi Account to your phone and update your backup regularly email/SMS.
- π Enable synchronization in Settings β Mi Account β Synchronization.
- π Backup important data in Settings β System system β Backup.
- π Use a password manager (like Bitwarden or KeePass) to store complex combinations.
We also recommend turning off the option to erase data after 10 failed attempts (located in Settings β Password & Security β Screen Lock settings).This will prevent the phone from accidentally resetting if the password is entered incorrectly (for example, by a child).
If you often forget passwords, set up a face unlock or fingerprint in addition to the main one. PIN-It'll make it easier to access, but it'll keep it safe.
7. Frequent mistakes and how to avoid them
Many users make the same mistakes when changing their password to Xiaomi, and here are the most common ones:
- β Use simple passwords (e.g., 1234 or 0000) that are easily matched through brute-force.
- β Mi Account's missing link, and without it, it's almost impossible to restore access to a locked phone.
- β Attempts to enter a password more than 10 times without disabling the option to erase data.
- β Use of unofficial firmware (e.g. Custom) ROM). They can block standard discharge methods.
If you encounter an error "This device is locked" when you try to log in to Fastboot, it means that the bootloader is locked, in which case you will need to officially unlock through the Xiaomi website (the process takes up to 72 hours).