How to Change Your Password on Xiaomi: 5 Verified Ways (2026)

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:

  1. Enter the email or phone number associated with the account.
  2. Click Forgot Password? and select the recovery method: SMS or email.
  3. Enter the confirmation code received.
  4. 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?
Check the Spam folder in your mail or request a resubmit of the code after 5 minutes. Make sure the phone number is not locked in Mi Account (for example, due to frequent login attempts). Try using another browser or device to recover. If SMS does not come more than an hour, contact Xiaomi support with the IMEI phone.

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:

  1. Turn off your phone and press the Power button + Volume down to log into the Fastboot.
  2. Connect the device to your PC and open the command line in the folder with ADB.
  3. Enter the command: fastboot oem clean_all_and_lock This command will reset all data and block the bootloader (if it has been unlocked).
  4. 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:

  1. Turn off the phone.
  2. Press the Power button + Volume up to enter Recovery.
  3. Select the language (volume buttons) and go to Wipe Data β†’ Wipe All Data.
  4. 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:

ModelMIUI versionFeatures of password resetIs a Mi Account required?
Redmi Note 10/11/1212–14Supports reset via Recovery without unlocking the bootloader.Not unless FRP is activated.
POCO F3/F4/F513–15Fastboot may require a fastboot erase userdata command.Yes, to unlock the bootloader.
Xiaomi 12/13/1414–15Enhanced protection: Recovery resets require email confirmation.Yes, I will.
Redmi 9A/9C12You 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).

What if Xiaomi requires an old password after resetting?
This is Factory Reset Protection (FRP) activation. You need: 1. Sign in to the Mi Account that was tied to the phone before the reset. 2. If the account is deleted, contact Xiaomi with a purchase check and IMEI. 3. On some models (for example, Redmi Note 11) you can bypass FRP through TalkBack, but this requires accurate action and does not always work.

Can I change my password to Xiaomi without losing data?
Yes, but only if you remember your current password or have linked your device to your Mi Account, in which case use the methods in Section 1 or Section 2. If the password is forgotten and there is no link to your account, the data will be lost with any reset method.
What if Xiaomi asks you to enter the old Mi Account password after resetting?
This is FRP protection. You need to restore access to the Mi Account that was tied to the phone before the reset. If the account is deleted or you do not remember the data, contact Xiaomi with proof of ownership of the device (check, box with IMEI).
How to get around your Xiaomi password if you forget your Mi Account?
On newer models (2022 and later), this is almost impossible without specialized hardware (such as the UFi Box). For older devices (Redmi 4X, Redmi Note 5), you can try methods through the Fastboot or EDL, but they require technical skills.
How long does it take to unlock a bootloader on Xiaomi?
Officially unlocking through Xiaomi’s website takes 24 to 72 hours, and once approved, you will receive a permissioned SMS, and only then you can execute the fastboot oem unlock command.
Can I recover data after resetting my password through Fastboot?
If the phone has been encrypted (it is activated by default on MIUI 12+), you can't recover the data. If the encryption is disabled, you can try programs like Dr.Fone or 7-Data Recovery, but the chances are minimal.