How to Reset Your Password on Xiaomi Phone: The Complete 2026 Guide

A forgotten password on a Xiaomi smartphone is a situation that even power users face. Unlike other brands, Redmi, POCO or Mi phones have unique security mechanisms associated with a Mi Account, which complicates the unlock process, but also opens up additional opportunities for access recovery.

In this article, we will discuss all the current ways to reset your password on Xiaomi, from official methods with confirmation via email to technical solutions through Fastboot and Recovery Mode. Particular attention will be paid to the nuances: what to do if you do not remember the associated account, how to bypass the lock without losing data and what errors users most often make. All instructions are checked on models 2020-2026 and correspond to the latest MIUI 14/15 updates.

1.Official method: reset password through Mi Account

Xiaomi’s most reliable and recommended method is to restore access through the tied Mi Account, which works on all models, including the Redmi Note 12, POCO X5 and Mi 13, if the device is connected to the Internet, the main condition is that you must remember the email or phone number used to register an account.

Algorithm of action:

  • πŸ“± On the lock screen, tap Forgot your password? (or Forgot password? on English firmware).
  • πŸ“§ Enter the email or phone number associated with Mi Account. Click Next.
  • πŸ”‘ Select the confirmation method: code from SMS Or an email. Enter the code you receive.
  • πŸ”„ Create a new password and confirm it. The phone unlocks automatically.

If you don’t remember your account details, try to restore it through the official Mi Account website. Use the backup email or phone number provided during registration. At the very least, contact Xiaomi with proof of ownership of the device (check, box).

⚠️ Attention: After 5 failed attempts to enter a password, Xiaomi blocks the ability to unlock through Mi Account for 24 hours.

πŸ“Š What kind of smartphone you Xiaomi?
Redmi (Note/Pro)
POCO (F/X/M)
Mi (11/12/13)
Black Shark
Other

2 Unlocking through Recovery Mode (without data loss)

If Mi Account is lost and your smartphone is not connected to the Internet, you can try resetting your password via Recovery Mode, a method that is suitable for devices running MIUI 12-15, but requires pre-activation of debugging over USB (if it was previously enabled).

Step-by-step:

  1. Turn off the phone. Press Volume up + Power for 10-15 seconds until the Mi logo and Recovery menu appear.
  2. Use volume buttons for navigation. Select Wipe Data β†’ Wipe All Data (some firmware may call it Format Data).
  3. Confirm the action by selecting Confirm. The process will take 1-3 minutes.
  4. After reset, select Reboot β†’ Reboot to System.

Important: This method removes all data from internal memory, including photos, messages and applications, but if you previously enabled sync with Mi Cloud, some information (contacts, notes) will recover after you log in to your account.

Turn off the phone from charging

Make sure the battery is at least 30% charged

Prepare a backup copy (if you have access to the PC)

Remember your Mi Account data (if you plan to recover data from the cloud)-->

⚠️ Note: On some models (Redmi) 9A, POCO M3) After resetting through Recovery, you may need to enter your old Mi Account password to activate the device, which is a measure of protection against theft. If you don't remember the password, the phone will turn into a brick».

3. Password reset via Fastboot (for advanced users)

The method via Fastboot is suitable if:

  • πŸ”§ You have access to a PC with Xiaomi drivers installed.
  • πŸ“± The phone is recognized by the computer in Fastboot mode (on the screen the image of a hare in a hat-eared hat is lit).
  • πŸ”“ You are prepared for possible data loss (probability 70%).

Instructions:

  1. Install Android SDK Platform-Tools on your PC.
  2. Connect the phone to the PC, keeping Volume down + Power.
  3. Open the command line in the adb folder and execute: fastboot oem clean_all_and_lock For new models: fastboot flashing unlock_critical
  4. After the process is complete, restart the device with the command: fastboot reboot

This method bypasses password locking, but can lead to loss IMEI or network problems on some models (Redmi Note 10 Pro, Mi 11) Check compatibility with your model on the forums before using it 4PDA or Xiaomi.eu.

What if Fastboot doesn’t recognize your phone?
If the PC does not see the device in Fastboot mode: 1. Install drivers manually through Device Manager (select "ADB Interface"). 2. Try another one. USB-cable (original from Xiaomi). 3. Disable the driver signature in Windows (for this, restart the PC with the Shift key pressed). 4. Use a different PC with Windows 10/11 (MacOS and Linux may have driver problems).

4. Password bypass with ADB (only for unlocked bootloader)

If your Xiaomi has previously unlocked a bootloader (Bootloader Unlocked), you can reset your password through ADB without losing data. This method works on MIUI 13/14 and requires debugging over USB enabled.

