How to unlock Xiaomi Redmi if you forget your password: the full guide 2026

Introduction: Why the smartphone is blocked and what to do

The forgotten password on Xiaomi Redmi is a situation that one in five users encounter, and the reasons range from trivial inattention to buying a used phone with an already installed code. But the result is one: the device turns into a brick, and access to photos, messages and applications is blocked. Fortunately, the manufacturer has provided several official and informal ways to restore access.

It’s important to understand that unlocking depends on whether your phone is tied to your Mi Account, USB debugging enabled, and backup data. For example, on Redmi Note 12 Pro+ or Redmi 10C models with the latest MIUI 14, the reset algorithm may differ from older devices on MIUI 11. We’ll look at all the current methods, from the simplest (via email) to the most complex (firmware via Fastboot).

⚠️ Warning: Any unlock method other than Mi Account recovery will result in complete loss of phone data (photos, contacts, messages).If encryption is enabled on the device, it will be impossible to recover information after reset even through specialized programs.

Method 1: Recovery through Mi Account (official method)

This is the only way to unlock Redmi without losing data, but it only works if:

  • πŸ“§ The phone is linked to your Mi Account (you have previously logged in).
  • 🌐 The device has access to the Internet (Wi-Fi or mobile network).
  • πŸ”’ Find Device is activated in the settings.

Instructions:

  1. On the lock screen, click Forgot Password? (or Forgot Password? on English firmware).
  2. Select the recovery option through Mi Account.
  3. Enter the email or phone number associated with the account.
  4. Confirm your identity through SMS-code.
  5. Create a new unlock password.

If there is no button on the screen, forget the password?

  • 🚫 The device is not tied to the Mi Account.
  • 🚫 Find Device is disabled in security settings.
  • 🚫 The phone was bought with hands and the previous owner did not untie the account (you need to contact him).
πŸ“Š What kind of smartphone you Xiaomi?
Redmi Note 10/11/12
Redmi 9/10/10A
POCO X3/X4/X5
Another Redmi.
Another brand

Method 2: Recovery Mode (Data Loss)

If Mi Account recovery is not available, you can reset your phone to factory settings, which will delete all data, but unlock the device, and this works on all Redmi models, including the Redmi Note 11 Pro, Redmi 12 and older versions.

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. In the Recovery Mode menu, select Wipe Data (use volume buttons for navigation, power for confirmation).
  4. Confirm the reset by selecting Wipe All Data.
  5. Once completed, restart the phone (Reboot).

Turn off the phone from charging.

Make sure the battery is at least 30% charged.

Prepare. SIM-re-activation card

Remember your Google account details (required after resetting)-->

⚠️ Note: Some models (e.g. Redmi) 9T or Redmi Note 8 Pro after reset may require data input from Mi Account, which was tied to the phone earlier.If you do not know this data, the device will remain locked (Mi Cloud Lock), in which case only contacting the service center Xiaomi with proof of purchase will help.

Method 3: Unlocking via Fastboot (for advanced users)

If resetting via Recovery didn’t help (for example, because of Mi Cloud Lock), you can try to delete the password via Fastboot mode, USB-cable and installed drivers Xiaomi.

Step-by-step:

  1. Download and install Mi PC Suite (official software from Xiaomi) or Android SDK Platform Tools (to work with ADB and Fastboot).
  2. Turn off your phone and put it in Fastboot mode: Press Volume Down + Power.
  3. Connect the device to the PC via USB.
  4. Open the command prompt (cmd) in the folder with Platform Tools and type:
fastboot devices

If the phone is determined (its serial number will appear), run the command to unlock:

fastboot erase userdata


fastboot erase frp




fastboot reboot

⚠️ Note: On new Redmi models (released after 2022), the fastboot erase frp command may not work due to enhanced protection (OEM Unlock), which is officially possible only after waiting 7-14 days after the developer account is linked.

What is Mi Cloud Lock?
This is a theft protection that is activated if the phone was dropped without decoupling from the Mi Account. After the reset, the device requires you to enter the data of the previous owner, and you can only circumvent this lock through the official Xiaomi service with the provision of a purchase check.

Method 4: Use ADB (if USB debugging is enabled)

If the phone has previously been debugged USB (USB Debugging, you can delete the file with the password through ADB. This method is suitable for devices that have at least once connected to a computer in developer mode.

Instructions:

  1. Connect Redmi to your PC via USB.
  2. Open the command line and check the connection:
adb devices

If the device is displayed, do:

adb shell


su




rm /data/system/gesture.key




rm /data/system/password.key




rm /data/system/locksettings.db




rm /data/system/locksettings.db-wal




rm /data/system/locksettings.db-shm




reboot

After the reset, the password will be reset. If the commands do not work, try the alternative:

adb shell am start -n com.android.settings/.ChooseLockGeneric

⚠️ Attention: MIUI 13/14 The path to the password files may be different. If the phone still requests a password after completing the commands, try resetting the settings via Recovery. 2).

