How to Change Your Password on Xiaomi Phone: All Ways (2026)

Forgot the password from Xiaomi or want to update it for security? Change the password on the brand’s smartphones is a procedure that may be necessary in different situations: from a planned change PIN-In this article, we will discuss all the current ways to change your password, both through your phone settings and bypassing locking if you forget the current code.

It is important to understand that on Xiaomi (including Redmi models, POCO Black Shark and Black Shark use several types of protection: the screen unlock password, PIN-code SIM-card and password MI-Each of them changes in its own way, and we'll describe all the options in detail. If you're looking for a way to get around the lock without losing data, there's a section in the article that shows proven methods for models of the data. MIUI 14 and newer (including HyperOS).

1. How to change the screen unlock password on Xiaomi

The unlock password (or pattern lock) is the primary protection for your smartphone, and to change it, you need to know the current code. If you remember it, the procedure will take no more than a minute:

  1. Open the Settings. β†’ Passwords and security.
  2. Select Screen Lock.
  3. Enter your current password or pattern lock.
  4. Click Change password and follow the system prompts.

The following types of locks are available on MIUI 14/HyperOS:

  • πŸ”’ PIN-code (4-16 digits) - the fastest option.
  • πŸ”‘ Password (minimum 4 characters, with support for letters and special characters).
  • 🎨 pattern lock (connection of 4-9 points).
  • πŸ‘€ Password free (not recommended for security reasons).

πŸ’‘

If you choose a pattern lock, avoid simple combinations (such as the letters "M" or the numbers "7").

Once you change your password, the system can request confirmation via fingerprint or facial recognition (if you have these features set up), which is an additional check that you are the one making the changes.

⚠️ Note: If you use Smart Lock (automatically unlocked in trusted places), after changing the password, this feature will have to be configured again. β†’ Passwords and security β†’ Smart Lock to Update the Settings.

2. Shift PIN-code SIM-map

PIN-code SIM-The cards are a separate protection that the carrier requests when you turn on your phone or reboot it can be changed directly in the Xiaomi settings, but you need to know the current code (usually it is indicated on the plastic holder). SIM-map).

Instructions:

  1. Open the Settings. β†’ SIM-maps and mobile networks.
  2. Choose yours. SIM-card (if there are several).
  3. Click Change. PIN-code SIM-map.
  4. Enter the current PIN, then a new one (2 times for confirmation).
Operator.Standard PINStandard PUK
MTS0000 or 1234It's on the SIM package.
Beeline11118-digit code on the holder
MegaFon1234 or 0000Call *105# to recover
Tele2.1234Check in your personal office.

If you've entered an infidel PIN 3 consecutive times, SIM-The card will be blocked and will require input PUK-It can be found on the packaging. SIM Or ask the operator. PUK-unlock SIM If you try 10 times wrong, the card will be deactivated.

πŸ“Š What type of screen lock you use?
PIN-code
pattern lock
Password.
Fingerprint.
Facial recognition
I don't use it.

3. How to change the password MI-Account (Xiaomi Account)

MI-An account is an account that is linked to all Xiaomi services: cloud storage, theme store, contact sync, etc. Its password changes not on the phone, but through the official website or application. If you forget this password, it will be more difficult to restore access than to the smartphone itself.

Modes of change:

  • 🌐 Through the site: Go to account.xiaomi.com, log in and select Security β†’ Change the password.
  • πŸ“± Through phone: Open the settings β†’ Xiaomi account β†’ Security.
  • πŸ”„ Through the application "Mi Account" (if installed).

If you forgot the password from MI-Accounts can be restored, it can be restored:

  1. By the attached phone number (SMS with the code).
  2. By e-mail (letter with reference).
  3. By backup email (if it is listed in the profile).

⚠️ Attention: If to MI-The account is tied to a phone with an active lock (for example, after resetting to factory settings), changing the password will not unlock the device.

What to do if MI-Account is tied to the old number?
If you do not have access to the number associated with MI-If you don't have access to your account, try to restore access via a backup email. If you don't have access to it, contact Xiaomi with a photo of a check to buy your phone or box (where you can see it). IMEI). The process can take up to 7 days and there is no guarantee of unlocking.

4.How to reset your password to Xiaomi if you forget your current one

If you don’t remember the screen unlock password, there are two options:

  1. Reset password without data loss (not working on all models).
  2. Complete reset (delete all data from your phone).

First, let's try the first one. It's suitable for MIUI 12-14 and HyperOS devices, where Find the device is activated.

Make sure your phone is connected to Wi-Fi or mobile network|Check the battery charge (minimum 30%)|Prepare a backup email or number for recovery|Disable two-factor authentication in MI-account (if enabled)-->

Instructions:

  1. Go to i.mi.com and log in to your website. MI-account.
  2. Select a locked phone from the list of devices.
  3. Click Unlock the screen (the function may be called Remove the lock).
  4. Confirm the action via SMS or email.
  5. Set a new password on your phone (it will come in the notification).

If this method does not work (for example, Find the device is disabled), you will have to make a hard reset:

  1. Turn off the phone.
  2. Press the Power button + Volume up until the Mi logo appears.
  3. From the Recovery menu, select Wipe Data β†’ Wipe All Data.
  4. Confirm the reset (the phone will reset).

πŸ’‘