Algorithm:

  1. Connect your phone to your PC and open the command line in the adb folder.
  2. Enter the commands in order: adb shell su rm /data/system/gesture.key rm /data/system/locksettings.db rm /data/system/locksettings.db-wal rm /data/system/locksettings.db-shm reboot
  3. After rebooting, the password will be reset, but the fingerprints and pattern lock will have to be reconfigured.

If USB debugging wasn’t enabled in advance, it won’t work, and it’s not suitable for devices with encrypted file systems (Xiaomi 12T, Redmi K50) that require a password to decrypt data.

πŸ’‘

Before using ADB, check the bootloader status with the command fastboot oem device-info. If the answer has the line Device unlocked: true, you can proceed to reset the password.

5. Alternative methods: third-party services and programs

If the official methods did not help, some users resort to third-party tools, which we do not recommend to use due to security risks, but for the sake of completeness of the picture, we list the popular options:

MethodDescriptionRisks.Cost
Mi Account Unlock ToolMi Account bypass programs (e.g. MiFlash Unlock)Possible blocking of IMEI, viruses in the softwareFree/paid (up to $10)
Unblocking servicesOnline services (e.g. UnlockJunky, DoctorSIM)Fraud, data leak, device lock15–50$
Firmware through EDLFlashing through emergency mode (requires an authorized account)Loss of warranty, risk of "bricking"Free (skills provided)

We warn you that using informal tools can lead to the blocking of Mi Account, loss of warranty or even physical failure of the device. For example, after flashing through the EDL on the Redmi Note 11, many users experience a Baseband unknown error.

⚠️ Note: Since 2023, Xiaomi has tightened protection against unofficial unlocks. Now, when using third-party tools, the device can be locked at the hardware level (hardware lock), and it can only be restored in an authorized service center.

6. What should I do if nothing helps?

If all of these methods are useless, there are two options:

  • πŸ”§ Contact an authorized Xiaomi service center, provide a check or a box from the phone to confirm ownership. the cost of unlocking is from 1000 to 3000 rubles.
  • πŸ“¦ If the phone is not valuable (e.g. Redmi) 4A or Mi A1), You can try to sell it for spare parts. On Avito or Yula, they buy these devices for 1000-2000 rubles.

Before visiting the service center:

  • πŸ“‹ Write it down. IMEI phone (on a box or under a battery).
  • πŸ“… Check if the warranty period has expired (usually 12 months).
  • πŸ’³ Prepare a passport – it will be required to apply.

Xiaomi service centers use special software to reset passwords without losing data, but only if there is evidence of purchase. If the phone was bought with hands, the chances of successful unlocking are minimal.

πŸ’‘

The only legal way to unlock without losing data is to contact the official Xiaomi service with documents confirming ownership of the device.

FAQ: Frequent questions about resetting your password on Xiaomi

Can I reset my password to Xiaomi without losing data?
Yes, but only if: You have USB debugging enabled and the bootloader unlocked (ADB method), you remember the Mi Account data and the phone is connected to the Internet, you go to the official service center with checks, in all other cases, the data will be lost.
What if after resetting via Recovery, the phone requires an old Mi Account password?
This is standard Factory Reset Protection (FRP) protection. To get around it: Enter the data from the Mi Account that was tied to the phone before the reset. If you don't remember the password, restore it via account.xiaomi.com. If the account is not restored, contact Xiaomi with proof of purchase. Self-bypassing FRP on new models (Xiaomi 13, Redmi Note 12) is almost impossible without specialized equipment.
Why did IMEI disappear after being dumped via Fastboot?
This is a common problem when using fastboot oem commands. clean_all_and_lock or fastboot erase frp. IMEI stored in /nvram, which can be damaged by an incorrect discharge, to restore IMEI: Find the original. IMEI (You can use software like this, like, a box or a battery. SN Writer Tool or Maui META (You need skills. You go to the service center, they'll recover. IMEI using official software. IMEI Your phone will not be able to call or connect to the mobile Internet.
Can you unlock Xiaomi if it’s tied to someone else’s Mi Account?
Technically possible, but there is no legal way. Buying a phone tied to someone else's account is a risky decision. You can: Ask a seller to untie the device through Settings β†’ Mi Account β†’ Get out. Call Xiaomi with proof of purchase (check, contract). Use informal methods (risk of locking the device). Since 2022, Xiaomi has been blocking devices tied to "suspicious" accounts (for example, with a large number of tied phones).
How to protect Xiaomi from accidental blocking in the future?
Not to be faced with the problem of forgotten password: πŸ” Use a fingerprint or facial recognition as an additional way to unlock. πŸ“ Write down your Mi Account password to a secure location (e.g., Google Keep or Google Keep). 1Password). ☁️ Enable automatic sync with Mi Cloud (contacts, notes, photos). πŸ”„ Regularly back up through Settings β†’ The phone. β†’ Backup. πŸ“± Set up Smart Lock (unlocking to a trusted location or device) in Settings β†’ Password and security.