Method 5: Contact Xiaomi Service Center

If all of these methods did not help (for example, because of Mi Cloud Lock or Fastboot, it remains to contact the official service.

  • πŸ“± Phones purchased from hands without decoupling from previous accounts.
  • πŸ” Devices with damaged firmware or blocked loader.
  • πŸ“„ Apparatus for which proof of purchase is required (check, warranty card).

What will be required:

  • πŸ“„ Check or warranty card (to confirm possession).
  • πŸ†” Passport (for identification of the person).
  • πŸ’³ Payment for services (from 500 to 2000 rubles depending on the model).

Xiaomi service centers in Russia and CIS can be found on the official website, the average unlock time is from 1 to 3 days, in some cases it may be necessary to send the device to a central service (for example, if the model is rare or you need to replace the motherboard).

πŸ’‘

Before visiting the service, take a photo of the IMEI phone (dial *#06#) and the serial number (on the box or under the battery) to speed up the identification process.

Unlocking Methods Comparison: Which One to Choose

To determine the method, evaluate your situation on the table:

MethodConditions requiredLoss of dataDifficultySuitable for
Mi AccountThe phone is linked to the account, there is Internet❌ No.⭐All Redmi models
Recovery ModeNo binding to the Mi Accountβœ… Yes.⭐⭐All models except Mi Cloud Lock devices
FastbootPC, USB-cable, unlocked loaderβœ… Yes.⭐⭐⭐Redmi until 2022 release
ADBIncluded debugging on USB, PC❌ No (sometimes)⭐⭐⭐⭐Devices with access to ADB
Service centreProof of purchase, passportβœ… Yes (sometimes)⭐⭐All models, including those blocked

πŸ’‘

If the phone is bought by hand and locked to the previous owner, the only legal way to unlock it is to contact the service with a check. Attempts to bypass the Mi Cloud Lock through informal methods can lead to a complete loss of service of the device.

Frequent Mistakes and How to Avoid Them

When trying to unlock Redmi, users often face typical problems:

  1. Mi Cloud Lock: This device is locked: This occurs after a reset if the phone was tied to Mi Account, and the solution is to contact the service with proof of purchase.
  2. Fastboot doesn't see the device: Check the drivers (install Mi) PC Suite, try another one. USB-cable or port. Windows may need to disable driver signatures.
  3. ADB gives a "device unauthorized" error: So the USB debugging was not confirmed on the phone. If the screen is locked, this method will not work.
  4. After reset, the old password requires: On some firmware (MIUI 12.5 and later), resetting through Recovery does not delete the password file completely.

⚠️ Note: Do not use Mi Account Unlock Tool or Xiaomi Tool. V2 They often contain viruses or can permanently brick the phone by blocking the bootloader. Official unlocking tools are only available through Xiaomi's website.

Can I recover data after resetting through Recovery?
No. Factory reset completely removes all data from internal memory, including photos, messages and apps. If the phone was encrypted (by default on MIUI 12+), you can't restore files even through programs like Dr.Fone or EaseUS.
What to do if you forget your Mi Account email?
Go to the account recovery page: https://account.xiaomi.com/pass/forgetPassword. Enter your linked phone number or backup email. If access is lost completely, contact Xiaomi with proof of device ownership (IMEI, serial number, check).
Will the phone help you remove your password?
Yes, but with caveats: Firmware via Fastboot (fastboot flash command) will delete the password but require an unlocked bootloader.Firmware via Recovery (.zip file) doesn't always reset the lock if Mi Cloud Lock is worth it. Newer models (Redmi Note 12, Redmi 11 Prime) may require authorization through Mi Account even after firmware (XDA Developers).
How to unlock Redmi if the screen sensor is not working?
If the sensor is not responding, but the screen is on: Connect the phone to the PC and try to control through ADB (If debugging was on. Use OTG-And you plug in the mouse, and on some Redmi models, it works even on a locked screen, and if it doesn't work, you just reset it through Recovery. If the screen is completely black, but the phone is turned on (vibrates, lights are on), you will need to repair the display or connect to the Fastboot blindlyΒ».
Can I unlock Redmi without losing data?
Yes, but only if: The phone is tied to Mi Account, and you remember the login details. USB debugging is enabled, and you previously connected the device to this PC (for the ADB method). In all other cases, the data will be lost. If the phone had important files, contact the service center - sometimes specialists can extract information through Chip-Off (direct connection to memory), but it is expensive and does not guarantee 100% result.