Resetting via Recovery deletes ALL data, including photos, messages and apps. MI-account, some of the data (contacts, notes) can be restored after re-authorization.

5. Features of changing the password on different Xiaomi models

The procedure for changing the password may vary slightly depending on the model and firmware version, and below are the key nuances for popular lines:

Model/SeriesFeatures of changing the passwordSupported Types of Blocking
Redmi Note 12/13, POCO X5/F5Dynamic password support (changes automatically at specified intervals).PIN, password, pattern lock, fingerprint, face
Xiaomi 13/14, Mix Fold 3Additional security via a hardware security key (requires physical confirmation).All types + Smart lock (unlocking on Bluetooth devices)
Black Shark 5/6Separate menu Game mode β†’ Security for changing the password.PIN, password, fingerprint (no pattern lock)
Redmi A2/A3 (budget)There is no Smart Lock feature, only basic lock types.PIN, password, pattern lock

On phones with HyperOS (such as Xiaomi 14 or Redmi K70), the β€œPrivate Mode” feature has been introduced, which allows you to hide notifications and apps behind an additional password.

  1. Go to Settings β†’ Privacy β†’ Private mode.
  2. Activate the function and set a separate password.
  3. Select the apps that will be hidden in this mode.

6. Frequent mistakes and how to avoid them

When you change your password to Xiaomi, users often face typical problems, and here are the most common ones and ways to solve them:

  • πŸ”„ "Incorrect current password – check the keyboard layout (possibly Caps Lock enabled) or try entering the code on another device (e.g. tablet) to prevent screen failure.
  • ⚠️ "A password that's too simple" β€” MIUI requires that the password contain at least one letter or special character @.
  • πŸ“΅ "No "Change Password" button -- maybe the phone has guest mode or parental controls on. β†’ Accounts. β†’ Guest mode.
  • πŸ”’ "MI-Your account is blocked after you change your password, which happens if you change your password on the site, but your phone is still trying to log in to the old data.

Another common mistake is the forgotten password after a firmware update, which happens because Xiaomi sometimes resets security settings on major updates to avoid being blocked:

  1. Before updating, check if you remember the password.
  2. Make a backup through Settings β†’ About Phone β†’ Backup.
  3. Turn off automatic update installation in Settings β†’ About Phone β†’ System Update.

πŸ’‘

If you often forget passwords, set up emergency information on the lock screen. To do this, go to Settings β†’ Lock screen β†’ Emergency information and provide a backup email or phone to communicate.

7 Additional security measures after changing the password

Changing your password is just the first step to protecting your Xiaomi.To minimize the risk of hacking or data loss, follow these steps:

  • πŸ” Enable two-factor authentication to MI-Account: Go to Settings β†’ Xiaomi account β†’ Security. Select two-step verification. Link a phone number or an authenticator application (e.g. Google Authenticator).

Find the device.

  1. Activate the function in Settings β†’ Xiaomi Account β†’ Find the device.
  2. Allow location and remote locking.

Update your firmware regularly

MIUI/HyperOS

If you're selling or transferring a phone to another person, it's not enough to just change your password.

  1. Get out. MI-Account settings (Settings) β†’ Xiaomi account β†’ Get out).
  2. Perform reset to factory settings (Settings β†’ Additional β†’ Resetting).
  3. Delete everything SIM-memory-cards.

⚠️ Note: On Xiaomi phones with a blocked bootloader, resetting via Recovery does not remove the binding to the bootloader. MI-The new owner can't use the device without your password, and you have to apply online to unlock the bootloader. en.miui.com/unlock.

FAQ: Answers to Frequent Questions

Can I change my password to Xiaomi without losing data?
Yes, but only if: The phone has Find the device and it's connected to the Internet. MI-The device is running on the phone. MIUI 12 or later (including HyperOS) If these conditions are not met, you will have to reset with loss of data.
What if the phone asks for an old PIN after changing the password?
This is due to a synchronization failure between MI-You can try: Reboot your phone. MI-Reset your account and log in again. Reset your network settings (Settings) β†’ SIM-maps and networks β†’ Reset network settings. If nothing helps, reset to factory settings (but this will delete all data).
How do I know what type of lock is installed on my Xiaomi?
If you do not remember what password is set (PIN, pattern lock or text key, try: Enter 0000 or 1234 – standard PIN-So if you run your finger around the screen in random order -- if you get a hint of a wrong pattern lock, it's installed -- look at the keyboard when you type: if you have letters and symbols, it's a text password.
Can I bypass the lock via ADB or Fastboot?
Theoretically, yes, but on modern Xiaomi (with MIUI 13+ and HyperOS), this method only works when the bootloader is unlocked. If the bootloader is locked, you will need: Apply for unlocking through the official website (it will take 3-7 days). Once unlocked, use the command: fastboot erase userdata (this will erase all data!). Without unlocking the bootloader, you can not bypass the protection - this is a security measure from Xiaomi.
What if after resetting the phone asks for the old password MI-account?
This is a theft protection that activates if: The phone was dropped via Recovery. MI-account was not untied before reset.Solution: Enter password from MI-If you don't remember the password, restore it through the site. If the phone is bought with your hands and the previous owner hasn't untied the account, ask for the password or return the device. Xiaomi Support won’t help you bypass this lock without proof of purchase (check or box with a check). IMEI).